/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CodeCatalyst { namespace Model { class GetDevEnvironmentResult { public: AWS_CODECATALYST_API GetDevEnvironmentResult(); AWS_CODECATALYST_API GetDevEnvironmentResult(const Aws::AmazonWebServiceResult& result); AWS_CODECATALYST_API GetDevEnvironmentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the space.

*/ inline const Aws::String& GetSpaceName() const{ return m_spaceName; } /** *

The name of the space.

*/ inline void SetSpaceName(const Aws::String& value) { m_spaceName = value; } /** *

The name of the space.

*/ inline void SetSpaceName(Aws::String&& value) { m_spaceName = std::move(value); } /** *

The name of the space.

*/ inline void SetSpaceName(const char* value) { m_spaceName.assign(value); } /** *

The name of the space.

*/ inline GetDevEnvironmentResult& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;} /** *

The name of the space.

*/ inline GetDevEnvironmentResult& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;} /** *

The name of the space.

*/ inline GetDevEnvironmentResult& WithSpaceName(const char* value) { SetSpaceName(value); return *this;} /** *

The name of the project in the space.

*/ inline const Aws::String& GetProjectName() const{ return m_projectName; } /** *

The name of the project in the space.

*/ inline void SetProjectName(const Aws::String& value) { m_projectName = value; } /** *

The name of the project in the space.

*/ inline void SetProjectName(Aws::String&& value) { m_projectName = std::move(value); } /** *

The name of the project in the space.

*/ inline void SetProjectName(const char* value) { m_projectName.assign(value); } /** *

The name of the project in the space.

*/ inline GetDevEnvironmentResult& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;} /** *

The name of the project in the space.

*/ inline GetDevEnvironmentResult& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;} /** *

The name of the project in the space.

*/ inline GetDevEnvironmentResult& WithProjectName(const char* value) { SetProjectName(value); return *this;} /** *

The system-generated unique ID of the Dev Environment.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The system-generated unique ID of the Dev Environment.

*/ inline void SetId(const Aws::String& value) { m_id = value; } /** *

The system-generated unique ID of the Dev Environment.

*/ inline void SetId(Aws::String&& value) { m_id = std::move(value); } /** *

The system-generated unique ID of the Dev Environment.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

The system-generated unique ID of the Dev Environment.

*/ inline GetDevEnvironmentResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The system-generated unique ID of the Dev Environment.

*/ inline GetDevEnvironmentResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The system-generated unique ID of the Dev Environment.

*/ inline GetDevEnvironmentResult& WithId(const char* value) { SetId(value); return *this;} /** *

The time when the Dev Environment was last updated, in coordinated universal * time (UTC) timestamp format as specified in RFC 3339.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *

The time when the Dev Environment was last updated, in coordinated universal * time (UTC) timestamp format as specified in RFC 3339.

*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTime = value; } /** *

The time when the Dev Environment was last updated, in coordinated universal * time (UTC) timestamp format as specified in RFC 3339.

*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTime = std::move(value); } /** *

The time when the Dev Environment was last updated, in coordinated universal * time (UTC) timestamp format as specified in RFC 3339.

*/ inline GetDevEnvironmentResult& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *

The time when the Dev Environment was last updated, in coordinated universal * time (UTC) timestamp format as specified in RFC 3339.

*/ inline GetDevEnvironmentResult& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *

The system-generated unique ID of the user who created the Dev Environment. *

