AWS SDK for C++

AWS SDK for C++ Version 1.11.783

Loading...
Searching...
No Matches
GetHostedZoneAssociationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53globalresolver/Route53GlobalResolver_EXPORTS.h>
11#include <aws/route53globalresolver/model/HostedZoneAssociationStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Route53GlobalResolver {
25namespace Model {
27 public:
28 AWS_ROUTE53GLOBALRESOLVER_API GetHostedZoneAssociationResult() = default;
30 AWS_ROUTE53GLOBALRESOLVER_API GetHostedZoneAssociationResult& operator=(
32
34
37 inline const Aws::String& GetId() const { return m_id; }
38 template <typename IdT = Aws::String>
39 void SetId(IdT&& value) {
40 m_idHasBeenSet = true;
41 m_id = std::forward<IdT>(value);
42 }
43 template <typename IdT = Aws::String>
45 SetId(std::forward<IdT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
56 template <typename ResourceArnT = Aws::String>
57 void SetResourceArn(ResourceArnT&& value) {
58 m_resourceArnHasBeenSet = true;
59 m_resourceArn = std::forward<ResourceArnT>(value);
60 }
61 template <typename ResourceArnT = Aws::String>
63 SetResourceArn(std::forward<ResourceArnT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
73 template <typename HostedZoneIdT = Aws::String>
74 void SetHostedZoneId(HostedZoneIdT&& value) {
75 m_hostedZoneIdHasBeenSet = true;
76 m_hostedZoneId = std::forward<HostedZoneIdT>(value);
77 }
78 template <typename HostedZoneIdT = Aws::String>
80 SetHostedZoneId(std::forward<HostedZoneIdT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetHostedZoneName() const { return m_hostedZoneName; }
90 template <typename HostedZoneNameT = Aws::String>
91 void SetHostedZoneName(HostedZoneNameT&& value) {
92 m_hostedZoneNameHasBeenSet = true;
93 m_hostedZoneName = std::forward<HostedZoneNameT>(value);
94 }
95 template <typename HostedZoneNameT = Aws::String>
97 SetHostedZoneName(std::forward<HostedZoneNameT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetName() const { return m_name; }
107 template <typename NameT = Aws::String>
108 void SetName(NameT&& value) {
109 m_nameHasBeenSet = true;
110 m_name = std::forward<NameT>(value);
111 }
112 template <typename NameT = Aws::String>
114 SetName(std::forward<NameT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
124 template <typename CreatedAtT = Aws::Utils::DateTime>
125 void SetCreatedAt(CreatedAtT&& value) {
126 m_createdAtHasBeenSet = true;
127 m_createdAt = std::forward<CreatedAtT>(value);
128 }
129 template <typename CreatedAtT = Aws::Utils::DateTime>
131 SetCreatedAt(std::forward<CreatedAtT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
141 template <typename UpdatedAtT = Aws::Utils::DateTime>
142 void SetUpdatedAt(UpdatedAtT&& value) {
143 m_updatedAtHasBeenSet = true;
144 m_updatedAt = std::forward<UpdatedAtT>(value);
145 }
146 template <typename UpdatedAtT = Aws::Utils::DateTime>
148 SetUpdatedAt(std::forward<UpdatedAtT>(value));
149 return *this;
150 }
152
154
157 inline HostedZoneAssociationStatus GetStatus() const { return m_status; }
159 m_statusHasBeenSet = true;
160 m_status = value;
161 }
163 SetStatus(value);
164 return *this;
165 }
167
169
170 inline const Aws::String& GetRequestId() const { return m_requestId; }
171 template <typename RequestIdT = Aws::String>
172 void SetRequestId(RequestIdT&& value) {
173 m_requestIdHasBeenSet = true;
174 m_requestId = std::forward<RequestIdT>(value);
175 }
176 template <typename RequestIdT = Aws::String>
178 SetRequestId(std::forward<RequestIdT>(value));
179 return *this;
180 }
182 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
183
184 private:
185 Aws::String m_id;
186
187 Aws::String m_resourceArn;
188
189 Aws::String m_hostedZoneId;
190
191 Aws::String m_hostedZoneName;
192
193 Aws::String m_name;
194
195 Aws::Utils::DateTime m_createdAt{};
196
197 Aws::Utils::DateTime m_updatedAt{};
198
200
201 Aws::String m_requestId;
202 Aws::Http::HttpResponseCode m_HttpResponseCode;
203 bool m_idHasBeenSet = false;
204 bool m_resourceArnHasBeenSet = false;
205 bool m_hostedZoneIdHasBeenSet = false;
206 bool m_hostedZoneNameHasBeenSet = false;
207 bool m_nameHasBeenSet = false;
208 bool m_createdAtHasBeenSet = false;
209 bool m_updatedAtHasBeenSet = false;
210 bool m_statusHasBeenSet = false;
211 bool m_requestIdHasBeenSet = false;
212};
213
214} // namespace Model
215} // namespace Route53GlobalResolver
216} // namespace Aws
GetHostedZoneAssociationResult & WithResourceArn(ResourceArnT &&value)
GetHostedZoneAssociationResult & WithHostedZoneName(HostedZoneNameT &&value)
AWS_ROUTE53GLOBALRESOLVER_API GetHostedZoneAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ROUTE53GLOBALRESOLVER_API GetHostedZoneAssociationResult()=default
GetHostedZoneAssociationResult & WithHostedZoneId(HostedZoneIdT &&value)
GetHostedZoneAssociationResult & WithStatus(HostedZoneAssociationStatus value)
AWS_ROUTE53GLOBALRESOLVER_API GetHostedZoneAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue