7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace DatabaseMigrationService
54 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
72 inline void SetDnsNameServers(
const char* value) { m_dnsNameServersHasBeenSet =
true; m_dnsNameServers.assign(value); }
91 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
108 inline void SetMaxCapacityUnits(
int value) { m_maxCapacityUnitsHasBeenSet =
true; m_maxCapacityUnits = value; }
125 inline void SetMinCapacityUnits(
int value) { m_minCapacityUnitsHasBeenSet =
true; m_minCapacityUnits = value; }
137 inline void SetMultiAZ(
bool value) { m_multiAZHasBeenSet =
true; m_multiAZ = value; }
171 inline void SetReplicationSubnetGroupId(
const char* value) { m_replicationSubnetGroupIdHasBeenSet =
true; m_replicationSubnetGroupId.assign(value); }
196 bool m_availabilityZoneHasBeenSet =
false;
199 bool m_dnsNameServersHasBeenSet =
false;
202 bool m_kmsKeyIdHasBeenSet =
false;
204 int m_maxCapacityUnits;
205 bool m_maxCapacityUnitsHasBeenSet =
false;
207 int m_minCapacityUnits;
208 bool m_minCapacityUnitsHasBeenSet =
false;
211 bool m_multiAZHasBeenSet =
false;
214 bool m_preferredMaintenanceWindowHasBeenSet =
false;
217 bool m_replicationSubnetGroupIdHasBeenSet =
false;
220 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
void SetPreferredMaintenanceWindow(const Aws::String &value)
ComputeConfig & WithReplicationSubnetGroupId(const Aws::String &value)
ComputeConfig & WithReplicationSubnetGroupId(Aws::String &&value)
const Aws::String & GetKmsKeyId() const
void SetMaxCapacityUnits(int value)
const Aws::String & GetPreferredMaintenanceWindow() const
ComputeConfig & AddVpcSecurityGroupIds(const Aws::String &value)
const Aws::String & GetAvailabilityZone() const
ComputeConfig & WithPreferredMaintenanceWindow(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API ComputeConfig()
ComputeConfig & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
ComputeConfig & AddVpcSecurityGroupIds(const char *value)
void SetReplicationSubnetGroupId(Aws::String &&value)
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
bool ReplicationSubnetGroupIdHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
ComputeConfig & WithReplicationSubnetGroupId(const char *value)
ComputeConfig & AddVpcSecurityGroupIds(Aws::String &&value)
void SetReplicationSubnetGroupId(const char *value)
ComputeConfig & WithPreferredMaintenanceWindow(Aws::String &&value)
void SetPreferredMaintenanceWindow(const char *value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
int GetMaxCapacityUnits() const
void SetKmsKeyId(const Aws::String &value)
const Aws::String & GetDnsNameServers() const
ComputeConfig & WithDnsNameServers(const Aws::String &value)
ComputeConfig & WithAvailabilityZone(const char *value)
void SetAvailabilityZone(const Aws::String &value)
bool MinCapacityUnitsHasBeenSet() const
void SetKmsKeyId(Aws::String &&value)
void SetAvailabilityZone(const char *value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
ComputeConfig & WithDnsNameServers(Aws::String &&value)
bool KmsKeyIdHasBeenSet() const
bool DnsNameServersHasBeenSet() const
ComputeConfig & WithMultiAZ(bool value)
ComputeConfig & WithAvailabilityZone(const Aws::String &value)
bool MaxCapacityUnitsHasBeenSet() const
void SetReplicationSubnetGroupId(const Aws::String &value)
void SetDnsNameServers(Aws::String &&value)
void SetMultiAZ(bool value)
AWS_DATABASEMIGRATIONSERVICE_API ComputeConfig(Aws::Utils::Json::JsonView jsonValue)
ComputeConfig & WithPreferredMaintenanceWindow(const char *value)
void SetAvailabilityZone(Aws::String &&value)
bool PreferredMaintenanceWindowHasBeenSet() const
bool VpcSecurityGroupIdsHasBeenSet() const
int GetMinCapacityUnits() const
void SetDnsNameServers(const char *value)
ComputeConfig & WithKmsKeyId(Aws::String &&value)
void SetKmsKeyId(const char *value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
void SetMinCapacityUnits(int value)
ComputeConfig & WithAvailabilityZone(Aws::String &&value)
ComputeConfig & WithDnsNameServers(const char *value)
ComputeConfig & WithKmsKeyId(const Aws::String &value)
bool MultiAZHasBeenSet() const
ComputeConfig & WithMinCapacityUnits(int value)
const Aws::String & GetReplicationSubnetGroupId() const
void SetDnsNameServers(const Aws::String &value)
ComputeConfig & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
ComputeConfig & WithMaxCapacityUnits(int value)
AWS_DATABASEMIGRATIONSERVICE_API ComputeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ComputeConfig & WithKmsKeyId(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue