/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The GetOperationDetail response includes the following
* elements.See Also:
AWS
* API Reference
The identifier for the operation.
*/ inline const Aws::String& GetOperationId() const{ return m_operationId; } /** *The identifier for the operation.
*/ inline void SetOperationId(const Aws::String& value) { m_operationId = value; } /** *The identifier for the operation.
*/ inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); } /** *The identifier for the operation.
*/ inline void SetOperationId(const char* value) { m_operationId.assign(value); } /** *The identifier for the operation.
*/ inline GetOperationDetailResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;} /** *The identifier for the operation.
*/ inline GetOperationDetailResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;} /** *The identifier for the operation.
*/ inline GetOperationDetailResult& WithOperationId(const char* value) { SetOperationId(value); return *this;} /** *The current status of the requested operation in the system.
*/ inline const OperationStatus& GetStatus() const{ return m_status; } /** *The current status of the requested operation in the system.
*/ inline void SetStatus(const OperationStatus& value) { m_status = value; } /** *The current status of the requested operation in the system.
*/ inline void SetStatus(OperationStatus&& value) { m_status = std::move(value); } /** *The current status of the requested operation in the system.
*/ inline GetOperationDetailResult& WithStatus(const OperationStatus& value) { SetStatus(value); return *this;} /** *The current status of the requested operation in the system.
*/ inline GetOperationDetailResult& WithStatus(OperationStatus&& value) { SetStatus(std::move(value)); return *this;} /** *Detailed information on the status including possible errors.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *Detailed information on the status including possible errors.
*/ inline void SetMessage(const Aws::String& value) { m_message = value; } /** *Detailed information on the status including possible errors.
*/ inline void SetMessage(Aws::String&& value) { m_message = std::move(value); } /** *Detailed information on the status including possible errors.
*/ inline void SetMessage(const char* value) { m_message.assign(value); } /** *Detailed information on the status including possible errors.
*/ inline GetOperationDetailResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *Detailed information on the status including possible errors.
*/ inline GetOperationDetailResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *Detailed information on the status including possible errors.
*/ inline GetOperationDetailResult& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The name of a domain.
*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *The name of a domain.
*/ inline void SetDomainName(const Aws::String& value) { m_domainName = value; } /** *The name of a domain.
*/ inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); } /** *The name of a domain.
*/ inline void SetDomainName(const char* value) { m_domainName.assign(value); } /** *The name of a domain.
*/ inline GetOperationDetailResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *The name of a domain.
*/ inline GetOperationDetailResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *The name of a domain.
*/ inline GetOperationDetailResult& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *The type of operation that was requested.
*/ inline const OperationType& GetType() const{ return m_type; } /** *The type of operation that was requested.
*/ inline void SetType(const OperationType& value) { m_type = value; } /** *The type of operation that was requested.
*/ inline void SetType(OperationType&& value) { m_type = std::move(value); } /** *The type of operation that was requested.
*/ inline GetOperationDetailResult& WithType(const OperationType& value) { SetType(value); return *this;} /** *The type of operation that was requested.
*/ inline GetOperationDetailResult& WithType(OperationType&& value) { SetType(std::move(value)); return *this;} /** *The date when the request was submitted.
*/ inline const Aws::Utils::DateTime& GetSubmittedDate() const{ return m_submittedDate; } /** *The date when the request was submitted.
*/ inline void SetSubmittedDate(const Aws::Utils::DateTime& value) { m_submittedDate = value; } /** *The date when the request was submitted.
*/ inline void SetSubmittedDate(Aws::Utils::DateTime&& value) { m_submittedDate = std::move(value); } /** *The date when the request was submitted.
*/ inline GetOperationDetailResult& WithSubmittedDate(const Aws::Utils::DateTime& value) { SetSubmittedDate(value); return *this;} /** *The date when the request was submitted.
*/ inline GetOperationDetailResult& WithSubmittedDate(Aws::Utils::DateTime&& value) { SetSubmittedDate(std::move(value)); return *this;} private: Aws::String m_operationId; OperationStatus m_status; Aws::String m_message; Aws::String m_domainName; OperationType m_type; Aws::Utils::DateTime m_submittedDate; }; } // namespace Model } // namespace Route53Domains } // namespace Aws