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/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/model/ReplicationConfigurationDataPlaneRouting.h>
9#include <aws/mgn/model/ReplicationConfigurationDefaultLargeStagingDiskType.h>
10#include <aws/mgn/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/mgn/model/ReplicationConfigurationReplicatedDisk.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace mgn
30{
31namespace Model
32{
34 {
35 public:
39
40
42
46 inline bool GetAssociateDefaultSecurityGroup() const{ return m_associateDefaultSecurityGroup; }
47 inline void SetAssociateDefaultSecurityGroup(bool value) { m_associateDefaultSecurityGroup = value; }
50
52
55 inline long long GetBandwidthThrottling() const{ return m_bandwidthThrottling; }
56 inline void SetBandwidthThrottling(long long value) { m_bandwidthThrottling = value; }
59
61
64 inline bool GetCreatePublicIP() const{ return m_createPublicIP; }
65 inline void SetCreatePublicIP(bool value) { m_createPublicIP = value; }
68
70
73 inline const ReplicationConfigurationDataPlaneRouting& GetDataPlaneRouting() const{ return m_dataPlaneRouting; }
74 inline void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting& value) { m_dataPlaneRouting = value; }
75 inline void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting&& value) { m_dataPlaneRouting = std::move(value); }
79
81
84 inline const ReplicationConfigurationDefaultLargeStagingDiskType& GetDefaultLargeStagingDiskType() const{ return m_defaultLargeStagingDiskType; }
85 inline void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType& value) { m_defaultLargeStagingDiskType = value; }
86 inline void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType&& value) { m_defaultLargeStagingDiskType = std::move(value); }
90
92
95 inline const ReplicationConfigurationEbsEncryption& GetEbsEncryption() const{ return m_ebsEncryption; }
96 inline void SetEbsEncryption(const ReplicationConfigurationEbsEncryption& value) { m_ebsEncryption = value; }
97 inline void SetEbsEncryption(ReplicationConfigurationEbsEncryption&& value) { m_ebsEncryption = std::move(value); }
101
103
106 inline const Aws::String& GetEbsEncryptionKeyArn() const{ return m_ebsEncryptionKeyArn; }
107 inline void SetEbsEncryptionKeyArn(const Aws::String& value) { m_ebsEncryptionKeyArn = value; }
108 inline void SetEbsEncryptionKeyArn(Aws::String&& value) { m_ebsEncryptionKeyArn = std::move(value); }
109 inline void SetEbsEncryptionKeyArn(const char* value) { m_ebsEncryptionKeyArn.assign(value); }
114
116
119 inline const Aws::String& GetName() const{ return m_name; }
120 inline void SetName(const Aws::String& value) { m_name = value; }
121 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
122 inline void SetName(const char* value) { m_name.assign(value); }
123 inline UpdateReplicationConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
124 inline UpdateReplicationConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
125 inline UpdateReplicationConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
127
129
132 inline const Aws::Vector<ReplicationConfigurationReplicatedDisk>& GetReplicatedDisks() const{ return m_replicatedDisks; }
133 inline void SetReplicatedDisks(const Aws::Vector<ReplicationConfigurationReplicatedDisk>& value) { m_replicatedDisks = value; }
134 inline void SetReplicatedDisks(Aws::Vector<ReplicationConfigurationReplicatedDisk>&& value) { m_replicatedDisks = std::move(value); }
137 inline UpdateReplicationConfigurationResult& AddReplicatedDisks(const ReplicationConfigurationReplicatedDisk& value) { m_replicatedDisks.push_back(value); return *this; }
138 inline UpdateReplicationConfigurationResult& AddReplicatedDisks(ReplicationConfigurationReplicatedDisk&& value) { m_replicatedDisks.push_back(std::move(value)); return *this; }
140
142
145 inline const Aws::String& GetReplicationServerInstanceType() const{ return m_replicationServerInstanceType; }
146 inline void SetReplicationServerInstanceType(const Aws::String& value) { m_replicationServerInstanceType = value; }
147 inline void SetReplicationServerInstanceType(Aws::String&& value) { m_replicationServerInstanceType = std::move(value); }
148 inline void SetReplicationServerInstanceType(const char* value) { m_replicationServerInstanceType.assign(value); }
153
155
158 inline const Aws::Vector<Aws::String>& GetReplicationServersSecurityGroupsIDs() const{ return m_replicationServersSecurityGroupsIDs; }
159 inline void SetReplicationServersSecurityGroupsIDs(const Aws::Vector<Aws::String>& value) { m_replicationServersSecurityGroupsIDs = value; }
160 inline void SetReplicationServersSecurityGroupsIDs(Aws::Vector<Aws::String>&& value) { m_replicationServersSecurityGroupsIDs = std::move(value); }
163 inline UpdateReplicationConfigurationResult& AddReplicationServersSecurityGroupsIDs(const Aws::String& value) { m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
164 inline UpdateReplicationConfigurationResult& AddReplicationServersSecurityGroupsIDs(Aws::String&& value) { m_replicationServersSecurityGroupsIDs.push_back(std::move(value)); return *this; }
165 inline UpdateReplicationConfigurationResult& AddReplicationServersSecurityGroupsIDs(const char* value) { m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
167
169
172 inline const Aws::String& GetSourceServerID() const{ return m_sourceServerID; }
173 inline void SetSourceServerID(const Aws::String& value) { m_sourceServerID = value; }
174 inline void SetSourceServerID(Aws::String&& value) { m_sourceServerID = std::move(value); }
175 inline void SetSourceServerID(const char* value) { m_sourceServerID.assign(value); }
178 inline UpdateReplicationConfigurationResult& WithSourceServerID(const char* value) { SetSourceServerID(value); return *this;}
180
182
185 inline const Aws::String& GetStagingAreaSubnetId() const{ return m_stagingAreaSubnetId; }
186 inline void SetStagingAreaSubnetId(const Aws::String& value) { m_stagingAreaSubnetId = value; }
187 inline void SetStagingAreaSubnetId(Aws::String&& value) { m_stagingAreaSubnetId = std::move(value); }
188 inline void SetStagingAreaSubnetId(const char* value) { m_stagingAreaSubnetId.assign(value); }
193
195
198 inline const Aws::Map<Aws::String, Aws::String>& GetStagingAreaTags() const{ return m_stagingAreaTags; }
199 inline void SetStagingAreaTags(const Aws::Map<Aws::String, Aws::String>& value) { m_stagingAreaTags = value; }
200 inline void SetStagingAreaTags(Aws::Map<Aws::String, Aws::String>&& value) { m_stagingAreaTags = std::move(value); }
203 inline UpdateReplicationConfigurationResult& AddStagingAreaTags(const Aws::String& key, const Aws::String& value) { m_stagingAreaTags.emplace(key, value); return *this; }
204 inline UpdateReplicationConfigurationResult& AddStagingAreaTags(Aws::String&& key, const Aws::String& value) { m_stagingAreaTags.emplace(std::move(key), value); return *this; }
205 inline UpdateReplicationConfigurationResult& AddStagingAreaTags(const Aws::String& key, Aws::String&& value) { m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
206 inline UpdateReplicationConfigurationResult& AddStagingAreaTags(Aws::String&& key, Aws::String&& value) { m_stagingAreaTags.emplace(std::move(key), std::move(value)); return *this; }
207 inline UpdateReplicationConfigurationResult& AddStagingAreaTags(const char* key, Aws::String&& value) { m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
208 inline UpdateReplicationConfigurationResult& AddStagingAreaTags(Aws::String&& key, const char* value) { m_stagingAreaTags.emplace(std::move(key), value); return *this; }
209 inline UpdateReplicationConfigurationResult& AddStagingAreaTags(const char* key, const char* value) { m_stagingAreaTags.emplace(key, value); return *this; }
211
213
216 inline bool GetUseDedicatedReplicationServer() const{ return m_useDedicatedReplicationServer; }
217 inline void SetUseDedicatedReplicationServer(bool value) { m_useDedicatedReplicationServer = value; }
220
222
225 inline bool GetUseFipsEndpoint() const{ return m_useFipsEndpoint; }
226 inline void SetUseFipsEndpoint(bool value) { m_useFipsEndpoint = value; }
229
231
232 inline const Aws::String& GetRequestId() const{ return m_requestId; }
233 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
234 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
235 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
236 inline UpdateReplicationConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
237 inline UpdateReplicationConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
238 inline UpdateReplicationConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
240 private:
241
242 bool m_associateDefaultSecurityGroup;
243
244 long long m_bandwidthThrottling;
245
246 bool m_createPublicIP;
247
249
250 ReplicationConfigurationDefaultLargeStagingDiskType m_defaultLargeStagingDiskType;
251
253
254 Aws::String m_ebsEncryptionKeyArn;
255
256 Aws::String m_name;
257
259
260 Aws::String m_replicationServerInstanceType;
261
262 Aws::Vector<Aws::String> m_replicationServersSecurityGroupsIDs;
263
264 Aws::String m_sourceServerID;
265
266 Aws::String m_stagingAreaSubnetId;
267
268 Aws::Map<Aws::String, Aws::String> m_stagingAreaTags;
269
270 bool m_useDedicatedReplicationServer;
271
272 bool m_useFipsEndpoint;
273
274 Aws::String m_requestId;
275 };
276
277} // namespace Model
278} // namespace mgn
279} // namespace Aws
const ReplicationConfigurationEbsEncryption & GetEbsEncryption() const
UpdateReplicationConfigurationResult & WithAssociateDefaultSecurityGroup(bool value)
UpdateReplicationConfigurationResult & WithEbsEncryptionKeyArn(Aws::String &&value)
UpdateReplicationConfigurationResult & AddReplicationServersSecurityGroupsIDs(Aws::String &&value)
void SetEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
UpdateReplicationConfigurationResult & AddStagingAreaTags(const char *key, Aws::String &&value)
UpdateReplicationConfigurationResult & WithEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
UpdateReplicationConfigurationResult & AddStagingAreaTags(const Aws::String &key, const Aws::String &value)
UpdateReplicationConfigurationResult & AddStagingAreaTags(const Aws::String &key, Aws::String &&value)
UpdateReplicationConfigurationResult & WithReplicatedDisks(const Aws::Vector< ReplicationConfigurationReplicatedDisk > &value)
void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
UpdateReplicationConfigurationResult & WithReplicationServerInstanceType(const Aws::String &value)
UpdateReplicationConfigurationResult & AddReplicationServersSecurityGroupsIDs(const Aws::String &value)
UpdateReplicationConfigurationResult & WithStagingAreaSubnetId(const char *value)
void SetReplicationServersSecurityGroupsIDs(const Aws::Vector< Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetStagingAreaTags() const
UpdateReplicationConfigurationResult & WithRequestId(const Aws::String &value)
AWS_MGN_API UpdateReplicationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateReplicationConfigurationResult & WithDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
const Aws::Vector< ReplicationConfigurationReplicatedDisk > & GetReplicatedDisks() const
UpdateReplicationConfigurationResult & WithEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
UpdateReplicationConfigurationResult & AddStagingAreaTags(Aws::String &&key, const char *value)
UpdateReplicationConfigurationResult & WithStagingAreaSubnetId(const Aws::String &value)
UpdateReplicationConfigurationResult & WithDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
const ReplicationConfigurationDataPlaneRouting & GetDataPlaneRouting() const
void SetEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
UpdateReplicationConfigurationResult & WithName(const char *value)
void SetStagingAreaTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateReplicationConfigurationResult & WithReplicationServersSecurityGroupsIDs(const Aws::Vector< Aws::String > &value)
UpdateReplicationConfigurationResult & WithReplicationServersSecurityGroupsIDs(Aws::Vector< Aws::String > &&value)
UpdateReplicationConfigurationResult & WithSourceServerID(Aws::String &&value)
UpdateReplicationConfigurationResult & WithBandwidthThrottling(long long value)
UpdateReplicationConfigurationResult & WithRequestId(Aws::String &&value)
UpdateReplicationConfigurationResult & WithDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
UpdateReplicationConfigurationResult & AddReplicatedDisks(ReplicationConfigurationReplicatedDisk &&value)
AWS_MGN_API UpdateReplicationConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateReplicationConfigurationResult & WithDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
UpdateReplicationConfigurationResult & WithReplicatedDisks(Aws::Vector< ReplicationConfigurationReplicatedDisk > &&value)
UpdateReplicationConfigurationResult & WithCreatePublicIP(bool value)
void SetReplicationServersSecurityGroupsIDs(Aws::Vector< Aws::String > &&value)
void SetReplicatedDisks(Aws::Vector< ReplicationConfigurationReplicatedDisk > &&value)
UpdateReplicationConfigurationResult & WithStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateReplicationConfigurationResult & WithUseFipsEndpoint(bool value)
UpdateReplicationConfigurationResult & AddStagingAreaTags(Aws::String &&key, Aws::String &&value)
const ReplicationConfigurationDefaultLargeStagingDiskType & GetDefaultLargeStagingDiskType() const
UpdateReplicationConfigurationResult & WithSourceServerID(const char *value)
UpdateReplicationConfigurationResult & WithUseDedicatedReplicationServer(bool value)
UpdateReplicationConfigurationResult & AddStagingAreaTags(const char *key, const char *value)
UpdateReplicationConfigurationResult & WithName(Aws::String &&value)
UpdateReplicationConfigurationResult & WithStagingAreaTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateReplicationConfigurationResult & WithSourceServerID(const Aws::String &value)
UpdateReplicationConfigurationResult & WithReplicationServerInstanceType(Aws::String &&value)
UpdateReplicationConfigurationResult & WithName(const Aws::String &value)
UpdateReplicationConfigurationResult & WithEbsEncryptionKeyArn(const Aws::String &value)
void SetStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
UpdateReplicationConfigurationResult & WithStagingAreaSubnetId(Aws::String &&value)
UpdateReplicationConfigurationResult & WithRequestId(const char *value)
void SetReplicatedDisks(const Aws::Vector< ReplicationConfigurationReplicatedDisk > &value)
UpdateReplicationConfigurationResult & WithReplicationServerInstanceType(const char *value)
UpdateReplicationConfigurationResult & WithEbsEncryptionKeyArn(const char *value)
UpdateReplicationConfigurationResult & AddReplicationServersSecurityGroupsIDs(const char *value)
UpdateReplicationConfigurationResult & AddStagingAreaTags(Aws::String &&key, const Aws::String &value)
UpdateReplicationConfigurationResult & AddReplicatedDisks(const ReplicationConfigurationReplicatedDisk &value)
const Aws::Vector< Aws::String > & GetReplicationServersSecurityGroupsIDs() const
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