7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/dms/model/ReplicationSubnetGroup.h>
12#include <aws/dms/model/ReplicationPendingModifiedValues.h>
13#include <aws/dms/model/VpcSecurityGroupMembership.h>
26namespace DatabaseMigrationService
79 inline void SetReplicationInstanceClass(
const char* value) { m_replicationInstanceClassHasBeenSet =
true; m_replicationInstanceClass.assign(value); }
103 inline void SetReplicationInstanceStatus(
const char* value) { m_replicationInstanceStatusHasBeenSet =
true; m_replicationInstanceStatus.assign(value); }
116 inline void SetAllocatedStorage(
int value) { m_allocatedStorageHasBeenSet =
true; m_allocatedStorage = value; }
154 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
207 inline void SetMultiAZ(
bool value) { m_multiAZHasBeenSet =
true; m_multiAZ = value; }
223 inline void SetEngineVersion(
const char* value) { m_engineVersionHasBeenSet =
true; m_engineVersion.assign(value); }
253 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
267 inline void SetReplicationInstanceArn(
const char* value) { m_replicationInstanceArnHasBeenSet =
true; m_replicationInstanceArn.assign(value); }
327 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
340 inline void SetSecondaryAvailabilityZone(
const char* value) { m_secondaryAvailabilityZoneHasBeenSet =
true; m_secondaryAvailabilityZone.assign(value); }
368 inline void SetDnsNameServers(
const char* value) { m_dnsNameServersHasBeenSet =
true; m_dnsNameServers.assign(value); }
384 inline void SetNetworkType(
const char* value) { m_networkTypeHasBeenSet =
true; m_networkType.assign(value); }
392 bool m_replicationInstanceIdentifierHasBeenSet =
false;
395 bool m_replicationInstanceClassHasBeenSet =
false;
398 bool m_replicationInstanceStatusHasBeenSet =
false;
400 int m_allocatedStorage;
401 bool m_allocatedStorageHasBeenSet =
false;
404 bool m_instanceCreateTimeHasBeenSet =
false;
407 bool m_vpcSecurityGroupsHasBeenSet =
false;
410 bool m_availabilityZoneHasBeenSet =
false;
413 bool m_replicationSubnetGroupHasBeenSet =
false;
416 bool m_preferredMaintenanceWindowHasBeenSet =
false;
419 bool m_pendingModifiedValuesHasBeenSet =
false;
422 bool m_multiAZHasBeenSet =
false;
425 bool m_engineVersionHasBeenSet =
false;
427 bool m_autoMinorVersionUpgrade;
428 bool m_autoMinorVersionUpgradeHasBeenSet =
false;
431 bool m_kmsKeyIdHasBeenSet =
false;
434 bool m_replicationInstanceArnHasBeenSet =
false;
437 bool m_replicationInstancePublicIpAddressesHasBeenSet =
false;
440 bool m_replicationInstancePrivateIpAddressesHasBeenSet =
false;
443 bool m_replicationInstanceIpv6AddressesHasBeenSet =
false;
445 bool m_publiclyAccessible;
446 bool m_publiclyAccessibleHasBeenSet =
false;
449 bool m_secondaryAvailabilityZoneHasBeenSet =
false;
452 bool m_freeUntilHasBeenSet =
false;
455 bool m_dnsNameServersHasBeenSet =
false;
458 bool m_networkTypeHasBeenSet =
false;
ReplicationInstance & WithReplicationInstancePrivateIpAddresses(const Aws::Vector< Aws::String > &value)
ReplicationInstance & WithReplicationInstanceIdentifier(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API ReplicationInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
bool InstanceCreateTimeHasBeenSet() const
void SetFreeUntil(const Aws::Utils::DateTime &value)
void SetAvailabilityZone(const char *value)
void SetEngineVersion(const Aws::String &value)
void SetVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
void SetReplicationInstancePrivateIpAddresses(Aws::Vector< Aws::String > &&value)
bool MultiAZHasBeenSet() const
ReplicationInstance & WithReplicationInstanceStatus(const char *value)
ReplicationInstance & WithPreferredMaintenanceWindow(const Aws::String &value)
void SetPubliclyAccessible(bool value)
ReplicationInstance & WithReplicationSubnetGroup(const ReplicationSubnetGroup &value)
bool ReplicationInstanceArnHasBeenSet() const
void SetReplicationInstanceIpv6Addresses(const Aws::Vector< Aws::String > &value)
ReplicationInstance & WithSecondaryAvailabilityZone(const Aws::String &value)
ReplicationInstance & WithVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
ReplicationInstance & WithAvailabilityZone(Aws::String &&value)
void SetFreeUntil(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetFreeUntil() const
const Aws::String & GetReplicationInstanceStatus() const
ReplicationInstance & WithAvailabilityZone(const Aws::String &value)
void SetKmsKeyId(Aws::String &&value)
void SetSecondaryAvailabilityZone(const Aws::String &value)
ReplicationInstance & WithSecondaryAvailabilityZone(const char *value)
ReplicationInstance & AddReplicationInstancePrivateIpAddresses(const char *value)
void SetReplicationInstancePrivateIpAddresses(const Aws::Vector< Aws::String > &value)
ReplicationInstance & WithKmsKeyId(Aws::String &&value)
ReplicationInstance & AddReplicationInstancePublicIpAddresses(Aws::String &&value)
ReplicationInstance & WithInstanceCreateTime(Aws::Utils::DateTime &&value)
bool DnsNameServersHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
ReplicationInstance & WithReplicationInstanceClass(const Aws::String &value)
void SetEngineVersion(const char *value)
void SetDnsNameServers(const char *value)
const Aws::Vector< Aws::String > & GetReplicationInstanceIpv6Addresses() const
ReplicationInstance & WithDnsNameServers(const Aws::String &value)
ReplicationInstance & WithKmsKeyId(const Aws::String &value)
bool VpcSecurityGroupsHasBeenSet() const
bool EngineVersionHasBeenSet() const
ReplicationInstance & WithReplicationInstancePublicIpAddresses(const Aws::Vector< Aws::String > &value)
bool ReplicationSubnetGroupHasBeenSet() const
void SetNetworkType(const char *value)
void SetPreferredMaintenanceWindow(const char *value)
ReplicationInstance & WithReplicationInstanceStatus(const Aws::String &value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
ReplicationInstance & AddReplicationInstanceIpv6Addresses(Aws::String &&value)
ReplicationInstance & WithReplicationInstanceStatus(Aws::String &&value)
ReplicationInstance & WithReplicationInstanceClass(Aws::String &&value)
void SetReplicationInstanceArn(const char *value)
bool ReplicationInstancePrivateIpAddressesHasBeenSet() const
ReplicationInstance & WithAvailabilityZone(const char *value)
bool SecondaryAvailabilityZoneHasBeenSet() const
const Aws::String & GetEngineVersion() const
ReplicationInstance & WithReplicationInstanceIdentifier(const char *value)
ReplicationInstance & WithFreeUntil(Aws::Utils::DateTime &&value)
const Aws::String & GetPreferredMaintenanceWindow() const
ReplicationInstance & WithAutoMinorVersionUpgrade(bool value)
bool PubliclyAccessibleHasBeenSet() const
void SetReplicationSubnetGroup(const ReplicationSubnetGroup &value)
void SetPendingModifiedValues(ReplicationPendingModifiedValues &&value)
void SetInstanceCreateTime(const Aws::Utils::DateTime &value)
void SetAvailabilityZone(const Aws::String &value)
void SetNetworkType(Aws::String &&value)
ReplicationInstance & WithFreeUntil(const Aws::Utils::DateTime &value)
ReplicationInstance & WithReplicationInstanceArn(Aws::String &&value)
ReplicationInstance & WithSecondaryAvailabilityZone(Aws::String &&value)
void SetReplicationInstanceIpv6Addresses(Aws::Vector< Aws::String > &&value)
ReplicationInstance & WithReplicationInstanceIpv6Addresses(Aws::Vector< Aws::String > &&value)
ReplicationInstance & WithAllocatedStorage(int value)
void SetReplicationInstanceClass(Aws::String &&value)
bool GetAutoMinorVersionUpgrade() const
void SetDnsNameServers(Aws::String &&value)
ReplicationInstance & WithReplicationInstanceArn(const char *value)
void SetNetworkType(const Aws::String &value)
void SetReplicationInstanceStatus(const char *value)
ReplicationInstance & WithReplicationInstanceIpv6Addresses(const Aws::Vector< Aws::String > &value)
const Aws::String & GetReplicationInstanceIdentifier() const
void SetEngineVersion(Aws::String &&value)
ReplicationInstance & WithKmsKeyId(const char *value)
const Aws::Utils::DateTime & GetInstanceCreateTime() const
ReplicationInstance & WithPubliclyAccessible(bool value)
const ReplicationSubnetGroup & GetReplicationSubnetGroup() const
const Aws::String & GetNetworkType() const
void SetReplicationInstanceIdentifier(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API ReplicationInstance(Aws::Utils::Json::JsonView jsonValue)
int GetAllocatedStorage() const
ReplicationInstance & WithEngineVersion(Aws::String &&value)
void SetSecondaryAvailabilityZone(const char *value)
void SetReplicationInstanceArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetReplicationInstancePublicIpAddresses() const
void SetPreferredMaintenanceWindow(Aws::String &&value)
void SetDnsNameServers(const Aws::String &value)
const Aws::String & GetKmsKeyId() const
ReplicationInstance & AddReplicationInstancePublicIpAddresses(const Aws::String &value)
void SetReplicationInstanceArn(Aws::String &&value)
void SetAllocatedStorage(int value)
bool ReplicationInstanceStatusHasBeenSet() const
ReplicationInstance & AddReplicationInstancePrivateIpAddresses(const Aws::String &value)
void SetSecondaryAvailabilityZone(Aws::String &&value)
void SetVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
bool ReplicationInstanceIdentifierHasBeenSet() const
ReplicationInstance & WithNetworkType(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool AutoMinorVersionUpgradeHasBeenSet() const
void SetAutoMinorVersionUpgrade(bool value)
ReplicationInstance & AddReplicationInstanceIpv6Addresses(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API ReplicationInstance()
ReplicationInstance & AddVpcSecurityGroups(VpcSecurityGroupMembership &&value)
void SetReplicationInstanceClass(const Aws::String &value)
void SetReplicationInstanceClass(const char *value)
void SetMultiAZ(bool value)
ReplicationInstance & WithMultiAZ(bool value)
void SetReplicationInstanceIdentifier(const Aws::String &value)
bool AllocatedStorageHasBeenSet() const
ReplicationInstance & WithReplicationInstanceArn(const Aws::String &value)
bool NetworkTypeHasBeenSet() const
ReplicationInstance & AddVpcSecurityGroups(const VpcSecurityGroupMembership &value)
ReplicationInstance & WithPendingModifiedValues(const ReplicationPendingModifiedValues &value)
bool PreferredMaintenanceWindowHasBeenSet() const
ReplicationInstance & WithInstanceCreateTime(const Aws::Utils::DateTime &value)
bool KmsKeyIdHasBeenSet() const
ReplicationInstance & WithReplicationInstancePrivateIpAddresses(Aws::Vector< Aws::String > &&value)
bool GetPubliclyAccessible() const
ReplicationInstance & WithEngineVersion(const char *value)
void SetReplicationInstanceStatus(const Aws::String &value)
void SetPendingModifiedValues(const ReplicationPendingModifiedValues &value)
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroups() const
ReplicationInstance & WithPreferredMaintenanceWindow(Aws::String &&value)
ReplicationInstance & AddReplicationInstancePublicIpAddresses(const char *value)
ReplicationInstance & AddReplicationInstanceIpv6Addresses(const Aws::String &value)
const Aws::String & GetAvailabilityZone() const
bool PendingModifiedValuesHasBeenSet() const
ReplicationInstance & AddReplicationInstancePrivateIpAddresses(Aws::String &&value)
bool ReplicationInstanceIpv6AddressesHasBeenSet() const
bool ReplicationInstancePublicIpAddressesHasBeenSet() const
void SetKmsKeyId(const char *value)
ReplicationInstance & WithReplicationInstanceClass(const char *value)
void SetInstanceCreateTime(Aws::Utils::DateTime &&value)
void SetReplicationInstanceIdentifier(Aws::String &&value)
void SetAvailabilityZone(Aws::String &&value)
const Aws::String & GetDnsNameServers() const
bool ReplicationInstanceClassHasBeenSet() const
bool FreeUntilHasBeenSet() const
const Aws::String & GetSecondaryAvailabilityZone() const
ReplicationInstance & WithPendingModifiedValues(ReplicationPendingModifiedValues &&value)
ReplicationInstance & WithNetworkType(const Aws::String &value)
const ReplicationPendingModifiedValues & GetPendingModifiedValues() const
const Aws::String & GetReplicationInstanceArn() const
void SetReplicationSubnetGroup(ReplicationSubnetGroup &&value)
const Aws::String & GetReplicationInstanceClass() const
void SetKmsKeyId(const Aws::String &value)
ReplicationInstance & WithReplicationInstanceIdentifier(Aws::String &&value)
void SetReplicationInstanceStatus(Aws::String &&value)
ReplicationInstance & WithDnsNameServers(Aws::String &&value)
void SetReplicationInstancePublicIpAddresses(const Aws::Vector< Aws::String > &value)
ReplicationInstance & WithReplicationInstancePublicIpAddresses(Aws::Vector< Aws::String > &&value)
ReplicationInstance & WithDnsNameServers(const char *value)
const Aws::Vector< Aws::String > & GetReplicationInstancePrivateIpAddresses() const
ReplicationInstance & WithEngineVersion(const Aws::String &value)
ReplicationInstance & WithReplicationSubnetGroup(ReplicationSubnetGroup &&value)
ReplicationInstance & WithPreferredMaintenanceWindow(const char *value)
ReplicationInstance & WithVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
void SetReplicationInstancePublicIpAddresses(Aws::Vector< Aws::String > &&value)
ReplicationInstance & WithNetworkType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue