/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the current creation or deletion lifecycle state of an
* Cloud9 development environment.See Also:
AWS
* API Reference
The current creation or deletion lifecycle state of the environment.
CREATING
: The environment is in the process of being
* created.
CREATED
: The environment was
* successfully created.
CREATE_FAILED
: The
* environment failed to be created.
DELETING
: The
* environment is in the process of being deleted.
* DELETE_FAILED
: The environment failed to delete.
The current creation or deletion lifecycle state of the environment.
CREATING
: The environment is in the process of being
* created.
CREATED
: The environment was
* successfully created.
CREATE_FAILED
: The
* environment failed to be created.
DELETING
: The
* environment is in the process of being deleted.
* DELETE_FAILED
: The environment failed to delete.
The current creation or deletion lifecycle state of the environment.
CREATING
: The environment is in the process of being
* created.
CREATED
: The environment was
* successfully created.
CREATE_FAILED
: The
* environment failed to be created.
DELETING
: The
* environment is in the process of being deleted.
* DELETE_FAILED
: The environment failed to delete.
The current creation or deletion lifecycle state of the environment.
CREATING
: The environment is in the process of being
* created.
CREATED
: The environment was
* successfully created.
CREATE_FAILED
: The
* environment failed to be created.
DELETING
: The
* environment is in the process of being deleted.
* DELETE_FAILED
: The environment failed to delete.
The current creation or deletion lifecycle state of the environment.
CREATING
: The environment is in the process of being
* created.
CREATED
: The environment was
* successfully created.
CREATE_FAILED
: The
* environment failed to be created.
DELETING
: The
* environment is in the process of being deleted.
* DELETE_FAILED
: The environment failed to delete.
The current creation or deletion lifecycle state of the environment.
CREATING
: The environment is in the process of being
* created.
CREATED
: The environment was
* successfully created.
CREATE_FAILED
: The
* environment failed to be created.
DELETING
: The
* environment is in the process of being deleted.
* DELETE_FAILED
: The environment failed to delete.
Any informational message about the lifecycle state of the environment.
*/ inline const Aws::String& GetReason() const{ return m_reason; } /** *Any informational message about the lifecycle state of the environment.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *Any informational message about the lifecycle state of the environment.
*/ inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *Any informational message about the lifecycle state of the environment.
*/ inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *Any informational message about the lifecycle state of the environment.
*/ inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } /** *Any informational message about the lifecycle state of the environment.
*/ inline EnvironmentLifecycle& WithReason(const Aws::String& value) { SetReason(value); return *this;} /** *Any informational message about the lifecycle state of the environment.
*/ inline EnvironmentLifecycle& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} /** *Any informational message about the lifecycle state of the environment.
*/ inline EnvironmentLifecycle& WithReason(const char* value) { SetReason(value); return *this;} /** *If the environment failed to delete, the Amazon Resource Name (ARN) of the * related Amazon Web Services resource.
*/ inline const Aws::String& GetFailureResource() const{ return m_failureResource; } /** *If the environment failed to delete, the Amazon Resource Name (ARN) of the * related Amazon Web Services resource.
*/ inline bool FailureResourceHasBeenSet() const { return m_failureResourceHasBeenSet; } /** *If the environment failed to delete, the Amazon Resource Name (ARN) of the * related Amazon Web Services resource.
*/ inline void SetFailureResource(const Aws::String& value) { m_failureResourceHasBeenSet = true; m_failureResource = value; } /** *If the environment failed to delete, the Amazon Resource Name (ARN) of the * related Amazon Web Services resource.
*/ inline void SetFailureResource(Aws::String&& value) { m_failureResourceHasBeenSet = true; m_failureResource = std::move(value); } /** *If the environment failed to delete, the Amazon Resource Name (ARN) of the * related Amazon Web Services resource.
*/ inline void SetFailureResource(const char* value) { m_failureResourceHasBeenSet = true; m_failureResource.assign(value); } /** *If the environment failed to delete, the Amazon Resource Name (ARN) of the * related Amazon Web Services resource.
*/ inline EnvironmentLifecycle& WithFailureResource(const Aws::String& value) { SetFailureResource(value); return *this;} /** *If the environment failed to delete, the Amazon Resource Name (ARN) of the * related Amazon Web Services resource.
*/ inline EnvironmentLifecycle& WithFailureResource(Aws::String&& value) { SetFailureResource(std::move(value)); return *this;} /** *If the environment failed to delete, the Amazon Resource Name (ARN) of the * related Amazon Web Services resource.
*/ inline EnvironmentLifecycle& WithFailureResource(const char* value) { SetFailureResource(value); return *this;} private: EnvironmentLifecycleStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_reason; bool m_reasonHasBeenSet = false; Aws::String m_failureResource; bool m_failureResourceHasBeenSet = false; }; } // namespace Model } // namespace Cloud9 } // namespace Aws