AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateReplicationConfigurationResult.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/model/ReplicationConfigurationDataPlaneRouting.h>
9#include <aws/drs/model/ReplicationConfigurationDefaultLargeStagingDiskType.h>
10#include <aws/drs/model/ReplicationConfigurationEbsEncryption.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/drs/model/PITPolicyRule.h>
15#include <aws/drs/model/ReplicationConfigurationReplicatedDisk.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace drs
31{
32namespace Model
33{
35 {
36 public:
40
41
43
47 inline bool GetAssociateDefaultSecurityGroup() const{ return m_associateDefaultSecurityGroup; }
48 inline void SetAssociateDefaultSecurityGroup(bool value) { m_associateDefaultSecurityGroup = value; }
51
53
57 inline bool GetAutoReplicateNewDisks() const{ return m_autoReplicateNewDisks; }
58 inline void SetAutoReplicateNewDisks(bool value) { m_autoReplicateNewDisks = value; }
61
63
67 inline long long GetBandwidthThrottling() const{ return m_bandwidthThrottling; }
68 inline void SetBandwidthThrottling(long long value) { m_bandwidthThrottling = value; }
71
73
76 inline bool GetCreatePublicIP() const{ return m_createPublicIP; }
77 inline void SetCreatePublicIP(bool value) { m_createPublicIP = value; }
80
82
85 inline const ReplicationConfigurationDataPlaneRouting& GetDataPlaneRouting() const{ return m_dataPlaneRouting; }
86 inline void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting& value) { m_dataPlaneRouting = value; }
87 inline void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting&& value) { m_dataPlaneRouting = std::move(value); }
91
93
96 inline const ReplicationConfigurationDefaultLargeStagingDiskType& GetDefaultLargeStagingDiskType() const{ return m_defaultLargeStagingDiskType; }
97 inline void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType& value) { m_defaultLargeStagingDiskType = value; }
98 inline void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType&& value) { m_defaultLargeStagingDiskType = std::move(value); }
102
104
107 inline const ReplicationConfigurationEbsEncryption& GetEbsEncryption() const{ return m_ebsEncryption; }
108 inline void SetEbsEncryption(const ReplicationConfigurationEbsEncryption& value) { m_ebsEncryption = value; }
109 inline void SetEbsEncryption(ReplicationConfigurationEbsEncryption&& value) { m_ebsEncryption = std::move(value); }
113
115
118 inline const Aws::String& GetEbsEncryptionKeyArn() const{ return m_ebsEncryptionKeyArn; }
119 inline void SetEbsEncryptionKeyArn(const Aws::String& value) { m_ebsEncryptionKeyArn = value; }
120 inline void SetEbsEncryptionKeyArn(Aws::String&& value) { m_ebsEncryptionKeyArn = std::move(value); }
121 inline void SetEbsEncryptionKeyArn(const char* value) { m_ebsEncryptionKeyArn.assign(value); }
126
128
131 inline const Aws::String& GetName() const{ return m_name; }
132 inline void SetName(const Aws::String& value) { m_name = value; }
133 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
134 inline void SetName(const char* value) { m_name.assign(value); }
135 inline UpdateReplicationConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
136 inline UpdateReplicationConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
137 inline UpdateReplicationConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
139
141
145 inline const Aws::Vector<PITPolicyRule>& GetPitPolicy() const{ return m_pitPolicy; }
146 inline void SetPitPolicy(const Aws::Vector<PITPolicyRule>& value) { m_pitPolicy = value; }
147 inline void SetPitPolicy(Aws::Vector<PITPolicyRule>&& value) { m_pitPolicy = std::move(value); }
150 inline UpdateReplicationConfigurationResult& AddPitPolicy(const PITPolicyRule& value) { m_pitPolicy.push_back(value); return *this; }
151 inline UpdateReplicationConfigurationResult& AddPitPolicy(PITPolicyRule&& value) { m_pitPolicy.push_back(std::move(value)); return *this; }
153
155
158 inline const Aws::Vector<ReplicationConfigurationReplicatedDisk>& GetReplicatedDisks() const{ return m_replicatedDisks; }
159 inline void SetReplicatedDisks(const Aws::Vector<ReplicationConfigurationReplicatedDisk>& value) { m_replicatedDisks = value; }
160 inline void SetReplicatedDisks(Aws::Vector<ReplicationConfigurationReplicatedDisk>&& value) { m_replicatedDisks = std::move(value); }
163 inline UpdateReplicationConfigurationResult& AddReplicatedDisks(const ReplicationConfigurationReplicatedDisk& value) { m_replicatedDisks.push_back(value); return *this; }
164 inline UpdateReplicationConfigurationResult& AddReplicatedDisks(ReplicationConfigurationReplicatedDisk&& value) { m_replicatedDisks.push_back(std::move(value)); return *this; }
166
168
171 inline const Aws::String& GetReplicationServerInstanceType() const{ return m_replicationServerInstanceType; }
172 inline void SetReplicationServerInstanceType(const Aws::String& value) { m_replicationServerInstanceType = value; }
173 inline void SetReplicationServerInstanceType(Aws::String&& value) { m_replicationServerInstanceType = std::move(value); }
174 inline void SetReplicationServerInstanceType(const char* value) { m_replicationServerInstanceType.assign(value); }
179
181
184 inline const Aws::Vector<Aws::String>& GetReplicationServersSecurityGroupsIDs() const{ return m_replicationServersSecurityGroupsIDs; }
185 inline void SetReplicationServersSecurityGroupsIDs(const Aws::Vector<Aws::String>& value) { m_replicationServersSecurityGroupsIDs = value; }
186 inline void SetReplicationServersSecurityGroupsIDs(Aws::Vector<Aws::String>&& value) { m_replicationServersSecurityGroupsIDs = std::move(value); }
189 inline UpdateReplicationConfigurationResult& AddReplicationServersSecurityGroupsIDs(const Aws::String& value) { m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
190 inline UpdateReplicationConfigurationResult& AddReplicationServersSecurityGroupsIDs(Aws::String&& value) { m_replicationServersSecurityGroupsIDs.push_back(std::move(value)); return *this; }
191 inline UpdateReplicationConfigurationResult& AddReplicationServersSecurityGroupsIDs(const char* value) { m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
193
195
198 inline const Aws::String& GetSourceServerID() const{ return m_sourceServerID; }
199 inline void SetSourceServerID(const Aws::String& value) { m_sourceServerID = value; }
200 inline void SetSourceServerID(Aws::String&& value) { m_sourceServerID = std::move(value); }
201 inline void SetSourceServerID(const char* value) { m_sourceServerID.assign(value); }
204 inline UpdateReplicationConfigurationResult& WithSourceServerID(const char* value) { SetSourceServerID(value); return *this;}
206
208
211 inline const Aws::String& GetStagingAreaSubnetId() const{ return m_stagingAreaSubnetId; }
212 inline void SetStagingAreaSubnetId(const Aws::String& value) { m_stagingAreaSubnetId = value; }
213 inline void SetStagingAreaSubnetId(Aws::String&& value) { m_stagingAreaSubnetId = std::move(value); }
214 inline void SetStagingAreaSubnetId(const char* value) { m_stagingAreaSubnetId.assign(value); }
219
221
225 inline const Aws::Map<Aws::String, Aws::String>& GetStagingAreaTags() const{ return m_stagingAreaTags; }
226 inline void SetStagingAreaTags(const Aws::Map<Aws::String, Aws::String>& value) { m_stagingAreaTags = value; }
227 inline void SetStagingAreaTags(Aws::Map<Aws::String, Aws::String>&& value) { m_stagingAreaTags = std::move(value); }
230 inline UpdateReplicationConfigurationResult& AddStagingAreaTags(const Aws::String& key, const Aws::String& value) { m_stagingAreaTags.emplace(key, value); return *this; }
231 inline UpdateReplicationConfigurationResult& AddStagingAreaTags(Aws::String&& key, const Aws::String& value) { m_stagingAreaTags.emplace(std::move(key), value); return *this; }
232 inline UpdateReplicationConfigurationResult& AddStagingAreaTags(const Aws::String& key, Aws::String&& value) { m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
233 inline UpdateReplicationConfigurationResult& AddStagingAreaTags(Aws::String&& key, Aws::String&& value) { m_stagingAreaTags.emplace(std::move(key), std::move(value)); return *this; }
234 inline UpdateReplicationConfigurationResult& AddStagingAreaTags(const char* key, Aws::String&& value) { m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
235 inline UpdateReplicationConfigurationResult& AddStagingAreaTags(Aws::String&& key, const char* value) { m_stagingAreaTags.emplace(std::move(key), value); return *this; }
236 inline UpdateReplicationConfigurationResult& AddStagingAreaTags(const char* key, const char* value) { m_stagingAreaTags.emplace(key, value); return *this; }
238
240
244 inline bool GetUseDedicatedReplicationServer() const{ return m_useDedicatedReplicationServer; }
245 inline void SetUseDedicatedReplicationServer(bool value) { m_useDedicatedReplicationServer = value; }
248
250
251 inline const Aws::String& GetRequestId() const{ return m_requestId; }
252 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
253 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
254 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
255 inline UpdateReplicationConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
256 inline UpdateReplicationConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
257 inline UpdateReplicationConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
259 private:
260
261 bool m_associateDefaultSecurityGroup;
262
263 bool m_autoReplicateNewDisks;
264
265 long long m_bandwidthThrottling;
266
267 bool m_createPublicIP;
268
270
271 ReplicationConfigurationDefaultLargeStagingDiskType m_defaultLargeStagingDiskType;
272
274
275 Aws::String m_ebsEncryptionKeyArn;
276
277 Aws::String m_name;
278
279 Aws::Vector<PITPolicyRule> m_pitPolicy;
280
282
283 Aws::String m_replicationServerInstanceType;
284
285 Aws::Vector<Aws::String> m_replicationServersSecurityGroupsIDs;
286
287 Aws::String m_sourceServerID;
288
289 Aws::String m_stagingAreaSubnetId;
290
291 Aws::Map<Aws::String, Aws::String> m_stagingAreaTags;
292
293 bool m_useDedicatedReplicationServer;
294
295 Aws::String m_requestId;
296 };
297
298} // namespace Model
299} // namespace drs
300} // namespace Aws
void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
const ReplicationConfigurationEbsEncryption & GetEbsEncryption() const
UpdateReplicationConfigurationResult & WithRequestId(Aws::String &&value)
UpdateReplicationConfigurationResult & WithName(Aws::String &&value)
UpdateReplicationConfigurationResult & WithPitPolicy(Aws::Vector< PITPolicyRule > &&value)
AWS_DRS_API UpdateReplicationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateReplicationConfigurationResult & WithDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
UpdateReplicationConfigurationResult & WithRequestId(const Aws::String &value)
UpdateReplicationConfigurationResult & WithEbsEncryptionKeyArn(const char *value)
UpdateReplicationConfigurationResult & AddStagingAreaTags(const Aws::String &key, const Aws::String &value)
UpdateReplicationConfigurationResult & WithReplicationServerInstanceType(Aws::String &&value)
UpdateReplicationConfigurationResult & WithReplicationServerInstanceType(const Aws::String &value)
UpdateReplicationConfigurationResult & AddReplicationServersSecurityGroupsIDs(const char *value)
void SetReplicatedDisks(Aws::Vector< ReplicationConfigurationReplicatedDisk > &&value)
const Aws::Vector< ReplicationConfigurationReplicatedDisk > & GetReplicatedDisks() const
UpdateReplicationConfigurationResult & WithEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
AWS_DRS_API UpdateReplicationConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateReplicationConfigurationResult & AddPitPolicy(PITPolicyRule &&value)
UpdateReplicationConfigurationResult & AddReplicationServersSecurityGroupsIDs(const Aws::String &value)
UpdateReplicationConfigurationResult & WithName(const char *value)
UpdateReplicationConfigurationResult & WithStagingAreaTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateReplicationConfigurationResult & AddReplicationServersSecurityGroupsIDs(Aws::String &&value)
UpdateReplicationConfigurationResult & WithStagingAreaSubnetId(Aws::String &&value)
UpdateReplicationConfigurationResult & WithDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
UpdateReplicationConfigurationResult & WithReplicationServersSecurityGroupsIDs(const Aws::Vector< Aws::String > &value)
void SetEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
UpdateReplicationConfigurationResult & WithEbsEncryptionKeyArn(Aws::String &&value)
UpdateReplicationConfigurationResult & WithAutoReplicateNewDisks(bool value)
UpdateReplicationConfigurationResult & WithSourceServerID(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetStagingAreaTags() const
UpdateReplicationConfigurationResult & WithDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
UpdateReplicationConfigurationResult & AddStagingAreaTags(const Aws::String &key, Aws::String &&value)
UpdateReplicationConfigurationResult & WithEbsEncryptionKeyArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetReplicationServersSecurityGroupsIDs() const
void SetReplicationServersSecurityGroupsIDs(const Aws::Vector< Aws::String > &value)
UpdateReplicationConfigurationResult & WithEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
UpdateReplicationConfigurationResult & WithReplicationServersSecurityGroupsIDs(Aws::Vector< Aws::String > &&value)
UpdateReplicationConfigurationResult & AddStagingAreaTags(const char *key, const char *value)
UpdateReplicationConfigurationResult & WithAssociateDefaultSecurityGroup(bool value)
UpdateReplicationConfigurationResult & WithSourceServerID(Aws::String &&value)
void SetStagingAreaTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateReplicationConfigurationResult & WithSourceServerID(const char *value)
UpdateReplicationConfigurationResult & WithBandwidthThrottling(long long value)
UpdateReplicationConfigurationResult & AddStagingAreaTags(Aws::String &&key, const Aws::String &value)
UpdateReplicationConfigurationResult & WithCreatePublicIP(bool value)
UpdateReplicationConfigurationResult & WithDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
void SetReplicatedDisks(const Aws::Vector< ReplicationConfigurationReplicatedDisk > &value)
UpdateReplicationConfigurationResult & AddReplicatedDisks(ReplicationConfigurationReplicatedDisk &&value)
UpdateReplicationConfigurationResult & WithStagingAreaSubnetId(const char *value)
UpdateReplicationConfigurationResult & WithStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateReplicationConfigurationResult & AddReplicatedDisks(const ReplicationConfigurationReplicatedDisk &value)
UpdateReplicationConfigurationResult & WithStagingAreaSubnetId(const Aws::String &value)
UpdateReplicationConfigurationResult & WithReplicatedDisks(const Aws::Vector< ReplicationConfigurationReplicatedDisk > &value)
UpdateReplicationConfigurationResult & WithPitPolicy(const Aws::Vector< PITPolicyRule > &value)
UpdateReplicationConfigurationResult & AddStagingAreaTags(Aws::String &&key, const char *value)
UpdateReplicationConfigurationResult & AddStagingAreaTags(const char *key, Aws::String &&value)
UpdateReplicationConfigurationResult & WithReplicatedDisks(Aws::Vector< ReplicationConfigurationReplicatedDisk > &&value)
UpdateReplicationConfigurationResult & AddStagingAreaTags(Aws::String &&key, Aws::String &&value)
UpdateReplicationConfigurationResult & AddPitPolicy(const PITPolicyRule &value)
const ReplicationConfigurationDataPlaneRouting & GetDataPlaneRouting() const
UpdateReplicationConfigurationResult & WithUseDedicatedReplicationServer(bool value)
const ReplicationConfigurationDefaultLargeStagingDiskType & GetDefaultLargeStagingDiskType() const
void SetEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
void SetStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetReplicationServersSecurityGroupsIDs(Aws::Vector< Aws::String > &&value)
UpdateReplicationConfigurationResult & WithRequestId(const char *value)
UpdateReplicationConfigurationResult & WithReplicationServerInstanceType(const char *value)
UpdateReplicationConfigurationResult & WithName(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
Aws::Utils::Json::JsonValue JsonValue