AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateKxEnvironmentResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/finspace/Finspace_EXPORTS.h>
11#include <aws/finspace/model/CustomDNSServer.h>
12#include <aws/finspace/model/DnsStatus.h>
13#include <aws/finspace/model/EnvironmentStatus.h>
14#include <aws/finspace/model/TgwStatus.h>
15#include <aws/finspace/model/TransitGatewayConfiguration.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace finspace {
29namespace Model {
31 public:
32 AWS_FINSPACE_API UpdateKxEnvironmentResult() = default;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
58 template <typename EnvironmentIdT = Aws::String>
59 void SetEnvironmentId(EnvironmentIdT&& value) {
60 m_environmentIdHasBeenSet = true;
61 m_environmentId = std::forward<EnvironmentIdT>(value);
62 }
63 template <typename EnvironmentIdT = Aws::String>
65 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
76 template <typename AwsAccountIdT = Aws::String>
77 void SetAwsAccountId(AwsAccountIdT&& value) {
78 m_awsAccountIdHasBeenSet = true;
79 m_awsAccountId = std::forward<AwsAccountIdT>(value);
80 }
81 template <typename AwsAccountIdT = Aws::String>
83 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
84 return *this;
85 }
87
89
92 inline EnvironmentStatus GetStatus() const { return m_status; }
93 inline void SetStatus(EnvironmentStatus value) {
94 m_statusHasBeenSet = true;
95 m_status = value;
96 }
98 SetStatus(value);
99 return *this;
100 }
102
104
107 inline TgwStatus GetTgwStatus() const { return m_tgwStatus; }
108 inline void SetTgwStatus(TgwStatus value) {
109 m_tgwStatusHasBeenSet = true;
110 m_tgwStatus = value;
111 }
113 SetTgwStatus(value);
114 return *this;
115 }
117
119
122 inline DnsStatus GetDnsStatus() const { return m_dnsStatus; }
123 inline void SetDnsStatus(DnsStatus value) {
124 m_dnsStatusHasBeenSet = true;
125 m_dnsStatus = value;
126 }
128 SetDnsStatus(value);
129 return *this;
130 }
132
134
137 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
138 template <typename ErrorMessageT = Aws::String>
139 void SetErrorMessage(ErrorMessageT&& value) {
140 m_errorMessageHasBeenSet = true;
141 m_errorMessage = std::forward<ErrorMessageT>(value);
142 }
143 template <typename ErrorMessageT = Aws::String>
145 SetErrorMessage(std::forward<ErrorMessageT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::String& GetDescription() const { return m_description; }
155 template <typename DescriptionT = Aws::String>
156 void SetDescription(DescriptionT&& value) {
157 m_descriptionHasBeenSet = true;
158 m_description = std::forward<DescriptionT>(value);
159 }
160 template <typename DescriptionT = Aws::String>
162 SetDescription(std::forward<DescriptionT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
172 template <typename EnvironmentArnT = Aws::String>
173 void SetEnvironmentArn(EnvironmentArnT&& value) {
174 m_environmentArnHasBeenSet = true;
175 m_environmentArn = std::forward<EnvironmentArnT>(value);
176 }
177 template <typename EnvironmentArnT = Aws::String>
179 SetEnvironmentArn(std::forward<EnvironmentArnT>(value));
180 return *this;
181 }
183
185
188 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
189 template <typename KmsKeyIdT = Aws::String>
190 void SetKmsKeyId(KmsKeyIdT&& value) {
191 m_kmsKeyIdHasBeenSet = true;
192 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
193 }
194 template <typename KmsKeyIdT = Aws::String>
196 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
197 return *this;
198 }
200
202
205 inline const Aws::String& GetDedicatedServiceAccountId() const { return m_dedicatedServiceAccountId; }
206 template <typename DedicatedServiceAccountIdT = Aws::String>
207 void SetDedicatedServiceAccountId(DedicatedServiceAccountIdT&& value) {
208 m_dedicatedServiceAccountIdHasBeenSet = true;
209 m_dedicatedServiceAccountId = std::forward<DedicatedServiceAccountIdT>(value);
210 }
211 template <typename DedicatedServiceAccountIdT = Aws::String>
212 UpdateKxEnvironmentResult& WithDedicatedServiceAccountId(DedicatedServiceAccountIdT&& value) {
213 SetDedicatedServiceAccountId(std::forward<DedicatedServiceAccountIdT>(value));
214 return *this;
215 }
217
219
220 inline const TransitGatewayConfiguration& GetTransitGatewayConfiguration() const { return m_transitGatewayConfiguration; }
221 template <typename TransitGatewayConfigurationT = TransitGatewayConfiguration>
222 void SetTransitGatewayConfiguration(TransitGatewayConfigurationT&& value) {
223 m_transitGatewayConfigurationHasBeenSet = true;
224 m_transitGatewayConfiguration = std::forward<TransitGatewayConfigurationT>(value);
225 }
226 template <typename TransitGatewayConfigurationT = TransitGatewayConfiguration>
227 UpdateKxEnvironmentResult& WithTransitGatewayConfiguration(TransitGatewayConfigurationT&& value) {
228 SetTransitGatewayConfiguration(std::forward<TransitGatewayConfigurationT>(value));
229 return *this;
230 }
232
234
238 inline const Aws::Vector<CustomDNSServer>& GetCustomDNSConfiguration() const { return m_customDNSConfiguration; }
239 template <typename CustomDNSConfigurationT = Aws::Vector<CustomDNSServer>>
240 void SetCustomDNSConfiguration(CustomDNSConfigurationT&& value) {
241 m_customDNSConfigurationHasBeenSet = true;
242 m_customDNSConfiguration = std::forward<CustomDNSConfigurationT>(value);
243 }
244 template <typename CustomDNSConfigurationT = Aws::Vector<CustomDNSServer>>
245 UpdateKxEnvironmentResult& WithCustomDNSConfiguration(CustomDNSConfigurationT&& value) {
246 SetCustomDNSConfiguration(std::forward<CustomDNSConfigurationT>(value));
247 return *this;
248 }
249 template <typename CustomDNSConfigurationT = CustomDNSServer>
250 UpdateKxEnvironmentResult& AddCustomDNSConfiguration(CustomDNSConfigurationT&& value) {
251 m_customDNSConfigurationHasBeenSet = true;
252 m_customDNSConfiguration.emplace_back(std::forward<CustomDNSConfigurationT>(value));
253 return *this;
254 }
256
258
261 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
262 template <typename CreationTimestampT = Aws::Utils::DateTime>
263 void SetCreationTimestamp(CreationTimestampT&& value) {
264 m_creationTimestampHasBeenSet = true;
265 m_creationTimestamp = std::forward<CreationTimestampT>(value);
266 }
267 template <typename CreationTimestampT = Aws::Utils::DateTime>
269 SetCreationTimestamp(std::forward<CreationTimestampT>(value));
270 return *this;
271 }
273
275
278 inline const Aws::Utils::DateTime& GetUpdateTimestamp() const { return m_updateTimestamp; }
279 template <typename UpdateTimestampT = Aws::Utils::DateTime>
280 void SetUpdateTimestamp(UpdateTimestampT&& value) {
281 m_updateTimestampHasBeenSet = true;
282 m_updateTimestamp = std::forward<UpdateTimestampT>(value);
283 }
284 template <typename UpdateTimestampT = Aws::Utils::DateTime>
286 SetUpdateTimestamp(std::forward<UpdateTimestampT>(value));
287 return *this;
288 }
290
292
296 inline const Aws::Vector<Aws::String>& GetAvailabilityZoneIds() const { return m_availabilityZoneIds; }
297 template <typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
298 void SetAvailabilityZoneIds(AvailabilityZoneIdsT&& value) {
299 m_availabilityZoneIdsHasBeenSet = true;
300 m_availabilityZoneIds = std::forward<AvailabilityZoneIdsT>(value);
301 }
302 template <typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
303 UpdateKxEnvironmentResult& WithAvailabilityZoneIds(AvailabilityZoneIdsT&& value) {
304 SetAvailabilityZoneIds(std::forward<AvailabilityZoneIdsT>(value));
305 return *this;
306 }
307 template <typename AvailabilityZoneIdsT = Aws::String>
308 UpdateKxEnvironmentResult& AddAvailabilityZoneIds(AvailabilityZoneIdsT&& value) {
309 m_availabilityZoneIdsHasBeenSet = true;
310 m_availabilityZoneIds.emplace_back(std::forward<AvailabilityZoneIdsT>(value));
311 return *this;
312 }
314
316
317 inline const Aws::String& GetRequestId() const { return m_requestId; }
318 template <typename RequestIdT = Aws::String>
319 void SetRequestId(RequestIdT&& value) {
320 m_requestIdHasBeenSet = true;
321 m_requestId = std::forward<RequestIdT>(value);
322 }
323 template <typename RequestIdT = Aws::String>
325 SetRequestId(std::forward<RequestIdT>(value));
326 return *this;
327 }
329 private:
330 Aws::String m_name;
331
332 Aws::String m_environmentId;
333
334 Aws::String m_awsAccountId;
335
337
338 TgwStatus m_tgwStatus{TgwStatus::NOT_SET};
339
340 DnsStatus m_dnsStatus{DnsStatus::NOT_SET};
341
342 Aws::String m_errorMessage;
343
344 Aws::String m_description;
345
346 Aws::String m_environmentArn;
347
348 Aws::String m_kmsKeyId;
349
350 Aws::String m_dedicatedServiceAccountId;
351
352 TransitGatewayConfiguration m_transitGatewayConfiguration;
353
354 Aws::Vector<CustomDNSServer> m_customDNSConfiguration;
355
356 Aws::Utils::DateTime m_creationTimestamp{};
357
358 Aws::Utils::DateTime m_updateTimestamp{};
359
360 Aws::Vector<Aws::String> m_availabilityZoneIds;
361
362 Aws::String m_requestId;
363 bool m_nameHasBeenSet = false;
364 bool m_environmentIdHasBeenSet = false;
365 bool m_awsAccountIdHasBeenSet = false;
366 bool m_statusHasBeenSet = false;
367 bool m_tgwStatusHasBeenSet = false;
368 bool m_dnsStatusHasBeenSet = false;
369 bool m_errorMessageHasBeenSet = false;
370 bool m_descriptionHasBeenSet = false;
371 bool m_environmentArnHasBeenSet = false;
372 bool m_kmsKeyIdHasBeenSet = false;
373 bool m_dedicatedServiceAccountIdHasBeenSet = false;
374 bool m_transitGatewayConfigurationHasBeenSet = false;
375 bool m_customDNSConfigurationHasBeenSet = false;
376 bool m_creationTimestampHasBeenSet = false;
377 bool m_updateTimestampHasBeenSet = false;
378 bool m_availabilityZoneIdsHasBeenSet = false;
379 bool m_requestIdHasBeenSet = false;
380};
381
382} // namespace Model
383} // namespace finspace
384} // 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)
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