7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/m2/MainframeModernization_EXPORTS.h>
12#include <aws/m2/model/EngineType.h>
13#include <aws/m2/model/EnvironmentLifecycle.h>
14#include <aws/m2/model/HighAvailabilityConfig.h>
15#include <aws/m2/model/NetworkType.h>
16#include <aws/m2/model/PendingMaintenance.h>
17#include <aws/m2/model/StorageConfiguration.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
30namespace MainframeModernization {
46 m_actualCapacityHasBeenSet =
true;
47 m_actualCapacity = value;
60 template <
typename CreationTimeT = Aws::Utils::DateTime>
62 m_creationTimeHasBeenSet =
true;
63 m_creationTime = std::forward<CreationTimeT>(value);
65 template <
typename CreationTimeT = Aws::Utils::DateTime>
77 template <
typename DescriptionT = Aws::String>
79 m_descriptionHasBeenSet =
true;
80 m_description = std::forward<DescriptionT>(value);
82 template <
typename DescriptionT = Aws::String>
95 m_engineTypeHasBeenSet =
true;
109 template <
typename EngineVersionT = Aws::String>
111 m_engineVersionHasBeenSet =
true;
112 m_engineVersion = std::forward<EngineVersionT>(value);
114 template <
typename EngineVersionT = Aws::String>
126 template <
typename EnvironmentArnT = Aws::String>
128 m_environmentArnHasBeenSet =
true;
129 m_environmentArn = std::forward<EnvironmentArnT>(value);
131 template <
typename EnvironmentArnT = Aws::String>
143 template <
typename EnvironmentIdT = Aws::String>
145 m_environmentIdHasBeenSet =
true;
146 m_environmentId = std::forward<EnvironmentIdT>(value);
148 template <
typename EnvironmentIdT = Aws::String>
161 template <
typename HighAvailabilityConfigT = HighAvailabilityConfig>
163 m_highAvailabilityConfigHasBeenSet =
true;
164 m_highAvailabilityConfig = std::forward<HighAvailabilityConfigT>(value);
166 template <
typename HighAvailabilityConfigT = HighAvailabilityConfig>
178 template <
typename InstanceTypeT = Aws::String>
180 m_instanceTypeHasBeenSet =
true;
181 m_instanceType = std::forward<InstanceTypeT>(value);
183 template <
typename InstanceTypeT = Aws::String>
195 template <
typename KmsKeyIdT = Aws::String>
197 m_kmsKeyIdHasBeenSet =
true;
198 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
200 template <
typename KmsKeyIdT = Aws::String>
213 template <
typename LoadBalancerArnT = Aws::String>
215 m_loadBalancerArnHasBeenSet =
true;
216 m_loadBalancerArn = std::forward<LoadBalancerArnT>(value);
218 template <
typename LoadBalancerArnT = Aws::String>
230 template <
typename NameT = Aws::String>
232 m_nameHasBeenSet =
true;
233 m_name = std::forward<NameT>(value);
235 template <
typename NameT = Aws::String>
237 SetName(std::forward<NameT>(value));
248 m_networkTypeHasBeenSet =
true;
249 m_networkType = value;
262 template <
typename PendingMa
intenanceT = PendingMa
intenance>
264 m_pendingMaintenanceHasBeenSet =
true;
265 m_pendingMaintenance = std::forward<PendingMaintenanceT>(value);
267 template <
typename PendingMa
intenanceT = PendingMa
intenance>
280 template <
typename PreferredMa
intenanceWindowT = Aws::String>
282 m_preferredMaintenanceWindowHasBeenSet =
true;
283 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
285 template <
typename PreferredMa
intenanceWindowT = Aws::String>
299 m_publiclyAccessibleHasBeenSet =
true;
300 m_publiclyAccessible = value;
314 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
316 m_securityGroupIdsHasBeenSet =
true;
317 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
319 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
324 template <
typename SecurityGroupIdsT = Aws::String>
326 m_securityGroupIdsHasBeenSet =
true;
327 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
340 m_statusHasBeenSet =
true;
354 template <
typename StatusReasonT = Aws::String>
356 m_statusReasonHasBeenSet =
true;
357 m_statusReason = std::forward<StatusReasonT>(value);
359 template <
typename StatusReasonT = Aws::String>
371 template <
typename StorageConfigurationsT = Aws::Vector<StorageConfiguration>>
373 m_storageConfigurationsHasBeenSet =
true;
374 m_storageConfigurations = std::forward<StorageConfigurationsT>(value);
376 template <
typename StorageConfigurationsT = Aws::Vector<StorageConfiguration>>
381 template <
typename StorageConfigurationsT = StorageConfiguration>
383 m_storageConfigurationsHasBeenSet =
true;
384 m_storageConfigurations.emplace_back(std::forward<StorageConfigurationsT>(value));
395 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
397 m_subnetIdsHasBeenSet =
true;
398 m_subnetIds = std::forward<SubnetIdsT>(value);
400 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
405 template <
typename SubnetIdsT = Aws::String>
407 m_subnetIdsHasBeenSet =
true;
408 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
418 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
420 m_tagsHasBeenSet =
true;
421 m_tags = std::forward<TagsT>(value);
423 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
425 SetTags(std::forward<TagsT>(value));
428 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
430 m_tagsHasBeenSet =
true;
431 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
441 template <
typename VpcIdT = Aws::String>
443 m_vpcIdHasBeenSet =
true;
444 m_vpcId = std::forward<VpcIdT>(value);
446 template <
typename VpcIdT = Aws::String>
448 SetVpcId(std::forward<VpcIdT>(value));
456 template <
typename RequestIdT = Aws::String>
458 m_requestIdHasBeenSet =
true;
459 m_requestId = std::forward<RequestIdT>(value);
461 template <
typename RequestIdT = Aws::String>
468 int m_actualCapacity{0};
482 HighAvailabilityConfig m_highAvailabilityConfig;
494 PendingMaintenance m_pendingMaintenance;
498 bool m_publiclyAccessible{
false};
515 bool m_actualCapacityHasBeenSet =
false;
516 bool m_creationTimeHasBeenSet =
false;
517 bool m_descriptionHasBeenSet =
false;
518 bool m_engineTypeHasBeenSet =
false;
519 bool m_engineVersionHasBeenSet =
false;
520 bool m_environmentArnHasBeenSet =
false;
521 bool m_environmentIdHasBeenSet =
false;
522 bool m_highAvailabilityConfigHasBeenSet =
false;
523 bool m_instanceTypeHasBeenSet =
false;
524 bool m_kmsKeyIdHasBeenSet =
false;
525 bool m_loadBalancerArnHasBeenSet =
false;
526 bool m_nameHasBeenSet =
false;
527 bool m_networkTypeHasBeenSet =
false;
528 bool m_pendingMaintenanceHasBeenSet =
false;
529 bool m_preferredMaintenanceWindowHasBeenSet =
false;
530 bool m_publiclyAccessibleHasBeenSet =
false;
531 bool m_securityGroupIdsHasBeenSet =
false;
532 bool m_statusHasBeenSet =
false;
533 bool m_statusReasonHasBeenSet =
false;
534 bool m_storageConfigurationsHasBeenSet =
false;
535 bool m_subnetIdsHasBeenSet =
false;
536 bool m_tagsHasBeenSet =
false;
537 bool m_vpcIdHasBeenSet =
false;
538 bool m_requestIdHasBeenSet =
false;
GetEnvironmentResult & WithStatusReason(StatusReasonT &&value)
const Aws::String & GetPreferredMaintenanceWindow() const
const Aws::String & GetLoadBalancerArn() const
GetEnvironmentResult & WithEngineVersion(EngineVersionT &&value)
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