7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/m2/MainframeModernizationRequest.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/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/m2/model/StorageConfiguration.h>
17#include <aws/core/utils/UUID.h>
21namespace MainframeModernization
53 template<
typename ClientTokenT = Aws::String>
54 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
55 template<
typename ClientTokenT = Aws::String>
65 template<
typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
67 template<
typename DescriptionT = Aws::String>
87 template<
typename EngineVersionT = Aws::String>
88 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
89 template<
typename EngineVersionT = Aws::String>
100 template<
typename HighAvailabilityConfigT = HighAvailabilityConfig>
101 void SetHighAvailabilityConfig(HighAvailabilityConfigT&& value) { m_highAvailabilityConfigHasBeenSet =
true; m_highAvailabilityConfig = std::forward<HighAvailabilityConfigT>(value); }
102 template<
typename HighAvailabilityConfigT = HighAvailabilityConfig>
112 template<
typename InstanceTypeT = Aws::String>
113 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
114 template<
typename InstanceTypeT = Aws::String>
124 template<
typename KmsKeyIdT = Aws::String>
125 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
126 template<
typename KmsKeyIdT = Aws::String>
136 template<
typename NameT = Aws::String>
137 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
138 template<
typename NameT = Aws::String>
163 template<
typename PreferredMa
intenanceWindowT = Aws::String>
164 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet =
true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
165 template<
typename PreferredMa
intenanceWindowT = Aws::String>
175 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
186 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
187 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
188 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
190 template<
typename SecurityGroupIdsT = Aws::String>
200 template<
typename StorageConfigurationsT = Aws::Vector<StorageConfiguration>>
201 void SetStorageConfigurations(StorageConfigurationsT&& value) { m_storageConfigurationsHasBeenSet =
true; m_storageConfigurations = std::forward<StorageConfigurationsT>(value); }
202 template<
typename StorageConfigurationsT = Aws::Vector<StorageConfiguration>>
204 template<
typename StorageConfigurationsT = StorageConfiguration>
214 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
215 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
216 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
218 template<
typename SubnetIdsT = Aws::String>
228 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
229 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
230 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
232 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
234 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
240 bool m_clientTokenHasBeenSet =
true;
243 bool m_descriptionHasBeenSet =
false;
246 bool m_engineTypeHasBeenSet =
false;
249 bool m_engineVersionHasBeenSet =
false;
251 HighAvailabilityConfig m_highAvailabilityConfig;
252 bool m_highAvailabilityConfigHasBeenSet =
false;
255 bool m_instanceTypeHasBeenSet =
false;
258 bool m_kmsKeyIdHasBeenSet =
false;
261 bool m_nameHasBeenSet =
false;
264 bool m_networkTypeHasBeenSet =
false;
267 bool m_preferredMaintenanceWindowHasBeenSet =
false;
269 bool m_publiclyAccessible{
false};
270 bool m_publiclyAccessibleHasBeenSet =
false;
273 bool m_securityGroupIdsHasBeenSet =
false;
276 bool m_storageConfigurationsHasBeenSet =
false;
279 bool m_subnetIdsHasBeenSet =
false;
282 bool m_tagsHasBeenSet =
false;
CreateEnvironmentRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetSubnetIds(SubnetIdsT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
bool TagsHasBeenSet() const
CreateEnvironmentRequest & WithClientToken(ClientTokenT &&value)
bool NetworkTypeHasBeenSet() const
CreateEnvironmentRequest & WithEngineVersion(EngineVersionT &&value)
CreateEnvironmentRequest & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
CreateEnvironmentRequest & WithName(NameT &&value)
bool PreferredMaintenanceWindowHasBeenSet() const
CreateEnvironmentRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
bool PubliclyAccessibleHasBeenSet() const
bool NameHasBeenSet() const
void SetNetworkType(NetworkType value)
bool SubnetIdsHasBeenSet() const
void SetEngineVersion(EngineVersionT &&value)
void SetInstanceType(InstanceTypeT &&value)
CreateEnvironmentRequest & WithSubnetIds(SubnetIdsT &&value)
void SetPubliclyAccessible(bool value)
bool HighAvailabilityConfigHasBeenSet() const
CreateEnvironmentRequest & AddStorageConfigurations(StorageConfigurationsT &&value)
EngineType GetEngineType() const
void SetEngineType(EngineType value)
bool EngineTypeHasBeenSet() const
NetworkType GetNetworkType() const
CreateEnvironmentRequest & WithTags(TagsT &&value)
const Aws::String & GetKmsKeyId() const
AWS_MAINFRAMEMODERNIZATION_API Aws::String SerializePayload() const override
CreateEnvironmentRequest & WithHighAvailabilityConfig(HighAvailabilityConfigT &&value)
const Aws::String & GetDescription() const
bool KmsKeyIdHasBeenSet() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetEngineVersion() const
CreateEnvironmentRequest & WithEngineType(EngineType value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientToken() const
CreateEnvironmentRequest & WithPubliclyAccessible(bool value)
bool EngineVersionHasBeenSet() const
CreateEnvironmentRequest & WithInstanceType(InstanceTypeT &&value)
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
bool GetPubliclyAccessible() const
const Aws::Vector< StorageConfiguration > & GetStorageConfigurations() const
CreateEnvironmentRequest & WithKmsKeyId(KmsKeyIdT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetInstanceType() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetTags(TagsT &&value)
AWS_MAINFRAMEMODERNIZATION_API CreateEnvironmentRequest()=default
CreateEnvironmentRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
bool DescriptionHasBeenSet() const
void SetName(NameT &&value)
bool ClientTokenHasBeenSet() const
bool SecurityGroupIdsHasBeenSet() const
CreateEnvironmentRequest & WithStorageConfigurations(StorageConfigurationsT &&value)
void SetHighAvailabilityConfig(HighAvailabilityConfigT &&value)
bool InstanceTypeHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateEnvironmentRequest & AddSubnetIds(SubnetIdsT &&value)
const Aws::String & GetPreferredMaintenanceWindow() const
CreateEnvironmentRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetName() const
bool StorageConfigurationsHasBeenSet() const
void SetStorageConfigurations(StorageConfigurationsT &&value)
const HighAvailabilityConfig & GetHighAvailabilityConfig() const
CreateEnvironmentRequest & WithNetworkType(NetworkType value)
static Aws::Utils::UUID PseudoRandomUUID()
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