7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/m2/model/EngineType.h>
11#include <aws/m2/model/HighAvailabilityConfig.h>
12#include <aws/m2/model/NetworkType.h>
13#include <aws/m2/model/PendingMaintenance.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/m2/model/EnvironmentLifecycle.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/m2/model/StorageConfiguration.h>
22template<
typename RESULT_TYPE>
23class AmazonWebServiceResult;
32namespace MainframeModernization
51 inline void SetActualCapacity(
int value) { m_actualCapacityHasBeenSet =
true; m_actualCapacity = value; }
60 template<
typename CreationTimeT = Aws::Utils::DateTime>
61 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
62 template<
typename CreationTimeT = Aws::Utils::DateTime>
71 template<
typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
73 template<
typename DescriptionT = Aws::String>
91 template<
typename EngineVersionT = Aws::String>
92 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
93 template<
typename EngineVersionT = Aws::String>
102 template<
typename EnvironmentArnT = Aws::String>
103 void SetEnvironmentArn(EnvironmentArnT&& value) { m_environmentArnHasBeenSet =
true; m_environmentArn = std::forward<EnvironmentArnT>(value); }
104 template<
typename EnvironmentArnT = Aws::String>
113 template<
typename EnvironmentIdT = Aws::String>
114 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet =
true; m_environmentId = std::forward<EnvironmentIdT>(value); }
115 template<
typename EnvironmentIdT = Aws::String>
125 template<
typename HighAvailabilityConfigT = HighAvailabilityConfig>
126 void SetHighAvailabilityConfig(HighAvailabilityConfigT&& value) { m_highAvailabilityConfigHasBeenSet =
true; m_highAvailabilityConfig = std::forward<HighAvailabilityConfigT>(value); }
127 template<
typename HighAvailabilityConfigT = HighAvailabilityConfig>
136 template<
typename InstanceTypeT = Aws::String>
137 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
138 template<
typename InstanceTypeT = Aws::String>
147 template<
typename KmsKeyIdT = Aws::String>
148 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
149 template<
typename KmsKeyIdT = Aws::String>
159 template<
typename LoadBalancerArnT = Aws::String>
160 void SetLoadBalancerArn(LoadBalancerArnT&& value) { m_loadBalancerArnHasBeenSet =
true; m_loadBalancerArn = std::forward<LoadBalancerArnT>(value); }
161 template<
typename LoadBalancerArnT = Aws::String>
170 template<
typename NameT = Aws::String>
171 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
172 template<
typename NameT = Aws::String>
190 template<
typename PendingMa
intenanceT = PendingMa
intenance>
191 void SetPendingMaintenance(PendingMaintenanceT&& value) { m_pendingMaintenanceHasBeenSet =
true; m_pendingMaintenance = std::forward<PendingMaintenanceT>(value); }
192 template<
typename PendingMa
intenanceT = PendingMa
intenance>
202 template<
typename PreferredMa
intenanceWindowT = Aws::String>
203 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet =
true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
204 template<
typename PreferredMa
intenanceWindowT = Aws::String>
214 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
224 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
225 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
226 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
228 template<
typename SecurityGroupIdsT = Aws::String>
248 template<
typename StatusReasonT = Aws::String>
249 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
250 template<
typename StatusReasonT = Aws::String>
259 template<
typename StorageConfigurationsT = Aws::Vector<StorageConfiguration>>
260 void SetStorageConfigurations(StorageConfigurationsT&& value) { m_storageConfigurationsHasBeenSet =
true; m_storageConfigurations = std::forward<StorageConfigurationsT>(value); }
261 template<
typename StorageConfigurationsT = Aws::Vector<StorageConfiguration>>
263 template<
typename StorageConfigurationsT = StorageConfiguration>
273 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
274 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
275 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
277 template<
typename SubnetIdsT = Aws::String>
286 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
287 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
288 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
290 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
292 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
301 template<
typename VpcIdT = Aws::String>
302 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
303 template<
typename VpcIdT = Aws::String>
310 template<
typename RequestIdT = Aws::String>
311 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
312 template<
typename RequestIdT = Aws::String>
317 int m_actualCapacity{0};
318 bool m_actualCapacityHasBeenSet =
false;
321 bool m_creationTimeHasBeenSet =
false;
324 bool m_descriptionHasBeenSet =
false;
327 bool m_engineTypeHasBeenSet =
false;
330 bool m_engineVersionHasBeenSet =
false;
333 bool m_environmentArnHasBeenSet =
false;
336 bool m_environmentIdHasBeenSet =
false;
338 HighAvailabilityConfig m_highAvailabilityConfig;
339 bool m_highAvailabilityConfigHasBeenSet =
false;
342 bool m_instanceTypeHasBeenSet =
false;
345 bool m_kmsKeyIdHasBeenSet =
false;
348 bool m_loadBalancerArnHasBeenSet =
false;
351 bool m_nameHasBeenSet =
false;
354 bool m_networkTypeHasBeenSet =
false;
356 PendingMaintenance m_pendingMaintenance;
357 bool m_pendingMaintenanceHasBeenSet =
false;
360 bool m_preferredMaintenanceWindowHasBeenSet =
false;
362 bool m_publiclyAccessible{
false};
363 bool m_publiclyAccessibleHasBeenSet =
false;
366 bool m_securityGroupIdsHasBeenSet =
false;
369 bool m_statusHasBeenSet =
false;
372 bool m_statusReasonHasBeenSet =
false;
375 bool m_storageConfigurationsHasBeenSet =
false;
378 bool m_subnetIdsHasBeenSet =
false;
381 bool m_tagsHasBeenSet =
false;
384 bool m_vpcIdHasBeenSet =
false;
387 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