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

The status of the environment. Available values include:

  • * connecting: The environment is connecting.

  • * creating: The environment is being created.

  • * deleting: The environment is being deleted.

  • * error: The environment is in an error state.

  • * ready: The environment is ready.

  • * stopped: The environment is stopped.

  • * stopping: The environment is stopping.

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

The status of the environment. Available values include:

  • * connecting: The environment is connecting.

  • * creating: The environment is being created.

  • * deleting: The environment is being deleted.

  • * error: The environment is in an error state.

  • * ready: The environment is ready.

  • * stopped: The environment is stopped.

  • * stopping: The environment is stopping.

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

The status of the environment. Available values include:

  • * connecting: The environment is connecting.

  • * creating: The environment is being created.

  • * deleting: The environment is being deleted.

  • * error: The environment is in an error state.

  • * ready: The environment is ready.

  • * stopped: The environment is stopped.

  • * stopping: The environment is stopping.

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

The status of the environment. Available values include:

  • * connecting: The environment is connecting.

  • * creating: The environment is being created.

  • * deleting: The environment is being deleted.

  • * error: The environment is in an error state.

  • * ready: The environment is ready.

  • * stopped: The environment is stopped.

  • * stopping: The environment is stopping.

*/ inline DescribeEnvironmentStatusResult& WithStatus(const EnvironmentStatus& value) { SetStatus(value); return *this;} /** *

The status of the environment. Available values include:

  • * connecting: The environment is connecting.

  • * creating: The environment is being created.

  • * deleting: The environment is being deleted.

  • * error: The environment is in an error state.

  • * ready: The environment is ready.

  • * stopped: The environment is stopped.

  • * stopping: The environment is stopping.

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

Any informational message about the status of the environment.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

Any informational message about the status of the environment.

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

Any informational message about the status of the environment.

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

Any informational message about the status of the environment.

*/ inline void SetMessage(const char* value) { m_message.assign(value); } /** *

Any informational message about the status of the environment.

*/ inline DescribeEnvironmentStatusResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

Any informational message about the status of the environment.

*/ inline DescribeEnvironmentStatusResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

Any informational message about the status of the environment.

*/ inline DescribeEnvironmentStatusResult& WithMessage(const char* value) { SetMessage(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 DescribeEnvironmentStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeEnvironmentStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeEnvironmentStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: EnvironmentStatus m_status; Aws::String m_message; Aws::String m_requestId; }; } // namespace Model } // namespace Cloud9 } // namespace Aws