/** * 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 { 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 AWS_ROUTE53DOMAINS_API OperationSummary { public: OperationSummary(); OperationSummary(Aws::Utils::Json::JsonView jsonValue); OperationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); 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;} private: Aws::String m_operationId; bool m_operationIdHasBeenSet; OperationStatus m_status; bool m_statusHasBeenSet; OperationType m_type; bool m_typeHasBeenSet; Aws::Utils::DateTime m_submittedDate; bool m_submittedDateHasBeenSet; }; } // namespace Model } // namespace Route53Domains } // namespace Aws