/* * 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 macie-2017-12-19.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.Macie.Model { /// /// Container for the parameters to the ListS3Resources operation. /// (Discontinued) Lists all the S3 resources associated with Amazon Macie Classic. If /// memberAccountId isn't specified, the action lists the S3 resources associated /// with Macie Classic for the current Macie Classic administrator account. If memberAccountId /// is specified, the action lists the S3 resources associated with Macie Classic for /// the specified member account. /// public partial class ListS3ResourcesRequest : AmazonMacieRequest { private int? _maxResults; private string _memberAccountId; private string _nextToken; /// /// Gets and sets the property MaxResults. /// /// (Discontinued) Use this parameter to indicate the maximum number of items that you /// want in the response. The default value is 250. /// /// [AWSProperty(Max=250)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// /// Gets and sets the property MemberAccountId. /// /// (Discontinued) The Amazon Macie Classic member account ID whose associated S3 resources /// you want to list. /// /// public string MemberAccountId { get { return this._memberAccountId; } set { this._memberAccountId = value; } } // Check to see if MemberAccountId property is set internal bool IsSetMemberAccountId() { return this._memberAccountId != null; } /// /// Gets and sets the property NextToken. /// /// (Discontinued) Use this parameter when paginating results. Set its value to null on /// your first call to the ListS3Resources action. Subsequent calls to the /// action fill nextToken in the request with the value of nextToken /// from the previous response to continue listing data. /// /// [AWSProperty(Max=500)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }