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

The ID of the application.

*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *

The ID of the application.

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

The ID of the application.

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

The ID of the application.

*/ inline void SetApplicationId(const char* value) { m_applicationId.assign(value); } /** *

The ID of the application.

*/ inline DeleteApplicationResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The ID of the application.

*/ inline DeleteApplicationResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

The ID of the application.

*/ inline DeleteApplicationResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the application.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the application.

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

The Amazon Resource Name (ARN) of the application.

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

The Amazon Resource Name (ARN) of the application.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the application.

*/ inline DeleteApplicationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the application.

*/ inline DeleteApplicationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the application.

*/ inline DeleteApplicationResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The unique identifier of the application’s environment.

*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *

The unique identifier of the application’s environment.

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

The unique identifier of the application’s environment.

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

The unique identifier of the application’s environment.

*/ inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); } /** *

The unique identifier of the application’s environment.

*/ inline DeleteApplicationResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

The unique identifier of the application’s environment.

*/ inline DeleteApplicationResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *

The unique identifier of the application’s environment.

*/ inline DeleteApplicationResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *

A timestamp that indicates when the environment was last updated.

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

A timestamp that indicates when the environment was last updated.

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

A timestamp that indicates when the environment was last updated.

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

A timestamp that indicates when the environment was last updated.

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

A timestamp that indicates when the environment was last updated.

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

The name of the application.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the application.

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

The name of the application.

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

The name of the application.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the application.

*/ inline DeleteApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the application.

*/ inline DeleteApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the application.

*/ inline DeleteApplicationResult& WithName(const char* value) { SetName(value); return *this;} /** *

The current state of the application.

*/ inline const ApplicationState& GetState() const{ return m_state; } /** *

The current state of the application.

*/ inline void SetState(const ApplicationState& value) { m_state = value; } /** *

The current state of the application.

*/ inline void SetState(ApplicationState&& value) { m_state = std::move(value); } /** *

The current state of the application.

*/ inline DeleteApplicationResult& WithState(const ApplicationState& value) { SetState(value); return *this;} /** *

The current state of the application.

*/ inline DeleteApplicationResult& WithState(ApplicationState&& value) { SetState(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 DeleteApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_applicationId; Aws::String m_arn; Aws::String m_environmentId; Aws::Utils::DateTime m_lastUpdatedTime; Aws::String m_name; ApplicationState m_state; Aws::String m_requestId; }; } // namespace Model } // namespace MigrationHubRefactorSpaces } // namespace Aws