7#include <aws/evs/EVS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/evs/model/EnvironmentState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/evs/model/VcfVersion.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/evs/model/CheckResult.h>
14#include <aws/evs/model/ConnectivityInfo.h>
15#include <aws/evs/model/VcfHostnames.h>
16#include <aws/evs/model/ServiceAccessSecurityGroups.h>
17#include <aws/evs/model/LicenseInfo.h>
18#include <aws/evs/model/Check.h>
19#include <aws/evs/model/Secret.h>
57 template<
typename EnvironmentIdT = Aws::String>
58 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet =
true; m_environmentId = std::forward<EnvironmentIdT>(value); }
59 template<
typename EnvironmentIdT = Aws::String>
80 template<
typename StateDetailsT = Aws::String>
81 void SetStateDetails(StateDetailsT&& value) { m_stateDetailsHasBeenSet =
true; m_stateDetails = std::forward<StateDetailsT>(value); }
82 template<
typename StateDetailsT = Aws::String>
92 template<
typename CreatedAtT = Aws::Utils::DateTime>
93 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
94 template<
typename CreatedAtT = Aws::Utils::DateTime>
104 template<
typename ModifiedAtT = Aws::Utils::DateTime>
105 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet =
true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
106 template<
typename ModifiedAtT = Aws::Utils::DateTime>
116 template<
typename EnvironmentArnT = Aws::String>
117 void SetEnvironmentArn(EnvironmentArnT&& value) { m_environmentArnHasBeenSet =
true; m_environmentArn = std::forward<EnvironmentArnT>(value); }
118 template<
typename EnvironmentArnT = Aws::String>
128 template<
typename EnvironmentNameT = Aws::String>
129 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet =
true; m_environmentName = std::forward<EnvironmentNameT>(value); }
130 template<
typename EnvironmentNameT = Aws::String>
140 template<
typename VpcIdT = Aws::String>
141 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
142 template<
typename VpcIdT = Aws::String>
154 template<
typename ServiceAccessSubnetIdT = Aws::String>
155 void SetServiceAccessSubnetId(ServiceAccessSubnetIdT&& value) { m_serviceAccessSubnetIdHasBeenSet =
true; m_serviceAccessSubnetId = std::forward<ServiceAccessSubnetIdT>(value); }
156 template<
typename ServiceAccessSubnetIdT = Aws::String>
179 inline void SetTermsAccepted(
bool value) { m_termsAcceptedHasBeenSet =
true; m_termsAccepted = value; }
191 template<
typename LicenseInfoT = Aws::Vector<LicenseInfo>>
192 void SetLicenseInfo(LicenseInfoT&& value) { m_licenseInfoHasBeenSet =
true; m_licenseInfo = std::forward<LicenseInfoT>(value); }
193 template<
typename LicenseInfoT = Aws::Vector<LicenseInfo>>
195 template<
typename LicenseInfoT = LicenseInfo>
196 Environment&
AddLicenseInfo(LicenseInfoT&& value) { m_licenseInfoHasBeenSet =
true; m_licenseInfo.emplace_back(std::forward<LicenseInfoT>(value));
return *
this; }
207 template<
typename SiteIdT = Aws::String>
208 void SetSiteId(SiteIdT&& value) { m_siteIdHasBeenSet =
true; m_siteId = std::forward<SiteIdT>(value); }
209 template<
typename SiteIdT = Aws::String>
231 template<
typename ChecksT = Aws::Vector<Check>>
232 void SetChecks(ChecksT&& value) { m_checksHasBeenSet =
true; m_checks = std::forward<ChecksT>(value); }
233 template<
typename ChecksT = Aws::Vector<Check>>
235 template<
typename ChecksT = Check>
236 Environment&
AddChecks(ChecksT&& value) { m_checksHasBeenSet =
true; m_checks.emplace_back(std::forward<ChecksT>(value));
return *
this; }
248 template<
typename ConnectivityInfoT = ConnectivityInfo>
249 void SetConnectivityInfo(ConnectivityInfoT&& value) { m_connectivityInfoHasBeenSet =
true; m_connectivityInfo = std::forward<ConnectivityInfoT>(value); }
250 template<
typename ConnectivityInfoT = ConnectivityInfo>
264 template<
typename VcfHostnamesT = VcfHostnames>
265 void SetVcfHostnames(VcfHostnamesT&& value) { m_vcfHostnamesHasBeenSet =
true; m_vcfHostnames = std::forward<VcfHostnamesT>(value); }
266 template<
typename VcfHostnamesT = VcfHostnames>
281 template<
typename KmsKeyIdT = Aws::String>
282 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
283 template<
typename KmsKeyIdT = Aws::String>
295 template<
typename ServiceAccessSecurityGroupsT = ServiceAccessSecurityGroups>
296 void SetServiceAccessSecurityGroups(ServiceAccessSecurityGroupsT&& value) { m_serviceAccessSecurityGroupsHasBeenSet =
true; m_serviceAccessSecurityGroups = std::forward<ServiceAccessSecurityGroupsT>(value); }
297 template<
typename ServiceAccessSecurityGroupsT = ServiceAccessSecurityGroups>
309 template<
typename CredentialsT = Aws::Vector<Secret>>
310 void SetCredentials(CredentialsT&& value) { m_credentialsHasBeenSet =
true; m_credentials = std::forward<CredentialsT>(value); }
311 template<
typename CredentialsT = Aws::Vector<Secret>>
313 template<
typename CredentialsT = Secret>
314 Environment&
AddCredentials(CredentialsT&& value) { m_credentialsHasBeenSet =
true; m_credentials.emplace_back(std::forward<CredentialsT>(value));
return *
this; }
319 bool m_environmentIdHasBeenSet =
false;
322 bool m_environmentStateHasBeenSet =
false;
325 bool m_stateDetailsHasBeenSet =
false;
328 bool m_createdAtHasBeenSet =
false;
331 bool m_modifiedAtHasBeenSet =
false;
334 bool m_environmentArnHasBeenSet =
false;
337 bool m_environmentNameHasBeenSet =
false;
340 bool m_vpcIdHasBeenSet =
false;
343 bool m_serviceAccessSubnetIdHasBeenSet =
false;
346 bool m_vcfVersionHasBeenSet =
false;
348 bool m_termsAccepted{
false};
349 bool m_termsAcceptedHasBeenSet =
false;
352 bool m_licenseInfoHasBeenSet =
false;
355 bool m_siteIdHasBeenSet =
false;
358 bool m_environmentStatusHasBeenSet =
false;
361 bool m_checksHasBeenSet =
false;
363 ConnectivityInfo m_connectivityInfo;
364 bool m_connectivityInfoHasBeenSet =
false;
366 VcfHostnames m_vcfHostnames;
367 bool m_vcfHostnamesHasBeenSet =
false;
370 bool m_kmsKeyIdHasBeenSet =
false;
372 ServiceAccessSecurityGroups m_serviceAccessSecurityGroups;
373 bool m_serviceAccessSecurityGroupsHasBeenSet =
false;
376 bool m_credentialsHasBeenSet =
false;
bool CredentialsHasBeenSet() const
bool ConnectivityInfoHasBeenSet() const
const Aws::Utils::DateTime & GetModifiedAt() const
bool TermsAcceptedHasBeenSet() const
Environment & WithCredentials(CredentialsT &&value)
const Aws::Vector< Secret > & GetCredentials() const
bool EnvironmentStatusHasBeenSet() const
const Aws::String & GetEnvironmentName() const
Environment & WithStateDetails(StateDetailsT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
AWS_EVS_API Environment()=default
const Aws::String & GetEnvironmentId() const
const Aws::String & GetVpcId() const
Environment & WithEnvironmentState(EnvironmentState value)
const Aws::Vector< LicenseInfo > & GetLicenseInfo() const
Environment & WithEnvironmentArn(EnvironmentArnT &&value)
void SetTermsAccepted(bool value)
Environment & WithEnvironmentId(EnvironmentIdT &&value)
Environment & WithSiteId(SiteIdT &&value)
void SetLicenseInfo(LicenseInfoT &&value)
AWS_EVS_API Environment & operator=(Aws::Utils::Json::JsonView jsonValue)
bool KmsKeyIdHasBeenSet() const
const ConnectivityInfo & GetConnectivityInfo() const
EnvironmentState GetEnvironmentState() const
Environment & AddChecks(ChecksT &&value)
void SetStateDetails(StateDetailsT &&value)
bool EnvironmentNameHasBeenSet() const
void SetServiceAccessSubnetId(ServiceAccessSubnetIdT &&value)
const Aws::String & GetSiteId() const
Environment & WithServiceAccessSubnetId(ServiceAccessSubnetIdT &&value)
CheckResult GetEnvironmentStatus() const
void SetVcfHostnames(VcfHostnamesT &&value)
bool ServiceAccessSecurityGroupsHasBeenSet() const
void SetCredentials(CredentialsT &&value)
bool LicenseInfoHasBeenSet() const
bool ChecksHasBeenSet() const
Environment & WithServiceAccessSecurityGroups(ServiceAccessSecurityGroupsT &&value)
bool VpcIdHasBeenSet() const
const Aws::String & GetEnvironmentArn() const
void SetEnvironmentStatus(CheckResult value)
bool SiteIdHasBeenSet() const
const Aws::String & GetKmsKeyId() const
Environment & WithVcfHostnames(VcfHostnamesT &&value)
void SetSiteId(SiteIdT &&value)
bool ServiceAccessSubnetIdHasBeenSet() const
void SetEnvironmentName(EnvironmentNameT &&value)
AWS_EVS_API Environment(Aws::Utils::Json::JsonView jsonValue)
Environment & WithEnvironmentStatus(CheckResult value)
Environment & WithConnectivityInfo(ConnectivityInfoT &&value)
const Aws::String & GetServiceAccessSubnetId() const
bool CreatedAtHasBeenSet() const
void SetEnvironmentArn(EnvironmentArnT &&value)
bool StateDetailsHasBeenSet() const
const VcfHostnames & GetVcfHostnames() const
VcfVersion GetVcfVersion() const
Environment & AddCredentials(CredentialsT &&value)
Environment & WithChecks(ChecksT &&value)
void SetServiceAccessSecurityGroups(ServiceAccessSecurityGroupsT &&value)
bool EnvironmentIdHasBeenSet() const
bool EnvironmentStateHasBeenSet() const
Environment & WithVpcId(VpcIdT &&value)
Environment & WithCreatedAt(CreatedAtT &&value)
const ServiceAccessSecurityGroups & GetServiceAccessSecurityGroups() const
Environment & WithLicenseInfo(LicenseInfoT &&value)
Environment & WithKmsKeyId(KmsKeyIdT &&value)
void SetModifiedAt(ModifiedAtT &&value)
AWS_EVS_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetTermsAccepted() const
void SetVcfVersion(VcfVersion value)
void SetEnvironmentId(EnvironmentIdT &&value)
bool VcfHostnamesHasBeenSet() const
bool VcfVersionHasBeenSet() const
Environment & WithModifiedAt(ModifiedAtT &&value)
void SetEnvironmentState(EnvironmentState value)
const Aws::String & GetStateDetails() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::Vector< Check > & GetChecks() const
Environment & WithVcfVersion(VcfVersion value)
bool ModifiedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
Environment & AddLicenseInfo(LicenseInfoT &&value)
bool EnvironmentArnHasBeenSet() const
void SetVpcId(VpcIdT &&value)
Environment & WithEnvironmentName(EnvironmentNameT &&value)
Environment & WithTermsAccepted(bool value)
void SetConnectivityInfo(ConnectivityInfoT &&value)
void SetChecks(ChecksT &&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