/* * 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 { /// /// Describes an app block builder. /// public partial class AppBlockBuilder { private List _accessEndpoints = new List(); private List _appBlockBuilderErrors = new List(); private string _arn; private DateTime? _createdTime; private string _description; private string _displayName; private bool? _enableDefaultInternetAccess; private string _iamRoleArn; private string _instanceType; private string _name; private AppBlockBuilderPlatformType _platform; private AppBlockBuilderState _state; private AppBlockBuilderStateChangeReason _stateChangeReason; private VpcConfig _vpcConfig; /// /// Gets and sets the property AccessEndpoints. /// /// The list of interface VPC endpoint (interface endpoint) objects. Administrators can /// connect to the app block builder only through the specified endpoints. /// /// [AWSProperty(Min=1, Max=4)] public List 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; } /// /// Gets and sets the property AppBlockBuilderErrors. /// /// The app block builder errors. /// /// public List AppBlockBuilderErrors { get { return this._appBlockBuilderErrors; } set { this._appBlockBuilderErrors = value; } } // Check to see if AppBlockBuilderErrors property is set internal bool IsSetAppBlockBuilderErrors() { return this._appBlockBuilderErrors != null && this._appBlockBuilderErrors.Count > 0; } /// /// Gets and sets the property Arn. /// /// The ARN of the app block builder. /// /// [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; } /// /// Gets and sets the property CreatedTime. /// /// The creation time of the app block builder. /// /// 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; } /// /// Gets and sets the property Description. /// /// The description of the app block builder. /// /// [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; } /// /// Gets and sets the property DisplayName. /// /// The display name of the app block builder. /// /// [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; } /// /// Gets and sets the property EnableDefaultInternetAccess. /// /// Indicates whether default internet access is enabled for the app block builder. /// /// 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; } /// /// Gets and sets the property IamRoleArn. /// /// The ARN of the IAM role that is applied to the app block builder. /// /// 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; } /// /// Gets and sets the property InstanceType. /// /// The instance type of the app block builder. /// /// [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; } /// /// Gets and sets the property Name. /// /// The name of the app block builder. /// /// [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; } /// /// Gets and sets the property Platform. /// /// The platform of the app block builder. /// /// /// /// WINDOWS_SERVER_2019 is the only valid value. /// /// [AWSProperty(Required=true)] public AppBlockBuilderPlatformType Platform { get { return this._platform; } set { this._platform = value; } } // Check to see if Platform property is set internal bool IsSetPlatform() { return this._platform != null; } /// /// Gets and sets the property State. /// /// The state of the app block builder. /// /// [AWSProperty(Required=true)] public AppBlockBuilderState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } /// /// Gets and sets the property StateChangeReason. /// /// The state change reason. /// /// public AppBlockBuilderStateChangeReason StateChangeReason { get { return this._stateChangeReason; } set { this._stateChangeReason = value; } } // Check to see if StateChangeReason property is set internal bool IsSetStateChangeReason() { return this._stateChangeReason != null; } /// /// Gets and sets the property VpcConfig. /// /// The VPC configuration for the app block builder. /// /// [AWSProperty(Required=true)] 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; } } }