/** * 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 { /** *

The information for a change request.

See Also:

AWS * API Reference

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

Optional: Any comments you want to include about a change batch * request.

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

Optional: Any comments you want to include about a change batch * request.

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

Optional: Any comments you want to include about a change batch * request.

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

Optional: Any comments you want to include about a change batch * request.

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

Optional: Any comments you want to include about a change batch * request.

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

Optional: Any comments you want to include about a change batch * request.

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

Optional: Any comments you want to include about a change batch * request.

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

Optional: Any comments you want to include about a change batch * request.

*/ inline ChangeBatch& WithComment(const char* value) { SetComment(value); return *this;} /** *

Information about the changes to make to the record sets.

*/ inline const Aws::Vector& GetChanges() const{ return m_changes; } /** *

Information about the changes to make to the record sets.

*/ inline bool ChangesHasBeenSet() const { return m_changesHasBeenSet; } /** *

Information about the changes to make to the record sets.

*/ inline void SetChanges(const Aws::Vector& value) { m_changesHasBeenSet = true; m_changes = value; } /** *

Information about the changes to make to the record sets.

*/ inline void SetChanges(Aws::Vector&& value) { m_changesHasBeenSet = true; m_changes = std::move(value); } /** *

Information about the changes to make to the record sets.

*/ inline ChangeBatch& WithChanges(const Aws::Vector& value) { SetChanges(value); return *this;} /** *

Information about the changes to make to the record sets.

*/ inline ChangeBatch& WithChanges(Aws::Vector&& value) { SetChanges(std::move(value)); return *this;} /** *

Information about the changes to make to the record sets.

*/ inline ChangeBatch& AddChanges(const Change& value) { m_changesHasBeenSet = true; m_changes.push_back(value); return *this; } /** *

Information about the changes to make to the record sets.

*/ inline ChangeBatch& AddChanges(Change&& value) { m_changesHasBeenSet = true; m_changes.push_back(std::move(value)); return *this; } private: Aws::String m_comment; bool m_commentHasBeenSet = false; Aws::Vector m_changes; bool m_changesHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws