This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-macie2/include/aws/macie2/model/JobScopingBlock.h

100 lines
3.1 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/macie2/Macie2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/macie2/model/JobScopeTerm.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Macie2
{
namespace Model
{
/**
* <p>Specifies one or more property- and tag-based conditions that define criteria
* for including or excluding objects from a classification job.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobScopingBlock">AWS
* API Reference</a></p>
*/
class AWS_MACIE2_API JobScopingBlock
{
public:
JobScopingBlock();
JobScopingBlock(Aws::Utils::Json::JsonView jsonValue);
JobScopingBlock& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>An array of conditions, one for each condition that determines which objects
* to include or exclude from the job.</p>
*/
inline const Aws::Vector<JobScopeTerm>& GetAnd() const{ return m_and; }
/**
* <p>An array of conditions, one for each condition that determines which objects
* to include or exclude from the job.</p>
*/
inline bool AndHasBeenSet() const { return m_andHasBeenSet; }
/**
* <p>An array of conditions, one for each condition that determines which objects
* to include or exclude from the job.</p>
*/
inline void SetAnd(const Aws::Vector<JobScopeTerm>& value) { m_andHasBeenSet = true; m_and = value; }
/**
* <p>An array of conditions, one for each condition that determines which objects
* to include or exclude from the job.</p>
*/
inline void SetAnd(Aws::Vector<JobScopeTerm>&& value) { m_andHasBeenSet = true; m_and = std::move(value); }
/**
* <p>An array of conditions, one for each condition that determines which objects
* to include or exclude from the job.</p>
*/
inline JobScopingBlock& WithAnd(const Aws::Vector<JobScopeTerm>& value) { SetAnd(value); return *this;}
/**
* <p>An array of conditions, one for each condition that determines which objects
* to include or exclude from the job.</p>
*/
inline JobScopingBlock& WithAnd(Aws::Vector<JobScopeTerm>&& value) { SetAnd(std::move(value)); return *this;}
/**
* <p>An array of conditions, one for each condition that determines which objects
* to include or exclude from the job.</p>
*/
inline JobScopingBlock& AddAnd(const JobScopeTerm& value) { m_andHasBeenSet = true; m_and.push_back(value); return *this; }
/**
* <p>An array of conditions, one for each condition that determines which objects
* to include or exclude from the job.</p>
*/
inline JobScopingBlock& AddAnd(JobScopeTerm&& value) { m_andHasBeenSet = true; m_and.push_back(std::move(value)); return *this; }
private:
Aws::Vector<JobScopeTerm> m_and;
bool m_andHasBeenSet;
};
} // namespace Model
} // namespace Macie2
} // namespace Aws