/* * 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 codecatalyst-2022-09-28.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.CodeCatalyst.Model { /// /// This is the response object from the UpdateDevEnvironment operation. /// public partial class UpdateDevEnvironmentResponse : AmazonWebServiceResponse { private string _alias; private string _clientToken; private string _id; private List _ides = new List(); private int? _inactivityTimeoutMinutes; private InstanceType _instanceType; private string _projectName; private string _spaceName; /// /// Gets and sets the property Alias. /// /// The user-specified alias for the Dev Environment. /// /// [AWSProperty(Min=1, Max=128)] public string Alias { get { return this._alias; } set { this._alias = value; } } // Check to see if Alias property is set internal bool IsSetAlias() { return this._alias != null; } /// /// Gets and sets the property ClientToken. /// /// A user-specified idempotency token. Idempotency ensures that an API request completes /// only once. With an idempotent request, if the original request completes successfully, /// the subsequent retries return the result from the original successful request and /// have no additional effect. /// /// [AWSProperty(Min=1, Max=1024)] public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// /// Gets and sets the property Id. /// /// The system-generated unique ID of the Dev Environment. /// /// [AWSProperty(Required=true)] 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; } /// /// Gets and sets the property Ides. /// /// Information about the integrated development environment (IDE) configured for the /// Dev Environment. /// /// [AWSProperty(Min=0, Max=1)] public List Ides { get { return this._ides; } set { this._ides = value; } } // Check to see if Ides property is set internal bool IsSetIdes() { return this._ides != null && this._ides.Count > 0; } /// /// Gets and sets the property InactivityTimeoutMinutes. /// /// The amount of time the Dev Environment will run without any activity detected before /// stopping, in minutes. /// /// [AWSProperty(Min=0, Max=1200)] public int InactivityTimeoutMinutes { get { return this._inactivityTimeoutMinutes.GetValueOrDefault(); } set { this._inactivityTimeoutMinutes = value; } } // Check to see if InactivityTimeoutMinutes property is set internal bool IsSetInactivityTimeoutMinutes() { return this._inactivityTimeoutMinutes.HasValue; } /// /// Gets and sets the property InstanceType. /// /// The Amazon EC2 instace type to use for the Dev Environment. /// /// public InstanceType 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 ProjectName. /// /// The name of the project in the space. /// /// [AWSProperty(Required=true, Min=3, Max=63)] public string ProjectName { get { return this._projectName; } set { this._projectName = value; } } // Check to see if ProjectName property is set internal bool IsSetProjectName() { return this._projectName != null; } /// /// Gets and sets the property SpaceName. /// /// The name of the space. /// /// [AWSProperty(Required=true, Min=3, Max=63)] public string SpaceName { get { return this._spaceName; } set { this._spaceName = value; } } // Check to see if SpaceName property is set internal bool IsSetSpaceName() { return this._spaceName != null; } } }