/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies property- and tag-based conditions that define criteria for
* including or excluding S3 buckets from a classification job. Exclude conditions
* take precedence over include conditions.See Also:
AWS
* API Reference
The property- and tag-based conditions that determine which buckets to * exclude from the job.
*/ inline const CriteriaBlockForJob& GetExcludes() const{ return m_excludes; } /** *The property- and tag-based conditions that determine which buckets to * exclude from the job.
*/ inline bool ExcludesHasBeenSet() const { return m_excludesHasBeenSet; } /** *The property- and tag-based conditions that determine which buckets to * exclude from the job.
*/ inline void SetExcludes(const CriteriaBlockForJob& value) { m_excludesHasBeenSet = true; m_excludes = value; } /** *The property- and tag-based conditions that determine which buckets to * exclude from the job.
*/ inline void SetExcludes(CriteriaBlockForJob&& value) { m_excludesHasBeenSet = true; m_excludes = std::move(value); } /** *The property- and tag-based conditions that determine which buckets to * exclude from the job.
*/ inline S3BucketCriteriaForJob& WithExcludes(const CriteriaBlockForJob& value) { SetExcludes(value); return *this;} /** *The property- and tag-based conditions that determine which buckets to * exclude from the job.
*/ inline S3BucketCriteriaForJob& WithExcludes(CriteriaBlockForJob&& value) { SetExcludes(std::move(value)); return *this;} /** *The property- and tag-based conditions that determine which buckets to * include in the job.
*/ inline const CriteriaBlockForJob& GetIncludes() const{ return m_includes; } /** *The property- and tag-based conditions that determine which buckets to * include in the job.
*/ inline bool IncludesHasBeenSet() const { return m_includesHasBeenSet; } /** *The property- and tag-based conditions that determine which buckets to * include in the job.
*/ inline void SetIncludes(const CriteriaBlockForJob& value) { m_includesHasBeenSet = true; m_includes = value; } /** *The property- and tag-based conditions that determine which buckets to * include in the job.
*/ inline void SetIncludes(CriteriaBlockForJob&& value) { m_includesHasBeenSet = true; m_includes = std::move(value); } /** *The property- and tag-based conditions that determine which buckets to * include in the job.
*/ inline S3BucketCriteriaForJob& WithIncludes(const CriteriaBlockForJob& value) { SetIncludes(value); return *this;} /** *The property- and tag-based conditions that determine which buckets to * include in the job.
*/ inline S3BucketCriteriaForJob& WithIncludes(CriteriaBlockForJob&& value) { SetIncludes(std::move(value)); return *this;} private: CriteriaBlockForJob m_excludes; bool m_excludesHasBeenSet = false; CriteriaBlockForJob m_includes; bool m_includesHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws