/** * 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 { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace Route53 { namespace Model { /** *

A complex type that describes change information about changes made to your * hosted zone.

See Also:

AWS * API Reference

*/ class ChangeInfo { public: AWS_ROUTE53_API ChangeInfo(); AWS_ROUTE53_API ChangeInfo(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ROUTE53_API ChangeInfo& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

This element contains an ID that you use when performing a GetChange * action to get detailed information about the change.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

This element contains an ID that you use when performing a GetChange * action to get detailed information about the change.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

This element contains an ID that you use when performing a GetChange * action to get detailed information about the change.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

This element contains an ID that you use when performing a GetChange * action to get detailed information about the change.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

This element contains an ID that you use when performing a GetChange * action to get detailed information about the change.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

This element contains an ID that you use when performing a GetChange * action to get detailed information about the change.

*/ inline ChangeInfo& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

This element contains an ID that you use when performing a GetChange * action to get detailed information about the change.

*/ inline ChangeInfo& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

This element contains an ID that you use when performing a GetChange * action to get detailed information about the change.

*/ inline ChangeInfo& WithId(const char* value) { SetId(value); return *this;} /** *

The current state of the request. PENDING indicates that this * request has not yet been applied to all Amazon Route 53 DNS servers.

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

The current state of the request. PENDING indicates that this * request has not yet been applied to all Amazon Route 53 DNS servers.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The current state of the request. PENDING indicates that this * request has not yet been applied to all Amazon Route 53 DNS servers.

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

The current state of the request. PENDING indicates that this * request has not yet been applied to all Amazon Route 53 DNS servers.

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

The current state of the request. PENDING indicates that this * request has not yet been applied to all Amazon Route 53 DNS servers.

*/ inline ChangeInfo& WithStatus(const ChangeStatus& value) { SetStatus(value); return *this;} /** *

The current state of the request. PENDING indicates that this * request has not yet been applied to all Amazon Route 53 DNS servers.

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

The date and time that the change request was submitted in ISO 8601 format and * Coordinated Universal Time (UTC). For example, the value * 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 * UTC.

*/ inline const Aws::Utils::DateTime& GetSubmittedAt() const{ return m_submittedAt; } /** *

The date and time that the change request was submitted in ISO 8601 format and * Coordinated Universal Time (UTC). For example, the value * 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 * UTC.

*/ inline bool SubmittedAtHasBeenSet() const { return m_submittedAtHasBeenSet; } /** *

The date and time that the change request was submitted in ISO 8601 format and * Coordinated Universal Time (UTC). For example, the value * 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 * UTC.

*/ inline void SetSubmittedAt(const Aws::Utils::DateTime& value) { m_submittedAtHasBeenSet = true; m_submittedAt = value; } /** *

The date and time that the change request was submitted in ISO 8601 format and * Coordinated Universal Time (UTC). For example, the value * 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 * UTC.

*/ inline void SetSubmittedAt(Aws::Utils::DateTime&& value) { m_submittedAtHasBeenSet = true; m_submittedAt = std::move(value); } /** *

The date and time that the change request was submitted in ISO 8601 format and * Coordinated Universal Time (UTC). For example, the value * 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 * UTC.

*/ inline ChangeInfo& WithSubmittedAt(const Aws::Utils::DateTime& value) { SetSubmittedAt(value); return *this;} /** *

The date and time that the change request was submitted in ISO 8601 format and * Coordinated Universal Time (UTC). For example, the value * 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 * UTC.

*/ inline ChangeInfo& WithSubmittedAt(Aws::Utils::DateTime&& value) { SetSubmittedAt(std::move(value)); return *this;} /** *

A comment you can provide.

*/ inline const Aws::String& GetComment() const{ return m_comment; } /** *

A comment you can provide.

*/ inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; } /** *

A comment you can provide.

*/ inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; } /** *

A comment you can provide.

*/ inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); } /** *

A comment you can provide.

*/ inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); } /** *

A comment you can provide.

*/ inline ChangeInfo& WithComment(const Aws::String& value) { SetComment(value); return *this;} /** *

A comment you can provide.

*/ inline ChangeInfo& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;} /** *

A comment you can provide.

*/ inline ChangeInfo& WithComment(const char* value) { SetComment(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; ChangeStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_submittedAt; bool m_submittedAtHasBeenSet = false; Aws::String m_comment; bool m_commentHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws