repo_name
stringlengths 1
52
| repo_creator
stringclasses 6
values | programming_language
stringclasses 4
values | code
stringlengths 0
9.68M
| num_lines
int64 1
234k
|
---|---|---|---|---|
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DescribeApplications operation.
/// Retrieves a list that describes one or more applications.
/// </summary>
public partial class DescribeApplicationsRequest : AmazonAppStreamRequest
{
private List<string> _arns = new List<string>();
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property Arns.
/// <para>
/// The ARNs for the applications.
/// </para>
/// </summary>
public List<string> Arns
{
get { return this._arns; }
set { this._arns = value; }
}
// Check to see if Arns property is set
internal bool IsSetArns()
{
return this._arns != null && this._arns.Count > 0;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum size of each page of results.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token used to retrieve the next page of results for this operation.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
} | 97 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the DescribeApplications operation.
/// </summary>
public partial class DescribeApplicationsResponse : AmazonWebServiceResponse
{
private List<Application> _applications = new List<Application>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Applications.
/// <para>
/// The applications in the list.
/// </para>
/// </summary>
public List<Application> Applications
{
get { return this._applications; }
set { this._applications = value; }
}
// Check to see if Applications property is set
internal bool IsSetApplications()
{
return this._applications != null && this._applications.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token used to retrieve the next page of results for this operation.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
} | 77 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DescribeDirectoryConfigs operation.
/// Retrieves a list that describes one or more specified Directory Config objects for
/// AppStream 2.0, if the names for these objects are provided. Otherwise, all Directory
/// Config objects in the account are described. These objects include the configuration
/// information required to join fleets and image builders to Microsoft Active Directory
/// domains.
///
///
/// <para>
/// Although the response syntax in this topic includes the account password, this password
/// is not returned in the actual response.
/// </para>
/// </summary>
public partial class DescribeDirectoryConfigsRequest : AmazonAppStreamRequest
{
private List<string> _directoryNames = new List<string>();
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property DirectoryNames.
/// <para>
/// The directory names.
/// </para>
/// </summary>
public List<string> DirectoryNames
{
get { return this._directoryNames; }
set { this._directoryNames = value; }
}
// Check to see if DirectoryNames property is set
internal bool IsSetDirectoryNames()
{
return this._directoryNames != null && this._directoryNames.Count > 0;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum size of each page of results.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If this value is null, it retrieves the first page.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
} | 108 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the DescribeDirectoryConfigs operation.
/// </summary>
public partial class DescribeDirectoryConfigsResponse : AmazonWebServiceResponse
{
private List<DirectoryConfig> _directoryConfigs = new List<DirectoryConfig>();
private string _nextToken;
/// <summary>
/// Gets and sets the property DirectoryConfigs.
/// <para>
/// Information about the directory configurations. Note that although the response syntax
/// in this topic includes the account password, this password is not returned in the
/// actual response.
/// </para>
/// </summary>
public List<DirectoryConfig> DirectoryConfigs
{
get { return this._directoryConfigs; }
set { this._directoryConfigs = value; }
}
// Check to see if DirectoryConfigs property is set
internal bool IsSetDirectoryConfigs()
{
return this._directoryConfigs != null && this._directoryConfigs.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If there are no more pages, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DescribeEntitlements operation.
/// Retrieves a list that describes one of more entitlements.
/// </summary>
public partial class DescribeEntitlementsRequest : AmazonAppStreamRequest
{
private int? _maxResults;
private string _name;
private string _nextToken;
private string _stackName;
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum size of each page of results.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the entitlement.
/// </para>
/// </summary>
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token used to retrieve the next page of results for this operation.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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 StackName.
/// <para>
/// The name of the stack with which the entitlement is associated.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string StackName
{
get { return this._stackName; }
set { this._stackName = value; }
}
// Check to see if StackName property is set
internal bool IsSetStackName()
{
return this._stackName != null;
}
}
} | 117 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the DescribeEntitlements operation.
/// </summary>
public partial class DescribeEntitlementsResponse : AmazonWebServiceResponse
{
private List<Entitlement> _entitlements = new List<Entitlement>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Entitlements.
/// <para>
/// The entitlements.
/// </para>
/// </summary>
public List<Entitlement> Entitlements
{
get { return this._entitlements; }
set { this._entitlements = value; }
}
// Check to see if Entitlements property is set
internal bool IsSetEntitlements()
{
return this._entitlements != null && this._entitlements.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token used to retrieve the next page of results for this operation.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
} | 77 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DescribeFleets operation.
/// Retrieves a list that describes one or more specified fleets, if the fleet names are
/// provided. Otherwise, all fleets in the account are described.
/// </summary>
public partial class DescribeFleetsRequest : AmazonAppStreamRequest
{
private List<string> _names = new List<string>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Names.
/// <para>
/// The names of the fleets to describe.
/// </para>
/// </summary>
public List<string> Names
{
get { return this._names; }
set { this._names = value; }
}
// Check to see if Names property is set
internal bool IsSetNames()
{
return this._names != null && this._names.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If this value is null, it retrieves the first page.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the DescribeFleets operation.
/// </summary>
public partial class DescribeFleetsResponse : AmazonWebServiceResponse
{
private List<Fleet> _fleets = new List<Fleet>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Fleets.
/// <para>
/// Information about the fleets.
/// </para>
/// </summary>
public List<Fleet> Fleets
{
get { return this._fleets; }
set { this._fleets = value; }
}
// Check to see if Fleets property is set
internal bool IsSetFleets()
{
return this._fleets != null && this._fleets.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If there are no more pages, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DescribeImageBuilders operation.
/// Retrieves a list that describes one or more specified image builders, if the image
/// builder names are provided. Otherwise, all image builders in the account are described.
/// </summary>
public partial class DescribeImageBuildersRequest : AmazonAppStreamRequest
{
private int? _maxResults;
private List<string> _names = new List<string>();
private string _nextToken;
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum size of each page of results.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property Names.
/// <para>
/// The names of the image builders to describe.
/// </para>
/// </summary>
public List<string> Names
{
get { return this._names; }
set { this._names = value; }
}
// Check to see if Names property is set
internal bool IsSetNames()
{
return this._names != null && this._names.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If this value is null, it retrieves the first page.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the DescribeImageBuilders operation.
/// </summary>
public partial class DescribeImageBuildersResponse : AmazonWebServiceResponse
{
private List<ImageBuilder> _imageBuilders = new List<ImageBuilder>();
private string _nextToken;
/// <summary>
/// Gets and sets the property ImageBuilders.
/// <para>
/// Information about the image builders.
/// </para>
/// </summary>
public List<ImageBuilder> ImageBuilders
{
get { return this._imageBuilders; }
set { this._imageBuilders = value; }
}
// Check to see if ImageBuilders property is set
internal bool IsSetImageBuilders()
{
return this._imageBuilders != null && this._imageBuilders.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If there are no more pages, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DescribeImagePermissions operation.
/// Retrieves a list that describes the permissions for shared AWS account IDs on a private
/// image that you own.
/// </summary>
public partial class DescribeImagePermissionsRequest : AmazonAppStreamRequest
{
private int? _maxResults;
private string _name;
private string _nextToken;
private List<string> _sharedAwsAccountIds = new List<string>();
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum size of each page of results.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=500)]
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;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the private image for which to describe permissions. The image must be
/// one that you own.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If this value is null, it retrieves the first page.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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 SharedAwsAccountIds.
/// <para>
/// The 12-digit identifier of one or more AWS accounts with which the image is shared.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=5)]
public List<string> SharedAwsAccountIds
{
get { return this._sharedAwsAccountIds; }
set { this._sharedAwsAccountIds = value; }
}
// Check to see if SharedAwsAccountIds property is set
internal bool IsSetSharedAwsAccountIds()
{
return this._sharedAwsAccountIds != null && this._sharedAwsAccountIds.Count > 0;
}
}
} | 122 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the DescribeImagePermissions operation.
/// </summary>
public partial class DescribeImagePermissionsResponse : AmazonWebServiceResponse
{
private string _name;
private string _nextToken;
private List<SharedImagePermissions> _sharedImagePermissionsList = new List<SharedImagePermissions>();
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the private image.
/// </para>
/// </summary>
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If there are no more pages, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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 SharedImagePermissionsList.
/// <para>
/// The permissions for a private image that you own.
/// </para>
/// </summary>
public List<SharedImagePermissions> SharedImagePermissionsList
{
get { return this._sharedImagePermissionsList; }
set { this._sharedImagePermissionsList = value; }
}
// Check to see if SharedImagePermissionsList property is set
internal bool IsSetSharedImagePermissionsList()
{
return this._sharedImagePermissionsList != null && this._sharedImagePermissionsList.Count > 0;
}
}
} | 97 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DescribeImages operation.
/// Retrieves a list that describes one or more specified images, if the image names or
/// image ARNs are provided. Otherwise, all images in the account are described.
/// </summary>
public partial class DescribeImagesRequest : AmazonAppStreamRequest
{
private List<string> _arns = new List<string>();
private int? _maxResults;
private List<string> _names = new List<string>();
private string _nextToken;
private VisibilityType _type;
/// <summary>
/// Gets and sets the property Arns.
/// <para>
/// The ARNs of the public, private, and shared images to describe.
/// </para>
/// </summary>
public List<string> Arns
{
get { return this._arns; }
set { this._arns = value; }
}
// Check to see if Arns property is set
internal bool IsSetArns()
{
return this._arns != null && this._arns.Count > 0;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum size of each page of results.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=25)]
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;
}
/// <summary>
/// Gets and sets the property Names.
/// <para>
/// The names of the public or private images to describe.
/// </para>
/// </summary>
public List<string> Names
{
get { return this._names; }
set { this._names = value; }
}
// Check to see if Names property is set
internal bool IsSetNames()
{
return this._names != null && this._names.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If this value is null, it retrieves the first page.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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 Type.
/// <para>
/// The type of image (public, private, or shared) to describe.
/// </para>
/// </summary>
public VisibilityType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
} | 138 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the DescribeImages operation.
/// </summary>
public partial class DescribeImagesResponse : AmazonWebServiceResponse
{
private List<Image> _images = new List<Image>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Images.
/// <para>
/// Information about the images.
/// </para>
/// </summary>
public List<Image> Images
{
get { return this._images; }
set { this._images = value; }
}
// Check to see if Images property is set
internal bool IsSetImages()
{
return this._images != null && this._images.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If there are no more pages, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DescribeSessions operation.
/// Retrieves a list that describes the streaming sessions for a specified stack and fleet.
/// If a UserId is provided for the stack and fleet, only streaming sessions for that
/// user are described. If an authentication type is not provided, the default is to authenticate
/// users using a streaming URL.
/// </summary>
public partial class DescribeSessionsRequest : AmazonAppStreamRequest
{
private AuthenticationType _authenticationType;
private string _fleetName;
private int? _limit;
private string _nextToken;
private string _stackName;
private string _userId;
/// <summary>
/// Gets and sets the property AuthenticationType.
/// <para>
/// The authentication method. Specify <code>API</code> for a user authenticated using
/// a streaming URL or <code>SAML</code> for a SAML federated user. The default is to
/// authenticate users using a streaming URL.
/// </para>
/// </summary>
public AuthenticationType AuthenticationType
{
get { return this._authenticationType; }
set { this._authenticationType = value; }
}
// Check to see if AuthenticationType property is set
internal bool IsSetAuthenticationType()
{
return this._authenticationType != null;
}
/// <summary>
/// Gets and sets the property FleetName.
/// <para>
/// The name of the fleet. This value is case-sensitive.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string FleetName
{
get { return this._fleetName; }
set { this._fleetName = value; }
}
// Check to see if FleetName property is set
internal bool IsSetFleetName()
{
return this._fleetName != null;
}
/// <summary>
/// Gets and sets the property Limit.
/// <para>
/// The size of each page of results. The default value is 20 and the maximum value is
/// 50.
/// </para>
/// </summary>
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>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If this value is null, it retrieves the first page.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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 StackName.
/// <para>
/// The name of the stack. This value is case-sensitive.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string StackName
{
get { return this._stackName; }
set { this._stackName = value; }
}
// Check to see if StackName property is set
internal bool IsSetStackName()
{
return this._stackName != null;
}
/// <summary>
/// Gets and sets the property UserId.
/// <para>
/// The user identifier (ID). If you specify a user ID, you must also specify the authentication
/// type.
/// </para>
/// </summary>
[AWSProperty(Min=2, Max=128)]
public string UserId
{
get { return this._userId; }
set { this._userId = value; }
}
// Check to see if UserId property is set
internal bool IsSetUserId()
{
return this._userId != null;
}
}
} | 165 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the DescribeSessions operation.
/// </summary>
public partial class DescribeSessionsResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<Session> _sessions = new List<Session>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If there are no more pages, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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 Sessions.
/// <para>
/// Information about the streaming sessions.
/// </para>
/// </summary>
public List<Session> Sessions
{
get { return this._sessions; }
set { this._sessions = value; }
}
// Check to see if Sessions property is set
internal bool IsSetSessions()
{
return this._sessions != null && this._sessions.Count > 0;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DescribeStacks operation.
/// Retrieves a list that describes one or more specified stacks, if the stack names are
/// provided. Otherwise, all stacks in the account are described.
/// </summary>
public partial class DescribeStacksRequest : AmazonAppStreamRequest
{
private List<string> _names = new List<string>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Names.
/// <para>
/// The names of the stacks to describe.
/// </para>
/// </summary>
public List<string> Names
{
get { return this._names; }
set { this._names = value; }
}
// Check to see if Names property is set
internal bool IsSetNames()
{
return this._names != null && this._names.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If this value is null, it retrieves the first page.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the DescribeStacks operation.
/// </summary>
public partial class DescribeStacksResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<Stack> _stacks = new List<Stack>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If there are no more pages, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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 Stacks.
/// <para>
/// Information about the stacks.
/// </para>
/// </summary>
public List<Stack> Stacks
{
get { return this._stacks; }
set { this._stacks = value; }
}
// Check to see if Stacks property is set
internal bool IsSetStacks()
{
return this._stacks != null && this._stacks.Count > 0;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DescribeUsageReportSubscriptions operation.
/// Retrieves a list that describes one or more usage report subscriptions.
/// </summary>
public partial class DescribeUsageReportSubscriptionsRequest : AmazonAppStreamRequest
{
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum size of each page of results.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If this value is null, it retrieves the first page.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the DescribeUsageReportSubscriptions operation.
/// </summary>
public partial class DescribeUsageReportSubscriptionsResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<UsageReportSubscription> _usageReportSubscriptions = new List<UsageReportSubscription>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If there are no more pages, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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 UsageReportSubscriptions.
/// <para>
/// Information about the usage report subscription.
/// </para>
/// </summary>
public List<UsageReportSubscription> UsageReportSubscriptions
{
get { return this._usageReportSubscriptions; }
set { this._usageReportSubscriptions = value; }
}
// Check to see if UsageReportSubscriptions property is set
internal bool IsSetUsageReportSubscriptions()
{
return this._usageReportSubscriptions != null && this._usageReportSubscriptions.Count > 0;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DescribeUsers operation.
/// Retrieves a list that describes one or more specified users in the user pool.
/// </summary>
public partial class DescribeUsersRequest : AmazonAppStreamRequest
{
private AuthenticationType _authenticationType;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property AuthenticationType.
/// <para>
/// The authentication type for the users in the user pool to describe. You must specify
/// USERPOOL.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public AuthenticationType AuthenticationType
{
get { return this._authenticationType; }
set { this._authenticationType = value; }
}
// Check to see if AuthenticationType property is set
internal bool IsSetAuthenticationType()
{
return this._authenticationType != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum size of each page of results.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If this value is null, it retrieves the first page.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
} | 100 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the DescribeUsers operation.
/// </summary>
public partial class DescribeUsersResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<User> _users = new List<User>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If there are no more pages, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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 Users.
/// <para>
/// Information about users in the user pool.
/// </para>
/// </summary>
public List<User> Users
{
get { return this._users; }
set { this._users = value; }
}
// Check to see if Users property is set
internal bool IsSetUsers()
{
return this._users != null && this._users.Count > 0;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DescribeUserStackAssociations operation.
/// Retrieves a list that describes the UserStackAssociation objects. You must specify
/// either or both of the following:
///
/// <ul> <li>
/// <para>
/// The stack name
/// </para>
/// </li> <li>
/// <para>
/// The user name (email address of the user associated with the stack) and the authentication
/// type for the user
/// </para>
/// </li> </ul>
/// </summary>
public partial class DescribeUserStackAssociationsRequest : AmazonAppStreamRequest
{
private AuthenticationType _authenticationType;
private int? _maxResults;
private string _nextToken;
private string _stackName;
private string _userName;
/// <summary>
/// Gets and sets the property AuthenticationType.
/// <para>
/// The authentication type for the user who is associated with the stack. You must specify
/// USERPOOL.
/// </para>
/// </summary>
public AuthenticationType AuthenticationType
{
get { return this._authenticationType; }
set { this._authenticationType = value; }
}
// Check to see if AuthenticationType property is set
internal bool IsSetAuthenticationType()
{
return this._authenticationType != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum size of each page of results.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=500)]
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;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If this value is null, it retrieves the first page.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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 StackName.
/// <para>
/// The name of the stack that is associated with the user.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string StackName
{
get { return this._stackName; }
set { this._stackName = value; }
}
// Check to see if StackName property is set
internal bool IsSetStackName()
{
return this._stackName != null;
}
/// <summary>
/// Gets and sets the property UserName.
/// <para>
/// The email address of the user who is associated with the stack.
/// </para>
/// <note>
/// <para>
/// Users' email addresses are case-sensitive.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Sensitive=true, Min=1, Max=128)]
public string UserName
{
get { return this._userName; }
set { this._userName = value; }
}
// Check to see if UserName property is set
internal bool IsSetUserName()
{
return this._userName != null;
}
}
} | 157 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the DescribeUserStackAssociations operation.
/// </summary>
public partial class DescribeUserStackAssociationsResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<UserStackAssociation> _userStackAssociations = new List<UserStackAssociation>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If there are no more pages, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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 UserStackAssociations.
/// <para>
/// The UserStackAssociation objects.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=25)]
public List<UserStackAssociation> UserStackAssociations
{
get { return this._userStackAssociations; }
set { this._userStackAssociations = value; }
}
// Check to see if UserStackAssociations property is set
internal bool IsSetUserStackAssociations()
{
return this._userStackAssociations != null && this._userStackAssociations.Count > 0;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes the configuration information required to join fleets and image builders
/// to Microsoft Active Directory domains.
/// </summary>
public partial class DirectoryConfig
{
private CertificateBasedAuthProperties _certificateBasedAuthProperties;
private DateTime? _createdTime;
private string _directoryName;
private List<string> _organizationalUnitDistinguishedNames = new List<string>();
private ServiceAccountCredentials _serviceAccountCredentials;
/// <summary>
/// Gets and sets the property CertificateBasedAuthProperties.
/// <para>
/// The certificate-based authentication properties used to authenticate SAML 2.0 Identity
/// Provider (IdP) user identities to Active Directory domain-joined streaming instances.
/// Fallback is turned on by default when certificate-based authentication is <b>Enabled</b>
/// . Fallback allows users to log in using their AD domain password if certificate-based
/// authentication is unsuccessful, or to unlock a desktop lock screen. <b>Enabled_no_directory_login_fallback</b>
/// enables certificate-based authentication, but does not allow users to log in using
/// their AD domain password. Users will be disconnected to re-authenticate using certificates.
/// </para>
/// </summary>
public CertificateBasedAuthProperties CertificateBasedAuthProperties
{
get { return this._certificateBasedAuthProperties; }
set { this._certificateBasedAuthProperties = value; }
}
// Check to see if CertificateBasedAuthProperties property is set
internal bool IsSetCertificateBasedAuthProperties()
{
return this._certificateBasedAuthProperties != null;
}
/// <summary>
/// Gets and sets the property CreatedTime.
/// <para>
/// The time the directory configuration was created.
/// </para>
/// </summary>
public DateTime CreatedTime
{
get { return this._createdTime.GetValueOrDefault(); }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime.HasValue;
}
/// <summary>
/// Gets and sets the property DirectoryName.
/// <para>
/// The fully qualified name of the directory (for example, corp.example.com).
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryName
{
get { return this._directoryName; }
set { this._directoryName = value; }
}
// Check to see if DirectoryName property is set
internal bool IsSetDirectoryName()
{
return this._directoryName != null;
}
/// <summary>
/// Gets and sets the property OrganizationalUnitDistinguishedNames.
/// <para>
/// The distinguished names of the organizational units for computer accounts.
/// </para>
/// </summary>
public List<string> OrganizationalUnitDistinguishedNames
{
get { return this._organizationalUnitDistinguishedNames; }
set { this._organizationalUnitDistinguishedNames = value; }
}
// Check to see if OrganizationalUnitDistinguishedNames property is set
internal bool IsSetOrganizationalUnitDistinguishedNames()
{
return this._organizationalUnitDistinguishedNames != null && this._organizationalUnitDistinguishedNames.Count > 0;
}
/// <summary>
/// Gets and sets the property ServiceAccountCredentials.
/// <para>
/// The credentials for the service account used by the fleet or image builder to connect
/// to the directory.
/// </para>
/// </summary>
public ServiceAccountCredentials ServiceAccountCredentials
{
get { return this._serviceAccountCredentials; }
set { this._serviceAccountCredentials = value; }
}
// Check to see if ServiceAccountCredentials property is set
internal bool IsSetServiceAccountCredentials()
{
return this._serviceAccountCredentials != null;
}
}
} | 142 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DisableUser operation.
/// Disables the specified user in the user pool. Users can't sign in to AppStream 2.0
/// until they are re-enabled. This action does not delete the user.
/// </summary>
public partial class DisableUserRequest : AmazonAppStreamRequest
{
private AuthenticationType _authenticationType;
private string _userName;
/// <summary>
/// Gets and sets the property AuthenticationType.
/// <para>
/// The authentication type for the user. You must specify USERPOOL.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public AuthenticationType AuthenticationType
{
get { return this._authenticationType; }
set { this._authenticationType = value; }
}
// Check to see if AuthenticationType property is set
internal bool IsSetAuthenticationType()
{
return this._authenticationType != null;
}
/// <summary>
/// Gets and sets the property UserName.
/// <para>
/// The email address of the user.
/// </para>
/// <note>
/// <para>
/// Users' email addresses are case-sensitive.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=128)]
public string UserName
{
get { return this._userName; }
set { this._userName = value; }
}
// Check to see if UserName property is set
internal bool IsSetUserName()
{
return this._userName != null;
}
}
} | 85 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the DisableUser operation.
/// </summary>
public partial class DisableUserResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DisassociateAppBlockBuilderAppBlock operation.
/// Disassociates a specified app block builder from a specified app block.
/// </summary>
public partial class DisassociateAppBlockBuilderAppBlockRequest : AmazonAppStreamRequest
{
private string _appBlockArn;
private string _appBlockBuilderName;
/// <summary>
/// Gets and sets the property AppBlockArn.
/// <para>
/// The ARN of the app block.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppBlockArn
{
get { return this._appBlockArn; }
set { this._appBlockArn = value; }
}
// Check to see if AppBlockArn property is set
internal bool IsSetAppBlockArn()
{
return this._appBlockArn != null;
}
/// <summary>
/// Gets and sets the property AppBlockBuilderName.
/// <para>
/// The name of the app block builder.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppBlockBuilderName
{
get { return this._appBlockBuilderName; }
set { this._appBlockBuilderName = value; }
}
// Check to see if AppBlockBuilderName property is set
internal bool IsSetAppBlockBuilderName()
{
return this._appBlockBuilderName != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the DisassociateAppBlockBuilderAppBlock operation.
/// </summary>
public partial class DisassociateAppBlockBuilderAppBlockResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DisassociateApplicationFleet operation.
/// Disassociates the specified application from the fleet.
/// </summary>
public partial class DisassociateApplicationFleetRequest : AmazonAppStreamRequest
{
private string _applicationArn;
private string _fleetName;
/// <summary>
/// Gets and sets the property ApplicationArn.
/// <para>
/// The ARN of the application.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationArn
{
get { return this._applicationArn; }
set { this._applicationArn = value; }
}
// Check to see if ApplicationArn property is set
internal bool IsSetApplicationArn()
{
return this._applicationArn != null;
}
/// <summary>
/// Gets and sets the property FleetName.
/// <para>
/// The name of the fleet.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string FleetName
{
get { return this._fleetName; }
set { this._fleetName = value; }
}
// Check to see if FleetName property is set
internal bool IsSetFleetName()
{
return this._fleetName != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the DisassociateApplicationFleet operation.
/// </summary>
public partial class DisassociateApplicationFleetResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DisassociateApplicationFromEntitlement operation.
/// Deletes the specified application from the specified entitlement.
/// </summary>
public partial class DisassociateApplicationFromEntitlementRequest : AmazonAppStreamRequest
{
private string _applicationIdentifier;
private string _entitlementName;
private string _stackName;
/// <summary>
/// Gets and sets the property ApplicationIdentifier.
/// <para>
/// The identifier of the application to remove from the entitlement.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string ApplicationIdentifier
{
get { return this._applicationIdentifier; }
set { this._applicationIdentifier = value; }
}
// Check to see if ApplicationIdentifier property is set
internal bool IsSetApplicationIdentifier()
{
return this._applicationIdentifier != null;
}
/// <summary>
/// Gets and sets the property EntitlementName.
/// <para>
/// The name of the entitlement.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EntitlementName
{
get { return this._entitlementName; }
set { this._entitlementName = value; }
}
// Check to see if EntitlementName property is set
internal bool IsSetEntitlementName()
{
return this._entitlementName != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name of the stack with which the entitlement is associated.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string StackName
{
get { return this._stackName; }
set { this._stackName = value; }
}
// Check to see if StackName property is set
internal bool IsSetStackName()
{
return this._stackName != null;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the DisassociateApplicationFromEntitlement operation.
/// </summary>
public partial class DisassociateApplicationFromEntitlementResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DisassociateFleet operation.
/// Disassociates the specified fleet from the specified stack.
/// </summary>
public partial class DisassociateFleetRequest : AmazonAppStreamRequest
{
private string _fleetName;
private string _stackName;
/// <summary>
/// Gets and sets the property FleetName.
/// <para>
/// The name of the fleet.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string FleetName
{
get { return this._fleetName; }
set { this._fleetName = value; }
}
// Check to see if FleetName property is set
internal bool IsSetFleetName()
{
return this._fleetName != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name of the stack.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string StackName
{
get { return this._stackName; }
set { this._stackName = value; }
}
// Check to see if StackName property is set
internal bool IsSetStackName()
{
return this._stackName != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the DisassociateFleet operation.
/// </summary>
public partial class DisassociateFleetResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes the configuration information required to join fleets and image builders
/// to Microsoft Active Directory domains.
/// </summary>
public partial class DomainJoinInfo
{
private string _directoryName;
private string _organizationalUnitDistinguishedName;
/// <summary>
/// Gets and sets the property DirectoryName.
/// <para>
/// The fully qualified name of the directory (for example, corp.example.com).
/// </para>
/// </summary>
public string DirectoryName
{
get { return this._directoryName; }
set { this._directoryName = value; }
}
// Check to see if DirectoryName property is set
internal bool IsSetDirectoryName()
{
return this._directoryName != null;
}
/// <summary>
/// Gets and sets the property OrganizationalUnitDistinguishedName.
/// <para>
/// The distinguished name of the organizational unit for computer accounts.
/// </para>
/// </summary>
[AWSProperty(Max=2000)]
public string OrganizationalUnitDistinguishedName
{
get { return this._organizationalUnitDistinguishedName; }
set { this._organizationalUnitDistinguishedName = value; }
}
// Check to see if OrganizationalUnitDistinguishedName property is set
internal bool IsSetOrganizationalUnitDistinguishedName()
{
return this._organizationalUnitDistinguishedName != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the EnableUser operation.
/// Enables a user in the user pool. After being enabled, users can sign in to AppStream
/// 2.0 and open applications from the stacks to which they are assigned.
/// </summary>
public partial class EnableUserRequest : AmazonAppStreamRequest
{
private AuthenticationType _authenticationType;
private string _userName;
/// <summary>
/// Gets and sets the property AuthenticationType.
/// <para>
/// The authentication type for the user. You must specify USERPOOL.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public AuthenticationType AuthenticationType
{
get { return this._authenticationType; }
set { this._authenticationType = value; }
}
// Check to see if AuthenticationType property is set
internal bool IsSetAuthenticationType()
{
return this._authenticationType != null;
}
/// <summary>
/// Gets and sets the property UserName.
/// <para>
/// The email address of the user.
/// </para>
/// <note>
/// <para>
/// Users' email addresses are case-sensitive. During login, if they specify an email
/// address that doesn't use the same capitalization as the email address specified when
/// their user pool account was created, a "user does not exist" error message displays.
///
/// </para>
/// </note>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=128)]
public string UserName
{
get { return this._userName; }
set { this._userName = value; }
}
// Check to see if UserName property is set
internal bool IsSetUserName()
{
return this._userName != null;
}
}
} | 88 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the EnableUser operation.
/// </summary>
public partial class EnableUserResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// The application associated to an entitlement. Access is controlled based on user attributes.
/// </summary>
public partial class EntitledApplication
{
private string _applicationIdentifier;
/// <summary>
/// Gets and sets the property ApplicationIdentifier.
/// <para>
/// The identifier of the application.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string ApplicationIdentifier
{
get { return this._applicationIdentifier; }
set { this._applicationIdentifier = value; }
}
// Check to see if ApplicationIdentifier property is set
internal bool IsSetApplicationIdentifier()
{
return this._applicationIdentifier != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Specifies an entitlement. Entitlements control access to specific applications within
/// a stack, based on user attributes. Entitlements apply to SAML 2.0 federated user identities.
/// Amazon AppStream 2.0 user pool and streaming URL users are entitled to all applications
/// in a stack. Entitlements don't apply to the desktop stream view application, or to
/// applications managed by a dynamic app provider using the Dynamic Application Framework.
/// </summary>
public partial class Entitlement
{
private AppVisibility _appVisibility;
private List<EntitlementAttribute> _attributes = new List<EntitlementAttribute>();
private DateTime? _createdTime;
private string _description;
private DateTime? _lastModifiedTime;
private string _name;
private string _stackName;
/// <summary>
/// Gets and sets the property AppVisibility.
/// <para>
/// Specifies whether all or selected apps are entitled.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public AppVisibility AppVisibility
{
get { return this._appVisibility; }
set { this._appVisibility = value; }
}
// Check to see if AppVisibility property is set
internal bool IsSetAppVisibility()
{
return this._appVisibility != null;
}
/// <summary>
/// Gets and sets the property Attributes.
/// <para>
/// The attributes of the entitlement.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public List<EntitlementAttribute> Attributes
{
get { return this._attributes; }
set { this._attributes = value; }
}
// Check to see if Attributes property is set
internal bool IsSetAttributes()
{
return this._attributes != null && this._attributes.Count > 0;
}
/// <summary>
/// Gets and sets the property CreatedTime.
/// <para>
/// The time when the entitlement was created.
/// </para>
/// </summary>
public DateTime CreatedTime
{
get { return this._createdTime.GetValueOrDefault(); }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime.HasValue;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the entitlement.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property LastModifiedTime.
/// <para>
/// The time when the entitlement was last modified.
/// </para>
/// </summary>
public DateTime LastModifiedTime
{
get { return this._lastModifiedTime.GetValueOrDefault(); }
set { this._lastModifiedTime = value; }
}
// Check to see if LastModifiedTime property is set
internal bool IsSetLastModifiedTime()
{
return this._lastModifiedTime.HasValue;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the entitlement.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name of the stack with which the entitlement is associated.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string StackName
{
get { return this._stackName; }
set { this._stackName = value; }
}
// Check to see if StackName property is set
internal bool IsSetStackName()
{
return this._stackName != null;
}
}
} | 180 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// The entitlement already exists.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class EntitlementAlreadyExistsException : AmazonAppStreamException
{
/// <summary>
/// Constructs a new EntitlementAlreadyExistsException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public EntitlementAlreadyExistsException(string message)
: base(message) {}
/// <summary>
/// Construct instance of EntitlementAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public EntitlementAlreadyExistsException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of EntitlementAlreadyExistsException
/// </summary>
/// <param name="innerException"></param>
public EntitlementAlreadyExistsException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of EntitlementAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public EntitlementAlreadyExistsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of EntitlementAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public EntitlementAlreadyExistsException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the EntitlementAlreadyExistsException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected EntitlementAlreadyExistsException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// An attribute associated with an entitlement. Application entitlements work by matching
/// a supported SAML 2.0 attribute name to a value when a user identity federates to an
/// Amazon AppStream 2.0 SAML application.
/// </summary>
public partial class EntitlementAttribute
{
private string _name;
private string _value;
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// A supported AWS IAM SAML <code>PrincipalTag</code> attribute that is matched to the
/// associated value when a user identity federates into an Amazon AppStream 2.0 SAML
/// application.
/// </para>
///
/// <para>
/// The following are valid values:
/// </para>
/// <ul> <li>
/// <para>
/// roles
/// </para>
/// </li> <li>
/// <para>
/// department
/// </para>
/// </li> <li>
/// <para>
/// organization
/// </para>
/// </li> <li>
/// <para>
/// groups
/// </para>
/// </li> <li>
/// <para>
/// title
/// </para>
/// </li> <li>
/// <para>
/// costCenter
/// </para>
/// </li> <li>
/// <para>
/// userType
/// </para>
/// </li> </ul>
/// <para>
///
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property Value.
/// <para>
/// A value that is matched to a supported SAML attribute name when a user identity federates
/// into an Amazon AppStream 2.0 SAML application.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string Value
{
get { return this._value; }
set { this._value = value; }
}
// Check to see if Value property is set
internal bool IsSetValue()
{
return this._value != null;
}
}
} | 119 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// The entitlement can't be found.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class EntitlementNotFoundException : AmazonAppStreamException
{
/// <summary>
/// Constructs a new EntitlementNotFoundException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public EntitlementNotFoundException(string message)
: base(message) {}
/// <summary>
/// Construct instance of EntitlementNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public EntitlementNotFoundException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of EntitlementNotFoundException
/// </summary>
/// <param name="innerException"></param>
public EntitlementNotFoundException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of EntitlementNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public EntitlementNotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of EntitlementNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public EntitlementNotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the EntitlementNotFoundException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected EntitlementNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// The error details.
/// </summary>
public partial class ErrorDetails
{
private string _errorCode;
private string _errorMessage;
/// <summary>
/// Gets and sets the property ErrorCode.
/// <para>
/// The error code.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string ErrorCode
{
get { return this._errorCode; }
set { this._errorCode = value; }
}
// Check to see if ErrorCode property is set
internal bool IsSetErrorCode()
{
return this._errorCode != null;
}
/// <summary>
/// Gets and sets the property ErrorMessage.
/// <para>
/// The error message.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string ErrorMessage
{
get { return this._errorMessage; }
set { this._errorMessage = value; }
}
// Check to see if ErrorMessage property is set
internal bool IsSetErrorMessage()
{
return this._errorMessage != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the ExpireSession operation.
/// Immediately stops the specified streaming session.
/// </summary>
public partial class ExpireSessionRequest : AmazonAppStreamRequest
{
private string _sessionId;
/// <summary>
/// Gets and sets the property SessionId.
/// <para>
/// The identifier of the streaming session.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string SessionId
{
get { return this._sessionId; }
set { this._sessionId = value; }
}
// Check to see if SessionId property is set
internal bool IsSetSessionId()
{
return this._sessionId != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the ExpireSession operation.
/// </summary>
public partial class ExpireSessionResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes a fleet.
/// </summary>
public partial class Fleet
{
private string _arn;
private ComputeCapacityStatus _computeCapacityStatus;
private DateTime? _createdTime;
private string _description;
private int? _disconnectTimeoutInSeconds;
private string _displayName;
private DomainJoinInfo _domainJoinInfo;
private bool? _enableDefaultInternetAccess;
private List<FleetError> _fleetErrors = new List<FleetError>();
private FleetType _fleetType;
private string _iamRoleArn;
private int? _idleDisconnectTimeoutInSeconds;
private string _imageArn;
private string _imageName;
private string _instanceType;
private int? _maxConcurrentSessions;
private int? _maxUserDurationInSeconds;
private string _name;
private PlatformType _platform;
private S3Location _sessionScriptS3Location;
private FleetState _state;
private StreamView _streamView;
private List<string> _usbDeviceFilterStrings = new List<string>();
private VpcConfig _vpcConfig;
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The Amazon Resource Name (ARN) for the fleet.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property ComputeCapacityStatus.
/// <para>
/// The capacity status for the fleet.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ComputeCapacityStatus ComputeCapacityStatus
{
get { return this._computeCapacityStatus; }
set { this._computeCapacityStatus = value; }
}
// Check to see if ComputeCapacityStatus property is set
internal bool IsSetComputeCapacityStatus()
{
return this._computeCapacityStatus != null;
}
/// <summary>
/// Gets and sets the property CreatedTime.
/// <para>
/// The time the fleet was created.
/// </para>
/// </summary>
public DateTime CreatedTime
{
get { return this._createdTime.GetValueOrDefault(); }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime.HasValue;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description to display.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property DisconnectTimeoutInSeconds.
/// <para>
/// The amount of time that a streaming session remains active after users disconnect.
/// If they try to reconnect to the streaming session after a disconnection or network
/// interruption within this time interval, they are connected to their previous session.
/// Otherwise, they are connected to a new session with a new streaming instance.
/// </para>
///
/// <para>
/// Specify a value between 60 and 360000.
/// </para>
/// </summary>
public int DisconnectTimeoutInSeconds
{
get { return this._disconnectTimeoutInSeconds.GetValueOrDefault(); }
set { this._disconnectTimeoutInSeconds = value; }
}
// Check to see if DisconnectTimeoutInSeconds property is set
internal bool IsSetDisconnectTimeoutInSeconds()
{
return this._disconnectTimeoutInSeconds.HasValue;
}
/// <summary>
/// Gets and sets the property DisplayName.
/// <para>
/// The fleet name to display.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string DisplayName
{
get { return this._displayName; }
set { this._displayName = value; }
}
// Check to see if DisplayName property is set
internal bool IsSetDisplayName()
{
return this._displayName != null;
}
/// <summary>
/// Gets and sets the property DomainJoinInfo.
/// <para>
/// The name of the directory and organizational unit (OU) to use to join the fleet to
/// a Microsoft Active Directory domain.
/// </para>
/// </summary>
public DomainJoinInfo DomainJoinInfo
{
get { return this._domainJoinInfo; }
set { this._domainJoinInfo = value; }
}
// Check to see if DomainJoinInfo property is set
internal bool IsSetDomainJoinInfo()
{
return this._domainJoinInfo != null;
}
/// <summary>
/// Gets and sets the property EnableDefaultInternetAccess.
/// <para>
/// Indicates whether default internet access is enabled for the fleet.
/// </para>
/// </summary>
public bool EnableDefaultInternetAccess
{
get { return this._enableDefaultInternetAccess.GetValueOrDefault(); }
set { this._enableDefaultInternetAccess = value; }
}
// Check to see if EnableDefaultInternetAccess property is set
internal bool IsSetEnableDefaultInternetAccess()
{
return this._enableDefaultInternetAccess.HasValue;
}
/// <summary>
/// Gets and sets the property FleetErrors.
/// <para>
/// The fleet errors.
/// </para>
/// </summary>
public List<FleetError> FleetErrors
{
get { return this._fleetErrors; }
set { this._fleetErrors = value; }
}
// Check to see if FleetErrors property is set
internal bool IsSetFleetErrors()
{
return this._fleetErrors != null && this._fleetErrors.Count > 0;
}
/// <summary>
/// Gets and sets the property FleetType.
/// <para>
/// The fleet type.
/// </para>
/// <dl> <dt>ALWAYS_ON</dt> <dd>
/// <para>
/// Provides users with instant-on access to their apps. You are charged for all running
/// instances in your fleet, even if no users are streaming apps.
/// </para>
/// </dd> <dt>ON_DEMAND</dt> <dd>
/// <para>
/// Provide users with access to applications after they connect, which takes one to two
/// minutes. You are charged for instance streaming when users are connected and a small
/// hourly fee for instances that are not streaming apps.
/// </para>
/// </dd> </dl>
/// </summary>
public FleetType FleetType
{
get { return this._fleetType; }
set { this._fleetType = value; }
}
// Check to see if FleetType property is set
internal bool IsSetFleetType()
{
return this._fleetType != null;
}
/// <summary>
/// Gets and sets the property IamRoleArn.
/// <para>
/// The ARN of the IAM role that is applied to the fleet. To assume a role, the fleet
/// instance calls the AWS Security Token Service (STS) <code>AssumeRole</code> API operation
/// and passes the ARN of the role to use. The operation creates a new session with temporary
/// credentials. AppStream 2.0 retrieves the temporary credentials and creates the <b>appstream_machine_role</b>
/// credential profile on the instance.
/// </para>
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html">Using
/// an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream
/// 2.0 Streaming Instances</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.
/// </para>
/// </summary>
public string IamRoleArn
{
get { return this._iamRoleArn; }
set { this._iamRoleArn = value; }
}
// Check to see if IamRoleArn property is set
internal bool IsSetIamRoleArn()
{
return this._iamRoleArn != null;
}
/// <summary>
/// Gets and sets the property IdleDisconnectTimeoutInSeconds.
/// <para>
/// The amount of time that users can be idle (inactive) before they are disconnected
/// from their streaming session and the <code>DisconnectTimeoutInSeconds</code> time
/// interval begins. Users are notified before they are disconnected due to inactivity.
/// If users try to reconnect to the streaming session before the time interval specified
/// in <code>DisconnectTimeoutInSeconds</code> elapses, they are connected to their previous
/// session. Users are considered idle when they stop providing keyboard or mouse input
/// during their streaming session. File uploads and downloads, audio in, audio out, and
/// pixels changing do not qualify as user activity. If users continue to be idle after
/// the time interval in <code>IdleDisconnectTimeoutInSeconds</code> elapses, they are
/// disconnected.
/// </para>
///
/// <para>
/// To prevent users from being disconnected due to inactivity, specify a value of 0.
/// Otherwise, specify a value between 60 and 3600. The default value is 0.
/// </para>
/// <note>
/// <para>
/// If you enable this feature, we recommend that you specify a value that corresponds
/// exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't
/// do this, the value is rounded to the nearest minute. For example, if you specify a
/// value of 70, users are disconnected after 1 minute of inactivity. If you specify a
/// value that is at the midpoint between two different minutes, the value is rounded
/// up. For example, if you specify a value of 90, users are disconnected after 2 minutes
/// of inactivity.
/// </para>
/// </note>
/// </summary>
public int IdleDisconnectTimeoutInSeconds
{
get { return this._idleDisconnectTimeoutInSeconds.GetValueOrDefault(); }
set { this._idleDisconnectTimeoutInSeconds = value; }
}
// Check to see if IdleDisconnectTimeoutInSeconds property is set
internal bool IsSetIdleDisconnectTimeoutInSeconds()
{
return this._idleDisconnectTimeoutInSeconds.HasValue;
}
/// <summary>
/// Gets and sets the property ImageArn.
/// <para>
/// The ARN for the public, private, or shared image.
/// </para>
/// </summary>
public string ImageArn
{
get { return this._imageArn; }
set { this._imageArn = value; }
}
// Check to see if ImageArn property is set
internal bool IsSetImageArn()
{
return this._imageArn != null;
}
/// <summary>
/// Gets and sets the property ImageName.
/// <para>
/// The name of the image used to create the fleet.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string ImageName
{
get { return this._imageName; }
set { this._imageName = value; }
}
// Check to see if ImageName property is set
internal bool IsSetImageName()
{
return this._imageName != null;
}
/// <summary>
/// Gets and sets the property InstanceType.
/// <para>
/// The instance type to use when launching fleet instances. The following instance types
/// are available:
/// </para>
/// <ul> <li>
/// <para>
/// stream.standard.small
/// </para>
/// </li> <li>
/// <para>
/// stream.standard.medium
/// </para>
/// </li> <li>
/// <para>
/// stream.standard.large
/// </para>
/// </li> <li>
/// <para>
/// stream.compute.large
/// </para>
/// </li> <li>
/// <para>
/// stream.compute.xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.compute.2xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.compute.4xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.compute.8xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.large
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.2xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.4xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.8xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.z1d.large
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.z1d.xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.z1d.2xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.z1d.3xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.z1d.6xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.z1d.12xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics-design.large
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics-design.xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics-design.2xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics-design.4xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics-desktop.2xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics.g4dn.xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics.g4dn.2xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics.g4dn.4xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics.g4dn.8xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics.g4dn.12xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics.g4dn.16xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics-pro.4xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics-pro.8xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics-pro.16xlarge
/// </para>
/// </li> </ul>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string InstanceType
{
get { return this._instanceType; }
set { this._instanceType = value; }
}
// Check to see if InstanceType property is set
internal bool IsSetInstanceType()
{
return this._instanceType != null;
}
/// <summary>
/// Gets and sets the property MaxConcurrentSessions.
/// <para>
/// The maximum number of concurrent sessions for the fleet.
/// </para>
/// </summary>
public int MaxConcurrentSessions
{
get { return this._maxConcurrentSessions.GetValueOrDefault(); }
set { this._maxConcurrentSessions = value; }
}
// Check to see if MaxConcurrentSessions property is set
internal bool IsSetMaxConcurrentSessions()
{
return this._maxConcurrentSessions.HasValue;
}
/// <summary>
/// Gets and sets the property MaxUserDurationInSeconds.
/// <para>
/// The maximum amount of time that a streaming session can remain active, in seconds.
/// If users are still connected to a streaming instance five minutes before this limit
/// is reached, they are prompted to save any open documents before being disconnected.
/// After this time elapses, the instance is terminated and replaced by a new instance.
///
/// </para>
///
/// <para>
/// Specify a value between 600 and 360000.
/// </para>
/// </summary>
public int MaxUserDurationInSeconds
{
get { return this._maxUserDurationInSeconds.GetValueOrDefault(); }
set { this._maxUserDurationInSeconds = value; }
}
// Check to see if MaxUserDurationInSeconds property is set
internal bool IsSetMaxUserDurationInSeconds()
{
return this._maxUserDurationInSeconds.HasValue;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the fleet.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property Platform.
/// <para>
/// The platform of the fleet.
/// </para>
/// </summary>
public PlatformType Platform
{
get { return this._platform; }
set { this._platform = value; }
}
// Check to see if Platform property is set
internal bool IsSetPlatform()
{
return this._platform != null;
}
/// <summary>
/// Gets and sets the property SessionScriptS3Location.
/// <para>
/// The S3 location of the session scripts configuration zip file. This only applies to
/// Elastic fleets.
/// </para>
/// </summary>
public S3Location SessionScriptS3Location
{
get { return this._sessionScriptS3Location; }
set { this._sessionScriptS3Location = value; }
}
// Check to see if SessionScriptS3Location property is set
internal bool IsSetSessionScriptS3Location()
{
return this._sessionScriptS3Location != null;
}
/// <summary>
/// Gets and sets the property State.
/// <para>
/// The current state for the fleet.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public FleetState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
/// <summary>
/// Gets and sets the property StreamView.
/// <para>
/// The AppStream 2.0 view that is displayed to your users when they stream from the fleet.
/// When <code>APP</code> is specified, only the windows of applications opened by users
/// display. When <code>DESKTOP</code> is specified, the standard desktop that is provided
/// by the operating system displays.
/// </para>
///
/// <para>
/// The default value is <code>APP</code>.
/// </para>
/// </summary>
public StreamView StreamView
{
get { return this._streamView; }
set { this._streamView = value; }
}
// Check to see if StreamView property is set
internal bool IsSetStreamView()
{
return this._streamView != null;
}
/// <summary>
/// Gets and sets the property UsbDeviceFilterStrings.
/// <para>
/// The USB device filter strings associated with the fleet.
/// </para>
/// </summary>
public List<string> UsbDeviceFilterStrings
{
get { return this._usbDeviceFilterStrings; }
set { this._usbDeviceFilterStrings = value; }
}
// Check to see if UsbDeviceFilterStrings property is set
internal bool IsSetUsbDeviceFilterStrings()
{
return this._usbDeviceFilterStrings != null && this._usbDeviceFilterStrings.Count > 0;
}
/// <summary>
/// Gets and sets the property VpcConfig.
/// <para>
/// The VPC configuration for the fleet.
/// </para>
/// </summary>
public VpcConfig VpcConfig
{
get { return this._vpcConfig; }
set { this._vpcConfig = value; }
}
// Check to see if VpcConfig property is set
internal bool IsSetVpcConfig()
{
return this._vpcConfig != null;
}
}
} | 707 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes a fleet error.
/// </summary>
public partial class FleetError
{
private FleetErrorCode _errorCode;
private string _errorMessage;
/// <summary>
/// Gets and sets the property ErrorCode.
/// <para>
/// The error code.
/// </para>
/// </summary>
public FleetErrorCode ErrorCode
{
get { return this._errorCode; }
set { this._errorCode = value; }
}
// Check to see if ErrorCode property is set
internal bool IsSetErrorCode()
{
return this._errorCode != null;
}
/// <summary>
/// Gets and sets the property ErrorMessage.
/// <para>
/// The error message.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string ErrorMessage
{
get { return this._errorMessage; }
set { this._errorMessage = value; }
}
// Check to see if ErrorMessage property is set
internal bool IsSetErrorMessage()
{
return this._errorMessage != null;
}
}
} | 77 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes an image.
/// </summary>
public partial class Image
{
private List<Application> _applications = new List<Application>();
private string _appstreamAgentVersion;
private string _arn;
private string _baseImageArn;
private DateTime? _createdTime;
private string _description;
private string _displayName;
private string _imageBuilderName;
private bool? _imageBuilderSupported;
private List<ResourceError> _imageErrors = new List<ResourceError>();
private ImagePermissions _imagePermissions;
private string _name;
private PlatformType _platform;
private DateTime? _publicBaseImageReleasedDate;
private ImageState _state;
private ImageStateChangeReason _stateChangeReason;
private VisibilityType _visibility;
/// <summary>
/// Gets and sets the property Applications.
/// <para>
/// The applications associated with the image.
/// </para>
/// </summary>
public List<Application> Applications
{
get { return this._applications; }
set { this._applications = value; }
}
// Check to see if Applications property is set
internal bool IsSetApplications()
{
return this._applications != null && this._applications.Count > 0;
}
/// <summary>
/// Gets and sets the property AppstreamAgentVersion.
/// <para>
/// The version of the AppStream 2.0 agent to use for instances that are launched from
/// this image.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string AppstreamAgentVersion
{
get { return this._appstreamAgentVersion; }
set { this._appstreamAgentVersion = value; }
}
// Check to see if AppstreamAgentVersion property is set
internal bool IsSetAppstreamAgentVersion()
{
return this._appstreamAgentVersion != null;
}
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The ARN of the image.
/// </para>
/// </summary>
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property BaseImageArn.
/// <para>
/// The ARN of the image from which this image was created.
/// </para>
/// </summary>
public string BaseImageArn
{
get { return this._baseImageArn; }
set { this._baseImageArn = value; }
}
// Check to see if BaseImageArn property is set
internal bool IsSetBaseImageArn()
{
return this._baseImageArn != null;
}
/// <summary>
/// Gets and sets the property CreatedTime.
/// <para>
/// The time the image was created.
/// </para>
/// </summary>
public DateTime CreatedTime
{
get { return this._createdTime.GetValueOrDefault(); }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime.HasValue;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description to display.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property DisplayName.
/// <para>
/// The image name to display.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string DisplayName
{
get { return this._displayName; }
set { this._displayName = value; }
}
// Check to see if DisplayName property is set
internal bool IsSetDisplayName()
{
return this._displayName != null;
}
/// <summary>
/// Gets and sets the property ImageBuilderName.
/// <para>
/// The name of the image builder that was used to create the private image. If the image
/// is shared, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string ImageBuilderName
{
get { return this._imageBuilderName; }
set { this._imageBuilderName = value; }
}
// Check to see if ImageBuilderName property is set
internal bool IsSetImageBuilderName()
{
return this._imageBuilderName != null;
}
/// <summary>
/// Gets and sets the property ImageBuilderSupported.
/// <para>
/// Indicates whether an image builder can be launched from this image.
/// </para>
/// </summary>
public bool ImageBuilderSupported
{
get { return this._imageBuilderSupported.GetValueOrDefault(); }
set { this._imageBuilderSupported = value; }
}
// Check to see if ImageBuilderSupported property is set
internal bool IsSetImageBuilderSupported()
{
return this._imageBuilderSupported.HasValue;
}
/// <summary>
/// Gets and sets the property ImageErrors.
/// <para>
/// Describes the errors that are returned when a new image can't be created.
/// </para>
/// </summary>
public List<ResourceError> ImageErrors
{
get { return this._imageErrors; }
set { this._imageErrors = value; }
}
// Check to see if ImageErrors property is set
internal bool IsSetImageErrors()
{
return this._imageErrors != null && this._imageErrors.Count > 0;
}
/// <summary>
/// Gets and sets the property ImagePermissions.
/// <para>
/// The permissions to provide to the destination AWS account for the specified image.
/// </para>
/// </summary>
public ImagePermissions ImagePermissions
{
get { return this._imagePermissions; }
set { this._imagePermissions = value; }
}
// Check to see if ImagePermissions property is set
internal bool IsSetImagePermissions()
{
return this._imagePermissions != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the image.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property Platform.
/// <para>
/// The operating system platform of the image.
/// </para>
/// </summary>
public PlatformType Platform
{
get { return this._platform; }
set { this._platform = value; }
}
// Check to see if Platform property is set
internal bool IsSetPlatform()
{
return this._platform != null;
}
/// <summary>
/// Gets and sets the property PublicBaseImageReleasedDate.
/// <para>
/// The release date of the public base image. For private images, this date is the release
/// date of the base image from which the image was created.
/// </para>
/// </summary>
public DateTime PublicBaseImageReleasedDate
{
get { return this._publicBaseImageReleasedDate.GetValueOrDefault(); }
set { this._publicBaseImageReleasedDate = value; }
}
// Check to see if PublicBaseImageReleasedDate property is set
internal bool IsSetPublicBaseImageReleasedDate()
{
return this._publicBaseImageReleasedDate.HasValue;
}
/// <summary>
/// Gets and sets the property State.
/// <para>
/// The image starts in the <code>PENDING</code> state. If image creation succeeds, the
/// state is <code>AVAILABLE</code>. If image creation fails, the state is <code>FAILED</code>.
/// </para>
/// </summary>
public ImageState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
/// <summary>
/// Gets and sets the property StateChangeReason.
/// <para>
/// The reason why the last state change occurred.
/// </para>
/// </summary>
public ImageStateChangeReason StateChangeReason
{
get { return this._stateChangeReason; }
set { this._stateChangeReason = value; }
}
// Check to see if StateChangeReason property is set
internal bool IsSetStateChangeReason()
{
return this._stateChangeReason != null;
}
/// <summary>
/// Gets and sets the property Visibility.
/// <para>
/// Indicates whether the image is public or private.
/// </para>
/// </summary>
public VisibilityType Visibility
{
get { return this._visibility; }
set { this._visibility = value; }
}
// Check to see if Visibility property is set
internal bool IsSetVisibility()
{
return this._visibility != null;
}
}
} | 370 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes a virtual machine that is used to create an image.
/// </summary>
public partial class ImageBuilder
{
private List<AccessEndpoint> _accessEndpoints = new List<AccessEndpoint>();
private string _appstreamAgentVersion;
private string _arn;
private DateTime? _createdTime;
private string _description;
private string _displayName;
private DomainJoinInfo _domainJoinInfo;
private bool? _enableDefaultInternetAccess;
private string _iamRoleArn;
private string _imageArn;
private List<ResourceError> _imageBuilderErrors = new List<ResourceError>();
private string _instanceType;
private string _name;
private NetworkAccessConfiguration _networkAccessConfiguration;
private PlatformType _platform;
private ImageBuilderState _state;
private ImageBuilderStateChangeReason _stateChangeReason;
private VpcConfig _vpcConfig;
/// <summary>
/// Gets and sets the property AccessEndpoints.
/// <para>
/// The list of virtual private cloud (VPC) interface endpoint objects. Administrators
/// can connect to the image builder only through the specified endpoints.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=4)]
public List<AccessEndpoint> AccessEndpoints
{
get { return this._accessEndpoints; }
set { this._accessEndpoints = value; }
}
// Check to see if AccessEndpoints property is set
internal bool IsSetAccessEndpoints()
{
return this._accessEndpoints != null && this._accessEndpoints.Count > 0;
}
/// <summary>
/// Gets and sets the property AppstreamAgentVersion.
/// <para>
/// The version of the AppStream 2.0 agent that is currently being used by the image builder.
///
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string AppstreamAgentVersion
{
get { return this._appstreamAgentVersion; }
set { this._appstreamAgentVersion = value; }
}
// Check to see if AppstreamAgentVersion property is set
internal bool IsSetAppstreamAgentVersion()
{
return this._appstreamAgentVersion != null;
}
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The ARN for the image builder.
/// </para>
/// </summary>
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property CreatedTime.
/// <para>
/// The time stamp when the image builder was created.
/// </para>
/// </summary>
public DateTime CreatedTime
{
get { return this._createdTime.GetValueOrDefault(); }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime.HasValue;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description to display.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property DisplayName.
/// <para>
/// The image builder name to display.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string DisplayName
{
get { return this._displayName; }
set { this._displayName = value; }
}
// Check to see if DisplayName property is set
internal bool IsSetDisplayName()
{
return this._displayName != null;
}
/// <summary>
/// Gets and sets the property DomainJoinInfo.
/// <para>
/// The name of the directory and organizational unit (OU) to use to join the image builder
/// to a Microsoft Active Directory domain.
/// </para>
/// </summary>
public DomainJoinInfo DomainJoinInfo
{
get { return this._domainJoinInfo; }
set { this._domainJoinInfo = value; }
}
// Check to see if DomainJoinInfo property is set
internal bool IsSetDomainJoinInfo()
{
return this._domainJoinInfo != null;
}
/// <summary>
/// Gets and sets the property EnableDefaultInternetAccess.
/// <para>
/// Enables or disables default internet access for the image builder.
/// </para>
/// </summary>
public bool EnableDefaultInternetAccess
{
get { return this._enableDefaultInternetAccess.GetValueOrDefault(); }
set { this._enableDefaultInternetAccess = value; }
}
// Check to see if EnableDefaultInternetAccess property is set
internal bool IsSetEnableDefaultInternetAccess()
{
return this._enableDefaultInternetAccess.HasValue;
}
/// <summary>
/// Gets and sets the property IamRoleArn.
/// <para>
/// The ARN of the IAM role that is applied to the image builder. To assume a role, the
/// image builder calls the AWS Security Token Service (STS) <code>AssumeRole</code> API
/// operation and passes the ARN of the role to use. The operation creates a new session
/// with temporary credentials. AppStream 2.0 retrieves the temporary credentials and
/// creates the <b>appstream_machine_role</b> credential profile on the instance.
/// </para>
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html">Using
/// an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream
/// 2.0 Streaming Instances</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.
/// </para>
/// </summary>
public string IamRoleArn
{
get { return this._iamRoleArn; }
set { this._iamRoleArn = value; }
}
// Check to see if IamRoleArn property is set
internal bool IsSetIamRoleArn()
{
return this._iamRoleArn != null;
}
/// <summary>
/// Gets and sets the property ImageArn.
/// <para>
/// The ARN of the image from which this builder was created.
/// </para>
/// </summary>
public string ImageArn
{
get { return this._imageArn; }
set { this._imageArn = value; }
}
// Check to see if ImageArn property is set
internal bool IsSetImageArn()
{
return this._imageArn != null;
}
/// <summary>
/// Gets and sets the property ImageBuilderErrors.
/// <para>
/// The image builder errors.
/// </para>
/// </summary>
public List<ResourceError> ImageBuilderErrors
{
get { return this._imageBuilderErrors; }
set { this._imageBuilderErrors = value; }
}
// Check to see if ImageBuilderErrors property is set
internal bool IsSetImageBuilderErrors()
{
return this._imageBuilderErrors != null && this._imageBuilderErrors.Count > 0;
}
/// <summary>
/// Gets and sets the property InstanceType.
/// <para>
/// The instance type for the image builder. The following instance types are available:
/// </para>
/// <ul> <li>
/// <para>
/// stream.standard.small
/// </para>
/// </li> <li>
/// <para>
/// stream.standard.medium
/// </para>
/// </li> <li>
/// <para>
/// stream.standard.large
/// </para>
/// </li> <li>
/// <para>
/// stream.compute.large
/// </para>
/// </li> <li>
/// <para>
/// stream.compute.xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.compute.2xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.compute.4xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.compute.8xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.large
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.2xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.4xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.8xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.z1d.large
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.z1d.xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.z1d.2xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.z1d.3xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.z1d.6xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.z1d.12xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics-design.large
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics-design.xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics-design.2xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics-design.4xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics-desktop.2xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics.g4dn.xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics.g4dn.2xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics.g4dn.4xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics.g4dn.8xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics.g4dn.12xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics.g4dn.16xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics-pro.4xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics-pro.8xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.graphics-pro.16xlarge
/// </para>
/// </li> </ul>
/// </summary>
[AWSProperty(Min=1)]
public string InstanceType
{
get { return this._instanceType; }
set { this._instanceType = value; }
}
// Check to see if InstanceType property is set
internal bool IsSetInstanceType()
{
return this._instanceType != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the image builder.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property NetworkAccessConfiguration.
/// </summary>
public NetworkAccessConfiguration NetworkAccessConfiguration
{
get { return this._networkAccessConfiguration; }
set { this._networkAccessConfiguration = value; }
}
// Check to see if NetworkAccessConfiguration property is set
internal bool IsSetNetworkAccessConfiguration()
{
return this._networkAccessConfiguration != null;
}
/// <summary>
/// Gets and sets the property Platform.
/// <para>
/// The operating system platform of the image builder.
/// </para>
/// </summary>
public PlatformType Platform
{
get { return this._platform; }
set { this._platform = value; }
}
// Check to see if Platform property is set
internal bool IsSetPlatform()
{
return this._platform != null;
}
/// <summary>
/// Gets and sets the property State.
/// <para>
/// The state of the image builder.
/// </para>
/// </summary>
public ImageBuilderState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
/// <summary>
/// Gets and sets the property StateChangeReason.
/// <para>
/// The reason why the last state change occurred.
/// </para>
/// </summary>
public ImageBuilderStateChangeReason StateChangeReason
{
get { return this._stateChangeReason; }
set { this._stateChangeReason = value; }
}
// Check to see if StateChangeReason property is set
internal bool IsSetStateChangeReason()
{
return this._stateChangeReason != null;
}
/// <summary>
/// Gets and sets the property VpcConfig.
/// <para>
/// The VPC configuration of the image builder.
/// </para>
/// </summary>
public VpcConfig VpcConfig
{
get { return this._vpcConfig; }
set { this._vpcConfig = value; }
}
// Check to see if VpcConfig property is set
internal bool IsSetVpcConfig()
{
return this._vpcConfig != null;
}
}
} | 529 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes the reason why the last image builder state change occurred.
/// </summary>
public partial class ImageBuilderStateChangeReason
{
private ImageBuilderStateChangeReasonCode _code;
private string _message;
/// <summary>
/// Gets and sets the property Code.
/// <para>
/// The state change reason code.
/// </para>
/// </summary>
public ImageBuilderStateChangeReasonCode Code
{
get { return this._code; }
set { this._code = value; }
}
// Check to see if Code property is set
internal bool IsSetCode()
{
return this._code != null;
}
/// <summary>
/// Gets and sets the property Message.
/// <para>
/// The state change reason message.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string Message
{
get { return this._message; }
set { this._message = value; }
}
// Check to see if Message property is set
internal bool IsSetMessage()
{
return this._message != null;
}
}
} | 77 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes the permissions for an image.
/// </summary>
public partial class ImagePermissions
{
private bool? _allowFleet;
private bool? _allowImageBuilder;
/// <summary>
/// Gets and sets the property AllowFleet.
/// <para>
/// Indicates whether the image can be used for a fleet.
/// </para>
/// </summary>
public bool AllowFleet
{
get { return this._allowFleet.GetValueOrDefault(); }
set { this._allowFleet = value; }
}
// Check to see if AllowFleet property is set
internal bool IsSetAllowFleet()
{
return this._allowFleet.HasValue;
}
/// <summary>
/// Gets and sets the property AllowImageBuilder.
/// <para>
/// Indicates whether the image can be used for an image builder.
/// </para>
/// </summary>
public bool AllowImageBuilder
{
get { return this._allowImageBuilder.GetValueOrDefault(); }
set { this._allowImageBuilder = value; }
}
// Check to see if AllowImageBuilder property is set
internal bool IsSetAllowImageBuilder()
{
return this._allowImageBuilder.HasValue;
}
}
} | 76 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes the reason why the last image state change occurred.
/// </summary>
public partial class ImageStateChangeReason
{
private ImageStateChangeReasonCode _code;
private string _message;
/// <summary>
/// Gets and sets the property Code.
/// <para>
/// The state change reason code.
/// </para>
/// </summary>
public ImageStateChangeReasonCode Code
{
get { return this._code; }
set { this._code = value; }
}
// Check to see if Code property is set
internal bool IsSetCode()
{
return this._code != null;
}
/// <summary>
/// Gets and sets the property Message.
/// <para>
/// The state change reason message.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string Message
{
get { return this._message; }
set { this._message = value; }
}
// Check to see if Message property is set
internal bool IsSetMessage()
{
return this._message != null;
}
}
} | 77 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// The image can't be updated because it's not compatible for updates.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class IncompatibleImageException : AmazonAppStreamException
{
/// <summary>
/// Constructs a new IncompatibleImageException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public IncompatibleImageException(string message)
: base(message) {}
/// <summary>
/// Construct instance of IncompatibleImageException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public IncompatibleImageException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of IncompatibleImageException
/// </summary>
/// <param name="innerException"></param>
public IncompatibleImageException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of IncompatibleImageException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public IncompatibleImageException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of IncompatibleImageException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public IncompatibleImageException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the IncompatibleImageException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected IncompatibleImageException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InvalidAccountStatusException : AmazonAppStreamException
{
/// <summary>
/// Constructs a new InvalidAccountStatusException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InvalidAccountStatusException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InvalidAccountStatusException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InvalidAccountStatusException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InvalidAccountStatusException
/// </summary>
/// <param name="innerException"></param>
public InvalidAccountStatusException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InvalidAccountStatusException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidAccountStatusException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InvalidAccountStatusException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidAccountStatusException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InvalidAccountStatusException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InvalidAccountStatusException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 125 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Indicates an incorrect combination of parameters, or a missing parameter.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InvalidParameterCombinationException : AmazonAppStreamException
{
/// <summary>
/// Constructs a new InvalidParameterCombinationException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InvalidParameterCombinationException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InvalidParameterCombinationException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InvalidParameterCombinationException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InvalidParameterCombinationException
/// </summary>
/// <param name="innerException"></param>
public InvalidParameterCombinationException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InvalidParameterCombinationException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidParameterCombinationException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InvalidParameterCombinationException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidParameterCombinationException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InvalidParameterCombinationException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InvalidParameterCombinationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// The specified role is invalid.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InvalidRoleException : AmazonAppStreamException
{
/// <summary>
/// Constructs a new InvalidRoleException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InvalidRoleException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InvalidRoleException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InvalidRoleException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InvalidRoleException
/// </summary>
/// <param name="innerException"></param>
public InvalidRoleException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InvalidRoleException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidRoleException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InvalidRoleException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidRoleException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InvalidRoleException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InvalidRoleException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes the error that is returned when a usage report can't be generated.
/// </summary>
public partial class LastReportGenerationExecutionError
{
private UsageReportExecutionErrorCode _errorCode;
private string _errorMessage;
/// <summary>
/// Gets and sets the property ErrorCode.
/// <para>
/// The error code for the error that is returned when a usage report can't be generated.
/// </para>
/// </summary>
public UsageReportExecutionErrorCode ErrorCode
{
get { return this._errorCode; }
set { this._errorCode = value; }
}
// Check to see if ErrorCode property is set
internal bool IsSetErrorCode()
{
return this._errorCode != null;
}
/// <summary>
/// Gets and sets the property ErrorMessage.
/// <para>
/// The error message for the error that is returned when a usage report can't be generated.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string ErrorMessage
{
get { return this._errorMessage; }
set { this._errorMessage = value; }
}
// Check to see if ErrorMessage property is set
internal bool IsSetErrorMessage()
{
return this._errorMessage != null;
}
}
} | 77 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// The requested limit exceeds the permitted limit for an account.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class LimitExceededException : AmazonAppStreamException
{
/// <summary>
/// Constructs a new LimitExceededException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public LimitExceededException(string message)
: base(message) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public LimitExceededException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="innerException"></param>
public LimitExceededException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public LimitExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public LimitExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the LimitExceededException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected LimitExceededException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the ListAssociatedFleets operation.
/// Retrieves the name of the fleet that is associated with the specified stack.
/// </summary>
public partial class ListAssociatedFleetsRequest : AmazonAppStreamRequest
{
private string _nextToken;
private string _stackName;
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If this value is null, it retrieves the first page.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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 StackName.
/// <para>
/// The name of the stack.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string StackName
{
get { return this._stackName; }
set { this._stackName = value; }
}
// Check to see if StackName property is set
internal bool IsSetStackName()
{
return this._stackName != null;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the ListAssociatedFleets operation.
/// </summary>
public partial class ListAssociatedFleetsResponse : AmazonWebServiceResponse
{
private List<string> _names = new List<string>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Names.
/// <para>
/// The name of the fleet.
/// </para>
/// </summary>
public List<string> Names
{
get { return this._names; }
set { this._names = value; }
}
// Check to see if Names property is set
internal bool IsSetNames()
{
return this._names != null && this._names.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If there are no more pages, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the ListAssociatedStacks operation.
/// Retrieves the name of the stack with which the specified fleet is associated.
/// </summary>
public partial class ListAssociatedStacksRequest : AmazonAppStreamRequest
{
private string _fleetName;
private string _nextToken;
/// <summary>
/// Gets and sets the property FleetName.
/// <para>
/// The name of the fleet.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string FleetName
{
get { return this._fleetName; }
set { this._fleetName = value; }
}
// Check to see if FleetName property is set
internal bool IsSetFleetName()
{
return this._fleetName != null;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If this value is null, it retrieves the first page.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the ListAssociatedStacks operation.
/// </summary>
public partial class ListAssociatedStacksResponse : AmazonWebServiceResponse
{
private List<string> _names = new List<string>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Names.
/// <para>
/// The name of the stack.
/// </para>
/// </summary>
public List<string> Names
{
get { return this._names; }
set { this._names = value; }
}
// Check to see if Names property is set
internal bool IsSetNames()
{
return this._names != null && this._names.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token to use to retrieve the next page of results for this operation.
/// If there are no more pages, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the ListEntitledApplications operation.
/// Retrieves a list of entitled applications.
/// </summary>
public partial class ListEntitledApplicationsRequest : AmazonAppStreamRequest
{
private string _entitlementName;
private int? _maxResults;
private string _nextToken;
private string _stackName;
/// <summary>
/// Gets and sets the property EntitlementName.
/// <para>
/// The name of the entitlement.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EntitlementName
{
get { return this._entitlementName; }
set { this._entitlementName = value; }
}
// Check to see if EntitlementName property is set
internal bool IsSetEntitlementName()
{
return this._entitlementName != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum size of each page of results.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token used to retrieve the next page of results for this operation.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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 StackName.
/// <para>
/// The name of the stack with which the entitlement is associated.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string StackName
{
get { return this._stackName; }
set { this._stackName = value; }
}
// Check to see if StackName property is set
internal bool IsSetStackName()
{
return this._stackName != null;
}
}
} | 118 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the ListEntitledApplications operation.
/// </summary>
public partial class ListEntitledApplicationsResponse : AmazonWebServiceResponse
{
private List<EntitledApplication> _entitledApplications = new List<EntitledApplication>();
private string _nextToken;
/// <summary>
/// Gets and sets the property EntitledApplications.
/// <para>
/// The entitled applications.
/// </para>
/// </summary>
public List<EntitledApplication> EntitledApplications
{
get { return this._entitledApplications; }
set { this._entitledApplications = value; }
}
// Check to see if EntitledApplications property is set
internal bool IsSetEntitledApplications()
{
return this._entitledApplications != null && this._entitledApplications.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token used to retrieve the next page of results for this operation.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
} | 77 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the ListTagsForResource operation.
/// Retrieves a list of all tags for the specified AppStream 2.0 resource. You can tag
/// AppStream 2.0 image builders, images, fleets, and stacks.
///
///
/// <para>
/// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging
/// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.
/// </para>
/// </summary>
public partial class ListTagsForResourceRequest : AmazonAppStreamRequest
{
private string _resourceArn;
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The Amazon Resource Name (ARN) of the resource.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
}
} | 66 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the ListTagsForResource operation.
/// </summary>
public partial class ListTagsForResourceResponse : AmazonWebServiceResponse
{
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The information about the tags.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes the network details of the fleet or image builder instance.
/// </summary>
public partial class NetworkAccessConfiguration
{
private string _eniId;
private string _eniPrivateIpAddress;
/// <summary>
/// Gets and sets the property EniId.
/// <para>
/// The resource identifier of the elastic network interface that is attached to instances
/// in your VPC. All network interfaces have the eni-xxxxxxxx resource identifier.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string EniId
{
get { return this._eniId; }
set { this._eniId = value; }
}
// Check to see if EniId property is set
internal bool IsSetEniId()
{
return this._eniId != null;
}
/// <summary>
/// Gets and sets the property EniPrivateIpAddress.
/// <para>
/// The private IP address of the elastic network interface that is attached to instances
/// in your VPC.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string EniPrivateIpAddress
{
get { return this._eniPrivateIpAddress; }
set { this._eniPrivateIpAddress = value; }
}
// Check to see if EniPrivateIpAddress property is set
internal bool IsSetEniPrivateIpAddress()
{
return this._eniPrivateIpAddress != null;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// The attempted operation is not permitted.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class OperationNotPermittedException : AmazonAppStreamException
{
/// <summary>
/// Constructs a new OperationNotPermittedException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public OperationNotPermittedException(string message)
: base(message) {}
/// <summary>
/// Construct instance of OperationNotPermittedException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public OperationNotPermittedException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of OperationNotPermittedException
/// </summary>
/// <param name="innerException"></param>
public OperationNotPermittedException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of OperationNotPermittedException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public OperationNotPermittedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of OperationNotPermittedException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public OperationNotPermittedException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the OperationNotPermittedException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected OperationNotPermittedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// AppStream 2.0 can’t process the request right now because the Describe calls from
/// your AWS account are being throttled by Amazon EC2. Try again later.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class RequestLimitExceededException : AmazonAppStreamException
{
/// <summary>
/// Constructs a new RequestLimitExceededException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public RequestLimitExceededException(string message)
: base(message) {}
/// <summary>
/// Construct instance of RequestLimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public RequestLimitExceededException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of RequestLimitExceededException
/// </summary>
/// <param name="innerException"></param>
public RequestLimitExceededException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of RequestLimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public RequestLimitExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of RequestLimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public RequestLimitExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the RequestLimitExceededException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected RequestLimitExceededException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 125 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// The specified resource already exists.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ResourceAlreadyExistsException : AmazonAppStreamException
{
/// <summary>
/// Constructs a new ResourceAlreadyExistsException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ResourceAlreadyExistsException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ResourceAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ResourceAlreadyExistsException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ResourceAlreadyExistsException
/// </summary>
/// <param name="innerException"></param>
public ResourceAlreadyExistsException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ResourceAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceAlreadyExistsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ResourceAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceAlreadyExistsException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ResourceAlreadyExistsException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ResourceAlreadyExistsException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes a resource error.
/// </summary>
public partial class ResourceError
{
private FleetErrorCode _errorCode;
private string _errorMessage;
private DateTime? _errorTimestamp;
/// <summary>
/// Gets and sets the property ErrorCode.
/// <para>
/// The error code.
/// </para>
/// </summary>
public FleetErrorCode ErrorCode
{
get { return this._errorCode; }
set { this._errorCode = value; }
}
// Check to see if ErrorCode property is set
internal bool IsSetErrorCode()
{
return this._errorCode != null;
}
/// <summary>
/// Gets and sets the property ErrorMessage.
/// <para>
/// The error message.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string ErrorMessage
{
get { return this._errorMessage; }
set { this._errorMessage = value; }
}
// Check to see if ErrorMessage property is set
internal bool IsSetErrorMessage()
{
return this._errorMessage != null;
}
/// <summary>
/// Gets and sets the property ErrorTimestamp.
/// <para>
/// The time the error occurred.
/// </para>
/// </summary>
public DateTime ErrorTimestamp
{
get { return this._errorTimestamp.GetValueOrDefault(); }
set { this._errorTimestamp = value; }
}
// Check to see if ErrorTimestamp property is set
internal bool IsSetErrorTimestamp()
{
return this._errorTimestamp.HasValue;
}
}
} | 96 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// The specified resource is in use.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ResourceInUseException : AmazonAppStreamException
{
/// <summary>
/// Constructs a new ResourceInUseException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ResourceInUseException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ResourceInUseException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ResourceInUseException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ResourceInUseException
/// </summary>
/// <param name="innerException"></param>
public ResourceInUseException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ResourceInUseException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceInUseException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ResourceInUseException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceInUseException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ResourceInUseException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ResourceInUseException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// The specified resource exists and is not in use, but isn't available.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ResourceNotAvailableException : AmazonAppStreamException
{
/// <summary>
/// Constructs a new ResourceNotAvailableException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ResourceNotAvailableException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ResourceNotAvailableException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ResourceNotAvailableException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ResourceNotAvailableException
/// </summary>
/// <param name="innerException"></param>
public ResourceNotAvailableException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ResourceNotAvailableException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceNotAvailableException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ResourceNotAvailableException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceNotAvailableException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ResourceNotAvailableException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ResourceNotAvailableException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// The specified resource was not found.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ResourceNotFoundException : AmazonAppStreamException
{
/// <summary>
/// Constructs a new ResourceNotFoundException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ResourceNotFoundException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ResourceNotFoundException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="innerException"></param>
public ResourceNotFoundException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceNotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceNotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ResourceNotFoundException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ResourceNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes the S3 location.
/// </summary>
public partial class S3Location
{
private string _s3Bucket;
private string _s3Key;
/// <summary>
/// Gets and sets the property S3Bucket.
/// <para>
/// The S3 bucket of the S3 object.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=3, Max=63)]
public string S3Bucket
{
get { return this._s3Bucket; }
set { this._s3Bucket = value; }
}
// Check to see if S3Bucket property is set
internal bool IsSetS3Bucket()
{
return this._s3Bucket != null;
}
/// <summary>
/// Gets and sets the property S3Key.
/// <para>
/// The S3 key of the S3 object.
/// </para>
///
/// <para>
/// This is required when used for the following:
/// </para>
/// <ul> <li>
/// <para>
/// IconS3Location (Actions: CreateApplication and UpdateApplication)
/// </para>
/// </li> <li>
/// <para>
/// SessionScriptS3Location (Actions: CreateFleet and UpdateFleet)
/// </para>
/// </li> <li>
/// <para>
/// ScriptDetails (Actions: CreateAppBlock)
/// </para>
/// </li> <li>
/// <para>
/// SourceS3Location when creating an app block with <code>CUSTOM</code> PackagingType
/// (Actions: CreateAppBlock)
/// </para>
/// </li> <li>
/// <para>
/// SourceS3Location when creating an app block with <code>APPSTREAM2</code> PackagingType,
/// and using an existing application package (VHD file). In this case, <code>S3Key</code>
/// refers to the VHD file. If a new application package is required, then <code>S3Key</code>
/// is not required. (Actions: CreateAppBlock)
/// </para>
/// </li> </ul>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string S3Key
{
get { return this._s3Key; }
set { this._s3Key = value; }
}
// Check to see if S3Key property is set
internal bool IsSetS3Key()
{
return this._s3Key != null;
}
}
} | 107 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes the details of the script.
/// </summary>
public partial class ScriptDetails
{
private string _executableParameters;
private string _executablePath;
private S3Location _scriptS3Location;
private int? _timeoutInSeconds;
/// <summary>
/// Gets and sets the property ExecutableParameters.
/// <para>
/// The runtime parameters passed to the run path for the script.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string ExecutableParameters
{
get { return this._executableParameters; }
set { this._executableParameters = value; }
}
// Check to see if ExecutableParameters property is set
internal bool IsSetExecutableParameters()
{
return this._executableParameters != null;
}
/// <summary>
/// Gets and sets the property ExecutablePath.
/// <para>
/// The run path for the script.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string ExecutablePath
{
get { return this._executablePath; }
set { this._executablePath = value; }
}
// Check to see if ExecutablePath property is set
internal bool IsSetExecutablePath()
{
return this._executablePath != null;
}
/// <summary>
/// Gets and sets the property ScriptS3Location.
/// <para>
/// The S3 object location for the script.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public S3Location ScriptS3Location
{
get { return this._scriptS3Location; }
set { this._scriptS3Location = value; }
}
// Check to see if ScriptS3Location property is set
internal bool IsSetScriptS3Location()
{
return this._scriptS3Location != null;
}
/// <summary>
/// Gets and sets the property TimeoutInSeconds.
/// <para>
/// The run timeout, in seconds, for the script.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public int TimeoutInSeconds
{
get { return this._timeoutInSeconds.GetValueOrDefault(); }
set { this._timeoutInSeconds = value; }
}
// Check to see if TimeoutInSeconds property is set
internal bool IsSetTimeoutInSeconds()
{
return this._timeoutInSeconds.HasValue;
}
}
} | 118 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes the credentials for the service account used by the fleet or image builder
/// to connect to the directory.
/// </summary>
public partial class ServiceAccountCredentials
{
private string _accountName;
private string _accountPassword;
/// <summary>
/// Gets and sets the property AccountName.
/// <para>
/// The user name of the account. This account must have the following privileges: create
/// computer objects, join computers to the domain, and change/reset the password on descendant
/// computer objects for the organizational units specified.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=1)]
public string AccountName
{
get { return this._accountName; }
set { this._accountName = value; }
}
// Check to see if AccountName property is set
internal bool IsSetAccountName()
{
return this._accountName != null;
}
/// <summary>
/// Gets and sets the property AccountPassword.
/// <para>
/// The password for the account.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=127)]
public string AccountPassword
{
get { return this._accountPassword; }
set { this._accountPassword = value; }
}
// Check to see if AccountPassword property is set
internal bool IsSetAccountPassword()
{
return this._accountPassword != null;
}
}
} | 81 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes a streaming session.
/// </summary>
public partial class Session
{
private AuthenticationType _authenticationType;
private SessionConnectionState _connectionState;
private string _fleetName;
private string _id;
private DateTime? _maxExpirationTime;
private NetworkAccessConfiguration _networkAccessConfiguration;
private string _stackName;
private DateTime? _startTime;
private StreamSessionState _state;
private string _userId;
/// <summary>
/// Gets and sets the property AuthenticationType.
/// <para>
/// The authentication method. The user is authenticated using a streaming URL (<code>API</code>)
/// or SAML 2.0 federation (<code>SAML</code>).
/// </para>
/// </summary>
public AuthenticationType AuthenticationType
{
get { return this._authenticationType; }
set { this._authenticationType = value; }
}
// Check to see if AuthenticationType property is set
internal bool IsSetAuthenticationType()
{
return this._authenticationType != null;
}
/// <summary>
/// Gets and sets the property ConnectionState.
/// <para>
/// Specifies whether a user is connected to the streaming session.
/// </para>
/// </summary>
public SessionConnectionState ConnectionState
{
get { return this._connectionState; }
set { this._connectionState = value; }
}
// Check to see if ConnectionState property is set
internal bool IsSetConnectionState()
{
return this._connectionState != null;
}
/// <summary>
/// Gets and sets the property FleetName.
/// <para>
/// The name of the fleet for the streaming session.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string FleetName
{
get { return this._fleetName; }
set { this._fleetName = value; }
}
// Check to see if FleetName property is set
internal bool IsSetFleetName()
{
return this._fleetName != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The identifier of the streaming session.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property MaxExpirationTime.
/// <para>
/// The time when the streaming session is set to expire. This time is based on the <code>MaxUserDurationinSeconds</code>
/// value, which determines the maximum length of time that a streaming session can run.
/// A streaming session might end earlier than the time specified in <code>SessionMaxExpirationTime</code>,
/// when the <code>DisconnectTimeOutInSeconds</code> elapses or the user chooses to end
/// his or her session. If the <code>DisconnectTimeOutInSeconds</code> elapses, or the
/// user chooses to end his or her session, the streaming instance is terminated and the
/// streaming session ends.
/// </para>
/// </summary>
public DateTime MaxExpirationTime
{
get { return this._maxExpirationTime.GetValueOrDefault(); }
set { this._maxExpirationTime = value; }
}
// Check to see if MaxExpirationTime property is set
internal bool IsSetMaxExpirationTime()
{
return this._maxExpirationTime.HasValue;
}
/// <summary>
/// Gets and sets the property NetworkAccessConfiguration.
/// <para>
/// The network details for the streaming session.
/// </para>
/// </summary>
public NetworkAccessConfiguration NetworkAccessConfiguration
{
get { return this._networkAccessConfiguration; }
set { this._networkAccessConfiguration = value; }
}
// Check to see if NetworkAccessConfiguration property is set
internal bool IsSetNetworkAccessConfiguration()
{
return this._networkAccessConfiguration != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name of the stack for the streaming session.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string StackName
{
get { return this._stackName; }
set { this._stackName = value; }
}
// Check to see if StackName property is set
internal bool IsSetStackName()
{
return this._stackName != null;
}
/// <summary>
/// Gets and sets the property StartTime.
/// <para>
/// The time when a streaming instance is dedicated for the user.
/// </para>
/// </summary>
public DateTime StartTime
{
get { return this._startTime.GetValueOrDefault(); }
set { this._startTime = value; }
}
// Check to see if StartTime property is set
internal bool IsSetStartTime()
{
return this._startTime.HasValue;
}
/// <summary>
/// Gets and sets the property State.
/// <para>
/// The current state of the streaming session.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public StreamSessionState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
/// <summary>
/// Gets and sets the property UserId.
/// <para>
/// The identifier of the user for whom the session was created.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=2, Max=128)]
public string UserId
{
get { return this._userId; }
set { this._userId = value; }
}
// Check to see if UserId property is set
internal bool IsSetUserId()
{
return this._userId != null;
}
}
} | 240 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes the permissions that are available to the specified AWS account for a shared
/// image.
/// </summary>
public partial class SharedImagePermissions
{
private ImagePermissions _imagePermissions;
private string _sharedAccountId;
/// <summary>
/// Gets and sets the property ImagePermissions.
/// <para>
/// Describes the permissions for a shared image.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ImagePermissions ImagePermissions
{
get { return this._imagePermissions; }
set { this._imagePermissions = value; }
}
// Check to see if ImagePermissions property is set
internal bool IsSetImagePermissions()
{
return this._imagePermissions != null;
}
/// <summary>
/// Gets and sets the property SharedAccountId.
/// <para>
/// The 12-digit identifier of the AWS account with which the image is shared.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SharedAccountId
{
get { return this._sharedAccountId; }
set { this._sharedAccountId = value; }
}
// Check to see if SharedAccountId property is set
internal bool IsSetSharedAccountId()
{
return this._sharedAccountId != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes a stack.
/// </summary>
public partial class Stack
{
private List<AccessEndpoint> _accessEndpoints = new List<AccessEndpoint>();
private ApplicationSettingsResponse _applicationSettings;
private string _arn;
private DateTime? _createdTime;
private string _description;
private string _displayName;
private List<string> _embedHostDomains = new List<string>();
private string _feedbackURL;
private string _name;
private string _redirectURL;
private List<StackError> _stackErrors = new List<StackError>();
private List<StorageConnector> _storageConnectors = new List<StorageConnector>();
private StreamingExperienceSettings _streamingExperienceSettings;
private List<UserSetting> _userSettings = new List<UserSetting>();
/// <summary>
/// Gets and sets the property AccessEndpoints.
/// <para>
/// The list of virtual private cloud (VPC) interface endpoint objects. Users of the stack
/// can connect to AppStream 2.0 only through the specified endpoints.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=4)]
public List<AccessEndpoint> AccessEndpoints
{
get { return this._accessEndpoints; }
set { this._accessEndpoints = value; }
}
// Check to see if AccessEndpoints property is set
internal bool IsSetAccessEndpoints()
{
return this._accessEndpoints != null && this._accessEndpoints.Count > 0;
}
/// <summary>
/// Gets and sets the property ApplicationSettings.
/// <para>
/// The persistent application settings for users of the stack.
/// </para>
/// </summary>
public ApplicationSettingsResponse ApplicationSettings
{
get { return this._applicationSettings; }
set { this._applicationSettings = value; }
}
// Check to see if ApplicationSettings property is set
internal bool IsSetApplicationSettings()
{
return this._applicationSettings != null;
}
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The ARN of the stack.
/// </para>
/// </summary>
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property CreatedTime.
/// <para>
/// The time the stack was created.
/// </para>
/// </summary>
public DateTime CreatedTime
{
get { return this._createdTime.GetValueOrDefault(); }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime.HasValue;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description to display.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property DisplayName.
/// <para>
/// The stack name to display.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string DisplayName
{
get { return this._displayName; }
set { this._displayName = value; }
}
// Check to see if DisplayName property is set
internal bool IsSetDisplayName()
{
return this._displayName != null;
}
/// <summary>
/// Gets and sets the property EmbedHostDomains.
/// <para>
/// The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You
/// must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=20)]
public List<string> EmbedHostDomains
{
get { return this._embedHostDomains; }
set { this._embedHostDomains = value; }
}
// Check to see if EmbedHostDomains property is set
internal bool IsSetEmbedHostDomains()
{
return this._embedHostDomains != null && this._embedHostDomains.Count > 0;
}
/// <summary>
/// Gets and sets the property FeedbackURL.
/// <para>
/// The URL that users are redirected to after they click the Send Feedback link. If no
/// URL is specified, no Send Feedback link is displayed.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
public string FeedbackURL
{
get { return this._feedbackURL; }
set { this._feedbackURL = value; }
}
// Check to see if FeedbackURL property is set
internal bool IsSetFeedbackURL()
{
return this._feedbackURL != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the stack.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property RedirectURL.
/// <para>
/// The URL that users are redirected to after their streaming session ends.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
public string RedirectURL
{
get { return this._redirectURL; }
set { this._redirectURL = value; }
}
// Check to see if RedirectURL property is set
internal bool IsSetRedirectURL()
{
return this._redirectURL != null;
}
/// <summary>
/// Gets and sets the property StackErrors.
/// <para>
/// The errors for the stack.
/// </para>
/// </summary>
public List<StackError> StackErrors
{
get { return this._stackErrors; }
set { this._stackErrors = value; }
}
// Check to see if StackErrors property is set
internal bool IsSetStackErrors()
{
return this._stackErrors != null && this._stackErrors.Count > 0;
}
/// <summary>
/// Gets and sets the property StorageConnectors.
/// <para>
/// The storage connectors to enable.
/// </para>
/// </summary>
public List<StorageConnector> StorageConnectors
{
get { return this._storageConnectors; }
set { this._storageConnectors = value; }
}
// Check to see if StorageConnectors property is set
internal bool IsSetStorageConnectors()
{
return this._storageConnectors != null && this._storageConnectors.Count > 0;
}
/// <summary>
/// Gets and sets the property StreamingExperienceSettings.
/// <para>
/// The streaming protocol you want your stack to prefer. This can be UDP or TCP. Currently,
/// UDP is only supported in the Windows native client.
/// </para>
/// </summary>
public StreamingExperienceSettings StreamingExperienceSettings
{
get { return this._streamingExperienceSettings; }
set { this._streamingExperienceSettings = value; }
}
// Check to see if StreamingExperienceSettings property is set
internal bool IsSetStreamingExperienceSettings()
{
return this._streamingExperienceSettings != null;
}
/// <summary>
/// Gets and sets the property UserSettings.
/// <para>
/// The actions that are enabled or disabled for users during their streaming sessions.
/// By default these actions are enabled.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public List<UserSetting> UserSettings
{
get { return this._userSettings; }
set { this._userSettings = value; }
}
// Check to see if UserSettings property is set
internal bool IsSetUserSettings()
{
return this._userSettings != null && this._userSettings.Count > 0;
}
}
} | 317 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes a stack error.
/// </summary>
public partial class StackError
{
private StackErrorCode _errorCode;
private string _errorMessage;
/// <summary>
/// Gets and sets the property ErrorCode.
/// <para>
/// The error code.
/// </para>
/// </summary>
public StackErrorCode ErrorCode
{
get { return this._errorCode; }
set { this._errorCode = value; }
}
// Check to see if ErrorCode property is set
internal bool IsSetErrorCode()
{
return this._errorCode != null;
}
/// <summary>
/// Gets and sets the property ErrorMessage.
/// <para>
/// The error message.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string ErrorMessage
{
get { return this._errorMessage; }
set { this._errorMessage = value; }
}
// Check to see if ErrorMessage property is set
internal bool IsSetErrorMessage()
{
return this._errorMessage != null;
}
}
} | 77 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the StartAppBlockBuilder operation.
/// Starts an app block builder.
///
///
/// <para>
/// An app block builder can only be started when it's associated with an app block.
/// </para>
///
/// <para>
/// Starting an app block builder starts a new instance, which is equivalent to an elastic
/// fleet instance with application builder assistance functionality.
/// </para>
/// </summary>
public partial class StartAppBlockBuilderRequest : AmazonAppStreamRequest
{
private string _name;
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the app block builder.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
} | 69 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the StartAppBlockBuilder operation.
/// </summary>
public partial class StartAppBlockBuilderResponse : AmazonWebServiceResponse
{
private AppBlockBuilder _appBlockBuilder;
/// <summary>
/// Gets and sets the property AppBlockBuilder.
/// </summary>
public AppBlockBuilder AppBlockBuilder
{
get { return this._appBlockBuilder; }
set { this._appBlockBuilder = value; }
}
// Check to see if AppBlockBuilder property is set
internal bool IsSetAppBlockBuilder()
{
return this._appBlockBuilder != null;
}
}
} | 54 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the StartFleet operation.
/// Starts the specified fleet.
/// </summary>
public partial class StartFleetRequest : AmazonAppStreamRequest
{
private string _name;
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the fleet.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the StartFleet operation.
/// </summary>
public partial class StartFleetResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the StartImageBuilder operation.
/// Starts the specified image builder.
/// </summary>
public partial class StartImageBuilderRequest : AmazonAppStreamRequest
{
private string _appstreamAgentVersion;
private string _name;
/// <summary>
/// Gets and sets the property AppstreamAgentVersion.
/// <para>
/// The version of the AppStream 2.0 agent to use for this image builder. To use the latest
/// version of the AppStream 2.0 agent, specify [LATEST].
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string AppstreamAgentVersion
{
get { return this._appstreamAgentVersion; }
set { this._appstreamAgentVersion = value; }
}
// Check to see if AppstreamAgentVersion property is set
internal bool IsSetAppstreamAgentVersion()
{
return this._appstreamAgentVersion != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the image builder.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the StartImageBuilder operation.
/// </summary>
public partial class StartImageBuilderResponse : AmazonWebServiceResponse
{
private ImageBuilder _imageBuilder;
/// <summary>
/// Gets and sets the property ImageBuilder.
/// <para>
/// Information about the image builder.
/// </para>
/// </summary>
public ImageBuilder ImageBuilder
{
get { return this._imageBuilder; }
set { this._imageBuilder = value; }
}
// Check to see if ImageBuilder property is set
internal bool IsSetImageBuilder()
{
return this._imageBuilder != null;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the StopAppBlockBuilder operation.
/// Stops an app block builder.
///
///
/// <para>
/// Stopping an app block builder terminates the instance, and the instance state is not
/// persisted.
/// </para>
/// </summary>
public partial class StopAppBlockBuilderRequest : AmazonAppStreamRequest
{
private string _name;
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the app block builder.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
} | 65 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the StopAppBlockBuilder operation.
/// </summary>
public partial class StopAppBlockBuilderResponse : AmazonWebServiceResponse
{
private AppBlockBuilder _appBlockBuilder;
/// <summary>
/// Gets and sets the property AppBlockBuilder.
/// </summary>
public AppBlockBuilder AppBlockBuilder
{
get { return this._appBlockBuilder; }
set { this._appBlockBuilder = value; }
}
// Check to see if AppBlockBuilder property is set
internal bool IsSetAppBlockBuilder()
{
return this._appBlockBuilder != null;
}
}
} | 54 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the StopFleet operation.
/// Stops the specified fleet.
/// </summary>
public partial class StopFleetRequest : AmazonAppStreamRequest
{
private string _name;
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the fleet.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the StopFleet operation.
/// </summary>
public partial class StopFleetResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the StopImageBuilder operation.
/// Stops the specified image builder.
/// </summary>
public partial class StopImageBuilderRequest : AmazonAppStreamRequest
{
private string _name;
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the image builder.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the StopImageBuilder operation.
/// </summary>
public partial class StopImageBuilderResponse : AmazonWebServiceResponse
{
private ImageBuilder _imageBuilder;
/// <summary>
/// Gets and sets the property ImageBuilder.
/// <para>
/// Information about the image builder.
/// </para>
/// </summary>
public ImageBuilder ImageBuilder
{
get { return this._imageBuilder; }
set { this._imageBuilder = value; }
}
// Check to see if ImageBuilder property is set
internal bool IsSetImageBuilder()
{
return this._imageBuilder != null;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Describes a connector that enables persistent storage for users.
/// </summary>
public partial class StorageConnector
{
private StorageConnectorType _connectorType;
private List<string> _domains = new List<string>();
private string _resourceIdentifier;
/// <summary>
/// Gets and sets the property ConnectorType.
/// <para>
/// The type of storage connector.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public StorageConnectorType ConnectorType
{
get { return this._connectorType; }
set { this._connectorType = value; }
}
// Check to see if ConnectorType property is set
internal bool IsSetConnectorType()
{
return this._connectorType != null;
}
/// <summary>
/// Gets and sets the property Domains.
/// <para>
/// The names of the domains for the account.
/// </para>
/// </summary>
[AWSProperty(Max=50)]
public List<string> Domains
{
get { return this._domains; }
set { this._domains = value; }
}
// Check to see if Domains property is set
internal bool IsSetDomains()
{
return this._domains != null && this._domains.Count > 0;
}
/// <summary>
/// Gets and sets the property ResourceIdentifier.
/// <para>
/// The ARN of the storage connector.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string ResourceIdentifier
{
get { return this._resourceIdentifier; }
set { this._resourceIdentifier = value; }
}
// Check to see if ResourceIdentifier property is set
internal bool IsSetResourceIdentifier()
{
return this._resourceIdentifier != null;
}
}
} | 98 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// The streaming protocol you want your stack to prefer. This can be UDP or TCP. Currently,
/// UDP is only supported in the Windows native client.
/// </summary>
public partial class StreamingExperienceSettings
{
private PreferredProtocol _preferredProtocol;
/// <summary>
/// Gets and sets the property PreferredProtocol.
/// <para>
/// The preferred protocol that you want to use while streaming your application.
/// </para>
/// </summary>
public PreferredProtocol PreferredProtocol
{
get { return this._preferredProtocol; }
set { this._preferredProtocol = value; }
}
// Check to see if PreferredProtocol property is set
internal bool IsSetPreferredProtocol()
{
return this._preferredProtocol != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the TagResource operation.
/// Adds or overwrites one or more tags for the specified AppStream 2.0 resource. You
/// can tag AppStream 2.0 image builders, images, fleets, and stacks.
///
///
/// <para>
/// Each tag consists of a key and an optional value. If a resource already has a tag
/// with the same key, this operation updates its value.
/// </para>
///
/// <para>
/// To list the current tags for your resources, use <a>ListTagsForResource</a>. To disassociate
/// tags from your resources, use <a>UntagResource</a>.
/// </para>
///
/// <para>
/// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging
/// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.
/// </para>
/// </summary>
public partial class TagResourceRequest : AmazonAppStreamRequest
{
private string _resourceArn;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The Amazon Resource Name (ARN) of the resource.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The tags to associate. A tag is a key-value pair, and the value is optional. For example,
/// Environment=Test. If you do not specify a value, Environment=.
/// </para>
///
/// <para>
/// If you do not specify a value, the value is set to an empty string.
/// </para>
///
/// <para>
/// Generally allowed characters are: letters, numbers, and spaces representable in UTF-8,
/// and the following special characters:
/// </para>
///
/// <para>
/// _ . : / = + \ - @
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=50)]
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 110 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the TagResource operation.
/// </summary>
public partial class TagResourceResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// Container for the parameters to the UntagResource operation.
/// Disassociates one or more specified tags from the specified AppStream 2.0 resource.
///
///
/// <para>
/// To list the current tags for your resources, use <a>ListTagsForResource</a>.
/// </para>
///
/// <para>
/// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging
/// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.
/// </para>
/// </summary>
public partial class UntagResourceRequest : AmazonAppStreamRequest
{
private string _resourceArn;
private List<string> _tagKeys = new List<string>();
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The Amazon Resource Name (ARN) of the resource.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
/// <summary>
/// Gets and sets the property TagKeys.
/// <para>
/// The tag keys for the tags to disassociate.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=50)]
public List<string> TagKeys
{
get { return this._tagKeys; }
set { this._tagKeys = value; }
}
// Check to see if TagKeys property is set
internal bool IsSetTagKeys()
{
return this._tagKeys != null && this._tagKeys.Count > 0;
}
}
} | 89 |
aws-sdk-net | aws | C# | /*
* 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 appstream-2016-12-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.AppStream.Model
{
/// <summary>
/// This is the response object from the UntagResource operation.
/// </summary>
public partial class UntagResourceResponse : AmazonWebServiceResponse
{
}
} | 38 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.