/* * 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 proton-2020-07-20.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.Proton.Model { /// /// Container for the parameters to the ListDeployments operation. /// List deployments. You can filter the result list by environment, service, or a single /// service instance. /// public partial class ListDeploymentsRequest : AmazonProtonRequest { private string _componentName; private string _environmentName; private int? _maxResults; private string _nextToken; private string _serviceInstanceName; private string _serviceName; /// /// Gets and sets the property ComponentName. /// /// The name of a component for result list filtering. Proton returns deployments associated /// with that component. /// /// [AWSProperty(Min=1, Max=100)] public string ComponentName { get { return this._componentName; } set { this._componentName = value; } } // Check to see if ComponentName property is set internal bool IsSetComponentName() { return this._componentName != null; } /// /// Gets and sets the property EnvironmentName. /// /// The name of an environment for result list filtering. Proton returns deployments associated /// with the environment. /// /// [AWSProperty(Min=1, Max=100)] public string EnvironmentName { get { return this._environmentName; } set { this._environmentName = value; } } // Check to see if EnvironmentName property is set internal bool IsSetEnvironmentName() { return this._environmentName != null; } /// /// Gets and sets the property MaxResults. /// /// The maximum number of deployments to list. /// /// [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. /// /// A token that indicates the location of the next deployment in the array of deployment, /// after the list of deployment that was previously requested. /// /// 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 ServiceInstanceName. /// /// The name of a service instance for result list filtering. Proton returns the deployments /// associated with the service instance. /// /// [AWSProperty(Min=1, Max=100)] public string ServiceInstanceName { get { return this._serviceInstanceName; } set { this._serviceInstanceName = value; } } // Check to see if ServiceInstanceName property is set internal bool IsSetServiceInstanceName() { return this._serviceInstanceName != null; } /// /// Gets and sets the property ServiceName. /// /// The name of a service for result list filtering. Proton returns deployments associated /// with service instances of the service. /// /// [AWSProperty(Min=1, Max=100)] public string ServiceName { get { return this._serviceName; } set { this._serviceName = value; } } // Check to see if ServiceName property is set internal bool IsSetServiceName() { return this._serviceName != null; } } }