/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Route53Domains { namespace Model { /** *

OperationSummary includes the following elements.

See Also:

* AWS * API Reference

*/ class OperationSummary { public: AWS_ROUTE53DOMAINS_API OperationSummary(); AWS_ROUTE53DOMAINS_API OperationSummary(Aws::Utils::Json::JsonView jsonValue); AWS_ROUTE53DOMAINS_API OperationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Identifier returned to track the requested action.

*/ inline const Aws::String& GetOperationId() const{ return m_operationId; } /** *

Identifier returned to track the requested action.

*/ inline bool OperationIdHasBeenSet() const { return m_operationIdHasBeenSet; } /** *

Identifier returned to track the requested action.

*/ inline void SetOperationId(const Aws::String& value) { m_operationIdHasBeenSet = true; m_operationId = value; } /** *

Identifier returned to track the requested action.

*/ inline void SetOperationId(Aws::String&& value) { m_operationIdHasBeenSet = true; m_operationId = std::move(value); } /** *

Identifier returned to track the requested action.

*/ inline void SetOperationId(const char* value) { m_operationIdHasBeenSet = true; m_operationId.assign(value); } /** *

Identifier returned to track the requested action.

*/ inline OperationSummary& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;} /** *

Identifier returned to track the requested action.

*/ inline OperationSummary& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;} /** *

Identifier returned to track the requested action.

*/ inline OperationSummary& 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 bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The current status of the requested operation in the system.

*/ inline void SetStatus(const OperationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The current status of the requested operation in the system.

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

The current status of the requested operation in the system.

*/ inline OperationSummary& WithStatus(const OperationStatus& value) { SetStatus(value); return *this;} /** *

The current status of the requested operation in the system.

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

Type of the action requested.

*/ inline const OperationType& GetType() const{ return m_type; } /** *

Type of the action requested.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

Type of the action requested.

*/ inline void SetType(const OperationType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

Type of the action requested.

*/ inline void SetType(OperationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

Type of the action requested.

*/ inline OperationSummary& WithType(const OperationType& value) { SetType(value); return *this;} /** *

Type of the action requested.

*/ inline OperationSummary& 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 bool SubmittedDateHasBeenSet() const { return m_submittedDateHasBeenSet; } /** *

The date when the request was submitted.

*/ inline void SetSubmittedDate(const Aws::Utils::DateTime& value) { m_submittedDateHasBeenSet = true; m_submittedDate = value; } /** *

The date when the request was submitted.

*/ inline void SetSubmittedDate(Aws::Utils::DateTime&& value) { m_submittedDateHasBeenSet = true; m_submittedDate = std::move(value); } /** *

The date when the request was submitted.

*/ inline OperationSummary& WithSubmittedDate(const Aws::Utils::DateTime& value) { SetSubmittedDate(value); return *this;} /** *

The date when the request was submitted.

*/ inline OperationSummary& WithSubmittedDate(Aws::Utils::DateTime&& value) { SetSubmittedDate(std::move(value)); return *this;} /** *

Name of the domain.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

Name of the domain.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

Name of the domain.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

Name of the domain.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

Name of the domain.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

Name of the domain.

*/ inline OperationSummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

Name of the domain.

*/ inline OperationSummary& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

Name of the domain.

*/ inline OperationSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

Message about the operation.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

Message about the operation.

*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *

Message about the operation.

*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *

Message about the operation.

*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *

Message about the operation.

*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *

Message about the operation.

*/ inline OperationSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

Message about the operation.

*/ inline OperationSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

Message about the operation.

*/ inline OperationSummary& WithMessage(const char* value) { SetMessage(value); return *this;} /** *

Automatically checks whether there are no outstanding operations on domains * that need customer attention.

Valid values are:

  • * PENDING_ACCEPTANCE: The operation is waiting for acceptance from * the account that is receiving the domain.

  • * PENDING_CUSTOMER_ACTION: The operation is waiting for customer * action, for example, returning an email.

  • * PENDING_AUTHORIZATION: The operation is waiting for the form of * authorization. For more information, see ResendOperationAuthorization.

    *
  • PENDING_PAYMENT_VERIFICATION: The operation is * waiting for the payment method to validate.

  • * PENDING_SUPPORT_CASE: The operation includes a support case and is * waiting for its resolution.

*/ inline const StatusFlag& GetStatusFlag() const{ return m_statusFlag; } /** *

Automatically checks whether there are no outstanding operations on domains * that need customer attention.

Valid values are:

  • * PENDING_ACCEPTANCE: The operation is waiting for acceptance from * the account that is receiving the domain.

  • * PENDING_CUSTOMER_ACTION: The operation is waiting for customer * action, for example, returning an email.

  • * PENDING_AUTHORIZATION: The operation is waiting for the form of * authorization. For more information, see ResendOperationAuthorization.

    *
  • PENDING_PAYMENT_VERIFICATION: The operation is * waiting for the payment method to validate.

  • * PENDING_SUPPORT_CASE: The operation includes a support case and is * waiting for its resolution.

*/ inline bool StatusFlagHasBeenSet() const { return m_statusFlagHasBeenSet; } /** *

Automatically checks whether there are no outstanding operations on domains * that need customer attention.

Valid values are:

  • * PENDING_ACCEPTANCE: The operation is waiting for acceptance from * the account that is receiving the domain.

  • * PENDING_CUSTOMER_ACTION: The operation is waiting for customer * action, for example, returning an email.

  • * PENDING_AUTHORIZATION: The operation is waiting for the form of * authorization. For more information, see ResendOperationAuthorization.

    *
  • PENDING_PAYMENT_VERIFICATION: The operation is * waiting for the payment method to validate.

  • * PENDING_SUPPORT_CASE: The operation includes a support case and is * waiting for its resolution.

*/ inline void SetStatusFlag(const StatusFlag& value) { m_statusFlagHasBeenSet = true; m_statusFlag = value; } /** *

Automatically checks whether there are no outstanding operations on domains * that need customer attention.

Valid values are:

  • * PENDING_ACCEPTANCE: The operation is waiting for acceptance from * the account that is receiving the domain.

  • * PENDING_CUSTOMER_ACTION: The operation is waiting for customer * action, for example, returning an email.

  • * PENDING_AUTHORIZATION: The operation is waiting for the form of * authorization. For more information, see ResendOperationAuthorization.

    *
  • PENDING_PAYMENT_VERIFICATION: The operation is * waiting for the payment method to validate.

  • * PENDING_SUPPORT_CASE: The operation includes a support case and is * waiting for its resolution.

*/ inline void SetStatusFlag(StatusFlag&& value) { m_statusFlagHasBeenSet = true; m_statusFlag = std::move(value); } /** *

Automatically checks whether there are no outstanding operations on domains * that need customer attention.

Valid values are:

  • * PENDING_ACCEPTANCE: The operation is waiting for acceptance from * the account that is receiving the domain.

  • * PENDING_CUSTOMER_ACTION: The operation is waiting for customer * action, for example, returning an email.

  • * PENDING_AUTHORIZATION: The operation is waiting for the form of * authorization. For more information, see ResendOperationAuthorization.

    *
  • PENDING_PAYMENT_VERIFICATION: The operation is * waiting for the payment method to validate.

  • * PENDING_SUPPORT_CASE: The operation includes a support case and is * waiting for its resolution.

*/ inline OperationSummary& WithStatusFlag(const StatusFlag& value) { SetStatusFlag(value); return *this;} /** *

Automatically checks whether there are no outstanding operations on domains * that need customer attention.

Valid values are:

  • * PENDING_ACCEPTANCE: The operation is waiting for acceptance from * the account that is receiving the domain.

  • * PENDING_CUSTOMER_ACTION: The operation is waiting for customer * action, for example, returning an email.

  • * PENDING_AUTHORIZATION: The operation is waiting for the form of * authorization. For more information, see ResendOperationAuthorization.

    *
  • PENDING_PAYMENT_VERIFICATION: The operation is * waiting for the payment method to validate.

  • * PENDING_SUPPORT_CASE: The operation includes a support case and is * waiting for its resolution.

*/ inline OperationSummary& WithStatusFlag(StatusFlag&& value) { SetStatusFlag(std::move(value)); return *this;} /** *

The date when the last change was made in Unix time format and Coordinated * Universal Time (UTC).

*/ inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; } /** *

The date when the last change was made in Unix time format and Coordinated * Universal Time (UTC).

*/ inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; } /** *

The date when the last change was made in Unix time format and Coordinated * Universal Time (UTC).

*/ inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = value; } /** *

The date when the last change was made in Unix time format and Coordinated * Universal Time (UTC).

*/ inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::move(value); } /** *

The date when the last change was made in Unix time format and Coordinated * Universal Time (UTC).

*/ inline OperationSummary& WithLastUpdatedDate(const Aws::Utils::DateTime& value) { SetLastUpdatedDate(value); return *this;} /** *

The date when the last change was made in Unix time format and Coordinated * Universal Time (UTC).

*/ inline OperationSummary& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;} private: Aws::String m_operationId; bool m_operationIdHasBeenSet = false; OperationStatus m_status; bool m_statusHasBeenSet = false; OperationType m_type; bool m_typeHasBeenSet = false; Aws::Utils::DateTime m_submittedDate; bool m_submittedDateHasBeenSet = false; Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; StatusFlag m_statusFlag; bool m_statusFlagHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDate; bool m_lastUpdatedDateHasBeenSet = false; }; } // namespace Model } // namespace Route53Domains } // namespace Aws