AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateReplicationConfigurationTemplateRequest.h
1
6#pragma once
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>
16#include <utility>
17
18namespace Aws
19{
20namespace drs
21{
22namespace Model
23{
24
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateReplicationConfigurationTemplate"; }
37
38 AWS_DRS_API Aws::String SerializePayload() const override;
39
40
42
46 inline bool GetAssociateDefaultSecurityGroup() const{ return m_associateDefaultSecurityGroup; }
47 inline bool AssociateDefaultSecurityGroupHasBeenSet() const { return m_associateDefaultSecurityGroupHasBeenSet; }
48 inline void SetAssociateDefaultSecurityGroup(bool value) { m_associateDefaultSecurityGroupHasBeenSet = true; m_associateDefaultSecurityGroup = value; }
51
53
57 inline bool GetAutoReplicateNewDisks() const{ return m_autoReplicateNewDisks; }
58 inline bool AutoReplicateNewDisksHasBeenSet() const { return m_autoReplicateNewDisksHasBeenSet; }
59 inline void SetAutoReplicateNewDisks(bool value) { m_autoReplicateNewDisksHasBeenSet = true; m_autoReplicateNewDisks = value; }
62
64
68 inline long long GetBandwidthThrottling() const{ return m_bandwidthThrottling; }
69 inline bool BandwidthThrottlingHasBeenSet() const { return m_bandwidthThrottlingHasBeenSet; }
70 inline void SetBandwidthThrottling(long long value) { m_bandwidthThrottlingHasBeenSet = true; m_bandwidthThrottling = value; }
73
75
78 inline bool GetCreatePublicIP() const{ return m_createPublicIP; }
79 inline bool CreatePublicIPHasBeenSet() const { return m_createPublicIPHasBeenSet; }
80 inline void SetCreatePublicIP(bool value) { m_createPublicIPHasBeenSet = true; m_createPublicIP = value; }
83
85
88 inline const ReplicationConfigurationDataPlaneRouting& GetDataPlaneRouting() const{ return m_dataPlaneRouting; }
89 inline bool DataPlaneRoutingHasBeenSet() const { return m_dataPlaneRoutingHasBeenSet; }
90 inline void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting& value) { m_dataPlaneRoutingHasBeenSet = true; m_dataPlaneRouting = value; }
91 inline void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting&& value) { m_dataPlaneRoutingHasBeenSet = true; m_dataPlaneRouting = std::move(value); }
95
97
100 inline const ReplicationConfigurationDefaultLargeStagingDiskType& GetDefaultLargeStagingDiskType() const{ return m_defaultLargeStagingDiskType; }
101 inline bool DefaultLargeStagingDiskTypeHasBeenSet() const { return m_defaultLargeStagingDiskTypeHasBeenSet; }
102 inline void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType& value) { m_defaultLargeStagingDiskTypeHasBeenSet = true; m_defaultLargeStagingDiskType = value; }
103 inline void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType&& value) { m_defaultLargeStagingDiskTypeHasBeenSet = true; m_defaultLargeStagingDiskType = std::move(value); }
107
109
112 inline const ReplicationConfigurationEbsEncryption& GetEbsEncryption() const{ return m_ebsEncryption; }
113 inline bool EbsEncryptionHasBeenSet() const { return m_ebsEncryptionHasBeenSet; }
114 inline void SetEbsEncryption(const ReplicationConfigurationEbsEncryption& value) { m_ebsEncryptionHasBeenSet = true; m_ebsEncryption = value; }
115 inline void SetEbsEncryption(ReplicationConfigurationEbsEncryption&& value) { m_ebsEncryptionHasBeenSet = true; m_ebsEncryption = std::move(value); }
119
121
124 inline const Aws::String& GetEbsEncryptionKeyArn() const{ return m_ebsEncryptionKeyArn; }
125 inline bool EbsEncryptionKeyArnHasBeenSet() const { return m_ebsEncryptionKeyArnHasBeenSet; }
126 inline void SetEbsEncryptionKeyArn(const Aws::String& value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn = value; }
127 inline void SetEbsEncryptionKeyArn(Aws::String&& value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn = std::move(value); }
128 inline void SetEbsEncryptionKeyArn(const char* value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn.assign(value); }
133
135
139 inline const Aws::Vector<PITPolicyRule>& GetPitPolicy() const{ return m_pitPolicy; }
140 inline bool PitPolicyHasBeenSet() const { return m_pitPolicyHasBeenSet; }
141 inline void SetPitPolicy(const Aws::Vector<PITPolicyRule>& value) { m_pitPolicyHasBeenSet = true; m_pitPolicy = value; }
142 inline void SetPitPolicy(Aws::Vector<PITPolicyRule>&& value) { m_pitPolicyHasBeenSet = true; m_pitPolicy = std::move(value); }
145 inline CreateReplicationConfigurationTemplateRequest& AddPitPolicy(const PITPolicyRule& value) { m_pitPolicyHasBeenSet = true; m_pitPolicy.push_back(value); return *this; }
146 inline CreateReplicationConfigurationTemplateRequest& AddPitPolicy(PITPolicyRule&& value) { m_pitPolicyHasBeenSet = true; m_pitPolicy.push_back(std::move(value)); return *this; }
148
150
153 inline const Aws::String& GetReplicationServerInstanceType() const{ return m_replicationServerInstanceType; }
154 inline bool ReplicationServerInstanceTypeHasBeenSet() const { return m_replicationServerInstanceTypeHasBeenSet; }
155 inline void SetReplicationServerInstanceType(const Aws::String& value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType = value; }
156 inline void SetReplicationServerInstanceType(Aws::String&& value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType = std::move(value); }
157 inline void SetReplicationServerInstanceType(const char* value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType.assign(value); }
162
164
167 inline const Aws::Vector<Aws::String>& GetReplicationServersSecurityGroupsIDs() const{ return m_replicationServersSecurityGroupsIDs; }
168 inline bool ReplicationServersSecurityGroupsIDsHasBeenSet() const { return m_replicationServersSecurityGroupsIDsHasBeenSet; }
169 inline void SetReplicationServersSecurityGroupsIDs(const Aws::Vector<Aws::String>& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs = value; }
170 inline void SetReplicationServersSecurityGroupsIDs(Aws::Vector<Aws::String>&& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs = std::move(value); }
173 inline CreateReplicationConfigurationTemplateRequest& AddReplicationServersSecurityGroupsIDs(const Aws::String& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
174 inline CreateReplicationConfigurationTemplateRequest& AddReplicationServersSecurityGroupsIDs(Aws::String&& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(std::move(value)); return *this; }
175 inline CreateReplicationConfigurationTemplateRequest& AddReplicationServersSecurityGroupsIDs(const char* value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
177
179
182 inline const Aws::String& GetStagingAreaSubnetId() const{ return m_stagingAreaSubnetId; }
183 inline bool StagingAreaSubnetIdHasBeenSet() const { return m_stagingAreaSubnetIdHasBeenSet; }
184 inline void SetStagingAreaSubnetId(const Aws::String& value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId = value; }
185 inline void SetStagingAreaSubnetId(Aws::String&& value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId = std::move(value); }
186 inline void SetStagingAreaSubnetId(const char* value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId.assign(value); }
191
193
197 inline const Aws::Map<Aws::String, Aws::String>& GetStagingAreaTags() const{ return m_stagingAreaTags; }
198 inline bool StagingAreaTagsHasBeenSet() const { return m_stagingAreaTagsHasBeenSet; }
199 inline void SetStagingAreaTags(const Aws::Map<Aws::String, Aws::String>& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags = value; }
200 inline void SetStagingAreaTags(Aws::Map<Aws::String, Aws::String>&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags = std::move(value); }
203 inline CreateReplicationConfigurationTemplateRequest& AddStagingAreaTags(const Aws::String& key, const Aws::String& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, value); return *this; }
204 inline CreateReplicationConfigurationTemplateRequest& AddStagingAreaTags(Aws::String&& key, const Aws::String& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), value); return *this; }
205 inline CreateReplicationConfigurationTemplateRequest& AddStagingAreaTags(const Aws::String& key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
206 inline CreateReplicationConfigurationTemplateRequest& AddStagingAreaTags(Aws::String&& key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), std::move(value)); return *this; }
207 inline CreateReplicationConfigurationTemplateRequest& AddStagingAreaTags(const char* key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
208 inline CreateReplicationConfigurationTemplateRequest& AddStagingAreaTags(Aws::String&& key, const char* value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), value); return *this; }
209 inline CreateReplicationConfigurationTemplateRequest& AddStagingAreaTags(const char* key, const char* value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, value); return *this; }
211
213
217 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
218 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
219 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
220 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
223 inline CreateReplicationConfigurationTemplateRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
224 inline CreateReplicationConfigurationTemplateRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
225 inline CreateReplicationConfigurationTemplateRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
226 inline CreateReplicationConfigurationTemplateRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
227 inline CreateReplicationConfigurationTemplateRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
228 inline CreateReplicationConfigurationTemplateRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
229 inline CreateReplicationConfigurationTemplateRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
231
233
237 inline bool GetUseDedicatedReplicationServer() const{ return m_useDedicatedReplicationServer; }
238 inline bool UseDedicatedReplicationServerHasBeenSet() const { return m_useDedicatedReplicationServerHasBeenSet; }
239 inline void SetUseDedicatedReplicationServer(bool value) { m_useDedicatedReplicationServerHasBeenSet = true; m_useDedicatedReplicationServer = value; }
242 private:
243
244 bool m_associateDefaultSecurityGroup;
245 bool m_associateDefaultSecurityGroupHasBeenSet = false;
246
247 bool m_autoReplicateNewDisks;
248 bool m_autoReplicateNewDisksHasBeenSet = false;
249
250 long long m_bandwidthThrottling;
251 bool m_bandwidthThrottlingHasBeenSet = false;
252
253 bool m_createPublicIP;
254 bool m_createPublicIPHasBeenSet = false;
255
257 bool m_dataPlaneRoutingHasBeenSet = false;
258
259 ReplicationConfigurationDefaultLargeStagingDiskType m_defaultLargeStagingDiskType;
260 bool m_defaultLargeStagingDiskTypeHasBeenSet = false;
261
263 bool m_ebsEncryptionHasBeenSet = false;
264
265 Aws::String m_ebsEncryptionKeyArn;
266 bool m_ebsEncryptionKeyArnHasBeenSet = false;
267
268 Aws::Vector<PITPolicyRule> m_pitPolicy;
269 bool m_pitPolicyHasBeenSet = false;
270
271 Aws::String m_replicationServerInstanceType;
272 bool m_replicationServerInstanceTypeHasBeenSet = false;
273
274 Aws::Vector<Aws::String> m_replicationServersSecurityGroupsIDs;
275 bool m_replicationServersSecurityGroupsIDsHasBeenSet = false;
276
277 Aws::String m_stagingAreaSubnetId;
278 bool m_stagingAreaSubnetIdHasBeenSet = false;
279
280 Aws::Map<Aws::String, Aws::String> m_stagingAreaTags;
281 bool m_stagingAreaTagsHasBeenSet = false;
282
284 bool m_tagsHasBeenSet = false;
285
286 bool m_useDedicatedReplicationServer;
287 bool m_useDedicatedReplicationServerHasBeenSet = false;
288 };
289
290} // namespace Model
291} // namespace drs
292} // namespace Aws
CreateReplicationConfigurationTemplateRequest & WithDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
CreateReplicationConfigurationTemplateRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateReplicationConfigurationTemplateRequest & WithEbsEncryptionKeyArn(const char *value)
CreateReplicationConfigurationTemplateRequest & WithStagingAreaTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const char *key, const char *value)
CreateReplicationConfigurationTemplateRequest & AddPitPolicy(const PITPolicyRule &value)
CreateReplicationConfigurationTemplateRequest & WithCreatePublicIP(bool value)
CreateReplicationConfigurationTemplateRequest & AddTags(const char *key, const char *value)
CreateReplicationConfigurationTemplateRequest & WithReplicationServersSecurityGroupsIDs(Aws::Vector< Aws::String > &&value)
CreateReplicationConfigurationTemplateRequest & WithEbsEncryptionKeyArn(Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & AddTags(Aws::String &&key, const char *value)
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const char *key, Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & WithReplicationServerInstanceType(Aws::String &&value)
AWS_DRS_API Aws::String SerializePayload() const override
CreateReplicationConfigurationTemplateRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & WithPitPolicy(const Aws::Vector< PITPolicyRule > &value)
const ReplicationConfigurationDefaultLargeStagingDiskType & GetDefaultLargeStagingDiskType() const
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(Aws::String &&key, const Aws::String &value)
CreateReplicationConfigurationTemplateRequest & AddReplicationServersSecurityGroupsIDs(Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & WithAssociateDefaultSecurityGroup(bool value)
CreateReplicationConfigurationTemplateRequest & WithPitPolicy(Aws::Vector< PITPolicyRule > &&value)
CreateReplicationConfigurationTemplateRequest & WithStagingAreaSubnetId(const char *value)
CreateReplicationConfigurationTemplateRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateReplicationConfigurationTemplateRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & WithEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(Aws::String &&key, Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & WithDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
CreateReplicationConfigurationTemplateRequest & AddPitPolicy(PITPolicyRule &&value)
CreateReplicationConfigurationTemplateRequest & WithStagingAreaSubnetId(Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & WithStagingAreaSubnetId(const Aws::String &value)
CreateReplicationConfigurationTemplateRequest & AddTags(const char *key, Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & AddReplicationServersSecurityGroupsIDs(const Aws::String &value)
CreateReplicationConfigurationTemplateRequest & WithReplicationServerInstanceType(const char *value)
void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
CreateReplicationConfigurationTemplateRequest & WithBandwidthThrottling(long long value)
CreateReplicationConfigurationTemplateRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReplicationConfigurationTemplateRequest & WithReplicationServerInstanceType(const Aws::String &value)
CreateReplicationConfigurationTemplateRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateReplicationConfigurationTemplateRequest & WithUseDedicatedReplicationServer(bool value)
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)
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const Aws::String &key, Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & WithEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(Aws::String &&key, const char *value)
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const Aws::String &key, const Aws::String &value)
CreateReplicationConfigurationTemplateRequest & WithStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
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