/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include 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
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