/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the macie2-2020-01-01.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Macie2.Model { /// /// Specifies a property-based filter condition that determines which Amazon Web Services /// resources are included or excluded from the query results. /// public partial class SearchResourcesSimpleCriterion { private SearchResourcesComparator _comparator; private SearchResourcesSimpleCriterionKey _key; private List _values = new List(); /// /// Gets and sets the property Comparator. /// /// The operator to use in the condition. Valid values are EQ (equals) and NE (not equals). /// /// public SearchResourcesComparator Comparator { get { return this._comparator; } set { this._comparator = value; } } // Check to see if Comparator property is set internal bool IsSetComparator() { return this._comparator != null; } /// /// Gets and sets the property Key. /// /// The property to use in the condition. /// /// public SearchResourcesSimpleCriterionKey Key { get { return this._key; } set { this._key = value; } } // Check to see if Key property is set internal bool IsSetKey() { return this._key != null; } /// /// Gets and sets the property Values. /// /// 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 resource. /// ///
  • /// /// S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that /// Macie defines for the BucketPublicAccess.effectivePermission /// property of an S3 bucket. /// ///
  • /// /// S3_BUCKET_NAME - A string that represents the name of an S3 bucket. /// ///
  • /// /// S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie /// defines for the BucketMetadata.sharedAccess /// property of an S3 bucket. /// ///
/// /// Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard /// characters in values. /// ///
public List Values { get { return this._values; } set { this._values = value; } } // Check to see if Values property is set internal bool IsSetValues() { return this._values != null && this._values.Count > 0; } } }