/** * 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 MigrationHub { namespace Model { class DescribeApplicationStateResult { public: AWS_MIGRATIONHUB_API DescribeApplicationStateResult(); AWS_MIGRATIONHUB_API DescribeApplicationStateResult(const Aws::AmazonWebServiceResult& result); AWS_MIGRATIONHUB_API 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;} 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 DescribeApplicationStateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeApplicationStateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeApplicationStateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ApplicationStatus m_applicationStatus; Aws::Utils::DateTime m_lastUpdatedTime; Aws::String m_requestId; }; } // namespace Model } // namespace MigrationHub } // namespace Aws