AWS SDK for C++

AWS SDK for C++ Version 1.11.783

Loading...
Searching...
No Matches
UpdateHostedZoneAssociationResult.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 UpdateHostedZoneAssociationResult() = default;
30 AWS_ROUTE53GLOBALRESOLVER_API UpdateHostedZoneAssociationResult& 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
54 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
55 template <typename ResourceArnT = Aws::String>
56 void SetResourceArn(ResourceArnT&& value) {
57 m_resourceArnHasBeenSet = true;
58 m_resourceArn = std::forward<ResourceArnT>(value);
59 }
60 template <typename ResourceArnT = Aws::String>
62 SetResourceArn(std::forward<ResourceArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
72 template <typename HostedZoneIdT = Aws::String>
73 void SetHostedZoneId(HostedZoneIdT&& value) {
74 m_hostedZoneIdHasBeenSet = true;
75 m_hostedZoneId = std::forward<HostedZoneIdT>(value);
76 }
77 template <typename HostedZoneIdT = Aws::String>
79 SetHostedZoneId(std::forward<HostedZoneIdT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetHostedZoneName() const { return m_hostedZoneName; }
89 template <typename HostedZoneNameT = Aws::String>
90 void SetHostedZoneName(HostedZoneNameT&& value) {
91 m_hostedZoneNameHasBeenSet = true;
92 m_hostedZoneName = std::forward<HostedZoneNameT>(value);
93 }
94 template <typename HostedZoneNameT = Aws::String>
96 SetHostedZoneName(std::forward<HostedZoneNameT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetName() const { return m_name; }
106 template <typename NameT = Aws::String>
107 void SetName(NameT&& value) {
108 m_nameHasBeenSet = true;
109 m_name = std::forward<NameT>(value);
110 }
111 template <typename NameT = Aws::String>
113 SetName(std::forward<NameT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
123 template <typename CreatedAtT = Aws::Utils::DateTime>
124 void SetCreatedAt(CreatedAtT&& value) {
125 m_createdAtHasBeenSet = true;
126 m_createdAt = std::forward<CreatedAtT>(value);
127 }
128 template <typename CreatedAtT = Aws::Utils::DateTime>
130 SetCreatedAt(std::forward<CreatedAtT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
140 template <typename UpdatedAtT = Aws::Utils::DateTime>
141 void SetUpdatedAt(UpdatedAtT&& value) {
142 m_updatedAtHasBeenSet = true;
143 m_updatedAt = std::forward<UpdatedAtT>(value);
144 }
145 template <typename UpdatedAtT = Aws::Utils::DateTime>
147 SetUpdatedAt(std::forward<UpdatedAtT>(value));
148 return *this;
149 }
151
153
156 inline HostedZoneAssociationStatus GetStatus() const { return m_status; }
158 m_statusHasBeenSet = true;
159 m_status = value;
160 }
162 SetStatus(value);
163 return *this;
164 }
166
168
169 inline const Aws::String& GetRequestId() const { return m_requestId; }
170 template <typename RequestIdT = Aws::String>
171 void SetRequestId(RequestIdT&& value) {
172 m_requestIdHasBeenSet = true;
173 m_requestId = std::forward<RequestIdT>(value);
174 }
175 template <typename RequestIdT = Aws::String>
177 SetRequestId(std::forward<RequestIdT>(value));
178 return *this;
179 }
181 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
182
183 private:
184 Aws::String m_id;
185
186 Aws::String m_resourceArn;
187
188 Aws::String m_hostedZoneId;
189
190 Aws::String m_hostedZoneName;
191
192 Aws::String m_name;
193
194 Aws::Utils::DateTime m_createdAt{};
195
196 Aws::Utils::DateTime m_updatedAt{};
197
199
200 Aws::String m_requestId;
201 Aws::Http::HttpResponseCode m_HttpResponseCode;
202 bool m_idHasBeenSet = false;
203 bool m_resourceArnHasBeenSet = false;
204 bool m_hostedZoneIdHasBeenSet = false;
205 bool m_hostedZoneNameHasBeenSet = false;
206 bool m_nameHasBeenSet = false;
207 bool m_createdAtHasBeenSet = false;
208 bool m_updatedAtHasBeenSet = false;
209 bool m_statusHasBeenSet = false;
210 bool m_requestIdHasBeenSet = false;
211};
212
213} // namespace Model
214} // namespace Route53GlobalResolver
215} // namespace Aws
UpdateHostedZoneAssociationResult & WithHostedZoneName(HostedZoneNameT &&value)
AWS_ROUTE53GLOBALRESOLVER_API UpdateHostedZoneAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ROUTE53GLOBALRESOLVER_API UpdateHostedZoneAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateHostedZoneAssociationResult & WithStatus(HostedZoneAssociationStatus value)
AWS_ROUTE53GLOBALRESOLVER_API UpdateHostedZoneAssociationResult()=default
UpdateHostedZoneAssociationResult & WithHostedZoneId(HostedZoneIdT &&value)
UpdateHostedZoneAssociationResult & WithResourceArn(ResourceArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue