/* * 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 cloudcontrol-2021-09-30.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.CloudControlApi.Model { /// /// Container for the parameters to the ListResources operation. /// Returns information about the specified resources. For more information, see Discovering /// resources in the Amazon Web Services Cloud Control API User Guide. /// /// /// /// You can use this action to return information about existing resources in your account /// and Amazon Web Services Region, whether those resources were provisioned using Cloud /// Control API. /// /// public partial class ListResourcesRequest : AmazonCloudControlApiRequest { private int? _maxResults; private string _nextToken; private string _resourceModel; private string _roleArn; private string _typeName; private string _typeVersionId; /// /// Gets and sets the property MaxResults. /// /// Reserved. /// /// [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 NextToken. /// /// If the previous paginated request didn't return all of the remaining results, the /// response object's NextToken parameter value is set to a token. To retrieve /// the next set of results, call this action again and assign that token to the request /// object's NextToken parameter. If there are no remaining results, the /// previous response object's NextToken parameter is set to null. /// /// [AWSProperty(Min=1, Max=2048)] 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 ResourceModel. /// /// The resource model to use to select the resources to return. /// /// [AWSProperty(Sensitive=true, Min=1, Max=65536)] public string ResourceModel { get { return this._resourceModel; } set { this._resourceModel = value; } } // Check to see if ResourceModel property is set internal bool IsSetResourceModel() { return this._resourceModel != null; } /// /// Gets and sets the property RoleArn. /// /// The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role for /// Cloud Control API to use when performing this resource operation. The role specified /// must have the permissions required for this operation. The necessary permissions for /// each event handler are defined in the handlers /// section of the resource /// type definition schema. /// /// /// /// If you do not specify a role, Cloud Control API uses a temporary session created using /// your Amazon Web Services user credentials. /// /// /// /// For more information, see Specifying /// credentials in the Amazon Web Services Cloud Control API User Guide. /// /// [AWSProperty(Min=20, Max=2048)] public string RoleArn { get { return this._roleArn; } set { this._roleArn = value; } } // Check to see if RoleArn property is set internal bool IsSetRoleArn() { return this._roleArn != null; } /// /// Gets and sets the property TypeName. /// /// The name of the resource type. /// /// [AWSProperty(Required=true, Min=10, Max=196)] public string TypeName { get { return this._typeName; } set { this._typeName = value; } } // Check to see if TypeName property is set internal bool IsSetTypeName() { return this._typeName != null; } /// /// Gets and sets the property TypeVersionId. /// /// For private resource types, the type version to use in this resource operation. If /// you do not specify a resource version, CloudFormation uses the default version. /// /// [AWSProperty(Min=1, Max=128)] public string TypeVersionId { get { return this._typeVersionId; } set { this._typeVersionId = value; } } // Check to see if TypeVersionId property is set internal bool IsSetTypeVersionId() { return this._typeVersionId != null; } } }