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

A complex type that contains an optional comment about your hosted zone. If * you don't want to specify a comment, omit both the HostedZoneConfig * and Comment elements.

See Also:

AWS * API Reference

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

Any comments that you want to include about the hosted zone.

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

Any comments that you want to include about the hosted zone.

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

Any comments that you want to include about the hosted zone.

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

Any comments that you want to include about the hosted zone.

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

Any comments that you want to include about the hosted zone.

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

Any comments that you want to include about the hosted zone.

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

Any comments that you want to include about the hosted zone.

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

Any comments that you want to include about the hosted zone.

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

A value that indicates whether this is a private hosted zone.

*/ inline bool GetPrivateZone() const{ return m_privateZone; } /** *

A value that indicates whether this is a private hosted zone.

*/ inline bool PrivateZoneHasBeenSet() const { return m_privateZoneHasBeenSet; } /** *

A value that indicates whether this is a private hosted zone.

*/ inline void SetPrivateZone(bool value) { m_privateZoneHasBeenSet = true; m_privateZone = value; } /** *

A value that indicates whether this is a private hosted zone.

*/ inline HostedZoneConfig& WithPrivateZone(bool value) { SetPrivateZone(value); return *this;} private: Aws::String m_comment; bool m_commentHasBeenSet = false; bool m_privateZone; bool m_privateZoneHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws