/*
* 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
{
///
/// 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
/// Cross-Region Redirection for Amazon WorkSpaces.
///
public partial class DescribeConnectionAliasesRequest : AmazonWorkSpacesRequest
{
private List _aliasIds = new List();
private int? _limit;
private string _nextToken;
private string _resourceId;
///
/// Gets and sets the property AliasIds.
///
/// The identifiers of the connection aliases to describe.
///
///
[AWSProperty(Min=1, Max=25)]
public List 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;
}
///
/// Gets and sets the property Limit.
///
/// The maximum number of connection aliases to return.
///
///
[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;
}
///
/// Gets and sets the property NextToken.
///
/// If you received a NextToken
from a previous call that was paginated,
/// provide this token to receive the next set of results.
///
///
[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 ResourceId.
///
/// The identifier of the directory associated with the connection alias.
///
///
[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;
}
}
}