AWS SDK for C++

AWS SDK for C++ Version 1.11.783

Loading...
Searching...
No Matches
HostedZoneAssociationSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53globalresolver/Route53GlobalResolver_EXPORTS.h>
10#include <aws/route53globalresolver/model/HostedZoneAssociationStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Route53GlobalResolver {
22namespace Model {
23
31 public:
32 AWS_ROUTE53GLOBALRESOLVER_API HostedZoneAssociationSummary() = default;
33 AWS_ROUTE53GLOBALRESOLVER_API HostedZoneAssociationSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ROUTE53GLOBALRESOLVER_API HostedZoneAssociationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ROUTE53GLOBALRESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
61 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
62 template <typename ResourceArnT = Aws::String>
63 void SetResourceArn(ResourceArnT&& value) {
64 m_resourceArnHasBeenSet = true;
65 m_resourceArn = std::forward<ResourceArnT>(value);
66 }
67 template <typename ResourceArnT = Aws::String>
69 SetResourceArn(std::forward<ResourceArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
79 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
80 template <typename HostedZoneIdT = Aws::String>
81 void SetHostedZoneId(HostedZoneIdT&& value) {
82 m_hostedZoneIdHasBeenSet = true;
83 m_hostedZoneId = std::forward<HostedZoneIdT>(value);
84 }
85 template <typename HostedZoneIdT = Aws::String>
87 SetHostedZoneId(std::forward<HostedZoneIdT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetHostedZoneName() const { return m_hostedZoneName; }
97 inline bool HostedZoneNameHasBeenSet() const { return m_hostedZoneNameHasBeenSet; }
98 template <typename HostedZoneNameT = Aws::String>
99 void SetHostedZoneName(HostedZoneNameT&& value) {
100 m_hostedZoneNameHasBeenSet = true;
101 m_hostedZoneName = std::forward<HostedZoneNameT>(value);
102 }
103 template <typename HostedZoneNameT = Aws::String>
105 SetHostedZoneName(std::forward<HostedZoneNameT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetName() const { return m_name; }
115 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
116 template <typename NameT = Aws::String>
117 void SetName(NameT&& value) {
118 m_nameHasBeenSet = true;
119 m_name = std::forward<NameT>(value);
120 }
121 template <typename NameT = Aws::String>
123 SetName(std::forward<NameT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
133 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
134 template <typename CreatedAtT = Aws::Utils::DateTime>
135 void SetCreatedAt(CreatedAtT&& value) {
136 m_createdAtHasBeenSet = true;
137 m_createdAt = std::forward<CreatedAtT>(value);
138 }
139 template <typename CreatedAtT = Aws::Utils::DateTime>
141 SetCreatedAt(std::forward<CreatedAtT>(value));
142 return *this;
143 }
145
147
150 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
151 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
152 template <typename UpdatedAtT = Aws::Utils::DateTime>
153 void SetUpdatedAt(UpdatedAtT&& value) {
154 m_updatedAtHasBeenSet = true;
155 m_updatedAt = std::forward<UpdatedAtT>(value);
156 }
157 template <typename UpdatedAtT = Aws::Utils::DateTime>
159 SetUpdatedAt(std::forward<UpdatedAtT>(value));
160 return *this;
161 }
163
165
168 inline HostedZoneAssociationStatus GetStatus() const { return m_status; }
169 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
171 m_statusHasBeenSet = true;
172 m_status = value;
173 }
175 SetStatus(value);
176 return *this;
177 }
179 private:
180 Aws::String m_id;
181
182 Aws::String m_resourceArn;
183
184 Aws::String m_hostedZoneId;
185
186 Aws::String m_hostedZoneName;
187
188 Aws::String m_name;
189
190 Aws::Utils::DateTime m_createdAt{};
191
192 Aws::Utils::DateTime m_updatedAt{};
193
195 bool m_idHasBeenSet = false;
196 bool m_resourceArnHasBeenSet = false;
197 bool m_hostedZoneIdHasBeenSet = false;
198 bool m_hostedZoneNameHasBeenSet = false;
199 bool m_nameHasBeenSet = false;
200 bool m_createdAtHasBeenSet = false;
201 bool m_updatedAtHasBeenSet = false;
202 bool m_statusHasBeenSet = false;
203};
204
205} // namespace Model
206} // namespace Route53GlobalResolver
207} // namespace Aws
AWS_ROUTE53GLOBALRESOLVER_API HostedZoneAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53GLOBALRESOLVER_API HostedZoneAssociationSummary()=default
HostedZoneAssociationSummary & WithHostedZoneName(HostedZoneNameT &&value)
AWS_ROUTE53GLOBALRESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROUTE53GLOBALRESOLVER_API HostedZoneAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
HostedZoneAssociationSummary & WithUpdatedAt(UpdatedAtT &&value)
HostedZoneAssociationSummary & WithHostedZoneId(HostedZoneIdT &&value)
HostedZoneAssociationSummary & WithStatus(HostedZoneAssociationStatus value)
HostedZoneAssociationSummary & WithResourceArn(ResourceArnT &&value)
HostedZoneAssociationSummary & WithCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue