AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
UpdateKxEnvironmentResult.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/finspace/Finspace_EXPORTS.h>
12#include <aws/finspace/model/CustomDNSServer.h>
13#include <aws/finspace/model/DnsStatus.h>
14#include <aws/finspace/model/EnvironmentStatus.h>
15#include <aws/finspace/model/TgwStatus.h>
16#include <aws/finspace/model/TransitGatewayConfiguration.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace finspace {
30namespace Model {
32 public:
33 AWS_FINSPACE_API UpdateKxEnvironmentResult() = default;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
59 template <typename EnvironmentIdT = Aws::String>
60 void SetEnvironmentId(EnvironmentIdT&& value) {
61 m_environmentIdHasBeenSet = true;
62 m_environmentId = std::forward<EnvironmentIdT>(value);
63 }
64 template <typename EnvironmentIdT = Aws::String>
66 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
77 template <typename AwsAccountIdT = Aws::String>
78 void SetAwsAccountId(AwsAccountIdT&& value) {
79 m_awsAccountIdHasBeenSet = true;
80 m_awsAccountId = std::forward<AwsAccountIdT>(value);
81 }
82 template <typename AwsAccountIdT = Aws::String>
84 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
85 return *this;
86 }
88
90
93 inline EnvironmentStatus GetStatus() const { return m_status; }
94 inline void SetStatus(EnvironmentStatus value) {
95 m_statusHasBeenSet = true;
96 m_status = value;
97 }
99 SetStatus(value);
100 return *this;
101 }
103
105
108 inline TgwStatus GetTgwStatus() const { return m_tgwStatus; }
109 inline void SetTgwStatus(TgwStatus value) {
110 m_tgwStatusHasBeenSet = true;
111 m_tgwStatus = value;
112 }
114 SetTgwStatus(value);
115 return *this;
116 }
118
120
123 inline DnsStatus GetDnsStatus() const { return m_dnsStatus; }
124 inline void SetDnsStatus(DnsStatus value) {
125 m_dnsStatusHasBeenSet = true;
126 m_dnsStatus = value;
127 }
129 SetDnsStatus(value);
130 return *this;
131 }
133
135
138 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
139 template <typename ErrorMessageT = Aws::String>
140 void SetErrorMessage(ErrorMessageT&& value) {
141 m_errorMessageHasBeenSet = true;
142 m_errorMessage = std::forward<ErrorMessageT>(value);
143 }
144 template <typename ErrorMessageT = Aws::String>
146 SetErrorMessage(std::forward<ErrorMessageT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::String& GetDescription() const { return m_description; }
156 template <typename DescriptionT = Aws::String>
157 void SetDescription(DescriptionT&& value) {
158 m_descriptionHasBeenSet = true;
159 m_description = std::forward<DescriptionT>(value);
160 }
161 template <typename DescriptionT = Aws::String>
163 SetDescription(std::forward<DescriptionT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
173 template <typename EnvironmentArnT = Aws::String>
174 void SetEnvironmentArn(EnvironmentArnT&& value) {
175 m_environmentArnHasBeenSet = true;
176 m_environmentArn = std::forward<EnvironmentArnT>(value);
177 }
178 template <typename EnvironmentArnT = Aws::String>
180 SetEnvironmentArn(std::forward<EnvironmentArnT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
190 template <typename KmsKeyIdT = Aws::String>
191 void SetKmsKeyId(KmsKeyIdT&& value) {
192 m_kmsKeyIdHasBeenSet = true;
193 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
194 }
195 template <typename KmsKeyIdT = Aws::String>
197 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
198 return *this;
199 }
201
203
206 inline const Aws::String& GetDedicatedServiceAccountId() const { return m_dedicatedServiceAccountId; }
207 template <typename DedicatedServiceAccountIdT = Aws::String>
208 void SetDedicatedServiceAccountId(DedicatedServiceAccountIdT&& value) {
209 m_dedicatedServiceAccountIdHasBeenSet = true;
210 m_dedicatedServiceAccountId = std::forward<DedicatedServiceAccountIdT>(value);
211 }
212 template <typename DedicatedServiceAccountIdT = Aws::String>
213 UpdateKxEnvironmentResult& WithDedicatedServiceAccountId(DedicatedServiceAccountIdT&& value) {
214 SetDedicatedServiceAccountId(std::forward<DedicatedServiceAccountIdT>(value));
215 return *this;
216 }
218
220
221 inline const TransitGatewayConfiguration& GetTransitGatewayConfiguration() const { return m_transitGatewayConfiguration; }
222 template <typename TransitGatewayConfigurationT = TransitGatewayConfiguration>
223 void SetTransitGatewayConfiguration(TransitGatewayConfigurationT&& value) {
224 m_transitGatewayConfigurationHasBeenSet = true;
225 m_transitGatewayConfiguration = std::forward<TransitGatewayConfigurationT>(value);
226 }
227 template <typename TransitGatewayConfigurationT = TransitGatewayConfiguration>
228 UpdateKxEnvironmentResult& WithTransitGatewayConfiguration(TransitGatewayConfigurationT&& value) {
229 SetTransitGatewayConfiguration(std::forward<TransitGatewayConfigurationT>(value));
230 return *this;
231 }
233
235
239 inline const Aws::Vector<CustomDNSServer>& GetCustomDNSConfiguration() const { return m_customDNSConfiguration; }
240 template <typename CustomDNSConfigurationT = Aws::Vector<CustomDNSServer>>
241 void SetCustomDNSConfiguration(CustomDNSConfigurationT&& value) {
242 m_customDNSConfigurationHasBeenSet = true;
243 m_customDNSConfiguration = std::forward<CustomDNSConfigurationT>(value);
244 }
245 template <typename CustomDNSConfigurationT = Aws::Vector<CustomDNSServer>>
246 UpdateKxEnvironmentResult& WithCustomDNSConfiguration(CustomDNSConfigurationT&& value) {
247 SetCustomDNSConfiguration(std::forward<CustomDNSConfigurationT>(value));
248 return *this;
249 }
250 template <typename CustomDNSConfigurationT = CustomDNSServer>
251 UpdateKxEnvironmentResult& AddCustomDNSConfiguration(CustomDNSConfigurationT&& value) {
252 m_customDNSConfigurationHasBeenSet = true;
253 m_customDNSConfiguration.emplace_back(std::forward<CustomDNSConfigurationT>(value));
254 return *this;
255 }
257
259
262 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
263 template <typename CreationTimestampT = Aws::Utils::DateTime>
264 void SetCreationTimestamp(CreationTimestampT&& value) {
265 m_creationTimestampHasBeenSet = true;
266 m_creationTimestamp = std::forward<CreationTimestampT>(value);
267 }
268 template <typename CreationTimestampT = Aws::Utils::DateTime>
270 SetCreationTimestamp(std::forward<CreationTimestampT>(value));
271 return *this;
272 }
274
276
279 inline const Aws::Utils::DateTime& GetUpdateTimestamp() const { return m_updateTimestamp; }
280 template <typename UpdateTimestampT = Aws::Utils::DateTime>
281 void SetUpdateTimestamp(UpdateTimestampT&& value) {
282 m_updateTimestampHasBeenSet = true;
283 m_updateTimestamp = std::forward<UpdateTimestampT>(value);
284 }
285 template <typename UpdateTimestampT = Aws::Utils::DateTime>
287 SetUpdateTimestamp(std::forward<UpdateTimestampT>(value));
288 return *this;
289 }
291
293
297 inline const Aws::Vector<Aws::String>& GetAvailabilityZoneIds() const { return m_availabilityZoneIds; }
298 template <typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
299 void SetAvailabilityZoneIds(AvailabilityZoneIdsT&& value) {
300 m_availabilityZoneIdsHasBeenSet = true;
301 m_availabilityZoneIds = std::forward<AvailabilityZoneIdsT>(value);
302 }
303 template <typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
304 UpdateKxEnvironmentResult& WithAvailabilityZoneIds(AvailabilityZoneIdsT&& value) {
305 SetAvailabilityZoneIds(std::forward<AvailabilityZoneIdsT>(value));
306 return *this;
307 }
308 template <typename AvailabilityZoneIdsT = Aws::String>
309 UpdateKxEnvironmentResult& AddAvailabilityZoneIds(AvailabilityZoneIdsT&& value) {
310 m_availabilityZoneIdsHasBeenSet = true;
311 m_availabilityZoneIds.emplace_back(std::forward<AvailabilityZoneIdsT>(value));
312 return *this;
313 }
315
317
318 inline const Aws::String& GetRequestId() const { return m_requestId; }
319 template <typename RequestIdT = Aws::String>
320 void SetRequestId(RequestIdT&& value) {
321 m_requestIdHasBeenSet = true;
322 m_requestId = std::forward<RequestIdT>(value);
323 }
324 template <typename RequestIdT = Aws::String>
326 SetRequestId(std::forward<RequestIdT>(value));
327 return *this;
328 }
330 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
331
332 private:
333 Aws::String m_name;
334
335 Aws::String m_environmentId;
336
337 Aws::String m_awsAccountId;
338
340
341 TgwStatus m_tgwStatus{TgwStatus::NOT_SET};
342
343 DnsStatus m_dnsStatus{DnsStatus::NOT_SET};
344
345 Aws::String m_errorMessage;
346
347 Aws::String m_description;
348
349 Aws::String m_environmentArn;
350
351 Aws::String m_kmsKeyId;
352
353 Aws::String m_dedicatedServiceAccountId;
354
355 TransitGatewayConfiguration m_transitGatewayConfiguration;
356
357 Aws::Vector<CustomDNSServer> m_customDNSConfiguration;
358
359 Aws::Utils::DateTime m_creationTimestamp{};
360
361 Aws::Utils::DateTime m_updateTimestamp{};
362
363 Aws::Vector<Aws::String> m_availabilityZoneIds;
364
365 Aws::String m_requestId;
366 Aws::Http::HttpResponseCode m_HttpResponseCode;
367 bool m_nameHasBeenSet = false;
368 bool m_environmentIdHasBeenSet = false;
369 bool m_awsAccountIdHasBeenSet = false;
370 bool m_statusHasBeenSet = false;
371 bool m_tgwStatusHasBeenSet = false;
372 bool m_dnsStatusHasBeenSet = false;
373 bool m_errorMessageHasBeenSet = false;
374 bool m_descriptionHasBeenSet = false;
375 bool m_environmentArnHasBeenSet = false;
376 bool m_kmsKeyIdHasBeenSet = false;
377 bool m_dedicatedServiceAccountIdHasBeenSet = false;
378 bool m_transitGatewayConfigurationHasBeenSet = false;
379 bool m_customDNSConfigurationHasBeenSet = false;
380 bool m_creationTimestampHasBeenSet = false;
381 bool m_updateTimestampHasBeenSet = false;
382 bool m_availabilityZoneIdsHasBeenSet = false;
383 bool m_requestIdHasBeenSet = false;
384};
385
386} // namespace Model
387} // namespace finspace
388} // namespace Aws
UpdateKxEnvironmentResult & AddCustomDNSConfiguration(CustomDNSConfigurationT &&value)
UpdateKxEnvironmentResult & WithUpdateTimestamp(UpdateTimestampT &&value)
UpdateKxEnvironmentResult & AddAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
const Aws::Vector< CustomDNSServer > & GetCustomDNSConfiguration() const
const TransitGatewayConfiguration & GetTransitGatewayConfiguration() const
UpdateKxEnvironmentResult & WithAwsAccountId(AwsAccountIdT &&value)
AWS_FINSPACE_API UpdateKxEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateKxEnvironmentResult & WithTransitGatewayConfiguration(TransitGatewayConfigurationT &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
UpdateKxEnvironmentResult & WithCreationTimestamp(CreationTimestampT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< Aws::String > & GetAvailabilityZoneIds() const
void SetTransitGatewayConfiguration(TransitGatewayConfigurationT &&value)
AWS_FINSPACE_API UpdateKxEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateKxEnvironmentResult & WithDedicatedServiceAccountId(DedicatedServiceAccountIdT &&value)
UpdateKxEnvironmentResult & WithDescription(DescriptionT &&value)
UpdateKxEnvironmentResult & WithEnvironmentArn(EnvironmentArnT &&value)
UpdateKxEnvironmentResult & WithAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
UpdateKxEnvironmentResult & WithName(NameT &&value)
void SetCustomDNSConfiguration(CustomDNSConfigurationT &&value)
UpdateKxEnvironmentResult & WithRequestId(RequestIdT &&value)
void SetAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
const Aws::Utils::DateTime & GetUpdateTimestamp() const
UpdateKxEnvironmentResult & WithEnvironmentId(EnvironmentIdT &&value)
void SetDedicatedServiceAccountId(DedicatedServiceAccountIdT &&value)
UpdateKxEnvironmentResult & WithCustomDNSConfiguration(CustomDNSConfigurationT &&value)
UpdateKxEnvironmentResult & WithErrorMessage(ErrorMessageT &&value)
UpdateKxEnvironmentResult & WithTgwStatus(TgwStatus value)
UpdateKxEnvironmentResult & WithDnsStatus(DnsStatus value)
AWS_FINSPACE_API UpdateKxEnvironmentResult()=default
UpdateKxEnvironmentResult & WithStatus(EnvironmentStatus value)
UpdateKxEnvironmentResult & WithKmsKeyId(KmsKeyIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue