7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/m2/MainframeModernization_EXPORTS.h>
13#include <aws/m2/model/EngineType.h>
14#include <aws/m2/model/EnvironmentLifecycle.h>
15#include <aws/m2/model/HighAvailabilityConfig.h>
16#include <aws/m2/model/NetworkType.h>
17#include <aws/m2/model/PendingMaintenance.h>
18#include <aws/m2/model/StorageConfiguration.h>
23template <
typename RESULT_TYPE>
24class AmazonWebServiceResult;
31namespace MainframeModernization {
47 m_actualCapacityHasBeenSet =
true;
48 m_actualCapacity = value;
61 template <
typename CreationTimeT = Aws::Utils::DateTime>
63 m_creationTimeHasBeenSet =
true;
64 m_creationTime = std::forward<CreationTimeT>(value);
66 template <
typename CreationTimeT = Aws::Utils::DateTime>
78 template <
typename DescriptionT = Aws::String>
80 m_descriptionHasBeenSet =
true;
81 m_description = std::forward<DescriptionT>(value);
83 template <
typename DescriptionT = Aws::String>
96 m_engineTypeHasBeenSet =
true;
110 template <
typename EngineVersionT = Aws::String>
112 m_engineVersionHasBeenSet =
true;
113 m_engineVersion = std::forward<EngineVersionT>(value);
115 template <
typename EngineVersionT = Aws::String>
127 template <
typename EnvironmentArnT = Aws::String>
129 m_environmentArnHasBeenSet =
true;
130 m_environmentArn = std::forward<EnvironmentArnT>(value);
132 template <
typename EnvironmentArnT = Aws::String>
144 template <
typename EnvironmentIdT = Aws::String>
146 m_environmentIdHasBeenSet =
true;
147 m_environmentId = std::forward<EnvironmentIdT>(value);
149 template <
typename EnvironmentIdT = Aws::String>
162 template <
typename HighAvailabilityConfigT = HighAvailabilityConfig>
164 m_highAvailabilityConfigHasBeenSet =
true;
165 m_highAvailabilityConfig = std::forward<HighAvailabilityConfigT>(value);
167 template <
typename HighAvailabilityConfigT = HighAvailabilityConfig>
179 template <
typename InstanceTypeT = Aws::String>
181 m_instanceTypeHasBeenSet =
true;
182 m_instanceType = std::forward<InstanceTypeT>(value);
184 template <
typename InstanceTypeT = Aws::String>
196 template <
typename KmsKeyIdT = Aws::String>
198 m_kmsKeyIdHasBeenSet =
true;
199 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
201 template <
typename KmsKeyIdT = Aws::String>
214 template <
typename LoadBalancerArnT = Aws::String>
216 m_loadBalancerArnHasBeenSet =
true;
217 m_loadBalancerArn = std::forward<LoadBalancerArnT>(value);
219 template <
typename LoadBalancerArnT = Aws::String>
231 template <
typename NameT = Aws::String>
233 m_nameHasBeenSet =
true;
234 m_name = std::forward<NameT>(value);
236 template <
typename NameT = Aws::String>
238 SetName(std::forward<NameT>(value));
249 m_networkTypeHasBeenSet =
true;
250 m_networkType = value;
263 template <
typename PendingMa
intenanceT = PendingMa
intenance>
265 m_pendingMaintenanceHasBeenSet =
true;
266 m_pendingMaintenance = std::forward<PendingMaintenanceT>(value);
268 template <
typename PendingMa
intenanceT = PendingMa
intenance>
281 template <
typename PreferredMa
intenanceWindowT = Aws::String>
283 m_preferredMaintenanceWindowHasBeenSet =
true;
284 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
286 template <
typename PreferredMa
intenanceWindowT = Aws::String>
300 m_publiclyAccessibleHasBeenSet =
true;
301 m_publiclyAccessible = value;
315 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
317 m_securityGroupIdsHasBeenSet =
true;
318 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
320 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
325 template <
typename SecurityGroupIdsT = Aws::String>
327 m_securityGroupIdsHasBeenSet =
true;
328 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
341 m_statusHasBeenSet =
true;
355 template <
typename StatusReasonT = Aws::String>
357 m_statusReasonHasBeenSet =
true;
358 m_statusReason = std::forward<StatusReasonT>(value);
360 template <
typename StatusReasonT = Aws::String>
372 template <
typename StorageConfigurationsT = Aws::Vector<StorageConfiguration>>
374 m_storageConfigurationsHasBeenSet =
true;
375 m_storageConfigurations = std::forward<StorageConfigurationsT>(value);
377 template <
typename StorageConfigurationsT = Aws::Vector<StorageConfiguration>>
382 template <
typename StorageConfigurationsT = StorageConfiguration>
384 m_storageConfigurationsHasBeenSet =
true;
385 m_storageConfigurations.emplace_back(std::forward<StorageConfigurationsT>(value));
396 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
398 m_subnetIdsHasBeenSet =
true;
399 m_subnetIds = std::forward<SubnetIdsT>(value);
401 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
406 template <
typename SubnetIdsT = Aws::String>
408 m_subnetIdsHasBeenSet =
true;
409 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
419 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
421 m_tagsHasBeenSet =
true;
422 m_tags = std::forward<TagsT>(value);
424 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
426 SetTags(std::forward<TagsT>(value));
429 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
431 m_tagsHasBeenSet =
true;
432 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
442 template <
typename VpcIdT = Aws::String>
444 m_vpcIdHasBeenSet =
true;
445 m_vpcId = std::forward<VpcIdT>(value);
447 template <
typename VpcIdT = Aws::String>
449 SetVpcId(std::forward<VpcIdT>(value));
457 template <
typename RequestIdT = Aws::String>
459 m_requestIdHasBeenSet =
true;
460 m_requestId = std::forward<RequestIdT>(value);
462 template <
typename RequestIdT = Aws::String>
471 int m_actualCapacity{0};
485 HighAvailabilityConfig m_highAvailabilityConfig;
497 PendingMaintenance m_pendingMaintenance;
501 bool m_publiclyAccessible{
false};
519 bool m_actualCapacityHasBeenSet =
false;
520 bool m_creationTimeHasBeenSet =
false;
521 bool m_descriptionHasBeenSet =
false;
522 bool m_engineTypeHasBeenSet =
false;
523 bool m_engineVersionHasBeenSet =
false;
524 bool m_environmentArnHasBeenSet =
false;
525 bool m_environmentIdHasBeenSet =
false;
526 bool m_highAvailabilityConfigHasBeenSet =
false;
527 bool m_instanceTypeHasBeenSet =
false;
528 bool m_kmsKeyIdHasBeenSet =
false;
529 bool m_loadBalancerArnHasBeenSet =
false;
530 bool m_nameHasBeenSet =
false;
531 bool m_networkTypeHasBeenSet =
false;
532 bool m_pendingMaintenanceHasBeenSet =
false;
533 bool m_preferredMaintenanceWindowHasBeenSet =
false;
534 bool m_publiclyAccessibleHasBeenSet =
false;
535 bool m_securityGroupIdsHasBeenSet =
false;
536 bool m_statusHasBeenSet =
false;
537 bool m_statusReasonHasBeenSet =
false;
538 bool m_storageConfigurationsHasBeenSet =
false;
539 bool m_subnetIdsHasBeenSet =
false;
540 bool m_tagsHasBeenSet =
false;
541 bool m_vpcIdHasBeenSet =
false;
542 bool m_requestIdHasBeenSet =
false;
GetEnvironmentResult & WithStatusReason(StatusReasonT &&value)
const Aws::String & GetPreferredMaintenanceWindow() const
const Aws::String & GetLoadBalancerArn() const
GetEnvironmentResult & WithEngineVersion(EngineVersionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetName() const
GetEnvironmentResult & WithDescription(DescriptionT &&value)
void SetEngineType(EngineType value)
void SetName(NameT &&value)
void SetHighAvailabilityConfig(HighAvailabilityConfigT &&value)
GetEnvironmentResult & AddStorageConfigurations(StorageConfigurationsT &&value)
void SetCreationTime(CreationTimeT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
EnvironmentLifecycle GetStatus() const
void SetPendingMaintenance(PendingMaintenanceT &&value)
int GetActualCapacity() const
AWS_MAINFRAMEMODERNIZATION_API GetEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEnvironmentResult & WithEnvironmentId(EnvironmentIdT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
GetEnvironmentResult & WithSecurityGroupIds(SecurityGroupIdsT &&value)
GetEnvironmentResult & WithStatus(EnvironmentLifecycle value)
void SetDescription(DescriptionT &&value)
GetEnvironmentResult & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
const PendingMaintenance & GetPendingMaintenance() const
void SetEnvironmentId(EnvironmentIdT &&value)
const Aws::String & GetEnvironmentId() const
GetEnvironmentResult & WithStorageConfigurations(StorageConfigurationsT &&value)
AWS_MAINFRAMEMODERNIZATION_API GetEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationTime() const
GetEnvironmentResult & WithSubnetIds(SubnetIdsT &&value)
GetEnvironmentResult & AddSubnetIds(SubnetIdsT &&value)
EngineType GetEngineType() const
const Aws::String & GetStatusReason() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
GetEnvironmentResult & WithRequestId(RequestIdT &&value)
void SetActualCapacity(int value)
GetEnvironmentResult & WithLoadBalancerArn(LoadBalancerArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetEnvironmentArn(EnvironmentArnT &&value)
GetEnvironmentResult & WithNetworkType(NetworkType value)
void SetInstanceType(InstanceTypeT &&value)
void SetEngineVersion(EngineVersionT &&value)
const HighAvailabilityConfig & GetHighAvailabilityConfig() const
void SetVpcId(VpcIdT &&value)
bool GetPubliclyAccessible() const
GetEnvironmentResult & WithKmsKeyId(KmsKeyIdT &&value)
GetEnvironmentResult & WithEngineType(EngineType value)
GetEnvironmentResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetDescription() const
GetEnvironmentResult & AddSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::String & GetEnvironmentArn() const
void SetTags(TagsT &&value)
GetEnvironmentResult & WithName(NameT &&value)
const Aws::String & GetInstanceType() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetKmsKeyId() const
GetEnvironmentResult & WithInstanceType(InstanceTypeT &&value)
const Aws::String & GetEngineVersion() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Vector< StorageConfiguration > & GetStorageConfigurations() const
NetworkType GetNetworkType() const
GetEnvironmentResult & WithVpcId(VpcIdT &&value)
void SetPubliclyAccessible(bool value)
const Aws::String & GetRequestId() const
GetEnvironmentResult & WithEnvironmentArn(EnvironmentArnT &&value)
void SetSubnetIds(SubnetIdsT &&value)
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
GetEnvironmentResult & WithPubliclyAccessible(bool value)
GetEnvironmentResult & WithPendingMaintenance(PendingMaintenanceT &&value)
void SetNetworkType(NetworkType value)
GetEnvironmentResult & WithActualCapacity(int value)
GetEnvironmentResult & WithTags(TagsT &&value)
void SetStatusReason(StatusReasonT &&value)
void SetStatus(EnvironmentLifecycle value)
GetEnvironmentResult & WithCreationTime(CreationTimeT &&value)
void SetStorageConfigurations(StorageConfigurationsT &&value)
void SetLoadBalancerArn(LoadBalancerArnT &&value)
AWS_MAINFRAMEMODERNIZATION_API GetEnvironmentResult()=default
const Aws::String & GetVpcId() const
GetEnvironmentResult & WithHighAvailabilityConfig(HighAvailabilityConfigT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue