AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateReplicationConfigurationRequest.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 <aws/drs/model/ReplicationConfigurationReplicatedDisk.h>
17#include <utility>
18
19namespace Aws
20{
21namespace drs
22{
23namespace Model
24{
25
29 {
30 public:
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "UpdateReplicationConfiguration"; }
38
39 AWS_DRS_API Aws::String SerializePayload() const override;
40
41
43
47 inline bool GetAssociateDefaultSecurityGroup() const{ return m_associateDefaultSecurityGroup; }
48 inline bool AssociateDefaultSecurityGroupHasBeenSet() const { return m_associateDefaultSecurityGroupHasBeenSet; }
49 inline void SetAssociateDefaultSecurityGroup(bool value) { m_associateDefaultSecurityGroupHasBeenSet = true; m_associateDefaultSecurityGroup = value; }
52
54
58 inline bool GetAutoReplicateNewDisks() const{ return m_autoReplicateNewDisks; }
59 inline bool AutoReplicateNewDisksHasBeenSet() const { return m_autoReplicateNewDisksHasBeenSet; }
60 inline void SetAutoReplicateNewDisks(bool value) { m_autoReplicateNewDisksHasBeenSet = true; m_autoReplicateNewDisks = value; }
63
65
69 inline long long GetBandwidthThrottling() const{ return m_bandwidthThrottling; }
70 inline bool BandwidthThrottlingHasBeenSet() const { return m_bandwidthThrottlingHasBeenSet; }
71 inline void SetBandwidthThrottling(long long value) { m_bandwidthThrottlingHasBeenSet = true; m_bandwidthThrottling = value; }
74
76
79 inline bool GetCreatePublicIP() const{ return m_createPublicIP; }
80 inline bool CreatePublicIPHasBeenSet() const { return m_createPublicIPHasBeenSet; }
81 inline void SetCreatePublicIP(bool value) { m_createPublicIPHasBeenSet = true; m_createPublicIP = value; }
84
86
89 inline const ReplicationConfigurationDataPlaneRouting& GetDataPlaneRouting() const{ return m_dataPlaneRouting; }
90 inline bool DataPlaneRoutingHasBeenSet() const { return m_dataPlaneRoutingHasBeenSet; }
91 inline void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting& value) { m_dataPlaneRoutingHasBeenSet = true; m_dataPlaneRouting = value; }
92 inline void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting&& value) { m_dataPlaneRoutingHasBeenSet = true; m_dataPlaneRouting = std::move(value); }
96
98
101 inline const ReplicationConfigurationDefaultLargeStagingDiskType& GetDefaultLargeStagingDiskType() const{ return m_defaultLargeStagingDiskType; }
102 inline bool DefaultLargeStagingDiskTypeHasBeenSet() const { return m_defaultLargeStagingDiskTypeHasBeenSet; }
103 inline void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType& value) { m_defaultLargeStagingDiskTypeHasBeenSet = true; m_defaultLargeStagingDiskType = value; }
104 inline void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType&& value) { m_defaultLargeStagingDiskTypeHasBeenSet = true; m_defaultLargeStagingDiskType = std::move(value); }
108
110
113 inline const ReplicationConfigurationEbsEncryption& GetEbsEncryption() const{ return m_ebsEncryption; }
114 inline bool EbsEncryptionHasBeenSet() const { return m_ebsEncryptionHasBeenSet; }
115 inline void SetEbsEncryption(const ReplicationConfigurationEbsEncryption& value) { m_ebsEncryptionHasBeenSet = true; m_ebsEncryption = value; }
116 inline void SetEbsEncryption(ReplicationConfigurationEbsEncryption&& value) { m_ebsEncryptionHasBeenSet = true; m_ebsEncryption = std::move(value); }
120
122
125 inline const Aws::String& GetEbsEncryptionKeyArn() const{ return m_ebsEncryptionKeyArn; }
126 inline bool EbsEncryptionKeyArnHasBeenSet() const { return m_ebsEncryptionKeyArnHasBeenSet; }
127 inline void SetEbsEncryptionKeyArn(const Aws::String& value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn = value; }
128 inline void SetEbsEncryptionKeyArn(Aws::String&& value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn = std::move(value); }
129 inline void SetEbsEncryptionKeyArn(const char* value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn.assign(value); }
134
136
139 inline const Aws::String& GetName() const{ return m_name; }
140 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
141 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
142 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
143 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
144 inline UpdateReplicationConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
145 inline UpdateReplicationConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
146 inline UpdateReplicationConfigurationRequest& WithName(const char* value) { SetName(value); return *this;}
148
150
154 inline const Aws::Vector<PITPolicyRule>& GetPitPolicy() const{ return m_pitPolicy; }
155 inline bool PitPolicyHasBeenSet() const { return m_pitPolicyHasBeenSet; }
156 inline void SetPitPolicy(const Aws::Vector<PITPolicyRule>& value) { m_pitPolicyHasBeenSet = true; m_pitPolicy = value; }
157 inline void SetPitPolicy(Aws::Vector<PITPolicyRule>&& value) { m_pitPolicyHasBeenSet = true; m_pitPolicy = std::move(value); }
160 inline UpdateReplicationConfigurationRequest& AddPitPolicy(const PITPolicyRule& value) { m_pitPolicyHasBeenSet = true; m_pitPolicy.push_back(value); return *this; }
161 inline UpdateReplicationConfigurationRequest& AddPitPolicy(PITPolicyRule&& value) { m_pitPolicyHasBeenSet = true; m_pitPolicy.push_back(std::move(value)); return *this; }
163
165
168 inline const Aws::Vector<ReplicationConfigurationReplicatedDisk>& GetReplicatedDisks() const{ return m_replicatedDisks; }
169 inline bool ReplicatedDisksHasBeenSet() const { return m_replicatedDisksHasBeenSet; }
170 inline void SetReplicatedDisks(const Aws::Vector<ReplicationConfigurationReplicatedDisk>& value) { m_replicatedDisksHasBeenSet = true; m_replicatedDisks = value; }
171 inline void SetReplicatedDisks(Aws::Vector<ReplicationConfigurationReplicatedDisk>&& value) { m_replicatedDisksHasBeenSet = true; m_replicatedDisks = std::move(value); }
174 inline UpdateReplicationConfigurationRequest& AddReplicatedDisks(const ReplicationConfigurationReplicatedDisk& value) { m_replicatedDisksHasBeenSet = true; m_replicatedDisks.push_back(value); return *this; }
175 inline UpdateReplicationConfigurationRequest& AddReplicatedDisks(ReplicationConfigurationReplicatedDisk&& value) { m_replicatedDisksHasBeenSet = true; m_replicatedDisks.push_back(std::move(value)); return *this; }
177
179
182 inline const Aws::String& GetReplicationServerInstanceType() const{ return m_replicationServerInstanceType; }
183 inline bool ReplicationServerInstanceTypeHasBeenSet() const { return m_replicationServerInstanceTypeHasBeenSet; }
184 inline void SetReplicationServerInstanceType(const Aws::String& value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType = value; }
185 inline void SetReplicationServerInstanceType(Aws::String&& value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType = std::move(value); }
186 inline void SetReplicationServerInstanceType(const char* value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType.assign(value); }
191
193
196 inline const Aws::Vector<Aws::String>& GetReplicationServersSecurityGroupsIDs() const{ return m_replicationServersSecurityGroupsIDs; }
197 inline bool ReplicationServersSecurityGroupsIDsHasBeenSet() const { return m_replicationServersSecurityGroupsIDsHasBeenSet; }
198 inline void SetReplicationServersSecurityGroupsIDs(const Aws::Vector<Aws::String>& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs = value; }
199 inline void SetReplicationServersSecurityGroupsIDs(Aws::Vector<Aws::String>&& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs = std::move(value); }
202 inline UpdateReplicationConfigurationRequest& AddReplicationServersSecurityGroupsIDs(const Aws::String& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
203 inline UpdateReplicationConfigurationRequest& AddReplicationServersSecurityGroupsIDs(Aws::String&& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(std::move(value)); return *this; }
204 inline UpdateReplicationConfigurationRequest& AddReplicationServersSecurityGroupsIDs(const char* value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
206
208
211 inline const Aws::String& GetSourceServerID() const{ return m_sourceServerID; }
212 inline bool SourceServerIDHasBeenSet() const { return m_sourceServerIDHasBeenSet; }
213 inline void SetSourceServerID(const Aws::String& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = value; }
214 inline void SetSourceServerID(Aws::String&& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = std::move(value); }
215 inline void SetSourceServerID(const char* value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID.assign(value); }
218 inline UpdateReplicationConfigurationRequest& WithSourceServerID(const char* value) { SetSourceServerID(value); return *this;}
220
222
225 inline const Aws::String& GetStagingAreaSubnetId() const{ return m_stagingAreaSubnetId; }
226 inline bool StagingAreaSubnetIdHasBeenSet() const { return m_stagingAreaSubnetIdHasBeenSet; }
227 inline void SetStagingAreaSubnetId(const Aws::String& value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId = value; }
228 inline void SetStagingAreaSubnetId(Aws::String&& value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId = std::move(value); }
229 inline void SetStagingAreaSubnetId(const char* value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId.assign(value); }
234
236
240 inline const Aws::Map<Aws::String, Aws::String>& GetStagingAreaTags() const{ return m_stagingAreaTags; }
241 inline bool StagingAreaTagsHasBeenSet() const { return m_stagingAreaTagsHasBeenSet; }
242 inline void SetStagingAreaTags(const Aws::Map<Aws::String, Aws::String>& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags = value; }
243 inline void SetStagingAreaTags(Aws::Map<Aws::String, Aws::String>&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags = std::move(value); }
246 inline UpdateReplicationConfigurationRequest& AddStagingAreaTags(const Aws::String& key, const Aws::String& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, value); return *this; }
247 inline UpdateReplicationConfigurationRequest& AddStagingAreaTags(Aws::String&& key, const Aws::String& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), value); return *this; }
248 inline UpdateReplicationConfigurationRequest& AddStagingAreaTags(const Aws::String& key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
249 inline UpdateReplicationConfigurationRequest& AddStagingAreaTags(Aws::String&& key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), std::move(value)); return *this; }
250 inline UpdateReplicationConfigurationRequest& AddStagingAreaTags(const char* key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
251 inline UpdateReplicationConfigurationRequest& AddStagingAreaTags(Aws::String&& key, const char* value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), value); return *this; }
252 inline UpdateReplicationConfigurationRequest& AddStagingAreaTags(const char* key, const char* value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, value); return *this; }
254
256
260 inline bool GetUseDedicatedReplicationServer() const{ return m_useDedicatedReplicationServer; }
261 inline bool UseDedicatedReplicationServerHasBeenSet() const { return m_useDedicatedReplicationServerHasBeenSet; }
262 inline void SetUseDedicatedReplicationServer(bool value) { m_useDedicatedReplicationServerHasBeenSet = true; m_useDedicatedReplicationServer = value; }
265 private:
266
267 bool m_associateDefaultSecurityGroup;
268 bool m_associateDefaultSecurityGroupHasBeenSet = false;
269
270 bool m_autoReplicateNewDisks;
271 bool m_autoReplicateNewDisksHasBeenSet = false;
272
273 long long m_bandwidthThrottling;
274 bool m_bandwidthThrottlingHasBeenSet = false;
275
276 bool m_createPublicIP;
277 bool m_createPublicIPHasBeenSet = false;
278
280 bool m_dataPlaneRoutingHasBeenSet = false;
281
282 ReplicationConfigurationDefaultLargeStagingDiskType m_defaultLargeStagingDiskType;
283 bool m_defaultLargeStagingDiskTypeHasBeenSet = false;
284
286 bool m_ebsEncryptionHasBeenSet = false;
287
288 Aws::String m_ebsEncryptionKeyArn;
289 bool m_ebsEncryptionKeyArnHasBeenSet = false;
290
291 Aws::String m_name;
292 bool m_nameHasBeenSet = false;
293
294 Aws::Vector<PITPolicyRule> m_pitPolicy;
295 bool m_pitPolicyHasBeenSet = false;
296
298 bool m_replicatedDisksHasBeenSet = false;
299
300 Aws::String m_replicationServerInstanceType;
301 bool m_replicationServerInstanceTypeHasBeenSet = false;
302
303 Aws::Vector<Aws::String> m_replicationServersSecurityGroupsIDs;
304 bool m_replicationServersSecurityGroupsIDsHasBeenSet = false;
305
306 Aws::String m_sourceServerID;
307 bool m_sourceServerIDHasBeenSet = false;
308
309 Aws::String m_stagingAreaSubnetId;
310 bool m_stagingAreaSubnetIdHasBeenSet = false;
311
312 Aws::Map<Aws::String, Aws::String> m_stagingAreaTags;
313 bool m_stagingAreaTagsHasBeenSet = false;
314
315 bool m_useDedicatedReplicationServer;
316 bool m_useDedicatedReplicationServerHasBeenSet = false;
317 };
318
319} // namespace Model
320} // namespace drs
321} // namespace Aws
UpdateReplicationConfigurationRequest & WithSourceServerID(const char *value)
UpdateReplicationConfigurationRequest & WithAutoReplicateNewDisks(bool value)
UpdateReplicationConfigurationRequest & WithReplicatedDisks(Aws::Vector< ReplicationConfigurationReplicatedDisk > &&value)
void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
UpdateReplicationConfigurationRequest & WithStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateReplicationConfigurationRequest & AddReplicationServersSecurityGroupsIDs(const Aws::String &value)
void SetReplicationServersSecurityGroupsIDs(const Aws::Vector< Aws::String > &value)
UpdateReplicationConfigurationRequest & WithEbsEncryptionKeyArn(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetStagingAreaTags() const
UpdateReplicationConfigurationRequest & WithDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
const ReplicationConfigurationDefaultLargeStagingDiskType & GetDefaultLargeStagingDiskType() const
UpdateReplicationConfigurationRequest & WithDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
void SetEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
UpdateReplicationConfigurationRequest & AddStagingAreaTags(const Aws::String &key, Aws::String &&value)
const Aws::Vector< ReplicationConfigurationReplicatedDisk > & GetReplicatedDisks() const
void SetStagingAreaTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateReplicationConfigurationRequest & WithSourceServerID(Aws::String &&value)
UpdateReplicationConfigurationRequest & AddReplicationServersSecurityGroupsIDs(Aws::String &&value)
UpdateReplicationConfigurationRequest & WithStagingAreaTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateReplicationConfigurationRequest & WithEbsEncryptionKeyArn(const Aws::String &value)
UpdateReplicationConfigurationRequest & AddPitPolicy(PITPolicyRule &&value)
UpdateReplicationConfigurationRequest & AddReplicationServersSecurityGroupsIDs(const char *value)
void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
UpdateReplicationConfigurationRequest & AddStagingAreaTags(Aws::String &&key, const Aws::String &value)
UpdateReplicationConfigurationRequest & AddReplicatedDisks(ReplicationConfigurationReplicatedDisk &&value)
UpdateReplicationConfigurationRequest & WithEbsEncryptionKeyArn(const char *value)
UpdateReplicationConfigurationRequest & AddStagingAreaTags(Aws::String &&key, const char *value)
void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
UpdateReplicationConfigurationRequest & WithName(const Aws::String &value)
UpdateReplicationConfigurationRequest & WithReplicationServerInstanceType(const char *value)
AWS_DRS_API Aws::String SerializePayload() const override
UpdateReplicationConfigurationRequest & WithBandwidthThrottling(long long value)
UpdateReplicationConfigurationRequest & WithReplicationServersSecurityGroupsIDs(const Aws::Vector< Aws::String > &value)
UpdateReplicationConfigurationRequest & AddStagingAreaTags(const char *key, const char *value)
UpdateReplicationConfigurationRequest & AddStagingAreaTags(Aws::String &&key, Aws::String &&value)
UpdateReplicationConfigurationRequest & AddStagingAreaTags(const char *key, Aws::String &&value)
const Aws::Vector< Aws::String > & GetReplicationServersSecurityGroupsIDs() const
void SetStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateReplicationConfigurationRequest & WithName(const char *value)
UpdateReplicationConfigurationRequest & WithPitPolicy(const Aws::Vector< PITPolicyRule > &value)
UpdateReplicationConfigurationRequest & WithCreatePublicIP(bool value)
UpdateReplicationConfigurationRequest & WithReplicationServerInstanceType(const Aws::String &value)
UpdateReplicationConfigurationRequest & AddPitPolicy(const PITPolicyRule &value)
UpdateReplicationConfigurationRequest & WithReplicatedDisks(const Aws::Vector< ReplicationConfigurationReplicatedDisk > &value)
UpdateReplicationConfigurationRequest & AddStagingAreaTags(const Aws::String &key, const Aws::String &value)
UpdateReplicationConfigurationRequest & WithDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
const ReplicationConfigurationEbsEncryption & GetEbsEncryption() const
UpdateReplicationConfigurationRequest & AddReplicatedDisks(const ReplicationConfigurationReplicatedDisk &value)
UpdateReplicationConfigurationRequest & WithAssociateDefaultSecurityGroup(bool value)
UpdateReplicationConfigurationRequest & WithReplicationServerInstanceType(Aws::String &&value)
UpdateReplicationConfigurationRequest & WithUseDedicatedReplicationServer(bool value)
UpdateReplicationConfigurationRequest & WithEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
UpdateReplicationConfigurationRequest & WithStagingAreaSubnetId(const Aws::String &value)
UpdateReplicationConfigurationRequest & WithReplicationServersSecurityGroupsIDs(Aws::Vector< Aws::String > &&value)
void SetReplicatedDisks(Aws::Vector< ReplicationConfigurationReplicatedDisk > &&value)
UpdateReplicationConfigurationRequest & WithDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
void SetReplicatedDisks(const Aws::Vector< ReplicationConfigurationReplicatedDisk > &value)
const ReplicationConfigurationDataPlaneRouting & GetDataPlaneRouting() const
UpdateReplicationConfigurationRequest & WithName(Aws::String &&value)
void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
UpdateReplicationConfigurationRequest & WithEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
UpdateReplicationConfigurationRequest & WithPitPolicy(Aws::Vector< PITPolicyRule > &&value)
void SetEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
UpdateReplicationConfigurationRequest & WithSourceServerID(const Aws::String &value)
UpdateReplicationConfigurationRequest & WithStagingAreaSubnetId(const char *value)
UpdateReplicationConfigurationRequest & WithStagingAreaSubnetId(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