AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetReplicationConfigurationResult.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; }
66 inline GetReplicationConfigurationResult& WithCreatePublicIP(bool value) { SetCreatePublicIP(value); return *this;}
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); }
112 inline GetReplicationConfigurationResult& WithEbsEncryptionKeyArn(const char* value) { SetEbsEncryptionKeyArn(value); return *this;}
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 GetReplicationConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
124 inline GetReplicationConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
125 inline GetReplicationConfigurationResult& 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 GetReplicationConfigurationResult& AddReplicatedDisks(const ReplicationConfigurationReplicatedDisk& value) { m_replicatedDisks.push_back(value); return *this; }
138 inline GetReplicationConfigurationResult& 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 GetReplicationConfigurationResult& AddReplicationServersSecurityGroupsIDs(const Aws::String& value) { m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
164 inline GetReplicationConfigurationResult& AddReplicationServersSecurityGroupsIDs(Aws::String&& value) { m_replicationServersSecurityGroupsIDs.push_back(std::move(value)); return *this; }
165 inline GetReplicationConfigurationResult& 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); }
177 inline GetReplicationConfigurationResult& WithSourceServerID(Aws::String&& value) { SetSourceServerID(std::move(value)); return *this;}
178 inline GetReplicationConfigurationResult& 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); }
191 inline GetReplicationConfigurationResult& WithStagingAreaSubnetId(const char* value) { SetStagingAreaSubnetId(value); return *this;}
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 GetReplicationConfigurationResult& AddStagingAreaTags(const Aws::String& key, const Aws::String& value) { m_stagingAreaTags.emplace(key, value); return *this; }
204 inline GetReplicationConfigurationResult& AddStagingAreaTags(Aws::String&& key, const Aws::String& value) { m_stagingAreaTags.emplace(std::move(key), value); return *this; }
205 inline GetReplicationConfigurationResult& AddStagingAreaTags(const Aws::String& key, Aws::String&& value) { m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
206 inline GetReplicationConfigurationResult& AddStagingAreaTags(Aws::String&& key, Aws::String&& value) { m_stagingAreaTags.emplace(std::move(key), std::move(value)); return *this; }
207 inline GetReplicationConfigurationResult& AddStagingAreaTags(const char* key, Aws::String&& value) { m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
208 inline GetReplicationConfigurationResult& AddStagingAreaTags(Aws::String&& key, const char* value) { m_stagingAreaTags.emplace(std::move(key), value); return *this; }
209 inline GetReplicationConfigurationResult& 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 GetReplicationConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
237 inline GetReplicationConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
238 inline GetReplicationConfigurationResult& 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
GetReplicationConfigurationResult & WithEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
GetReplicationConfigurationResult & AddReplicatedDisks(ReplicationConfigurationReplicatedDisk &&value)
const Aws::Vector< Aws::String > & GetReplicationServersSecurityGroupsIDs() const
GetReplicationConfigurationResult & AddReplicatedDisks(const ReplicationConfigurationReplicatedDisk &value)
GetReplicationConfigurationResult & WithReplicationServersSecurityGroupsIDs(const Aws::Vector< Aws::String > &value)
GetReplicationConfigurationResult & WithBandwidthThrottling(long long value)
GetReplicationConfigurationResult & WithRequestId(const char *value)
GetReplicationConfigurationResult & WithCreatePublicIP(bool value)
GetReplicationConfigurationResult & WithRequestId(Aws::String &&value)
GetReplicationConfigurationResult & WithRequestId(const Aws::String &value)
GetReplicationConfigurationResult & WithEbsEncryptionKeyArn(const char *value)
GetReplicationConfigurationResult & WithDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
GetReplicationConfigurationResult & AddStagingAreaTags(const char *key, Aws::String &&value)
const ReplicationConfigurationDefaultLargeStagingDiskType & GetDefaultLargeStagingDiskType() const
void SetReplicatedDisks(const Aws::Vector< ReplicationConfigurationReplicatedDisk > &value)
GetReplicationConfigurationResult & WithStagingAreaSubnetId(const Aws::String &value)
GetReplicationConfigurationResult & AddReplicationServersSecurityGroupsIDs(const char *value)
GetReplicationConfigurationResult & WithReplicatedDisks(const Aws::Vector< ReplicationConfigurationReplicatedDisk > &value)
void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
GetReplicationConfigurationResult & AddReplicationServersSecurityGroupsIDs(const Aws::String &value)
GetReplicationConfigurationResult & WithReplicationServerInstanceType(const char *value)
GetReplicationConfigurationResult & WithEbsEncryptionKeyArn(Aws::String &&value)
void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
void SetStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
GetReplicationConfigurationResult & WithSourceServerID(const char *value)
GetReplicationConfigurationResult & WithAssociateDefaultSecurityGroup(bool value)
GetReplicationConfigurationResult & WithEbsEncryptionKeyArn(const Aws::String &value)
GetReplicationConfigurationResult & AddStagingAreaTags(Aws::String &&key, Aws::String &&value)
GetReplicationConfigurationResult & WithDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
GetReplicationConfigurationResult & WithStagingAreaTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_MGN_API GetReplicationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStagingAreaTags(const Aws::Map< Aws::String, Aws::String > &value)
GetReplicationConfigurationResult & AddReplicationServersSecurityGroupsIDs(Aws::String &&value)
GetReplicationConfigurationResult & WithName(const char *value)
GetReplicationConfigurationResult & WithEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
GetReplicationConfigurationResult & WithReplicatedDisks(Aws::Vector< ReplicationConfigurationReplicatedDisk > &&value)
void SetReplicationServersSecurityGroupsIDs(Aws::Vector< Aws::String > &&value)
GetReplicationConfigurationResult & WithName(Aws::String &&value)
GetReplicationConfigurationResult & WithReplicationServersSecurityGroupsIDs(Aws::Vector< Aws::String > &&value)
void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
GetReplicationConfigurationResult & WithName(const Aws::String &value)
void SetEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
GetReplicationConfigurationResult & WithDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
AWS_MGN_API GetReplicationConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReplicationConfigurationResult & WithStagingAreaSubnetId(Aws::String &&value)
void SetEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
GetReplicationConfigurationResult & WithUseFipsEndpoint(bool value)
GetReplicationConfigurationResult & WithReplicationServerInstanceType(Aws::String &&value)
GetReplicationConfigurationResult & AddStagingAreaTags(const Aws::String &key, const Aws::String &value)
GetReplicationConfigurationResult & AddStagingAreaTags(Aws::String &&key, const char *value)
GetReplicationConfigurationResult & AddStagingAreaTags(const char *key, const char *value)
GetReplicationConfigurationResult & WithSourceServerID(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetStagingAreaTags() const
GetReplicationConfigurationResult & WithUseDedicatedReplicationServer(bool value)
void SetReplicationServersSecurityGroupsIDs(const Aws::Vector< Aws::String > &value)
const ReplicationConfigurationEbsEncryption & GetEbsEncryption() const
GetReplicationConfigurationResult & AddStagingAreaTags(const Aws::String &key, Aws::String &&value)
GetReplicationConfigurationResult & WithDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
GetReplicationConfigurationResult & WithSourceServerID(const Aws::String &value)
const Aws::Vector< ReplicationConfigurationReplicatedDisk > & GetReplicatedDisks() const
void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
GetReplicationConfigurationResult & WithStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetReplicatedDisks(Aws::Vector< ReplicationConfigurationReplicatedDisk > &&value)
const ReplicationConfigurationDataPlaneRouting & GetDataPlaneRouting() const
GetReplicationConfigurationResult & WithStagingAreaSubnetId(const char *value)
GetReplicationConfigurationResult & AddStagingAreaTags(Aws::String &&key, const Aws::String &value)
GetReplicationConfigurationResult & WithReplicationServerInstanceType(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