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
52 template<
typename AvailabilityZoneT = Aws::String>
53 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
54 template<
typename AvailabilityZoneT = Aws::String>
68 template<
typename DnsNameServersT = Aws::String>
69 void SetDnsNameServers(DnsNameServersT&& value) { m_dnsNameServersHasBeenSet =
true; m_dnsNameServers = std::forward<DnsNameServersT>(value); }
70 template<
typename DnsNameServersT = Aws::String>
85 template<
typename KmsKeyIdT = Aws::String>
86 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
87 template<
typename KmsKeyIdT = Aws::String>
102 inline void SetMaxCapacityUnits(
int value) { m_maxCapacityUnitsHasBeenSet =
true; m_maxCapacityUnits = value; }
119 inline void SetMinCapacityUnits(
int value) { m_minCapacityUnitsHasBeenSet =
true; m_minCapacityUnits = value; }
131 inline void SetMultiAZ(
bool value) { m_multiAZHasBeenSet =
true; m_multiAZ = value; }
148 template<
typename PreferredMa
intenanceWindowT = Aws::String>
149 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet =
true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
150 template<
typename PreferredMa
intenanceWindowT = Aws::String>
161 template<
typename ReplicationSubnetGroupIdT = Aws::String>
162 void SetReplicationSubnetGroupId(ReplicationSubnetGroupIdT&& value) { m_replicationSubnetGroupIdHasBeenSet =
true; m_replicationSubnetGroupId = std::forward<ReplicationSubnetGroupIdT>(value); }
163 template<
typename ReplicationSubnetGroupIdT = Aws::String>
175 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
176 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet =
true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
177 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
179 template<
typename VpcSecurityGroupIdsT = Aws::String>
180 ComputeConfig&
AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet =
true; m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
return *
this; }
185 bool m_availabilityZoneHasBeenSet =
false;
188 bool m_dnsNameServersHasBeenSet =
false;
191 bool m_kmsKeyIdHasBeenSet =
false;
193 int m_maxCapacityUnits{0};
194 bool m_maxCapacityUnitsHasBeenSet =
false;
196 int m_minCapacityUnits{0};
197 bool m_minCapacityUnitsHasBeenSet =
false;
199 bool m_multiAZ{
false};
200 bool m_multiAZHasBeenSet =
false;
203 bool m_preferredMaintenanceWindowHasBeenSet =
false;
206 bool m_replicationSubnetGroupIdHasBeenSet =
false;
209 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
const Aws::String & GetKmsKeyId() const
void SetMaxCapacityUnits(int value)
const Aws::String & GetPreferredMaintenanceWindow() const
const Aws::String & GetAvailabilityZone() const
ComputeConfig & WithDnsNameServers(DnsNameServersT &&value)
ComputeConfig & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
void SetReplicationSubnetGroupId(ReplicationSubnetGroupIdT &&value)
bool ReplicationSubnetGroupIdHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API ComputeConfig()=default
ComputeConfig & WithReplicationSubnetGroupId(ReplicationSubnetGroupIdT &&value)
ComputeConfig & WithAvailabilityZone(AvailabilityZoneT &&value)
int GetMaxCapacityUnits() const
const Aws::String & GetDnsNameServers() const
ComputeConfig & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
void SetDnsNameServers(DnsNameServersT &&value)
bool MinCapacityUnitsHasBeenSet() const
ComputeConfig & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
bool KmsKeyIdHasBeenSet() const
bool DnsNameServersHasBeenSet() const
ComputeConfig & WithMultiAZ(bool value)
bool MaxCapacityUnitsHasBeenSet() const
void SetMultiAZ(bool value)
AWS_DATABASEMIGRATIONSERVICE_API ComputeConfig(Aws::Utils::Json::JsonView jsonValue)
bool PreferredMaintenanceWindowHasBeenSet() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
bool VpcSecurityGroupIdsHasBeenSet() const
int GetMinCapacityUnits() const
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
void SetMinCapacityUnits(int value)
ComputeConfig & WithKmsKeyId(KmsKeyIdT &&value)
bool MultiAZHasBeenSet() const
ComputeConfig & WithMinCapacityUnits(int value)
const Aws::String & GetReplicationSubnetGroupId() const
ComputeConfig & WithMaxCapacityUnits(int value)
AWS_DATABASEMIGRATIONSERVICE_API ComputeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
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