/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a property-based condition that determines whether an S3 bucket is
* included or excluded from a classification job.See Also:
AWS
* API Reference
The operator to use in the condition. Valid values are EQ (equals) and NE * (not equals).
*/ inline const JobComparator& GetComparator() const{ return m_comparator; } /** *The operator to use in the condition. Valid values are EQ (equals) and NE * (not equals).
*/ inline bool ComparatorHasBeenSet() const { return m_comparatorHasBeenSet; } /** *The operator to use in the condition. Valid values are EQ (equals) and NE * (not equals).
*/ inline void SetComparator(const JobComparator& value) { m_comparatorHasBeenSet = true; m_comparator = value; } /** *The operator to use in the condition. Valid values are EQ (equals) and NE * (not equals).
*/ inline void SetComparator(JobComparator&& value) { m_comparatorHasBeenSet = true; m_comparator = std::move(value); } /** *The operator to use in the condition. Valid values are EQ (equals) and NE * (not equals).
*/ inline SimpleCriterionForJob& WithComparator(const JobComparator& value) { SetComparator(value); return *this;} /** *The operator to use in the condition. Valid values are EQ (equals) and NE * (not equals).
*/ inline SimpleCriterionForJob& WithComparator(JobComparator&& value) { SetComparator(std::move(value)); return *this;} /** *The property to use in the condition.
*/ inline const SimpleCriterionKeyForJob& GetKey() const{ return m_key; } /** *The property to use in the condition.
*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *The property to use in the condition.
*/ inline void SetKey(const SimpleCriterionKeyForJob& value) { m_keyHasBeenSet = true; m_key = value; } /** *The property to use in the condition.
*/ inline void SetKey(SimpleCriterionKeyForJob&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *The property to use in the condition.
*/ inline SimpleCriterionForJob& WithKey(const SimpleCriterionKeyForJob& value) { SetKey(value); return *this;} /** *The property to use in the condition.
*/ inline SimpleCriterionForJob& WithKey(SimpleCriterionKeyForJob&& value) { SetKey(std::move(value)); return *this;} /** *An array that lists one or more values to use in the condition. If you * specify multiple values, Amazon Macie uses OR logic to join the values. Valid * values for each supported property (key) are:
ACCOUNT_ID - A * string that represents the unique identifier for the Amazon Web Services account * that owns the bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string * that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission * property of a bucket.
S3_BUCKET_NAME - A string that represents * the name of a bucket.
S3_BUCKET_SHARED_ACCESS - A string that * represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess * property of a bucket.
Values are case sensitive. Also, Macie * doesn't support use of partial values or wildcard characters in these * values.
*/ inline const Aws::VectorAn array that lists one or more values to use in the condition. If you * specify multiple values, Amazon Macie uses OR logic to join the values. Valid * values for each supported property (key) are:
ACCOUNT_ID - A * string that represents the unique identifier for the Amazon Web Services account * that owns the bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string * that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission * property of a bucket.
S3_BUCKET_NAME - A string that represents * the name of a bucket.
S3_BUCKET_SHARED_ACCESS - A string that * represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess * property of a bucket.
Values are case sensitive. Also, Macie * doesn't support use of partial values or wildcard characters in these * values.
*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *An array that lists one or more values to use in the condition. If you * specify multiple values, Amazon Macie uses OR logic to join the values. Valid * values for each supported property (key) are:
ACCOUNT_ID - A * string that represents the unique identifier for the Amazon Web Services account * that owns the bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string * that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission * property of a bucket.
S3_BUCKET_NAME - A string that represents * the name of a bucket.
S3_BUCKET_SHARED_ACCESS - A string that * represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess * property of a bucket.
Values are case sensitive. Also, Macie * doesn't support use of partial values or wildcard characters in these * values.
*/ inline void SetValues(const Aws::VectorAn array that lists one or more values to use in the condition. If you * specify multiple values, Amazon Macie uses OR logic to join the values. Valid * values for each supported property (key) are:
ACCOUNT_ID - A * string that represents the unique identifier for the Amazon Web Services account * that owns the bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string * that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission * property of a bucket.
S3_BUCKET_NAME - A string that represents * the name of a bucket.
S3_BUCKET_SHARED_ACCESS - A string that * represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess * property of a bucket.
Values are case sensitive. Also, Macie * doesn't support use of partial values or wildcard characters in these * values.
*/ inline void SetValues(Aws::VectorAn array that lists one or more values to use in the condition. If you * specify multiple values, Amazon Macie uses OR logic to join the values. Valid * values for each supported property (key) are:
ACCOUNT_ID - A * string that represents the unique identifier for the Amazon Web Services account * that owns the bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string * that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission * property of a bucket.
S3_BUCKET_NAME - A string that represents * the name of a bucket.
S3_BUCKET_SHARED_ACCESS - A string that * represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess * property of a bucket.
Values are case sensitive. Also, Macie * doesn't support use of partial values or wildcard characters in these * values.
*/ inline SimpleCriterionForJob& WithValues(const Aws::VectorAn array that lists one or more values to use in the condition. If you * specify multiple values, Amazon Macie uses OR logic to join the values. Valid * values for each supported property (key) are:
ACCOUNT_ID - A * string that represents the unique identifier for the Amazon Web Services account * that owns the bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string * that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission * property of a bucket.
S3_BUCKET_NAME - A string that represents * the name of a bucket.
S3_BUCKET_SHARED_ACCESS - A string that * represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess * property of a bucket.
Values are case sensitive. Also, Macie * doesn't support use of partial values or wildcard characters in these * values.
*/ inline SimpleCriterionForJob& WithValues(Aws::VectorAn array that lists one or more values to use in the condition. If you * specify multiple values, Amazon Macie uses OR logic to join the values. Valid * values for each supported property (key) are:
ACCOUNT_ID - A * string that represents the unique identifier for the Amazon Web Services account * that owns the bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string * that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission * property of a bucket.
S3_BUCKET_NAME - A string that represents * the name of a bucket.
S3_BUCKET_SHARED_ACCESS - A string that * represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess * property of a bucket.
Values are case sensitive. Also, Macie * doesn't support use of partial values or wildcard characters in these * values.
*/ inline SimpleCriterionForJob& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *An array that lists one or more values to use in the condition. If you * specify multiple values, Amazon Macie uses OR logic to join the values. Valid * values for each supported property (key) are:
ACCOUNT_ID - A * string that represents the unique identifier for the Amazon Web Services account * that owns the bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string * that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission * property of a bucket.
S3_BUCKET_NAME - A string that represents * the name of a bucket.
S3_BUCKET_SHARED_ACCESS - A string that * represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess * property of a bucket.
Values are case sensitive. Also, Macie * doesn't support use of partial values or wildcard characters in these * values.
*/ inline SimpleCriterionForJob& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } /** *An array that lists one or more values to use in the condition. If you * specify multiple values, Amazon Macie uses OR logic to join the values. Valid * values for each supported property (key) are:
ACCOUNT_ID - A * string that represents the unique identifier for the Amazon Web Services account * that owns the bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string * that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission * property of a bucket.
S3_BUCKET_NAME - A string that represents * the name of a bucket.
S3_BUCKET_SHARED_ACCESS - A string that * represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess * property of a bucket.
Values are case sensitive. Also, Macie * doesn't support use of partial values or wildcard characters in these * values.
*/ inline SimpleCriterionForJob& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } private: JobComparator m_comparator; bool m_comparatorHasBeenSet = false; SimpleCriterionKeyForJob m_key; bool m_keyHasBeenSet = false; Aws::Vector