AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
KxEnvironment.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 {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace finspace {
27namespace Model {
28
35 public:
36 AWS_FINSPACE_API KxEnvironment() = default;
37 AWS_FINSPACE_API KxEnvironment(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template <typename NameT = Aws::String>
48 void SetName(NameT&& value) {
49 m_nameHasBeenSet = true;
50 m_name = std::forward<NameT>(value);
51 }
52 template <typename NameT = Aws::String>
53 KxEnvironment& WithName(NameT&& value) {
54 SetName(std::forward<NameT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
64 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
65 template <typename EnvironmentIdT = Aws::String>
66 void SetEnvironmentId(EnvironmentIdT&& value) {
67 m_environmentIdHasBeenSet = true;
68 m_environmentId = std::forward<EnvironmentIdT>(value);
69 }
70 template <typename EnvironmentIdT = Aws::String>
71 KxEnvironment& WithEnvironmentId(EnvironmentIdT&& value) {
72 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
73 return *this;
74 }
76
78
82 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
83 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
84 template <typename AwsAccountIdT = Aws::String>
85 void SetAwsAccountId(AwsAccountIdT&& value) {
86 m_awsAccountIdHasBeenSet = true;
87 m_awsAccountId = std::forward<AwsAccountIdT>(value);
88 }
89 template <typename AwsAccountIdT = Aws::String>
90 KxEnvironment& WithAwsAccountId(AwsAccountIdT&& value) {
91 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
92 return *this;
93 }
95
97
109 inline EnvironmentStatus GetStatus() const { return m_status; }
110 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
111 inline void SetStatus(EnvironmentStatus value) {
112 m_statusHasBeenSet = true;
113 m_status = value;
114 }
116 SetStatus(value);
117 return *this;
118 }
120
122
125 inline TgwStatus GetTgwStatus() const { return m_tgwStatus; }
126 inline bool TgwStatusHasBeenSet() const { return m_tgwStatusHasBeenSet; }
127 inline void SetTgwStatus(TgwStatus value) {
128 m_tgwStatusHasBeenSet = true;
129 m_tgwStatus = value;
130 }
132 SetTgwStatus(value);
133 return *this;
134 }
136
138
141 inline DnsStatus GetDnsStatus() const { return m_dnsStatus; }
142 inline bool DnsStatusHasBeenSet() const { return m_dnsStatusHasBeenSet; }
143 inline void SetDnsStatus(DnsStatus value) {
144 m_dnsStatusHasBeenSet = true;
145 m_dnsStatus = value;
146 }
148 SetDnsStatus(value);
149 return *this;
150 }
152
154
157 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
158 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
159 template <typename ErrorMessageT = Aws::String>
160 void SetErrorMessage(ErrorMessageT&& value) {
161 m_errorMessageHasBeenSet = true;
162 m_errorMessage = std::forward<ErrorMessageT>(value);
163 }
164 template <typename ErrorMessageT = Aws::String>
165 KxEnvironment& WithErrorMessage(ErrorMessageT&& value) {
166 SetErrorMessage(std::forward<ErrorMessageT>(value));
167 return *this;
168 }
170
172
175 inline const Aws::String& GetDescription() const { return m_description; }
176 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
177 template <typename DescriptionT = Aws::String>
178 void SetDescription(DescriptionT&& value) {
179 m_descriptionHasBeenSet = true;
180 m_description = std::forward<DescriptionT>(value);
181 }
182 template <typename DescriptionT = Aws::String>
183 KxEnvironment& WithDescription(DescriptionT&& value) {
184 SetDescription(std::forward<DescriptionT>(value));
185 return *this;
186 }
188
190
193 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
194 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
195 template <typename EnvironmentArnT = Aws::String>
196 void SetEnvironmentArn(EnvironmentArnT&& value) {
197 m_environmentArnHasBeenSet = true;
198 m_environmentArn = std::forward<EnvironmentArnT>(value);
199 }
200 template <typename EnvironmentArnT = Aws::String>
201 KxEnvironment& WithEnvironmentArn(EnvironmentArnT&& value) {
202 SetEnvironmentArn(std::forward<EnvironmentArnT>(value));
203 return *this;
204 }
206
208
211 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
212 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
213 template <typename KmsKeyIdT = Aws::String>
214 void SetKmsKeyId(KmsKeyIdT&& value) {
215 m_kmsKeyIdHasBeenSet = true;
216 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
217 }
218 template <typename KmsKeyIdT = Aws::String>
219 KxEnvironment& WithKmsKeyId(KmsKeyIdT&& value) {
220 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
221 return *this;
222 }
224
226
229 inline const Aws::String& GetDedicatedServiceAccountId() const { return m_dedicatedServiceAccountId; }
230 inline bool DedicatedServiceAccountIdHasBeenSet() const { return m_dedicatedServiceAccountIdHasBeenSet; }
231 template <typename DedicatedServiceAccountIdT = Aws::String>
232 void SetDedicatedServiceAccountId(DedicatedServiceAccountIdT&& value) {
233 m_dedicatedServiceAccountIdHasBeenSet = true;
234 m_dedicatedServiceAccountId = std::forward<DedicatedServiceAccountIdT>(value);
235 }
236 template <typename DedicatedServiceAccountIdT = Aws::String>
237 KxEnvironment& WithDedicatedServiceAccountId(DedicatedServiceAccountIdT&& value) {
238 SetDedicatedServiceAccountId(std::forward<DedicatedServiceAccountIdT>(value));
239 return *this;
240 }
242
244
248 inline const TransitGatewayConfiguration& GetTransitGatewayConfiguration() const { return m_transitGatewayConfiguration; }
249 inline bool TransitGatewayConfigurationHasBeenSet() const { return m_transitGatewayConfigurationHasBeenSet; }
250 template <typename TransitGatewayConfigurationT = TransitGatewayConfiguration>
251 void SetTransitGatewayConfiguration(TransitGatewayConfigurationT&& value) {
252 m_transitGatewayConfigurationHasBeenSet = true;
253 m_transitGatewayConfiguration = std::forward<TransitGatewayConfigurationT>(value);
254 }
255 template <typename TransitGatewayConfigurationT = TransitGatewayConfiguration>
256 KxEnvironment& WithTransitGatewayConfiguration(TransitGatewayConfigurationT&& value) {
257 SetTransitGatewayConfiguration(std::forward<TransitGatewayConfigurationT>(value));
258 return *this;
259 }
261
263
267 inline const Aws::Vector<CustomDNSServer>& GetCustomDNSConfiguration() const { return m_customDNSConfiguration; }
268 inline bool CustomDNSConfigurationHasBeenSet() const { return m_customDNSConfigurationHasBeenSet; }
269 template <typename CustomDNSConfigurationT = Aws::Vector<CustomDNSServer>>
270 void SetCustomDNSConfiguration(CustomDNSConfigurationT&& value) {
271 m_customDNSConfigurationHasBeenSet = true;
272 m_customDNSConfiguration = std::forward<CustomDNSConfigurationT>(value);
273 }
274 template <typename CustomDNSConfigurationT = Aws::Vector<CustomDNSServer>>
275 KxEnvironment& WithCustomDNSConfiguration(CustomDNSConfigurationT&& value) {
276 SetCustomDNSConfiguration(std::forward<CustomDNSConfigurationT>(value));
277 return *this;
278 }
279 template <typename CustomDNSConfigurationT = CustomDNSServer>
280 KxEnvironment& AddCustomDNSConfiguration(CustomDNSConfigurationT&& value) {
281 m_customDNSConfigurationHasBeenSet = true;
282 m_customDNSConfiguration.emplace_back(std::forward<CustomDNSConfigurationT>(value));
283 return *this;
284 }
286
288
293 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
294 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
295 template <typename CreationTimestampT = Aws::Utils::DateTime>
296 void SetCreationTimestamp(CreationTimestampT&& value) {
297 m_creationTimestampHasBeenSet = true;
298 m_creationTimestamp = std::forward<CreationTimestampT>(value);
299 }
300 template <typename CreationTimestampT = Aws::Utils::DateTime>
301 KxEnvironment& WithCreationTimestamp(CreationTimestampT&& value) {
302 SetCreationTimestamp(std::forward<CreationTimestampT>(value));
303 return *this;
304 }
306
308
313 inline const Aws::Utils::DateTime& GetUpdateTimestamp() const { return m_updateTimestamp; }
314 inline bool UpdateTimestampHasBeenSet() const { return m_updateTimestampHasBeenSet; }
315 template <typename UpdateTimestampT = Aws::Utils::DateTime>
316 void SetUpdateTimestamp(UpdateTimestampT&& value) {
317 m_updateTimestampHasBeenSet = true;
318 m_updateTimestamp = std::forward<UpdateTimestampT>(value);
319 }
320 template <typename UpdateTimestampT = Aws::Utils::DateTime>
321 KxEnvironment& WithUpdateTimestamp(UpdateTimestampT&& value) {
322 SetUpdateTimestamp(std::forward<UpdateTimestampT>(value));
323 return *this;
324 }
326
328
332 inline const Aws::Vector<Aws::String>& GetAvailabilityZoneIds() const { return m_availabilityZoneIds; }
333 inline bool AvailabilityZoneIdsHasBeenSet() const { return m_availabilityZoneIdsHasBeenSet; }
334 template <typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
335 void SetAvailabilityZoneIds(AvailabilityZoneIdsT&& value) {
336 m_availabilityZoneIdsHasBeenSet = true;
337 m_availabilityZoneIds = std::forward<AvailabilityZoneIdsT>(value);
338 }
339 template <typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
340 KxEnvironment& WithAvailabilityZoneIds(AvailabilityZoneIdsT&& value) {
341 SetAvailabilityZoneIds(std::forward<AvailabilityZoneIdsT>(value));
342 return *this;
343 }
344 template <typename AvailabilityZoneIdsT = Aws::String>
345 KxEnvironment& AddAvailabilityZoneIds(AvailabilityZoneIdsT&& value) {
346 m_availabilityZoneIdsHasBeenSet = true;
347 m_availabilityZoneIds.emplace_back(std::forward<AvailabilityZoneIdsT>(value));
348 return *this;
349 }
351
353
356 inline const Aws::String& GetCertificateAuthorityArn() const { return m_certificateAuthorityArn; }
357 inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
358 template <typename CertificateAuthorityArnT = Aws::String>
359 void SetCertificateAuthorityArn(CertificateAuthorityArnT&& value) {
360 m_certificateAuthorityArnHasBeenSet = true;
361 m_certificateAuthorityArn = std::forward<CertificateAuthorityArnT>(value);
362 }
363 template <typename CertificateAuthorityArnT = Aws::String>
364 KxEnvironment& WithCertificateAuthorityArn(CertificateAuthorityArnT&& value) {
365 SetCertificateAuthorityArn(std::forward<CertificateAuthorityArnT>(value));
366 return *this;
367 }
369 private:
370 Aws::String m_name;
371
372 Aws::String m_environmentId;
373
374 Aws::String m_awsAccountId;
375
377
378 TgwStatus m_tgwStatus{TgwStatus::NOT_SET};
379
380 DnsStatus m_dnsStatus{DnsStatus::NOT_SET};
381
382 Aws::String m_errorMessage;
383
384 Aws::String m_description;
385
386 Aws::String m_environmentArn;
387
388 Aws::String m_kmsKeyId;
389
390 Aws::String m_dedicatedServiceAccountId;
391
392 TransitGatewayConfiguration m_transitGatewayConfiguration;
393
394 Aws::Vector<CustomDNSServer> m_customDNSConfiguration;
395
396 Aws::Utils::DateTime m_creationTimestamp{};
397
398 Aws::Utils::DateTime m_updateTimestamp{};
399
400 Aws::Vector<Aws::String> m_availabilityZoneIds;
401
402 Aws::String m_certificateAuthorityArn;
403 bool m_nameHasBeenSet = false;
404 bool m_environmentIdHasBeenSet = false;
405 bool m_awsAccountIdHasBeenSet = false;
406 bool m_statusHasBeenSet = false;
407 bool m_tgwStatusHasBeenSet = false;
408 bool m_dnsStatusHasBeenSet = false;
409 bool m_errorMessageHasBeenSet = false;
410 bool m_descriptionHasBeenSet = false;
411 bool m_environmentArnHasBeenSet = false;
412 bool m_kmsKeyIdHasBeenSet = false;
413 bool m_dedicatedServiceAccountIdHasBeenSet = false;
414 bool m_transitGatewayConfigurationHasBeenSet = false;
415 bool m_customDNSConfigurationHasBeenSet = false;
416 bool m_creationTimestampHasBeenSet = false;
417 bool m_updateTimestampHasBeenSet = false;
418 bool m_availabilityZoneIdsHasBeenSet = false;
419 bool m_certificateAuthorityArnHasBeenSet = false;
420};
421
422} // namespace Model
423} // namespace finspace
424} // namespace Aws
const Aws::String & GetKmsKeyId() const
KxEnvironment & WithEnvironmentArn(EnvironmentArnT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetErrorMessage() const
void SetCustomDNSConfiguration(CustomDNSConfigurationT &&value)
void SetTransitGatewayConfiguration(TransitGatewayConfigurationT &&value)
const Aws::String & GetDedicatedServiceAccountId() const
const Aws::String & GetAwsAccountId() const
const Aws::String & GetDescription() const
AWS_FINSPACE_API KxEnvironment(Aws::Utils::Json::JsonView jsonValue)
KxEnvironment & AddAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
KxEnvironment & WithAwsAccountId(AwsAccountIdT &&value)
const Aws::String & GetName() const
void SetStatus(EnvironmentStatus value)
KxEnvironment & WithStatus(EnvironmentStatus value)
KxEnvironment & WithTransitGatewayConfiguration(TransitGatewayConfigurationT &&value)
void SetDedicatedServiceAccountId(DedicatedServiceAccountIdT &&value)
const Aws::String & GetEnvironmentId() const
KxEnvironment & WithDnsStatus(DnsStatus value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
KxEnvironment & WithCreationTimestamp(CreationTimestampT &&value)
KxEnvironment & WithDescription(DescriptionT &&value)
KxEnvironment & WithKmsKeyId(KmsKeyIdT &&value)
void SetAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
KxEnvironment & WithTgwStatus(TgwStatus value)
KxEnvironment & WithName(NameT &&value)
void SetErrorMessage(ErrorMessageT &&value)
KxEnvironment & WithDedicatedServiceAccountId(DedicatedServiceAccountIdT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
AWS_FINSPACE_API KxEnvironment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCertificateAuthorityArn(CertificateAuthorityArnT &&value)
void SetCreationTimestamp(CreationTimestampT &&value)
KxEnvironment & AddCustomDNSConfiguration(CustomDNSConfigurationT &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZoneIds() const
KxEnvironment & WithEnvironmentId(EnvironmentIdT &&value)
KxEnvironment & WithErrorMessage(ErrorMessageT &&value)
const Aws::String & GetCertificateAuthorityArn() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetEnvironmentArn() const
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentStatus GetStatus() const
const Aws::Vector< CustomDNSServer > & GetCustomDNSConfiguration() const
void SetUpdateTimestamp(UpdateTimestampT &&value)
const TransitGatewayConfiguration & GetTransitGatewayConfiguration() const
void SetAwsAccountId(AwsAccountIdT &&value)
void SetEnvironmentArn(EnvironmentArnT &&value)
AWS_FINSPACE_API KxEnvironment()=default
KxEnvironment & WithUpdateTimestamp(UpdateTimestampT &&value)
const Aws::Utils::DateTime & GetUpdateTimestamp() const
KxEnvironment & WithCertificateAuthorityArn(CertificateAuthorityArnT &&value)
KxEnvironment & WithAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
KxEnvironment & WithCustomDNSConfiguration(CustomDNSConfigurationT &&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