7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
20namespace DatabaseMigrationService {
46 template <
typename AvailabilityZoneT = Aws::String>
48 m_availabilityZoneHasBeenSet =
true;
49 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
51 template <
typename AvailabilityZoneT = Aws::String>
68 template <
typename DnsNameServersT = Aws::String>
70 m_dnsNameServersHasBeenSet =
true;
71 m_dnsNameServers = std::forward<DnsNameServersT>(value);
73 template <
typename DnsNameServersT = Aws::String>
91 template <
typename KmsKeyIdT = Aws::String>
93 m_kmsKeyIdHasBeenSet =
true;
94 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
96 template <
typename KmsKeyIdT = Aws::String>
115 m_maxCapacityUnitsHasBeenSet =
true;
116 m_maxCapacityUnits = value;
138 m_minCapacityUnitsHasBeenSet =
true;
139 m_minCapacityUnits = value;
156 m_multiAZHasBeenSet =
true;
178 template <
typename PreferredMa
intenanceWindowT = Aws::String>
180 m_preferredMaintenanceWindowHasBeenSet =
true;
181 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
183 template <
typename PreferredMa
intenanceWindowT = Aws::String>
197 template <
typename ReplicationSubnetGroupIdT = Aws::String>
199 m_replicationSubnetGroupIdHasBeenSet =
true;
200 m_replicationSubnetGroupId = std::forward<ReplicationSubnetGroupIdT>(value);
202 template <
typename ReplicationSubnetGroupIdT = Aws::String>
217 template <
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
219 m_vpcSecurityGroupIdsHasBeenSet =
true;
220 m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value);
222 template <
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
227 template <
typename VpcSecurityGroupIdsT = Aws::String>
229 m_vpcSecurityGroupIdsHasBeenSet =
true;
230 m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
241 int m_maxCapacityUnits{0};
243 int m_minCapacityUnits{0};
245 bool m_multiAZ{
false};
252 bool m_availabilityZoneHasBeenSet =
false;
253 bool m_dnsNameServersHasBeenSet =
false;
254 bool m_kmsKeyIdHasBeenSet =
false;
255 bool m_maxCapacityUnitsHasBeenSet =
false;
256 bool m_minCapacityUnitsHasBeenSet =
false;
257 bool m_multiAZHasBeenSet =
false;
258 bool m_preferredMaintenanceWindowHasBeenSet =
false;
259 bool m_replicationSubnetGroupIdHasBeenSet =
false;
260 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