AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HostedZone.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53/model/HostedZoneConfig.h>
10#include <aws/route53/model/LinkedService.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace Route53
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ROUTE53_API HostedZone();
37 AWS_ROUTE53_API HostedZone(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ROUTE53_API HostedZone& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline HostedZone& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline HostedZone& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline HostedZone& WithId(const char* value) { SetId(value); return *this;}
57
59
67 inline const Aws::String& GetName() const{ return m_name; }
68 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
69 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
70 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
71 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
72 inline HostedZone& WithName(const Aws::String& value) { SetName(value); return *this;}
73 inline HostedZone& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 inline HostedZone& WithName(const char* value) { SetName(value); return *this;}
76
78
82 inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
83 inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
84 inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
85 inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
86 inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
87 inline HostedZone& WithCallerReference(const Aws::String& value) { SetCallerReference(value); return *this;}
88 inline HostedZone& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
89 inline HostedZone& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
91
93
100 inline const HostedZoneConfig& GetConfig() const{ return m_config; }
101 inline bool ConfigHasBeenSet() const { return m_configHasBeenSet; }
102 inline void SetConfig(const HostedZoneConfig& value) { m_configHasBeenSet = true; m_config = value; }
103 inline void SetConfig(HostedZoneConfig&& value) { m_configHasBeenSet = true; m_config = std::move(value); }
104 inline HostedZone& WithConfig(const HostedZoneConfig& value) { SetConfig(value); return *this;}
105 inline HostedZone& WithConfig(HostedZoneConfig&& value) { SetConfig(std::move(value)); return *this;}
107
109
112 inline long long GetResourceRecordSetCount() const{ return m_resourceRecordSetCount; }
113 inline bool ResourceRecordSetCountHasBeenSet() const { return m_resourceRecordSetCountHasBeenSet; }
114 inline void SetResourceRecordSetCount(long long value) { m_resourceRecordSetCountHasBeenSet = true; m_resourceRecordSetCount = value; }
115 inline HostedZone& WithResourceRecordSetCount(long long value) { SetResourceRecordSetCount(value); return *this;}
117
119
124 inline const LinkedService& GetLinkedService() const{ return m_linkedService; }
125 inline bool LinkedServiceHasBeenSet() const { return m_linkedServiceHasBeenSet; }
126 inline void SetLinkedService(const LinkedService& value) { m_linkedServiceHasBeenSet = true; m_linkedService = value; }
127 inline void SetLinkedService(LinkedService&& value) { m_linkedServiceHasBeenSet = true; m_linkedService = std::move(value); }
128 inline HostedZone& WithLinkedService(const LinkedService& value) { SetLinkedService(value); return *this;}
129 inline HostedZone& WithLinkedService(LinkedService&& value) { SetLinkedService(std::move(value)); return *this;}
131 private:
132
133 Aws::String m_id;
134 bool m_idHasBeenSet = false;
135
136 Aws::String m_name;
137 bool m_nameHasBeenSet = false;
138
139 Aws::String m_callerReference;
140 bool m_callerReferenceHasBeenSet = false;
141
142 HostedZoneConfig m_config;
143 bool m_configHasBeenSet = false;
144
145 long long m_resourceRecordSetCount;
146 bool m_resourceRecordSetCountHasBeenSet = false;
147
148 LinkedService m_linkedService;
149 bool m_linkedServiceHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace Route53
154} // namespace Aws
HostedZone & WithCallerReference(const char *value)
Definition HostedZone.h:89
void SetCallerReference(Aws::String &&value)
Definition HostedZone.h:85
void SetResourceRecordSetCount(long long value)
Definition HostedZone.h:114
HostedZone & WithId(Aws::String &&value)
Definition HostedZone.h:54
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
HostedZone & WithName(const char *value)
Definition HostedZone.h:74
AWS_ROUTE53_API HostedZone(const Aws::Utils::Xml::XmlNode &xmlNode)
HostedZone & WithResourceRecordSetCount(long long value)
Definition HostedZone.h:115
HostedZone & WithLinkedService(const LinkedService &value)
Definition HostedZone.h:128
bool CallerReferenceHasBeenSet() const
Definition HostedZone.h:83
HostedZone & WithConfig(const HostedZoneConfig &value)
Definition HostedZone.h:104
HostedZone & WithName(Aws::String &&value)
Definition HostedZone.h:73
const Aws::String & GetId() const
Definition HostedZone.h:48
void SetId(const char *value)
Definition HostedZone.h:52
const LinkedService & GetLinkedService() const
Definition HostedZone.h:124
void SetLinkedService(const LinkedService &value)
Definition HostedZone.h:126
void SetLinkedService(LinkedService &&value)
Definition HostedZone.h:127
HostedZone & WithConfig(HostedZoneConfig &&value)
Definition HostedZone.h:105
const Aws::String & GetName() const
Definition HostedZone.h:67
void SetConfig(HostedZoneConfig &&value)
Definition HostedZone.h:103
bool ResourceRecordSetCountHasBeenSet() const
Definition HostedZone.h:113
void SetCallerReference(const Aws::String &value)
Definition HostedZone.h:84
void SetName(const char *value)
Definition HostedZone.h:71
HostedZone & WithLinkedService(LinkedService &&value)
Definition HostedZone.h:129
HostedZone & WithCallerReference(const Aws::String &value)
Definition HostedZone.h:87
void SetConfig(const HostedZoneConfig &value)
Definition HostedZone.h:102
HostedZone & WithId(const char *value)
Definition HostedZone.h:55
HostedZone & WithCallerReference(Aws::String &&value)
Definition HostedZone.h:88
const HostedZoneConfig & GetConfig() const
Definition HostedZone.h:100
void SetName(Aws::String &&value)
Definition HostedZone.h:70
AWS_ROUTE53_API HostedZone & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetId(const Aws::String &value)
Definition HostedZone.h:50
void SetId(Aws::String &&value)
Definition HostedZone.h:51
HostedZone & WithName(const Aws::String &value)
Definition HostedZone.h:72
const Aws::String & GetCallerReference() const
Definition HostedZone.h:82
void SetName(const Aws::String &value)
Definition HostedZone.h:69
long long GetResourceRecordSetCount() const
Definition HostedZone.h:112
HostedZone & WithId(const Aws::String &value)
Definition HostedZone.h:53
void SetCallerReference(const char *value)
Definition HostedZone.h:86
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String