AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KxEnvironment.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/model/EnvironmentStatus.h>
10#include <aws/finspace/model/TgwStatus.h>
11#include <aws/finspace/model/DnsStatus.h>
12#include <aws/finspace/model/TransitGatewayConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/finspace/model/CustomDNSServer.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace finspace
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_FINSPACE_API KxEnvironment() = default;
42 AWS_FINSPACE_API KxEnvironment(Aws::Utils::Json::JsonView jsonValue);
44 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 KxEnvironment& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
67 template<typename EnvironmentIdT = Aws::String>
68 KxEnvironment& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
70
72
76 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
77 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
78 template<typename AwsAccountIdT = Aws::String>
79 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
80 template<typename AwsAccountIdT = Aws::String>
81 KxEnvironment& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
83
85
97 inline EnvironmentStatus GetStatus() const { return m_status; }
98 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 inline void SetStatus(EnvironmentStatus value) { m_statusHasBeenSet = true; m_status = value; }
100 inline KxEnvironment& WithStatus(EnvironmentStatus value) { SetStatus(value); return *this;}
102
104
107 inline TgwStatus GetTgwStatus() const { return m_tgwStatus; }
108 inline bool TgwStatusHasBeenSet() const { return m_tgwStatusHasBeenSet; }
109 inline void SetTgwStatus(TgwStatus value) { m_tgwStatusHasBeenSet = true; m_tgwStatus = value; }
110 inline KxEnvironment& WithTgwStatus(TgwStatus value) { SetTgwStatus(value); return *this;}
112
114
117 inline DnsStatus GetDnsStatus() const { return m_dnsStatus; }
118 inline bool DnsStatusHasBeenSet() const { return m_dnsStatusHasBeenSet; }
119 inline void SetDnsStatus(DnsStatus value) { m_dnsStatusHasBeenSet = true; m_dnsStatus = value; }
120 inline KxEnvironment& WithDnsStatus(DnsStatus value) { SetDnsStatus(value); return *this;}
122
124
127 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
128 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
129 template<typename ErrorMessageT = Aws::String>
130 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
131 template<typename ErrorMessageT = Aws::String>
132 KxEnvironment& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
134
136
139 inline const Aws::String& GetDescription() const { return m_description; }
140 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
141 template<typename DescriptionT = Aws::String>
142 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
143 template<typename DescriptionT = Aws::String>
144 KxEnvironment& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
146
148
151 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
152 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
153 template<typename EnvironmentArnT = Aws::String>
154 void SetEnvironmentArn(EnvironmentArnT&& value) { m_environmentArnHasBeenSet = true; m_environmentArn = std::forward<EnvironmentArnT>(value); }
155 template<typename EnvironmentArnT = Aws::String>
156 KxEnvironment& WithEnvironmentArn(EnvironmentArnT&& value) { SetEnvironmentArn(std::forward<EnvironmentArnT>(value)); return *this;}
158
160
163 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
164 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
165 template<typename KmsKeyIdT = Aws::String>
166 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
167 template<typename KmsKeyIdT = Aws::String>
168 KxEnvironment& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
170
172
175 inline const Aws::String& GetDedicatedServiceAccountId() const { return m_dedicatedServiceAccountId; }
176 inline bool DedicatedServiceAccountIdHasBeenSet() const { return m_dedicatedServiceAccountIdHasBeenSet; }
177 template<typename DedicatedServiceAccountIdT = Aws::String>
178 void SetDedicatedServiceAccountId(DedicatedServiceAccountIdT&& value) { m_dedicatedServiceAccountIdHasBeenSet = true; m_dedicatedServiceAccountId = std::forward<DedicatedServiceAccountIdT>(value); }
179 template<typename DedicatedServiceAccountIdT = Aws::String>
180 KxEnvironment& WithDedicatedServiceAccountId(DedicatedServiceAccountIdT&& value) { SetDedicatedServiceAccountId(std::forward<DedicatedServiceAccountIdT>(value)); return *this;}
182
184
188 inline const TransitGatewayConfiguration& GetTransitGatewayConfiguration() const { return m_transitGatewayConfiguration; }
189 inline bool TransitGatewayConfigurationHasBeenSet() const { return m_transitGatewayConfigurationHasBeenSet; }
190 template<typename TransitGatewayConfigurationT = TransitGatewayConfiguration>
191 void SetTransitGatewayConfiguration(TransitGatewayConfigurationT&& value) { m_transitGatewayConfigurationHasBeenSet = true; m_transitGatewayConfiguration = std::forward<TransitGatewayConfigurationT>(value); }
192 template<typename TransitGatewayConfigurationT = TransitGatewayConfiguration>
193 KxEnvironment& WithTransitGatewayConfiguration(TransitGatewayConfigurationT&& value) { SetTransitGatewayConfiguration(std::forward<TransitGatewayConfigurationT>(value)); return *this;}
195
197
201 inline const Aws::Vector<CustomDNSServer>& GetCustomDNSConfiguration() const { return m_customDNSConfiguration; }
202 inline bool CustomDNSConfigurationHasBeenSet() const { return m_customDNSConfigurationHasBeenSet; }
203 template<typename CustomDNSConfigurationT = Aws::Vector<CustomDNSServer>>
204 void SetCustomDNSConfiguration(CustomDNSConfigurationT&& value) { m_customDNSConfigurationHasBeenSet = true; m_customDNSConfiguration = std::forward<CustomDNSConfigurationT>(value); }
205 template<typename CustomDNSConfigurationT = Aws::Vector<CustomDNSServer>>
206 KxEnvironment& WithCustomDNSConfiguration(CustomDNSConfigurationT&& value) { SetCustomDNSConfiguration(std::forward<CustomDNSConfigurationT>(value)); return *this;}
207 template<typename CustomDNSConfigurationT = CustomDNSServer>
208 KxEnvironment& AddCustomDNSConfiguration(CustomDNSConfigurationT&& value) { m_customDNSConfigurationHasBeenSet = true; m_customDNSConfiguration.emplace_back(std::forward<CustomDNSConfigurationT>(value)); return *this; }
210
212
217 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
218 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
219 template<typename CreationTimestampT = Aws::Utils::DateTime>
220 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
221 template<typename CreationTimestampT = Aws::Utils::DateTime>
222 KxEnvironment& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
224
226
231 inline const Aws::Utils::DateTime& GetUpdateTimestamp() const { return m_updateTimestamp; }
232 inline bool UpdateTimestampHasBeenSet() const { return m_updateTimestampHasBeenSet; }
233 template<typename UpdateTimestampT = Aws::Utils::DateTime>
234 void SetUpdateTimestamp(UpdateTimestampT&& value) { m_updateTimestampHasBeenSet = true; m_updateTimestamp = std::forward<UpdateTimestampT>(value); }
235 template<typename UpdateTimestampT = Aws::Utils::DateTime>
236 KxEnvironment& WithUpdateTimestamp(UpdateTimestampT&& value) { SetUpdateTimestamp(std::forward<UpdateTimestampT>(value)); return *this;}
238
240
244 inline const Aws::Vector<Aws::String>& GetAvailabilityZoneIds() const { return m_availabilityZoneIds; }
245 inline bool AvailabilityZoneIdsHasBeenSet() const { return m_availabilityZoneIdsHasBeenSet; }
246 template<typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
247 void SetAvailabilityZoneIds(AvailabilityZoneIdsT&& value) { m_availabilityZoneIdsHasBeenSet = true; m_availabilityZoneIds = std::forward<AvailabilityZoneIdsT>(value); }
248 template<typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
249 KxEnvironment& WithAvailabilityZoneIds(AvailabilityZoneIdsT&& value) { SetAvailabilityZoneIds(std::forward<AvailabilityZoneIdsT>(value)); return *this;}
250 template<typename AvailabilityZoneIdsT = Aws::String>
251 KxEnvironment& AddAvailabilityZoneIds(AvailabilityZoneIdsT&& value) { m_availabilityZoneIdsHasBeenSet = true; m_availabilityZoneIds.emplace_back(std::forward<AvailabilityZoneIdsT>(value)); return *this; }
253
255
258 inline const Aws::String& GetCertificateAuthorityArn() const { return m_certificateAuthorityArn; }
259 inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
260 template<typename CertificateAuthorityArnT = Aws::String>
261 void SetCertificateAuthorityArn(CertificateAuthorityArnT&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::forward<CertificateAuthorityArnT>(value); }
262 template<typename CertificateAuthorityArnT = Aws::String>
263 KxEnvironment& WithCertificateAuthorityArn(CertificateAuthorityArnT&& value) { SetCertificateAuthorityArn(std::forward<CertificateAuthorityArnT>(value)); return *this;}
265 private:
266
267 Aws::String m_name;
268 bool m_nameHasBeenSet = false;
269
270 Aws::String m_environmentId;
271 bool m_environmentIdHasBeenSet = false;
272
273 Aws::String m_awsAccountId;
274 bool m_awsAccountIdHasBeenSet = false;
275
277 bool m_statusHasBeenSet = false;
278
279 TgwStatus m_tgwStatus{TgwStatus::NOT_SET};
280 bool m_tgwStatusHasBeenSet = false;
281
282 DnsStatus m_dnsStatus{DnsStatus::NOT_SET};
283 bool m_dnsStatusHasBeenSet = false;
284
285 Aws::String m_errorMessage;
286 bool m_errorMessageHasBeenSet = false;
287
288 Aws::String m_description;
289 bool m_descriptionHasBeenSet = false;
290
291 Aws::String m_environmentArn;
292 bool m_environmentArnHasBeenSet = false;
293
294 Aws::String m_kmsKeyId;
295 bool m_kmsKeyIdHasBeenSet = false;
296
297 Aws::String m_dedicatedServiceAccountId;
298 bool m_dedicatedServiceAccountIdHasBeenSet = false;
299
300 TransitGatewayConfiguration m_transitGatewayConfiguration;
301 bool m_transitGatewayConfigurationHasBeenSet = false;
302
303 Aws::Vector<CustomDNSServer> m_customDNSConfiguration;
304 bool m_customDNSConfigurationHasBeenSet = false;
305
306 Aws::Utils::DateTime m_creationTimestamp{};
307 bool m_creationTimestampHasBeenSet = false;
308
309 Aws::Utils::DateTime m_updateTimestamp{};
310 bool m_updateTimestampHasBeenSet = false;
311
312 Aws::Vector<Aws::String> m_availabilityZoneIds;
313 bool m_availabilityZoneIdsHasBeenSet = false;
314
315 Aws::String m_certificateAuthorityArn;
316 bool m_certificateAuthorityArnHasBeenSet = false;
317 };
318
319} // namespace Model
320} // namespace finspace
321} // 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