7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/DrsRequest.h>
9#include <aws/drs/model/ReplicationConfigurationDataPlaneRouting.h>
10#include <aws/drs/model/ReplicationConfigurationDefaultLargeStagingDiskType.h>
11#include <aws/drs/model/ReplicationConfigurationEbsEncryption.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/drs/model/PITPolicyRule.h>
36 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateReplicationConfigurationTemplate"; }
59 inline void SetAutoReplicateNewDisks(
bool value) { m_autoReplicateNewDisksHasBeenSet =
true; m_autoReplicateNewDisks = value; }
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; }
128 inline void SetEbsEncryptionKeyArn(
const char* value) { m_ebsEncryptionKeyArnHasBeenSet =
true; m_ebsEncryptionKeyArn.assign(value); }
186 inline void SetStagingAreaSubnetId(
const char* value) { m_stagingAreaSubnetIdHasBeenSet =
true; m_stagingAreaSubnetId.assign(value); }
244 bool m_associateDefaultSecurityGroup;
245 bool m_associateDefaultSecurityGroupHasBeenSet =
false;
247 bool m_autoReplicateNewDisks;
248 bool m_autoReplicateNewDisksHasBeenSet =
false;
250 long long m_bandwidthThrottling;
251 bool m_bandwidthThrottlingHasBeenSet =
false;
253 bool m_createPublicIP;
254 bool m_createPublicIPHasBeenSet =
false;
257 bool m_dataPlaneRoutingHasBeenSet =
false;
260 bool m_defaultLargeStagingDiskTypeHasBeenSet =
false;
263 bool m_ebsEncryptionHasBeenSet =
false;
266 bool m_ebsEncryptionKeyArnHasBeenSet =
false;
269 bool m_pitPolicyHasBeenSet =
false;
272 bool m_replicationServerInstanceTypeHasBeenSet =
false;
275 bool m_replicationServersSecurityGroupsIDsHasBeenSet =
false;
278 bool m_stagingAreaSubnetIdHasBeenSet =
false;
281 bool m_stagingAreaTagsHasBeenSet =
false;
284 bool m_tagsHasBeenSet =
false;
286 bool m_useDedicatedReplicationServer;
287 bool m_useDedicatedReplicationServerHasBeenSet =
false;
CreateReplicationConfigurationTemplateRequest & WithDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
void SetStagingAreaTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReplicationConfigurationTemplateRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
CreateReplicationConfigurationTemplateRequest & WithEbsEncryptionKeyArn(const char *value)
bool EbsEncryptionKeyArnHasBeenSet() const
CreateReplicationConfigurationTemplateRequest & WithStagingAreaTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const char *key, const char *value)
CreateReplicationConfigurationTemplateRequest & AddPitPolicy(const PITPolicyRule &value)
bool StagingAreaSubnetIdHasBeenSet() const
CreateReplicationConfigurationTemplateRequest & WithCreatePublicIP(bool value)
CreateReplicationConfigurationTemplateRequest & AddTags(const char *key, const char *value)
bool CreatePublicIPHasBeenSet() const
const ReplicationConfigurationEbsEncryption & GetEbsEncryption() const
void SetAutoReplicateNewDisks(bool value)
bool EbsEncryptionHasBeenSet() const
const Aws::String & GetReplicationServerInstanceType() const
CreateReplicationConfigurationTemplateRequest & WithReplicationServersSecurityGroupsIDs(Aws::Vector< Aws::String > &&value)
CreateReplicationConfigurationTemplateRequest & WithEbsEncryptionKeyArn(Aws::String &&value)
const Aws::String & GetStagingAreaSubnetId() const
bool AssociateDefaultSecurityGroupHasBeenSet() const
void SetAssociateDefaultSecurityGroup(bool value)
CreateReplicationConfigurationTemplateRequest & AddTags(Aws::String &&key, const char *value)
bool BandwidthThrottlingHasBeenSet() const
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const char *key, Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & WithReplicationServerInstanceType(Aws::String &&value)
AWS_DRS_API Aws::String SerializePayload() const override
void SetStagingAreaSubnetId(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool ReplicationServersSecurityGroupsIDsHasBeenSet() const
bool GetAutoReplicateNewDisks() const
CreateReplicationConfigurationTemplateRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetStagingAreaSubnetId(Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & WithPitPolicy(const Aws::Vector< PITPolicyRule > &value)
void SetReplicationServersSecurityGroupsIDs(const Aws::Vector< Aws::String > &value)
void SetEbsEncryptionKeyArn(const Aws::String &value)
void SetEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const ReplicationConfigurationDefaultLargeStagingDiskType & GetDefaultLargeStagingDiskType() const
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(Aws::String &&key, const Aws::String &value)
void SetEbsEncryptionKeyArn(const char *value)
CreateReplicationConfigurationTemplateRequest & AddReplicationServersSecurityGroupsIDs(Aws::String &&value)
const Aws::String & GetEbsEncryptionKeyArn() const
bool GetUseDedicatedReplicationServer() const
void SetUseDedicatedReplicationServer(bool value)
void SetStagingAreaSubnetId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetStagingAreaTags() const
void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
CreateReplicationConfigurationTemplateRequest & WithAssociateDefaultSecurityGroup(bool value)
CreateReplicationConfigurationTemplateRequest & WithPitPolicy(Aws::Vector< PITPolicyRule > &&value)
void SetReplicationServerInstanceType(Aws::String &&value)
void SetCreatePublicIP(bool value)
CreateReplicationConfigurationTemplateRequest & WithStagingAreaSubnetId(const char *value)
CreateReplicationConfigurationTemplateRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetEbsEncryptionKeyArn(Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & AddTags(const Aws::String &key, Aws::String &&value)
bool DataPlaneRoutingHasBeenSet() const
void SetStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
bool DefaultLargeStagingDiskTypeHasBeenSet() const
CreateReplicationConfigurationTemplateRequest & WithEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(Aws::String &&key, Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & WithDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
virtual const char * GetServiceRequestName() const override
const ReplicationConfigurationDataPlaneRouting & GetDataPlaneRouting() const
void SetReplicationServersSecurityGroupsIDs(Aws::Vector< Aws::String > &&value)
void SetReplicationServerInstanceType(const char *value)
CreateReplicationConfigurationTemplateRequest & AddPitPolicy(PITPolicyRule &&value)
CreateReplicationConfigurationTemplateRequest & WithStagingAreaSubnetId(Aws::String &&value)
bool TagsHasBeenSet() const
CreateReplicationConfigurationTemplateRequest & WithStagingAreaSubnetId(const Aws::String &value)
CreateReplicationConfigurationTemplateRequest & AddTags(const char *key, Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & AddReplicationServersSecurityGroupsIDs(const Aws::String &value)
bool GetAssociateDefaultSecurityGroup() const
void SetPitPolicy(const Aws::Vector< PITPolicyRule > &value)
CreateReplicationConfigurationTemplateRequest & WithReplicationServerInstanceType(const char *value)
const Aws::Vector< PITPolicyRule > & GetPitPolicy() const
void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
void SetReplicationServerInstanceType(const Aws::String &value)
CreateReplicationConfigurationTemplateRequest & WithBandwidthThrottling(long long value)
CreateReplicationConfigurationTemplateRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReplicationConfigurationTemplateRequest & WithReplicationServerInstanceType(const Aws::String &value)
bool AutoReplicateNewDisksHasBeenSet() const
bool GetCreatePublicIP() const
bool PitPolicyHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateReplicationConfigurationTemplateRequest & AddTags(Aws::String &&key, const Aws::String &value)
long long GetBandwidthThrottling() const
CreateReplicationConfigurationTemplateRequest & WithUseDedicatedReplicationServer(bool value)
const Aws::Vector< Aws::String > & GetReplicationServersSecurityGroupsIDs() const
void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
CreateReplicationConfigurationTemplateRequest & WithEbsEncryptionKeyArn(const Aws::String &value)
CreateReplicationConfigurationTemplateRequest & AddReplicationServersSecurityGroupsIDs(const char *value)
CreateReplicationConfigurationTemplateRequest & WithAutoReplicateNewDisks(bool value)
CreateReplicationConfigurationTemplateRequest & WithReplicationServersSecurityGroupsIDs(const Aws::Vector< Aws::String > &value)
CreateReplicationConfigurationTemplateRequest & WithDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
CreateReplicationConfigurationTemplateRequest & WithDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
bool UseDedicatedReplicationServerHasBeenSet() const
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const Aws::String &key, Aws::String &&value)
AWS_DRS_API CreateReplicationConfigurationTemplateRequest()
CreateReplicationConfigurationTemplateRequest & WithEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
void SetPitPolicy(Aws::Vector< PITPolicyRule > &&value)
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(Aws::String &&key, const char *value)
void SetBandwidthThrottling(long long value)
bool StagingAreaTagsHasBeenSet() const
bool ReplicationServerInstanceTypeHasBeenSet() const
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const Aws::String &key, const Aws::String &value)
CreateReplicationConfigurationTemplateRequest & WithStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
ReplicationConfigurationDataPlaneRouting
ReplicationConfigurationEbsEncryption
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