AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
HostedZoneConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53/Route53_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Xml {
15class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace Route53 {
19namespace Model {
20
29 public:
30 AWS_ROUTE53_API HostedZoneConfig() = default;
31 AWS_ROUTE53_API HostedZoneConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_ROUTE53_API HostedZoneConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
40 inline const Aws::String& GetComment() const { return m_comment; }
41 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
42 template <typename CommentT = Aws::String>
43 void SetComment(CommentT&& value) {
44 m_commentHasBeenSet = true;
45 m_comment = std::forward<CommentT>(value);
46 }
47 template <typename CommentT = Aws::String>
48 HostedZoneConfig& WithComment(CommentT&& value) {
49 SetComment(std::forward<CommentT>(value));
50 return *this;
51 }
53
55
58 inline bool GetPrivateZone() const { return m_privateZone; }
59 inline bool PrivateZoneHasBeenSet() const { return m_privateZoneHasBeenSet; }
60 inline void SetPrivateZone(bool value) {
61 m_privateZoneHasBeenSet = true;
62 m_privateZone = value;
63 }
64 inline HostedZoneConfig& WithPrivateZone(bool value) {
65 SetPrivateZone(value);
66 return *this;
67 }
69 private:
70 Aws::String m_comment;
71
72 bool m_privateZone{false};
73 bool m_commentHasBeenSet = false;
74 bool m_privateZoneHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Route53
79} // 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