/* * 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 workspaces-2015-04-08.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.WorkSpaces.Model { /// <summary> /// Container for the parameters to the DescribeConnectionAliases operation. /// Retrieves a list that describes the connection aliases used for cross-Region redirection. /// For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html"> /// Cross-Region Redirection for Amazon WorkSpaces</a>. /// </summary> public partial class DescribeConnectionAliasesRequest : AmazonWorkSpacesRequest { private List<string> _aliasIds = new List<string>(); private int? _limit; private string _nextToken; private string _resourceId; /// <summary> /// Gets and sets the property AliasIds. /// <para> /// The identifiers of the connection aliases to describe. /// </para> /// </summary> [AWSProperty(Min=1, Max=25)] public List<string> AliasIds { get { return this._aliasIds; } set { this._aliasIds = value; } } // Check to see if AliasIds property is set internal bool IsSetAliasIds() { return this._aliasIds != null && this._aliasIds.Count > 0; } /// <summary> /// Gets and sets the property Limit. /// <para> /// The maximum number of connection aliases to return. /// </para> /// </summary> [AWSProperty(Min=1, Max=25)] public int Limit { get { return this._limit.GetValueOrDefault(); } set { this._limit = value; } } // Check to see if Limit property is set internal bool IsSetLimit() { return this._limit.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// If you received a <code>NextToken</code> from a previous call that was paginated, /// provide this token to receive the next set of results. /// </para> /// </summary> [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; } /// <summary> /// Gets and sets the property ResourceId. /// <para> /// The identifier of the directory associated with the connection alias. /// </para> /// </summary> [AWSProperty(Min=1)] public string ResourceId { get { return this._resourceId; } set { this._resourceId = value; } } // Check to see if ResourceId property is set internal bool IsSetResourceId() { return this._resourceId != null; } } }