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/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/m2/model/StorageConfiguration.h>
16#include <aws/core/utils/UUID.h>
20namespace MainframeModernization
54 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
68 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
94 inline void SetEngineVersion(
const char* value) { m_engineVersionHasBeenSet =
true; m_engineVersion.assign(value); }
121 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
135 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
149 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
180 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
250 bool m_clientTokenHasBeenSet =
false;
253 bool m_descriptionHasBeenSet =
false;
256 bool m_engineTypeHasBeenSet =
false;
259 bool m_engineVersionHasBeenSet =
false;
262 bool m_highAvailabilityConfigHasBeenSet =
false;
265 bool m_instanceTypeHasBeenSet =
false;
268 bool m_kmsKeyIdHasBeenSet =
false;
271 bool m_nameHasBeenSet =
false;
274 bool m_preferredMaintenanceWindowHasBeenSet =
false;
276 bool m_publiclyAccessible;
277 bool m_publiclyAccessibleHasBeenSet =
false;
280 bool m_securityGroupIdsHasBeenSet =
false;
283 bool m_storageConfigurationsHasBeenSet =
false;
286 bool m_subnetIdsHasBeenSet =
false;
289 bool m_tagsHasBeenSet =
false;
CreateEnvironmentRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
CreateEnvironmentRequest & WithEngineType(const EngineType &value)
AWS_MAINFRAMEMODERNIZATION_API CreateEnvironmentRequest()
void SetEngineVersion(const char *value)
CreateEnvironmentRequest & AddSecurityGroupIds(Aws::String &&value)
void SetKmsKeyId(const char *value)
bool TagsHasBeenSet() const
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
void SetKmsKeyId(const Aws::String &value)
CreateEnvironmentRequest & WithDescription(const char *value)
CreateEnvironmentRequest & WithEngineVersion(const Aws::String &value)
CreateEnvironmentRequest & WithEngineVersion(const char *value)
void SetPreferredMaintenanceWindow(const char *value)
void SetClientToken(const Aws::String &value)
const EngineType & GetEngineType() const
bool PreferredMaintenanceWindowHasBeenSet() const
bool PubliclyAccessibleHasBeenSet() const
bool NameHasBeenSet() const
void SetStorageConfigurations(Aws::Vector< StorageConfiguration > &&value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
CreateEnvironmentRequest & AddTags(Aws::String &&key, const char *value)
bool SubnetIdsHasBeenSet() const
CreateEnvironmentRequest & WithKmsKeyId(const char *value)
void SetEngineType(const EngineType &value)
void SetPubliclyAccessible(bool value)
CreateEnvironmentRequest & AddSubnetIds(const char *value)
CreateEnvironmentRequest & WithHighAvailabilityConfig(const HighAvailabilityConfig &value)
void SetClientToken(Aws::String &&value)
CreateEnvironmentRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateEnvironmentRequest & WithStorageConfigurations(Aws::Vector< StorageConfiguration > &&value)
bool HighAvailabilityConfigHasBeenSet() const
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateEnvironmentRequest & AddTags(const char *key, const char *value)
CreateEnvironmentRequest & WithHighAvailabilityConfig(HighAvailabilityConfig &&value)
CreateEnvironmentRequest & AddSecurityGroupIds(const char *value)
CreateEnvironmentRequest & WithPreferredMaintenanceWindow(const char *value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateEnvironmentRequest & WithEngineType(EngineType &&value)
void SetInstanceType(Aws::String &&value)
CreateEnvironmentRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateEnvironmentRequest & WithStorageConfigurations(const Aws::Vector< StorageConfiguration > &value)
bool EngineTypeHasBeenSet() const
void SetClientToken(const char *value)
CreateEnvironmentRequest & WithName(const char *value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetKmsKeyId() const
void SetHighAvailabilityConfig(const HighAvailabilityConfig &value)
AWS_MAINFRAMEMODERNIZATION_API Aws::String SerializePayload() const override
void SetDescription(const char *value)
void SetEngineType(EngineType &&value)
CreateEnvironmentRequest & WithClientToken(const char *value)
void SetDescription(Aws::String &&value)
const Aws::String & GetDescription() const
CreateEnvironmentRequest & WithName(const Aws::String &value)
void SetKmsKeyId(Aws::String &&value)
CreateEnvironmentRequest & AddSubnetIds(Aws::String &&value)
CreateEnvironmentRequest & WithKmsKeyId(const Aws::String &value)
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetEngineVersion() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientToken() const
CreateEnvironmentRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateEnvironmentRequest & WithPubliclyAccessible(bool value)
bool EngineVersionHasBeenSet() const
CreateEnvironmentRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
CreateEnvironmentRequest & AddTags(Aws::String &&key, const Aws::String &value)
bool GetPubliclyAccessible() const
void SetInstanceType(const Aws::String &value)
CreateEnvironmentRequest & AddStorageConfigurations(const StorageConfiguration &value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
void SetDescription(const Aws::String &value)
CreateEnvironmentRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< StorageConfiguration > & GetStorageConfigurations() const
CreateEnvironmentRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
void SetName(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
CreateEnvironmentRequest & WithEngineVersion(Aws::String &&value)
const Aws::String & GetInstanceType() const
CreateEnvironmentRequest & WithName(Aws::String &&value)
CreateEnvironmentRequest & WithDescription(const Aws::String &value)
CreateEnvironmentRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateEnvironmentRequest & AddSecurityGroupIds(const Aws::String &value)
CreateEnvironmentRequest & WithDescription(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetStorageConfigurations(const Aws::Vector< StorageConfiguration > &value)
CreateEnvironmentRequest & AddSubnetIds(const Aws::String &value)
CreateEnvironmentRequest & WithInstanceType(Aws::String &&value)
void SetEngineVersion(Aws::String &&value)
CreateEnvironmentRequest & WithClientToken(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool DescriptionHasBeenSet() const
CreateEnvironmentRequest & WithInstanceType(const char *value)
bool ClientTokenHasBeenSet() const
bool SecurityGroupIdsHasBeenSet() const
CreateEnvironmentRequest & AddStorageConfigurations(StorageConfiguration &&value)
CreateEnvironmentRequest & WithInstanceType(const Aws::String &value)
void SetInstanceType(const char *value)
void SetName(Aws::String &&value)
CreateEnvironmentRequest & AddTags(Aws::String &&key, Aws::String &&value)
bool InstanceTypeHasBeenSet() const
CreateEnvironmentRequest & WithClientToken(const Aws::String &value)
CreateEnvironmentRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetPreferredMaintenanceWindow() const
void SetEngineVersion(const Aws::String &value)
CreateEnvironmentRequest & WithKmsKeyId(Aws::String &&value)
const Aws::String & GetName() const
void SetHighAvailabilityConfig(HighAvailabilityConfig &&value)
bool StorageConfigurationsHasBeenSet() const
CreateEnvironmentRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetName(const char *value)
const HighAvailabilityConfig & GetHighAvailabilityConfig() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateEnvironmentRequest & AddTags(const char *key, Aws::String &&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