/** * 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 MigrationHub { namespace Model { class AWS_MIGRATIONHUB_API DescribeApplicationStateResult { public: DescribeApplicationStateResult(); DescribeApplicationStateResult(const Aws::AmazonWebServiceResult& result); DescribeApplicationStateResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Status of the application - Not Started, In-Progress, Complete.

*/ inline const ApplicationStatus& GetApplicationStatus() const{ return m_applicationStatus; } /** *

Status of the application - Not Started, In-Progress, Complete.

*/ inline void SetApplicationStatus(const ApplicationStatus& value) { m_applicationStatus = value; } /** *

Status of the application - Not Started, In-Progress, Complete.

*/ inline void SetApplicationStatus(ApplicationStatus&& value) { m_applicationStatus = std::move(value); } /** *

Status of the application - Not Started, In-Progress, Complete.

*/ inline DescribeApplicationStateResult& WithApplicationStatus(const ApplicationStatus& value) { SetApplicationStatus(value); return *this;} /** *

Status of the application - Not Started, In-Progress, Complete.

*/ inline DescribeApplicationStateResult& WithApplicationStatus(ApplicationStatus&& value) { SetApplicationStatus(std::move(value)); return *this;} /** *

The timestamp when the application status was last updated.

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

The timestamp when the application status was last updated.

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

The timestamp when the application status was last updated.

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

The timestamp when the application status was last updated.

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

The timestamp when the application status was last updated.

*/ inline DescribeApplicationStateResult& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} private: ApplicationStatus m_applicationStatus; Aws::Utils::DateTime m_lastUpdatedTime; }; } // namespace Model } // namespace MigrationHub } // namespace Aws