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>
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>
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>
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>
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>
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>
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>
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>
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>
190 template<
typename TransitGatewayConfigurationT = TransitGatewayConfiguration>
191 void SetTransitGatewayConfiguration(TransitGatewayConfigurationT&& value) { m_transitGatewayConfigurationHasBeenSet =
true; m_transitGatewayConfiguration = std::forward<TransitGatewayConfigurationT>(value); }
192 template<
typename TransitGatewayConfigurationT = TransitGatewayConfiguration>
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>>
207 template<
typename CustomDNSConfigurationT = CustomDNSServer>
208 KxEnvironment&
AddCustomDNSConfiguration(CustomDNSConfigurationT&& value) { m_customDNSConfigurationHasBeenSet =
true; m_customDNSConfiguration.emplace_back(std::forward<CustomDNSConfigurationT>(value));
return *
this; }
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>
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>
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>>
250 template<
typename AvailabilityZoneIdsT = Aws::String>
251 KxEnvironment&
AddAvailabilityZoneIds(AvailabilityZoneIdsT&& value) { m_availabilityZoneIdsHasBeenSet =
true; m_availabilityZoneIds.emplace_back(std::forward<AvailabilityZoneIdsT>(value));
return *
this; }
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>
268 bool m_nameHasBeenSet =
false;
271 bool m_environmentIdHasBeenSet =
false;
274 bool m_awsAccountIdHasBeenSet =
false;
277 bool m_statusHasBeenSet =
false;
280 bool m_tgwStatusHasBeenSet =
false;
283 bool m_dnsStatusHasBeenSet =
false;
286 bool m_errorMessageHasBeenSet =
false;
289 bool m_descriptionHasBeenSet =
false;
292 bool m_environmentArnHasBeenSet =
false;
295 bool m_kmsKeyIdHasBeenSet =
false;
298 bool m_dedicatedServiceAccountIdHasBeenSet =
false;
300 TransitGatewayConfiguration m_transitGatewayConfiguration;
301 bool m_transitGatewayConfigurationHasBeenSet =
false;
304 bool m_customDNSConfigurationHasBeenSet =
false;
307 bool m_creationTimestampHasBeenSet =
false;
310 bool m_updateTimestampHasBeenSet =
false;
313 bool m_availabilityZoneIdsHasBeenSet =
false;
316 bool m_certificateAuthorityArnHasBeenSet =
false;
const Aws::String & GetKmsKeyId() const
KxEnvironment & WithEnvironmentArn(EnvironmentArnT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
void SetDnsStatus(DnsStatus value)
bool UpdateTimestampHasBeenSet() const
bool DnsStatusHasBeenSet() const
const Aws::String & GetErrorMessage() const
void SetCustomDNSConfiguration(CustomDNSConfigurationT &&value)
void SetTransitGatewayConfiguration(TransitGatewayConfigurationT &&value)
const Aws::String & GetDedicatedServiceAccountId() const
bool ErrorMessageHasBeenSet() const
bool TgwStatusHasBeenSet() const
const Aws::String & GetAwsAccountId() const
bool EnvironmentIdHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetDescription() const
AWS_FINSPACE_API KxEnvironment(Aws::Utils::Json::JsonView jsonValue)
KxEnvironment & AddAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
KxEnvironment & WithAwsAccountId(AwsAccountIdT &&value)
TgwStatus GetTgwStatus() const
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetName() const
void SetStatus(EnvironmentStatus value)
KxEnvironment & WithStatus(EnvironmentStatus value)
bool DedicatedServiceAccountIdHasBeenSet() const
KxEnvironment & WithTransitGatewayConfiguration(TransitGatewayConfigurationT &&value)
void SetDedicatedServiceAccountId(DedicatedServiceAccountIdT &&value)
const Aws::String & GetEnvironmentId() const
KxEnvironment & WithDnsStatus(DnsStatus value)
bool CreationTimestampHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTimestamp() const
bool AvailabilityZoneIdsHasBeenSet() const
KxEnvironment & WithCreationTimestamp(CreationTimestampT &&value)
KxEnvironment & WithDescription(DescriptionT &&value)
bool TransitGatewayConfigurationHasBeenSet() const
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 SetTgwStatus(TgwStatus value)
void SetCertificateAuthorityArn(CertificateAuthorityArnT &&value)
void SetCreationTimestamp(CreationTimestampT &&value)
KxEnvironment & AddCustomDNSConfiguration(CustomDNSConfigurationT &&value)
bool CustomDNSConfigurationHasBeenSet() const
const Aws::Vector< Aws::String > & GetAvailabilityZoneIds() const
bool EnvironmentArnHasBeenSet() const
KxEnvironment & WithEnvironmentId(EnvironmentIdT &&value)
KxEnvironment & WithErrorMessage(ErrorMessageT &&value)
const Aws::String & GetCertificateAuthorityArn() const
bool DescriptionHasBeenSet() const
bool NameHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetEnvironmentArn() const
DnsStatus GetDnsStatus() const
bool AwsAccountIdHasBeenSet() 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)
bool StatusHasBeenSet() const
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)
bool CertificateAuthorityArnHasBeenSet() const
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