7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mgn/model/ReplicationConfigurationDataPlaneRouting.h>
11#include <aws/mgn/model/ReplicationConfigurationDefaultLargeStagingDiskType.h>
12#include <aws/mgn/model/ReplicationConfigurationEbsEncryption.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/mgn/model/ReplicationConfigurationReplicatedDisk.h>
47 template<
typename AccountIDT = Aws::String>
48 void SetAccountID(AccountIDT&& value) { m_accountIDHasBeenSet =
true; m_accountID = std::forward<AccountIDT>(value); }
49 template<
typename AccountIDT = Aws::String>
70 inline void SetBandwidthThrottling(
long long value) { m_bandwidthThrottlingHasBeenSet =
true; m_bandwidthThrottling = value; }
80 inline void SetCreatePublicIP(
bool value) { m_createPublicIPHasBeenSet =
true; m_createPublicIP = value; }
121 template<
typename EbsEncryptionKeyArnT = Aws::String>
122 void SetEbsEncryptionKeyArn(EbsEncryptionKeyArnT&& value) { m_ebsEncryptionKeyArnHasBeenSet =
true; m_ebsEncryptionKeyArn = std::forward<EbsEncryptionKeyArnT>(value); }
123 template<
typename EbsEncryptionKeyArnT = Aws::String>
133 template<
typename NameT = Aws::String>
134 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
135 template<
typename NameT = Aws::String>
145 template<
typename ReplicatedDisksT = Aws::Vector<ReplicationConfigurationReplicatedDisk>>
146 void SetReplicatedDisks(ReplicatedDisksT&& value) { m_replicatedDisksHasBeenSet =
true; m_replicatedDisks = std::forward<ReplicatedDisksT>(value); }
147 template<
typename ReplicatedDisksT = Aws::Vector<ReplicationConfigurationReplicatedDisk>>
149 template<
typename ReplicatedDisksT = ReplicationConfigurationReplicatedDisk>
160 template<
typename ReplicationServerInstanceTypeT = Aws::String>
161 void SetReplicationServerInstanceType(ReplicationServerInstanceTypeT&& value) { m_replicationServerInstanceTypeHasBeenSet =
true; m_replicationServerInstanceType = std::forward<ReplicationServerInstanceTypeT>(value); }
162 template<
typename ReplicationServerInstanceTypeT = Aws::String>
173 template<
typename ReplicationServersSecurityGroupsIDsT = Aws::Vector<Aws::String>>
174 void SetReplicationServersSecurityGroupsIDs(ReplicationServersSecurityGroupsIDsT&& value) { m_replicationServersSecurityGroupsIDsHasBeenSet =
true; m_replicationServersSecurityGroupsIDs = std::forward<ReplicationServersSecurityGroupsIDsT>(value); }
175 template<
typename ReplicationServersSecurityGroupsIDsT = Aws::Vector<Aws::String>>
177 template<
typename ReplicationServersSecurityGroupsIDsT = Aws::String>
187 template<
typename SourceServerIDT = Aws::String>
188 void SetSourceServerID(SourceServerIDT&& value) { m_sourceServerIDHasBeenSet =
true; m_sourceServerID = std::forward<SourceServerIDT>(value); }
189 template<
typename SourceServerIDT = Aws::String>
199 template<
typename StagingAreaSubnetIdT = Aws::String>
200 void SetStagingAreaSubnetId(StagingAreaSubnetIdT&& value) { m_stagingAreaSubnetIdHasBeenSet =
true; m_stagingAreaSubnetId = std::forward<StagingAreaSubnetIdT>(value); }
201 template<
typename StagingAreaSubnetIdT = Aws::String>
211 template<
typename StagingAreaTagsT = Aws::Map<Aws::String, Aws::String>>
212 void SetStagingAreaTags(StagingAreaTagsT&& value) { m_stagingAreaTagsHasBeenSet =
true; m_stagingAreaTags = std::forward<StagingAreaTagsT>(value); }
213 template<
typename StagingAreaTagsT = Aws::Map<Aws::String, Aws::String>>
215 template<
typename StagingAreaTagsKeyT = Aws::String,
typename StagingAreaTagsValueT = Aws::String>
217 m_stagingAreaTagsHasBeenSet =
true; m_stagingAreaTags.emplace(std::forward<StagingAreaTagsKeyT>(key), std::forward<StagingAreaTagsValueT>(value));
return *
this;
238 inline void SetUseFipsEndpoint(
bool value) { m_useFipsEndpointHasBeenSet =
true; m_useFipsEndpoint = value; }
244 bool m_accountIDHasBeenSet =
false;
246 bool m_associateDefaultSecurityGroup{
false};
247 bool m_associateDefaultSecurityGroupHasBeenSet =
false;
249 long long m_bandwidthThrottling{0};
250 bool m_bandwidthThrottlingHasBeenSet =
false;
252 bool m_createPublicIP{
false};
253 bool m_createPublicIPHasBeenSet =
false;
256 bool m_dataPlaneRoutingHasBeenSet =
false;
259 bool m_defaultLargeStagingDiskTypeHasBeenSet =
false;
262 bool m_ebsEncryptionHasBeenSet =
false;
265 bool m_ebsEncryptionKeyArnHasBeenSet =
false;
268 bool m_nameHasBeenSet =
false;
271 bool m_replicatedDisksHasBeenSet =
false;
274 bool m_replicationServerInstanceTypeHasBeenSet =
false;
277 bool m_replicationServersSecurityGroupsIDsHasBeenSet =
false;
280 bool m_sourceServerIDHasBeenSet =
false;
283 bool m_stagingAreaSubnetIdHasBeenSet =
false;
286 bool m_stagingAreaTagsHasBeenSet =
false;
288 bool m_useDedicatedReplicationServer{
false};
289 bool m_useDedicatedReplicationServerHasBeenSet =
false;
291 bool m_useFipsEndpoint{
false};
292 bool m_useFipsEndpointHasBeenSet =
false;
ReplicationConfigurationEbsEncryption GetEbsEncryption() const
const Aws::String & GetReplicationServerInstanceType() const
AWS_MGN_API Aws::String SerializePayload() const override
const Aws::String & GetSourceServerID() const
UpdateReplicationConfigurationRequest & WithBandwidthThrottling(long long value)
const Aws::String & GetEbsEncryptionKeyArn() const
bool ReplicationServersSecurityGroupsIDsHasBeenSet() const
bool GetAssociateDefaultSecurityGroup() const
bool GetCreatePublicIP() const
UpdateReplicationConfigurationRequest & WithDataPlaneRouting(ReplicationConfigurationDataPlaneRouting value)
void SetReplicatedDisks(ReplicatedDisksT &&value)
AWS_MGN_API UpdateReplicationConfigurationRequest()=default
UpdateReplicationConfigurationRequest & WithReplicationServersSecurityGroupsIDs(ReplicationServersSecurityGroupsIDsT &&value)
void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting value)
UpdateReplicationConfigurationRequest & WithStagingAreaTags(StagingAreaTagsT &&value)
const Aws::String & GetAccountID() const
void SetEbsEncryptionKeyArn(EbsEncryptionKeyArnT &&value)
bool StagingAreaSubnetIdHasBeenSet() const
bool DataPlaneRoutingHasBeenSet() const
UpdateReplicationConfigurationRequest & AddReplicatedDisks(ReplicatedDisksT &&value)
UpdateReplicationConfigurationRequest & WithSourceServerID(SourceServerIDT &&value)
bool AssociateDefaultSecurityGroupHasBeenSet() const
ReplicationConfigurationDataPlaneRouting GetDataPlaneRouting() const
void SetStagingAreaSubnetId(StagingAreaSubnetIdT &&value)
bool DefaultLargeStagingDiskTypeHasBeenSet() const
bool ReplicationServerInstanceTypeHasBeenSet() const
bool CreatePublicIPHasBeenSet() const
bool NameHasBeenSet() const
bool UseFipsEndpointHasBeenSet() const
void SetUseFipsEndpoint(bool value)
UpdateReplicationConfigurationRequest & WithAccountID(AccountIDT &&value)
UpdateReplicationConfigurationRequest & WithDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType value)
ReplicationConfigurationDefaultLargeStagingDiskType GetDefaultLargeStagingDiskType() const
UpdateReplicationConfigurationRequest & WithReplicatedDisks(ReplicatedDisksT &&value)
void SetAccountID(AccountIDT &&value)
void SetReplicationServerInstanceType(ReplicationServerInstanceTypeT &&value)
long long GetBandwidthThrottling() const
bool EbsEncryptionHasBeenSet() const
UpdateReplicationConfigurationRequest & WithUseDedicatedReplicationServer(bool value)
void SetBandwidthThrottling(long long value)
UpdateReplicationConfigurationRequest & WithReplicationServerInstanceType(ReplicationServerInstanceTypeT &&value)
void SetUseDedicatedReplicationServer(bool value)
bool EbsEncryptionKeyArnHasBeenSet() const
bool GetUseDedicatedReplicationServer() const
UpdateReplicationConfigurationRequest & WithEbsEncryptionKeyArn(EbsEncryptionKeyArnT &&value)
void SetAssociateDefaultSecurityGroup(bool value)
virtual const char * GetServiceRequestName() const override
void SetReplicationServersSecurityGroupsIDs(ReplicationServersSecurityGroupsIDsT &&value)
const Aws::String & GetStagingAreaSubnetId() const
bool UseDedicatedReplicationServerHasBeenSet() const
bool SourceServerIDHasBeenSet() const
void SetSourceServerID(SourceServerIDT &&value)
UpdateReplicationConfigurationRequest & AddStagingAreaTags(StagingAreaTagsKeyT &&key, StagingAreaTagsValueT &&value)
UpdateReplicationConfigurationRequest & WithName(NameT &&value)
bool ReplicatedDisksHasBeenSet() const
UpdateReplicationConfigurationRequest & WithCreatePublicIP(bool value)
void SetName(NameT &&value)
UpdateReplicationConfigurationRequest & WithEbsEncryption(ReplicationConfigurationEbsEncryption value)
bool AccountIDHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetStagingAreaTags() const
UpdateReplicationConfigurationRequest & WithUseFipsEndpoint(bool value)
void SetCreatePublicIP(bool value)
const Aws::Vector< ReplicationConfigurationReplicatedDisk > & GetReplicatedDisks() const
void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType value)
void SetStagingAreaTags(StagingAreaTagsT &&value)
UpdateReplicationConfigurationRequest & WithStagingAreaSubnetId(StagingAreaSubnetIdT &&value)
UpdateReplicationConfigurationRequest & WithAssociateDefaultSecurityGroup(bool value)
void SetEbsEncryption(ReplicationConfigurationEbsEncryption value)
bool StagingAreaTagsHasBeenSet() const
const Aws::String & GetName() const
UpdateReplicationConfigurationRequest & AddReplicationServersSecurityGroupsIDs(ReplicationServersSecurityGroupsIDsT &&value)
bool GetUseFipsEndpoint() const
const Aws::Vector< Aws::String > & GetReplicationServersSecurityGroupsIDs() const
bool BandwidthThrottlingHasBeenSet() const
ReplicationConfigurationEbsEncryption
ReplicationConfigurationDataPlaneRouting
ReplicationConfigurationDefaultLargeStagingDiskType
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector