/* * 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 { /// /// Container for the parameters to the StartDevEnvironment operation. /// Starts a specified Dev Environment and puts it into an active state. /// public partial class StartDevEnvironmentRequest : AmazonCodeCatalystRequest { 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 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 a 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. Only whole integers are allowed. Dev Environments consume compute /// minutes when running. /// /// [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; } } }