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

ID of the license type conversion task.

*/ inline const Aws::String& GetLicenseConversionTaskId() const{ return m_licenseConversionTaskId; } /** *

ID of the license type conversion task.

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

ID of the license type conversion task.

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

ID of the license type conversion task.

*/ inline void SetLicenseConversionTaskId(const char* value) { m_licenseConversionTaskId.assign(value); } /** *

ID of the license type conversion task.

*/ inline GetLicenseConversionTaskResult& WithLicenseConversionTaskId(const Aws::String& value) { SetLicenseConversionTaskId(value); return *this;} /** *

ID of the license type conversion task.

*/ inline GetLicenseConversionTaskResult& WithLicenseConversionTaskId(Aws::String&& value) { SetLicenseConversionTaskId(std::move(value)); return *this;} /** *

ID of the license type conversion task.

*/ inline GetLicenseConversionTaskResult& WithLicenseConversionTaskId(const char* value) { SetLicenseConversionTaskId(value); return *this;} /** *

Amazon Resource Names (ARN) of the resources the license conversion task is * associated with.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

Amazon Resource Names (ARN) of the resources the license conversion task is * associated with.

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

Amazon Resource Names (ARN) of the resources the license conversion task is * associated with.

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

Amazon Resource Names (ARN) of the resources the license conversion task is * associated with.

*/ inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); } /** *

Amazon Resource Names (ARN) of the resources the license conversion task is * associated with.

*/ inline GetLicenseConversionTaskResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

Amazon Resource Names (ARN) of the resources the license conversion task is * associated with.

*/ inline GetLicenseConversionTaskResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

Amazon Resource Names (ARN) of the resources the license conversion task is * associated with.

*/ inline GetLicenseConversionTaskResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *

Information about the license type converted from.

*/ inline const LicenseConversionContext& GetSourceLicenseContext() const{ return m_sourceLicenseContext; } /** *

Information about the license type converted from.

*/ inline void SetSourceLicenseContext(const LicenseConversionContext& value) { m_sourceLicenseContext = value; } /** *

Information about the license type converted from.

*/ inline void SetSourceLicenseContext(LicenseConversionContext&& value) { m_sourceLicenseContext = std::move(value); } /** *

Information about the license type converted from.

*/ inline GetLicenseConversionTaskResult& WithSourceLicenseContext(const LicenseConversionContext& value) { SetSourceLicenseContext(value); return *this;} /** *

Information about the license type converted from.

*/ inline GetLicenseConversionTaskResult& WithSourceLicenseContext(LicenseConversionContext&& value) { SetSourceLicenseContext(std::move(value)); return *this;} /** *

Information about the license type converted to.

*/ inline const LicenseConversionContext& GetDestinationLicenseContext() const{ return m_destinationLicenseContext; } /** *

Information about the license type converted to.

*/ inline void SetDestinationLicenseContext(const LicenseConversionContext& value) { m_destinationLicenseContext = value; } /** *

Information about the license type converted to.

*/ inline void SetDestinationLicenseContext(LicenseConversionContext&& value) { m_destinationLicenseContext = std::move(value); } /** *

Information about the license type converted to.

*/ inline GetLicenseConversionTaskResult& WithDestinationLicenseContext(const LicenseConversionContext& value) { SetDestinationLicenseContext(value); return *this;} /** *

Information about the license type converted to.

*/ inline GetLicenseConversionTaskResult& WithDestinationLicenseContext(LicenseConversionContext&& value) { SetDestinationLicenseContext(std::move(value)); return *this;} /** *

The status message for the conversion task.

*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *

The status message for the conversion task.

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

The status message for the conversion task.

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

The status message for the conversion task.

*/ inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); } /** *

The status message for the conversion task.

*/ inline GetLicenseConversionTaskResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

The status message for the conversion task.

*/ inline GetLicenseConversionTaskResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *

The status message for the conversion task.

*/ inline GetLicenseConversionTaskResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *

Status of the license type conversion task.

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

Status of the license type conversion task.

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

Status of the license type conversion task.

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

Status of the license type conversion task.

*/ inline GetLicenseConversionTaskResult& WithStatus(const LicenseConversionTaskStatus& value) { SetStatus(value); return *this;} /** *

Status of the license type conversion task.

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

Time at which the license type conversion task was started .

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

Time at which the license type conversion task was started .

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

Time at which the license type conversion task was started .

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

Time at which the license type conversion task was started .

*/ inline GetLicenseConversionTaskResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

Time at which the license type conversion task was started .

*/ inline GetLicenseConversionTaskResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

Amount of time to complete the license type conversion.

*/ inline const Aws::Utils::DateTime& GetLicenseConversionTime() const{ return m_licenseConversionTime; } /** *

Amount of time to complete the license type conversion.

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

Amount of time to complete the license type conversion.

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

Amount of time to complete the license type conversion.

*/ inline GetLicenseConversionTaskResult& WithLicenseConversionTime(const Aws::Utils::DateTime& value) { SetLicenseConversionTime(value); return *this;} /** *

Amount of time to complete the license type conversion.

*/ inline GetLicenseConversionTaskResult& WithLicenseConversionTime(Aws::Utils::DateTime&& value) { SetLicenseConversionTime(std::move(value)); return *this;} /** *

Time at which the license type conversion task was completed.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

Time at which the license type conversion task was completed.

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

Time at which the license type conversion task was completed.

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

Time at which the license type conversion task was completed.

*/ inline GetLicenseConversionTaskResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

Time at which the license type conversion task was completed.

*/ inline GetLicenseConversionTaskResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(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 GetLicenseConversionTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetLicenseConversionTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetLicenseConversionTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_licenseConversionTaskId; Aws::String m_resourceArn; LicenseConversionContext m_sourceLicenseContext; LicenseConversionContext m_destinationLicenseContext; Aws::String m_statusMessage; LicenseConversionTaskStatus m_status; Aws::Utils::DateTime m_startTime; Aws::Utils::DateTime m_licenseConversionTime; Aws::Utils::DateTime m_endTime; Aws::String m_requestId; }; } // namespace Model } // namespace LicenseManager } // namespace Aws