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/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>
16#include <utility>
17
18namespace Aws
19{
20namespace mgn
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 "UpdateReplicationConfiguration"; }
37
38 AWS_MGN_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetAccountID() const{ return m_accountID; }
46 inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; }
47 inline void SetAccountID(const Aws::String& value) { m_accountIDHasBeenSet = true; m_accountID = value; }
48 inline void SetAccountID(Aws::String&& value) { m_accountIDHasBeenSet = true; m_accountID = std::move(value); }
49 inline void SetAccountID(const char* value) { m_accountIDHasBeenSet = true; m_accountID.assign(value); }
50 inline UpdateReplicationConfigurationRequest& WithAccountID(const Aws::String& value) { SetAccountID(value); return *this;}
51 inline UpdateReplicationConfigurationRequest& WithAccountID(Aws::String&& value) { SetAccountID(std::move(value)); return *this;}
52 inline UpdateReplicationConfigurationRequest& WithAccountID(const char* value) { SetAccountID(value); return *this;}
54
56
60 inline bool GetAssociateDefaultSecurityGroup() const{ return m_associateDefaultSecurityGroup; }
61 inline bool AssociateDefaultSecurityGroupHasBeenSet() const { return m_associateDefaultSecurityGroupHasBeenSet; }
62 inline void SetAssociateDefaultSecurityGroup(bool value) { m_associateDefaultSecurityGroupHasBeenSet = true; m_associateDefaultSecurityGroup = value; }
65
67
70 inline long long GetBandwidthThrottling() const{ return m_bandwidthThrottling; }
71 inline bool BandwidthThrottlingHasBeenSet() const { return m_bandwidthThrottlingHasBeenSet; }
72 inline void SetBandwidthThrottling(long long value) { m_bandwidthThrottlingHasBeenSet = true; m_bandwidthThrottling = value; }
75
77
80 inline bool GetCreatePublicIP() const{ return m_createPublicIP; }
81 inline bool CreatePublicIPHasBeenSet() const { return m_createPublicIPHasBeenSet; }
82 inline void SetCreatePublicIP(bool value) { m_createPublicIPHasBeenSet = true; m_createPublicIP = value; }
85
87
90 inline const ReplicationConfigurationDataPlaneRouting& GetDataPlaneRouting() const{ return m_dataPlaneRouting; }
91 inline bool DataPlaneRoutingHasBeenSet() const { return m_dataPlaneRoutingHasBeenSet; }
92 inline void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting& value) { m_dataPlaneRoutingHasBeenSet = true; m_dataPlaneRouting = value; }
93 inline void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting&& value) { m_dataPlaneRoutingHasBeenSet = true; m_dataPlaneRouting = std::move(value); }
97
99
103 inline const ReplicationConfigurationDefaultLargeStagingDiskType& GetDefaultLargeStagingDiskType() const{ return m_defaultLargeStagingDiskType; }
104 inline bool DefaultLargeStagingDiskTypeHasBeenSet() const { return m_defaultLargeStagingDiskTypeHasBeenSet; }
105 inline void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType& value) { m_defaultLargeStagingDiskTypeHasBeenSet = true; m_defaultLargeStagingDiskType = value; }
106 inline void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType&& value) { m_defaultLargeStagingDiskTypeHasBeenSet = true; m_defaultLargeStagingDiskType = std::move(value); }
110
112
115 inline const ReplicationConfigurationEbsEncryption& GetEbsEncryption() const{ return m_ebsEncryption; }
116 inline bool EbsEncryptionHasBeenSet() const { return m_ebsEncryptionHasBeenSet; }
117 inline void SetEbsEncryption(const ReplicationConfigurationEbsEncryption& value) { m_ebsEncryptionHasBeenSet = true; m_ebsEncryption = value; }
118 inline void SetEbsEncryption(ReplicationConfigurationEbsEncryption&& value) { m_ebsEncryptionHasBeenSet = true; m_ebsEncryption = std::move(value); }
122
124
127 inline const Aws::String& GetEbsEncryptionKeyArn() const{ return m_ebsEncryptionKeyArn; }
128 inline bool EbsEncryptionKeyArnHasBeenSet() const { return m_ebsEncryptionKeyArnHasBeenSet; }
129 inline void SetEbsEncryptionKeyArn(const Aws::String& value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn = value; }
130 inline void SetEbsEncryptionKeyArn(Aws::String&& value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn = std::move(value); }
131 inline void SetEbsEncryptionKeyArn(const char* value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn.assign(value); }
136
138
141 inline const Aws::String& GetName() const{ return m_name; }
142 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
143 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
144 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
145 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
146 inline UpdateReplicationConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
147 inline UpdateReplicationConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
148 inline UpdateReplicationConfigurationRequest& WithName(const char* value) { SetName(value); return *this;}
150
152
155 inline const Aws::Vector<ReplicationConfigurationReplicatedDisk>& GetReplicatedDisks() const{ return m_replicatedDisks; }
156 inline bool ReplicatedDisksHasBeenSet() const { return m_replicatedDisksHasBeenSet; }
157 inline void SetReplicatedDisks(const Aws::Vector<ReplicationConfigurationReplicatedDisk>& value) { m_replicatedDisksHasBeenSet = true; m_replicatedDisks = value; }
158 inline void SetReplicatedDisks(Aws::Vector<ReplicationConfigurationReplicatedDisk>&& value) { m_replicatedDisksHasBeenSet = true; m_replicatedDisks = std::move(value); }
161 inline UpdateReplicationConfigurationRequest& AddReplicatedDisks(const ReplicationConfigurationReplicatedDisk& value) { m_replicatedDisksHasBeenSet = true; m_replicatedDisks.push_back(value); return *this; }
162 inline UpdateReplicationConfigurationRequest& AddReplicatedDisks(ReplicationConfigurationReplicatedDisk&& value) { m_replicatedDisksHasBeenSet = true; m_replicatedDisks.push_back(std::move(value)); return *this; }
164
166
170 inline const Aws::String& GetReplicationServerInstanceType() const{ return m_replicationServerInstanceType; }
171 inline bool ReplicationServerInstanceTypeHasBeenSet() const { return m_replicationServerInstanceTypeHasBeenSet; }
172 inline void SetReplicationServerInstanceType(const Aws::String& value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType = value; }
173 inline void SetReplicationServerInstanceType(Aws::String&& value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType = std::move(value); }
174 inline void SetReplicationServerInstanceType(const char* value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType.assign(value); }
179
181
185 inline const Aws::Vector<Aws::String>& GetReplicationServersSecurityGroupsIDs() const{ return m_replicationServersSecurityGroupsIDs; }
186 inline bool ReplicationServersSecurityGroupsIDsHasBeenSet() const { return m_replicationServersSecurityGroupsIDsHasBeenSet; }
187 inline void SetReplicationServersSecurityGroupsIDs(const Aws::Vector<Aws::String>& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs = value; }
188 inline void SetReplicationServersSecurityGroupsIDs(Aws::Vector<Aws::String>&& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs = std::move(value); }
191 inline UpdateReplicationConfigurationRequest& AddReplicationServersSecurityGroupsIDs(const Aws::String& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
192 inline UpdateReplicationConfigurationRequest& AddReplicationServersSecurityGroupsIDs(Aws::String&& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(std::move(value)); return *this; }
193 inline UpdateReplicationConfigurationRequest& AddReplicationServersSecurityGroupsIDs(const char* value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
195
197
200 inline const Aws::String& GetSourceServerID() const{ return m_sourceServerID; }
201 inline bool SourceServerIDHasBeenSet() const { return m_sourceServerIDHasBeenSet; }
202 inline void SetSourceServerID(const Aws::String& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = value; }
203 inline void SetSourceServerID(Aws::String&& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = std::move(value); }
204 inline void SetSourceServerID(const char* value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID.assign(value); }
207 inline UpdateReplicationConfigurationRequest& WithSourceServerID(const char* value) { SetSourceServerID(value); return *this;}
209
211
214 inline const Aws::String& GetStagingAreaSubnetId() const{ return m_stagingAreaSubnetId; }
215 inline bool StagingAreaSubnetIdHasBeenSet() const { return m_stagingAreaSubnetIdHasBeenSet; }
216 inline void SetStagingAreaSubnetId(const Aws::String& value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId = value; }
217 inline void SetStagingAreaSubnetId(Aws::String&& value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId = std::move(value); }
218 inline void SetStagingAreaSubnetId(const char* value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId.assign(value); }
223
225
228 inline const Aws::Map<Aws::String, Aws::String>& GetStagingAreaTags() const{ return m_stagingAreaTags; }
229 inline bool StagingAreaTagsHasBeenSet() const { return m_stagingAreaTagsHasBeenSet; }
230 inline void SetStagingAreaTags(const Aws::Map<Aws::String, Aws::String>& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags = value; }
231 inline void SetStagingAreaTags(Aws::Map<Aws::String, Aws::String>&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags = std::move(value); }
234 inline UpdateReplicationConfigurationRequest& AddStagingAreaTags(const Aws::String& key, const Aws::String& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, value); return *this; }
235 inline UpdateReplicationConfigurationRequest& AddStagingAreaTags(Aws::String&& key, const Aws::String& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), value); return *this; }
236 inline UpdateReplicationConfigurationRequest& AddStagingAreaTags(const Aws::String& key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
237 inline UpdateReplicationConfigurationRequest& AddStagingAreaTags(Aws::String&& key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), std::move(value)); return *this; }
238 inline UpdateReplicationConfigurationRequest& AddStagingAreaTags(const char* key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
239 inline UpdateReplicationConfigurationRequest& AddStagingAreaTags(Aws::String&& key, const char* value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), value); return *this; }
240 inline UpdateReplicationConfigurationRequest& AddStagingAreaTags(const char* key, const char* value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, value); return *this; }
242
244
248 inline bool GetUseDedicatedReplicationServer() const{ return m_useDedicatedReplicationServer; }
249 inline bool UseDedicatedReplicationServerHasBeenSet() const { return m_useDedicatedReplicationServerHasBeenSet; }
250 inline void SetUseDedicatedReplicationServer(bool value) { m_useDedicatedReplicationServerHasBeenSet = true; m_useDedicatedReplicationServer = value; }
253
255
258 inline bool GetUseFipsEndpoint() const{ return m_useFipsEndpoint; }
259 inline bool UseFipsEndpointHasBeenSet() const { return m_useFipsEndpointHasBeenSet; }
260 inline void SetUseFipsEndpoint(bool value) { m_useFipsEndpointHasBeenSet = true; m_useFipsEndpoint = value; }
263 private:
264
265 Aws::String m_accountID;
266 bool m_accountIDHasBeenSet = false;
267
268 bool m_associateDefaultSecurityGroup;
269 bool m_associateDefaultSecurityGroupHasBeenSet = false;
270
271 long long m_bandwidthThrottling;
272 bool m_bandwidthThrottlingHasBeenSet = false;
273
274 bool m_createPublicIP;
275 bool m_createPublicIPHasBeenSet = false;
276
278 bool m_dataPlaneRoutingHasBeenSet = false;
279
280 ReplicationConfigurationDefaultLargeStagingDiskType m_defaultLargeStagingDiskType;
281 bool m_defaultLargeStagingDiskTypeHasBeenSet = false;
282
284 bool m_ebsEncryptionHasBeenSet = false;
285
286 Aws::String m_ebsEncryptionKeyArn;
287 bool m_ebsEncryptionKeyArnHasBeenSet = false;
288
289 Aws::String m_name;
290 bool m_nameHasBeenSet = false;
291
293 bool m_replicatedDisksHasBeenSet = false;
294
295 Aws::String m_replicationServerInstanceType;
296 bool m_replicationServerInstanceTypeHasBeenSet = false;
297
298 Aws::Vector<Aws::String> m_replicationServersSecurityGroupsIDs;
299 bool m_replicationServersSecurityGroupsIDsHasBeenSet = false;
300
301 Aws::String m_sourceServerID;
302 bool m_sourceServerIDHasBeenSet = false;
303
304 Aws::String m_stagingAreaSubnetId;
305 bool m_stagingAreaSubnetIdHasBeenSet = false;
306
307 Aws::Map<Aws::String, Aws::String> m_stagingAreaTags;
308 bool m_stagingAreaTagsHasBeenSet = false;
309
310 bool m_useDedicatedReplicationServer;
311 bool m_useDedicatedReplicationServerHasBeenSet = false;
312
313 bool m_useFipsEndpoint;
314 bool m_useFipsEndpointHasBeenSet = false;
315 };
316
317} // namespace Model
318} // namespace mgn
319} // namespace Aws
UpdateReplicationConfigurationRequest & AddReplicationServersSecurityGroupsIDs(const char *value)
UpdateReplicationConfigurationRequest & WithReplicationServersSecurityGroupsIDs(Aws::Vector< Aws::String > &&value)
AWS_MGN_API Aws::String SerializePayload() const override
void SetReplicatedDisks(const Aws::Vector< ReplicationConfigurationReplicatedDisk > &value)
UpdateReplicationConfigurationRequest & WithEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
const ReplicationConfigurationEbsEncryption & GetEbsEncryption() const
UpdateReplicationConfigurationRequest & WithBandwidthThrottling(long long value)
UpdateReplicationConfigurationRequest & AddStagingAreaTags(const char *key, Aws::String &&value)
UpdateReplicationConfigurationRequest & AddStagingAreaTags(Aws::String &&key, Aws::String &&value)
UpdateReplicationConfigurationRequest & WithReplicatedDisks(const Aws::Vector< ReplicationConfigurationReplicatedDisk > &value)
UpdateReplicationConfigurationRequest & WithStagingAreaSubnetId(const Aws::String &value)
UpdateReplicationConfigurationRequest & WithStagingAreaSubnetId(Aws::String &&value)
UpdateReplicationConfigurationRequest & AddStagingAreaTags(Aws::String &&key, const Aws::String &value)
UpdateReplicationConfigurationRequest & WithEbsEncryptionKeyArn(const char *value)
UpdateReplicationConfigurationRequest & WithDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
UpdateReplicationConfigurationRequest & WithAccountID(const char *value)
UpdateReplicationConfigurationRequest & WithStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateReplicationConfigurationRequest & WithReplicatedDisks(Aws::Vector< ReplicationConfigurationReplicatedDisk > &&value)
UpdateReplicationConfigurationRequest & AddStagingAreaTags(const char *key, const char *value)
UpdateReplicationConfigurationRequest & WithReplicationServersSecurityGroupsIDs(const Aws::Vector< Aws::String > &value)
UpdateReplicationConfigurationRequest & AddReplicatedDisks(ReplicationConfigurationReplicatedDisk &&value)
UpdateReplicationConfigurationRequest & WithName(Aws::String &&value)
UpdateReplicationConfigurationRequest & AddStagingAreaTags(const Aws::String &key, Aws::String &&value)
void SetEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
const ReplicationConfigurationDefaultLargeStagingDiskType & GetDefaultLargeStagingDiskType() const
UpdateReplicationConfigurationRequest & WithStagingAreaSubnetId(const char *value)
UpdateReplicationConfigurationRequest & WithSourceServerID(const char *value)
void SetStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
UpdateReplicationConfigurationRequest & WithUseDedicatedReplicationServer(bool value)
UpdateReplicationConfigurationRequest & WithStagingAreaTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
void SetReplicationServersSecurityGroupsIDs(const Aws::Vector< Aws::String > &value)
UpdateReplicationConfigurationRequest & WithName(const char *value)
UpdateReplicationConfigurationRequest & WithName(const Aws::String &value)
void SetStagingAreaTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateReplicationConfigurationRequest & WithEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
UpdateReplicationConfigurationRequest & WithDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
UpdateReplicationConfigurationRequest & WithCreatePublicIP(bool value)
UpdateReplicationConfigurationRequest & WithAccountID(Aws::String &&value)
UpdateReplicationConfigurationRequest & AddStagingAreaTags(Aws::String &&key, const char *value)
const ReplicationConfigurationDataPlaneRouting & GetDataPlaneRouting() const
UpdateReplicationConfigurationRequest & WithEbsEncryptionKeyArn(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetStagingAreaTags() const
UpdateReplicationConfigurationRequest & WithUseFipsEndpoint(bool value)
UpdateReplicationConfigurationRequest & WithSourceServerID(const Aws::String &value)
void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
UpdateReplicationConfigurationRequest & WithSourceServerID(Aws::String &&value)
UpdateReplicationConfigurationRequest & AddReplicatedDisks(const ReplicationConfigurationReplicatedDisk &value)
const Aws::Vector< ReplicationConfigurationReplicatedDisk > & GetReplicatedDisks() const
UpdateReplicationConfigurationRequest & WithReplicationServerInstanceType(const Aws::String &value)
UpdateReplicationConfigurationRequest & AddReplicationServersSecurityGroupsIDs(const Aws::String &value)
UpdateReplicationConfigurationRequest & WithAssociateDefaultSecurityGroup(bool value)
UpdateReplicationConfigurationRequest & WithReplicationServerInstanceType(Aws::String &&value)
UpdateReplicationConfigurationRequest & WithAccountID(const Aws::String &value)
void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
UpdateReplicationConfigurationRequest & WithDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
UpdateReplicationConfigurationRequest & WithEbsEncryptionKeyArn(Aws::String &&value)
UpdateReplicationConfigurationRequest & WithReplicationServerInstanceType(const char *value)
UpdateReplicationConfigurationRequest & WithDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
void SetReplicatedDisks(Aws::Vector< ReplicationConfigurationReplicatedDisk > &&value)
const Aws::Vector< Aws::String > & GetReplicationServersSecurityGroupsIDs() const
UpdateReplicationConfigurationRequest & AddReplicationServersSecurityGroupsIDs(Aws::String &&value)
UpdateReplicationConfigurationRequest & AddStagingAreaTags(const Aws::String &key, const 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