This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-route53/include/aws/route53/model/HostedZoneConfig.h

115 lines
3.4 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains an optional comment about your hosted zone. If
* you don't want to specify a comment, omit both the <code>HostedZoneConfig</code>
* and <code>Comment</code> elements.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HostedZoneConfig">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API HostedZoneConfig
{
public:
HostedZoneConfig();
HostedZoneConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
HostedZoneConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
/**
* <p>Any comments that you want to include about the hosted zone.</p>
*/
inline const Aws::String& GetComment() const{ return m_comment; }
/**
* <p>Any comments that you want to include about the hosted zone.</p>
*/
inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
/**
* <p>Any comments that you want to include about the hosted zone.</p>
*/
inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
/**
* <p>Any comments that you want to include about the hosted zone.</p>
*/
inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
/**
* <p>Any comments that you want to include about the hosted zone.</p>
*/
inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
/**
* <p>Any comments that you want to include about the hosted zone.</p>
*/
inline HostedZoneConfig& WithComment(const Aws::String& value) { SetComment(value); return *this;}
/**
* <p>Any comments that you want to include about the hosted zone.</p>
*/
inline HostedZoneConfig& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
/**
* <p>Any comments that you want to include about the hosted zone.</p>
*/
inline HostedZoneConfig& WithComment(const char* value) { SetComment(value); return *this;}
/**
* <p>A value that indicates whether this is a private hosted zone.</p>
*/
inline bool GetPrivateZone() const{ return m_privateZone; }
/**
* <p>A value that indicates whether this is a private hosted zone.</p>
*/
inline bool PrivateZoneHasBeenSet() const { return m_privateZoneHasBeenSet; }
/**
* <p>A value that indicates whether this is a private hosted zone.</p>
*/
inline void SetPrivateZone(bool value) { m_privateZoneHasBeenSet = true; m_privateZone = value; }
/**
* <p>A value that indicates whether this is a private hosted zone.</p>
*/
inline HostedZoneConfig& WithPrivateZone(bool value) { SetPrivateZone(value); return *this;}
private:
Aws::String m_comment;
bool m_commentHasBeenSet;
bool m_privateZone;
bool m_privateZoneHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws