/* * 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 fms-2018-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.FMS.Model { /// /// Container for the parameters to the ListDiscoveredResources operation. /// Returns an array of resources in the organization's accounts that are available to /// be associated with a resource set. /// public partial class ListDiscoveredResourcesRequest : AmazonFMSRequest { private int? _maxResults; private List _memberAccountIds = new List(); private string _nextToken; private string _resourceType; /// /// Gets and sets the property MaxResults. /// /// The maximum number of objects that you want Firewall Manager to return for this request. /// If more objects are available, in the response, Firewall Manager provides a NextToken /// value that you can use in a subsequent call to get the next batch of objects. /// /// [AWSProperty(Min=1, Max=100)] 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 MemberAccountIds. /// /// The Amazon Web Services account IDs to discover resources in. Only one account is /// supported per request. The account must be a member of your organization. /// /// [AWSProperty(Required=true)] public List MemberAccountIds { get { return this._memberAccountIds; } set { this._memberAccountIds = value; } } // Check to see if MemberAccountIds property is set internal bool IsSetMemberAccountIds() { return this._memberAccountIds != null && this._memberAccountIds.Count > 0; } /// /// Gets and sets the property NextToken. /// /// When you request a list of objects with a MaxResults setting, if the /// number of objects that are still available for retrieval exceeds the maximum you requested, /// Firewall Manager returns a NextToken value in the response. To retrieve /// the next batch of objects, use the token returned from the prior request in your next /// request. /// /// [AWSProperty(Min=1, Max=4096)] 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; } /// /// Gets and sets the property ResourceType. /// /// The type of resources to discover. /// /// [AWSProperty(Required=true, Min=1, Max=128)] public string ResourceType { get { return this._resourceType; } set { this._resourceType = value; } } // Check to see if ResourceType property is set internal bool IsSetResourceType() { return this._resourceType != null; } } }