*/ inline const Aws::String& GetCreatorId() const{ return m_creatorId; } /** *

The system-generated unique ID of the user who created the Dev Environment. *

*/ inline void SetCreatorId(const Aws::String& value) { m_creatorId = value; } /** *

The system-generated unique ID of the user who created the Dev Environment. *

*/ inline void SetCreatorId(Aws::String&& value) { m_creatorId = std::move(value); } /** *

The system-generated unique ID of the user who created the Dev Environment. *

*/ inline void SetCreatorId(const char* value) { m_creatorId.assign(value); } /** *

The system-generated unique ID of the user who created the Dev Environment. *

*/ inline GetDevEnvironmentResult& WithCreatorId(const Aws::String& value) { SetCreatorId(value); return *this;} /** *

The system-generated unique ID of the user who created the Dev Environment. *

*/ inline GetDevEnvironmentResult& WithCreatorId(Aws::String&& value) { SetCreatorId(std::move(value)); return *this;} /** *

The system-generated unique ID of the user who created the Dev Environment. *

*/ inline GetDevEnvironmentResult& WithCreatorId(const char* value) { SetCreatorId(value); return *this;} /** *

The current status of the Dev Environment.

*/ inline const DevEnvironmentStatus& GetStatus() const{ return m_status; } /** *

The current status of the Dev Environment.

*/ inline void SetStatus(const DevEnvironmentStatus& value) { m_status = value; } /** *

The current status of the Dev Environment.

*/ inline void SetStatus(DevEnvironmentStatus&& value) { m_status = std::move(value); } /** *

The current status of the Dev Environment.

*/ inline GetDevEnvironmentResult& WithStatus(const DevEnvironmentStatus& value) { SetStatus(value); return *this;} /** *

The current status of the Dev Environment.

*/ inline GetDevEnvironmentResult& WithStatus(DevEnvironmentStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The reason for the status.

*/ inline const Aws::String& GetStatusReason() const{ return m_statusReason; } /** *

The reason for the status.

*/ inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; } /** *

The reason for the status.

*/ inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); } /** *

The reason for the status.

*/ inline void SetStatusReason(const char* value) { m_statusReason.assign(value); } /** *

The reason for the status.

*/ inline GetDevEnvironmentResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} /** *

The reason for the status.

*/ inline GetDevEnvironmentResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} /** *

The reason for the status.

*/ inline GetDevEnvironmentResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;} /** *

The source repository that contains the branch cloned into the Dev * Environment.

*/ inline const Aws::Vector& GetRepositories() const{ return m_repositories; } /** *

The source repository that contains the branch cloned into the Dev * Environment.

*/ inline void SetRepositories(const Aws::Vector& value) { m_repositories = value; } /** *

The source repository that contains the branch cloned into the Dev * Environment.

*/ inline void SetRepositories(Aws::Vector&& value) { m_repositories = std::move(value); } /** *

The source repository that contains the branch cloned into the Dev * Environment.

*/ inline GetDevEnvironmentResult& WithRepositories(const Aws::Vector& value) { SetRepositories(value); return *this;} /** *

The source repository that contains the branch cloned into the Dev * Environment.

*/ inline GetDevEnvironmentResult& WithRepositories(Aws::Vector&& value) { SetRepositories(std::move(value)); return *this;} /** *

The source repository that contains the branch cloned into the Dev * Environment.

*/ inline GetDevEnvironmentResult& AddRepositories(const DevEnvironmentRepositorySummary& value) { m_repositories.push_back(value); return *this; } /** *

The source repository that contains the branch cloned into the Dev * Environment.

*/ inline GetDevEnvironmentResult& AddRepositories(DevEnvironmentRepositorySummary&& value) { m_repositories.push_back(std::move(value)); return *this; } /** *

The user-specified alias for the Dev Environment.

*/ inline const Aws::String& GetAlias() const{ return m_alias; } /** *

The user-specified alias for the Dev Environment.

*/ inline void SetAlias(const Aws::String& value) { m_alias = value; } /** *

The user-specified alias for the Dev Environment.

*/ inline void SetAlias(Aws::String&& value) { m_alias = std::move(value); } /** *

The user-specified alias for the Dev Environment.

*/ inline void SetAlias(const char* value) { m_alias.assign(value); } /** *

The user-specified alias for the Dev Environment.

*/ inline GetDevEnvironmentResult& WithAlias(const Aws::String& value) { SetAlias(value); return *this;} /** *

The user-specified alias for the Dev Environment.

*/ inline GetDevEnvironmentResult& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;} /** *

The user-specified alias for the Dev Environment.

*/ inline GetDevEnvironmentResult& WithAlias(const char* value) { SetAlias(value); return *this;} /** *

Information about the integrated development environment (IDE) configured for * the Dev Environment.

*/ inline const Aws::Vector& GetIdes() const{ return m_ides; } /** *

Information about the integrated development environment (IDE) configured for * the Dev Environment.

*/ inline void SetIdes(const Aws::Vector& value) { m_ides = value; } /** *

Information about the integrated development environment (IDE) configured for * the Dev Environment.

*/ inline void SetIdes(Aws::Vector&& value) { m_ides = std::move(value); } /** *

Information about the integrated development environment (IDE) configured for * the Dev Environment.

*/ inline GetDevEnvironmentResult& WithIdes(const Aws::Vector& value) { SetIdes(value); return *this;} /** *

Information about the integrated development environment (IDE) configured for * the Dev Environment.

*/ inline GetDevEnvironmentResult& WithIdes(Aws::Vector&& value) { SetIdes(std::move(value)); return *this;} /** *

Information about the integrated development environment (IDE) configured for * the Dev Environment.

*/ inline GetDevEnvironmentResult& AddIdes(const Ide& value) { m_ides.push_back(value); return *this; } /** *

Information about the integrated development environment (IDE) configured for * the Dev Environment.

*/ inline GetDevEnvironmentResult& AddIdes(Ide&& value) { m_ides.push_back(std::move(value)); return *this; } /** *

The Amazon EC2 instace type to use for the Dev Environment.

*/ inline const InstanceType& GetInstanceType() const{ return m_instanceType; } /** *

The Amazon EC2 instace type to use for the Dev Environment.

*/ inline void SetInstanceType(const InstanceType& value) { m_instanceType = value; } /** *

The Amazon EC2 instace type to use for the Dev Environment.

*/ inline void SetInstanceType(InstanceType&& value) { m_instanceType = std::move(value); } /** *

The Amazon EC2 instace type to use for the Dev Environment.

*/ inline GetDevEnvironmentResult& WithInstanceType(const InstanceType& value) { SetInstanceType(value); return *this;} /** *

The Amazon EC2 instace type to use for the Dev Environment.

*/ inline GetDevEnvironmentResult& WithInstanceType(InstanceType&& value) { SetInstanceType(std::move(value)); return *this;} /** *

The amount of time the Dev Environment will run without any activity detected * before stopping, in minutes.

*/ inline int GetInactivityTimeoutMinutes() const{ return m_inactivityTimeoutMinutes; } /** *

The amount of time the Dev Environment will run without any activity detected * before stopping, in minutes.

*/ inline void SetInactivityTimeoutMinutes(int value) { m_inactivityTimeoutMinutes = value; } /** *

The amount of time the Dev Environment will run without any activity detected * before stopping, in minutes.

*/ inline GetDevEnvironmentResult& WithInactivityTimeoutMinutes(int value) { SetInactivityTimeoutMinutes(value); return *this;} /** *

Information about the amount of storage allocated to the Dev Environment. By * default, a Dev Environment is configured to have 16GB of persistent storage.

*/ inline const PersistentStorage& GetPersistentStorage() const{ return m_persistentStorage; } /** *

Information about the amount of storage allocated to the Dev Environment. By * default, a Dev Environment is configured to have 16GB of persistent storage.

*/ inline void SetPersistentStorage(const PersistentStorage& value) { m_persistentStorage = value; } /** *

Information about the amount of storage allocated to the Dev Environment. By * default, a Dev Environment is configured to have 16GB of persistent storage.

*/ inline void SetPersistentStorage(PersistentStorage&& value) { m_persistentStorage = std::move(value); } /** *

Information about the amount of storage allocated to the Dev Environment. By * default, a Dev Environment is configured to have 16GB of persistent storage.

*/ inline GetDevEnvironmentResult& WithPersistentStorage(const PersistentStorage& value) { SetPersistentStorage(value); return *this;} /** *

Information about the amount of storage allocated to the Dev Environment. By * default, a Dev Environment is configured to have 16GB of persistent storage.

*/ inline GetDevEnvironmentResult& WithPersistentStorage(PersistentStorage&& value) { SetPersistentStorage(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetDevEnvironmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDevEnvironmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDevEnvironmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_spaceName; Aws::String m_projectName; Aws::String m_id; Aws::Utils::DateTime m_lastUpdatedTime; Aws::String m_creatorId; DevEnvironmentStatus m_status; Aws::String m_statusReason; Aws::Vector m_repositories; Aws::String m_alias; Aws::Vector m_ides; InstanceType m_instanceType; int m_inactivityTimeoutMinutes; PersistentStorage m_persistentStorage; Aws::String m_requestId; }; } // namespace Model } // namespace CodeCatalyst } // namespace Aws