AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
HostedZoneConfig.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace Route53
21{
22namespace Model
23{
24
33 {
34 public:
35 AWS_ROUTE53_API HostedZoneConfig() = default;
36 AWS_ROUTE53_API HostedZoneConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ROUTE53_API HostedZoneConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline const Aws::String& GetComment() const { return m_comment; }
47 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
48 template<typename CommentT = Aws::String>
49 void SetComment(CommentT&& value) { m_commentHasBeenSet = true; m_comment = std::forward<CommentT>(value); }
50 template<typename CommentT = Aws::String>
51 HostedZoneConfig& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
53
55
58 inline bool GetPrivateZone() const { return m_privateZone; }
59 inline bool PrivateZoneHasBeenSet() const { return m_privateZoneHasBeenSet; }
60 inline void SetPrivateZone(bool value) { m_privateZoneHasBeenSet = true; m_privateZone = value; }
61 inline HostedZoneConfig& WithPrivateZone(bool value) { SetPrivateZone(value); return *this;}
63 private:
64
65 Aws::String m_comment;
66 bool m_commentHasBeenSet = false;
67
68 bool m_privateZone{false};
69 bool m_privateZoneHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Route53
74} // namespace Aws
HostedZoneConfig & WithPrivateZone(bool value)
const Aws::String & GetComment() const
AWS_ROUTE53_API HostedZoneConfig()=default
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
HostedZoneConfig & WithComment(CommentT &&value)
AWS_ROUTE53_API HostedZoneConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ROUTE53_API HostedZoneConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String