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>
10#include <aws/dms/model/Subnet.h>
21namespace DatabaseMigrationService {
44 template <
typename ReplicationSubnetGroupIdentifierT = Aws::String>
46 m_replicationSubnetGroupIdentifierHasBeenSet =
true;
47 m_replicationSubnetGroupIdentifier = std::forward<ReplicationSubnetGroupIdentifierT>(value);
49 template <
typename ReplicationSubnetGroupIdentifierT = Aws::String>
62 template <
typename ReplicationSubnetGroupDescriptionT = Aws::String>
64 m_replicationSubnetGroupDescriptionHasBeenSet =
true;
65 m_replicationSubnetGroupDescription = std::forward<ReplicationSubnetGroupDescriptionT>(value);
67 template <
typename ReplicationSubnetGroupDescriptionT = Aws::String>
80 template <
typename VpcIdT = Aws::String>
82 m_vpcIdHasBeenSet =
true;
83 m_vpcId = std::forward<VpcIdT>(value);
85 template <
typename VpcIdT = Aws::String>
87 SetVpcId(std::forward<VpcIdT>(value));
98 template <
typename SubnetGroupStatusT = Aws::String>
100 m_subnetGroupStatusHasBeenSet =
true;
101 m_subnetGroupStatus = std::forward<SubnetGroupStatusT>(value);
103 template <
typename SubnetGroupStatusT = Aws::String>
116 template <
typename SubnetsT = Aws::Vector<Subnet>>
118 m_subnetsHasBeenSet =
true;
119 m_subnets = std::forward<SubnetsT>(value);
121 template <
typename SubnetsT = Aws::Vector<Subnet>>
126 template <
typename SubnetsT = Subnet>
128 m_subnetsHasBeenSet =
true;
129 m_subnets.emplace_back(std::forward<SubnetsT>(value));
142 template <
typename SupportedNetworkTypesT = Aws::Vector<Aws::String>>
144 m_supportedNetworkTypesHasBeenSet =
true;
145 m_supportedNetworkTypes = std::forward<SupportedNetworkTypesT>(value);
147 template <
typename SupportedNetworkTypesT = Aws::Vector<Aws::String>>
152 template <
typename SupportedNetworkTypesT = Aws::String>
154 m_supportedNetworkTypesHasBeenSet =
true;
155 m_supportedNetworkTypes.emplace_back(std::forward<SupportedNetworkTypesT>(value));
171 m_isReadOnlyHasBeenSet =
true;
172 m_isReadOnly = value;
192 bool m_isReadOnly{
false};
193 bool m_replicationSubnetGroupIdentifierHasBeenSet =
false;
194 bool m_replicationSubnetGroupDescriptionHasBeenSet =
false;
195 bool m_vpcIdHasBeenSet =
false;
196 bool m_subnetGroupStatusHasBeenSet =
false;
197 bool m_subnetsHasBeenSet =
false;
198 bool m_supportedNetworkTypesHasBeenSet =
false;
199 bool m_isReadOnlyHasBeenSet =
false;
bool ReplicationSubnetGroupDescriptionHasBeenSet() const
const Aws::String & GetVpcId() const
void SetSubnets(SubnetsT &&value)
ReplicationSubnetGroup & WithSubnetGroupStatus(SubnetGroupStatusT &&value)
void SetReplicationSubnetGroupDescription(ReplicationSubnetGroupDescriptionT &&value)
ReplicationSubnetGroup & AddSubnets(SubnetsT &&value)
void SetSupportedNetworkTypes(SupportedNetworkTypesT &&value)
ReplicationSubnetGroup & AddSupportedNetworkTypes(SupportedNetworkTypesT &&value)
bool ReplicationSubnetGroupIdentifierHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIsReadOnly(bool value)
ReplicationSubnetGroup & WithSubnets(SubnetsT &&value)
const Aws::Vector< Aws::String > & GetSupportedNetworkTypes() const
bool SubnetGroupStatusHasBeenSet() const
ReplicationSubnetGroup & WithIsReadOnly(bool value)
bool VpcIdHasBeenSet() const
bool SubnetsHasBeenSet() const
bool SupportedNetworkTypesHasBeenSet() const
const Aws::String & GetReplicationSubnetGroupDescription() const
void SetSubnetGroupStatus(SubnetGroupStatusT &&value)
ReplicationSubnetGroup & WithReplicationSubnetGroupDescription(ReplicationSubnetGroupDescriptionT &&value)
bool IsReadOnlyHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API ReplicationSubnetGroup()=default
bool GetIsReadOnly() const
AWS_DATABASEMIGRATIONSERVICE_API ReplicationSubnetGroup(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSubnetGroupStatus() const
ReplicationSubnetGroup & WithVpcId(VpcIdT &&value)
ReplicationSubnetGroup & WithSupportedNetworkTypes(SupportedNetworkTypesT &&value)
AWS_DATABASEMIGRATIONSERVICE_API ReplicationSubnetGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicationSubnetGroup & WithReplicationSubnetGroupIdentifier(ReplicationSubnetGroupIdentifierT &&value)
void SetVpcId(VpcIdT &&value)
void SetReplicationSubnetGroupIdentifier(ReplicationSubnetGroupIdentifierT &&value)
const Aws::String & GetReplicationSubnetGroupIdentifier() const
const Aws::Vector< Subnet > & GetSubnets() 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