AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
49 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
50 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
51 inline HostedZoneConfig& WithComment(const Aws::String& value) { SetComment(value); return *this;}
52 inline HostedZoneConfig& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
53 inline HostedZoneConfig& WithComment(const char* value) { SetComment(value); return *this;}
55
57
60 inline bool GetPrivateZone() const{ return m_privateZone; }
61 inline bool PrivateZoneHasBeenSet() const { return m_privateZoneHasBeenSet; }
62 inline void SetPrivateZone(bool value) { m_privateZoneHasBeenSet = true; m_privateZone = value; }
63 inline HostedZoneConfig& WithPrivateZone(bool value) { SetPrivateZone(value); return *this;}
65 private:
66
67 Aws::String m_comment;
68 bool m_commentHasBeenSet = false;
69
70 bool m_privateZone;
71 bool m_privateZoneHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Route53
76} // namespace Aws
HostedZoneConfig & WithPrivateZone(bool value)
HostedZoneConfig & WithComment(Aws::String &&value)
const Aws::String & GetComment() const
void SetComment(const Aws::String &value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetComment(Aws::String &&value)
HostedZoneConfig & WithComment(const Aws::String &value)
HostedZoneConfig & WithComment(const char *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