AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
36 AWS_MGN_API GetReplicationConfigurationResult() = default;
39
40
42
46 inline bool GetAssociateDefaultSecurityGroup() const { return m_associateDefaultSecurityGroup; }
47 inline void SetAssociateDefaultSecurityGroup(bool value) { m_associateDefaultSecurityGroupHasBeenSet = true; m_associateDefaultSecurityGroup = value; }
50
52
55 inline long long GetBandwidthThrottling() const { return m_bandwidthThrottling; }
56 inline void SetBandwidthThrottling(long long value) { m_bandwidthThrottlingHasBeenSet = true; m_bandwidthThrottling = value; }
59
61
64 inline bool GetCreatePublicIP() const { return m_createPublicIP; }
65 inline void SetCreatePublicIP(bool value) { m_createPublicIPHasBeenSet = true; m_createPublicIP = value; }
66 inline GetReplicationConfigurationResult& WithCreatePublicIP(bool value) { SetCreatePublicIP(value); return *this;}
68
70
73 inline ReplicationConfigurationDataPlaneRouting GetDataPlaneRouting() const { return m_dataPlaneRouting; }
74 inline void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting value) { m_dataPlaneRoutingHasBeenSet = true; m_dataPlaneRouting = value; }
77
79
82 inline ReplicationConfigurationDefaultLargeStagingDiskType GetDefaultLargeStagingDiskType() const { return m_defaultLargeStagingDiskType; }
83 inline void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType value) { m_defaultLargeStagingDiskTypeHasBeenSet = true; m_defaultLargeStagingDiskType = value; }
86
88
91 inline ReplicationConfigurationEbsEncryption GetEbsEncryption() const { return m_ebsEncryption; }
92 inline void SetEbsEncryption(ReplicationConfigurationEbsEncryption value) { m_ebsEncryptionHasBeenSet = true; m_ebsEncryption = value; }
95
97
100 inline const Aws::String& GetEbsEncryptionKeyArn() const { return m_ebsEncryptionKeyArn; }
101 template<typename EbsEncryptionKeyArnT = Aws::String>
102 void SetEbsEncryptionKeyArn(EbsEncryptionKeyArnT&& value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn = std::forward<EbsEncryptionKeyArnT>(value); }
103 template<typename EbsEncryptionKeyArnT = Aws::String>
104 GetReplicationConfigurationResult& WithEbsEncryptionKeyArn(EbsEncryptionKeyArnT&& value) { SetEbsEncryptionKeyArn(std::forward<EbsEncryptionKeyArnT>(value)); return *this;}
106
108
111 inline const Aws::String& GetName() const { return m_name; }
112 template<typename NameT = Aws::String>
113 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
114 template<typename NameT = Aws::String>
115 GetReplicationConfigurationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
117
119
122 inline const Aws::Vector<ReplicationConfigurationReplicatedDisk>& GetReplicatedDisks() const { return m_replicatedDisks; }
123 template<typename ReplicatedDisksT = Aws::Vector<ReplicationConfigurationReplicatedDisk>>
124 void SetReplicatedDisks(ReplicatedDisksT&& value) { m_replicatedDisksHasBeenSet = true; m_replicatedDisks = std::forward<ReplicatedDisksT>(value); }
125 template<typename ReplicatedDisksT = Aws::Vector<ReplicationConfigurationReplicatedDisk>>
126 GetReplicationConfigurationResult& WithReplicatedDisks(ReplicatedDisksT&& value) { SetReplicatedDisks(std::forward<ReplicatedDisksT>(value)); return *this;}
127 template<typename ReplicatedDisksT = ReplicationConfigurationReplicatedDisk>
128 GetReplicationConfigurationResult& AddReplicatedDisks(ReplicatedDisksT&& value) { m_replicatedDisksHasBeenSet = true; m_replicatedDisks.emplace_back(std::forward<ReplicatedDisksT>(value)); return *this; }
130
132
135 inline const Aws::String& GetReplicationServerInstanceType() const { return m_replicationServerInstanceType; }
136 template<typename ReplicationServerInstanceTypeT = Aws::String>
137 void SetReplicationServerInstanceType(ReplicationServerInstanceTypeT&& value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType = std::forward<ReplicationServerInstanceTypeT>(value); }
138 template<typename ReplicationServerInstanceTypeT = Aws::String>
139 GetReplicationConfigurationResult& WithReplicationServerInstanceType(ReplicationServerInstanceTypeT&& value) { SetReplicationServerInstanceType(std::forward<ReplicationServerInstanceTypeT>(value)); return *this;}
141
143
146 inline const Aws::Vector<Aws::String>& GetReplicationServersSecurityGroupsIDs() const { return m_replicationServersSecurityGroupsIDs; }
147 template<typename ReplicationServersSecurityGroupsIDsT = Aws::Vector<Aws::String>>
148 void SetReplicationServersSecurityGroupsIDs(ReplicationServersSecurityGroupsIDsT&& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs = std::forward<ReplicationServersSecurityGroupsIDsT>(value); }
149 template<typename ReplicationServersSecurityGroupsIDsT = Aws::Vector<Aws::String>>
150 GetReplicationConfigurationResult& WithReplicationServersSecurityGroupsIDs(ReplicationServersSecurityGroupsIDsT&& value) { SetReplicationServersSecurityGroupsIDs(std::forward<ReplicationServersSecurityGroupsIDsT>(value)); return *this;}
151 template<typename ReplicationServersSecurityGroupsIDsT = Aws::String>
152 GetReplicationConfigurationResult& AddReplicationServersSecurityGroupsIDs(ReplicationServersSecurityGroupsIDsT&& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.emplace_back(std::forward<ReplicationServersSecurityGroupsIDsT>(value)); return *this; }
154
156
159 inline const Aws::String& GetSourceServerID() const { return m_sourceServerID; }
160 template<typename SourceServerIDT = Aws::String>
161 void SetSourceServerID(SourceServerIDT&& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = std::forward<SourceServerIDT>(value); }
162 template<typename SourceServerIDT = Aws::String>
163 GetReplicationConfigurationResult& WithSourceServerID(SourceServerIDT&& value) { SetSourceServerID(std::forward<SourceServerIDT>(value)); return *this;}
165
167
170 inline const Aws::String& GetStagingAreaSubnetId() const { return m_stagingAreaSubnetId; }
171 template<typename StagingAreaSubnetIdT = Aws::String>
172 void SetStagingAreaSubnetId(StagingAreaSubnetIdT&& value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId = std::forward<StagingAreaSubnetIdT>(value); }
173 template<typename StagingAreaSubnetIdT = Aws::String>
174 GetReplicationConfigurationResult& WithStagingAreaSubnetId(StagingAreaSubnetIdT&& value) { SetStagingAreaSubnetId(std::forward<StagingAreaSubnetIdT>(value)); return *this;}
176
178
181 inline const Aws::Map<Aws::String, Aws::String>& GetStagingAreaTags() const { return m_stagingAreaTags; }
182 template<typename StagingAreaTagsT = Aws::Map<Aws::String, Aws::String>>
183 void SetStagingAreaTags(StagingAreaTagsT&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags = std::forward<StagingAreaTagsT>(value); }
184 template<typename StagingAreaTagsT = Aws::Map<Aws::String, Aws::String>>
185 GetReplicationConfigurationResult& WithStagingAreaTags(StagingAreaTagsT&& value) { SetStagingAreaTags(std::forward<StagingAreaTagsT>(value)); return *this;}
186 template<typename StagingAreaTagsKeyT = Aws::String, typename StagingAreaTagsValueT = Aws::String>
187 GetReplicationConfigurationResult& AddStagingAreaTags(StagingAreaTagsKeyT&& key, StagingAreaTagsValueT&& value) {
188 m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::forward<StagingAreaTagsKeyT>(key), std::forward<StagingAreaTagsValueT>(value)); return *this;
189 }
191
193
196 inline bool GetUseDedicatedReplicationServer() const { return m_useDedicatedReplicationServer; }
197 inline void SetUseDedicatedReplicationServer(bool value) { m_useDedicatedReplicationServerHasBeenSet = true; m_useDedicatedReplicationServer = value; }
200
202
205 inline bool GetUseFipsEndpoint() const { return m_useFipsEndpoint; }
206 inline void SetUseFipsEndpoint(bool value) { m_useFipsEndpointHasBeenSet = true; m_useFipsEndpoint = value; }
209
211
212 inline const Aws::String& GetRequestId() const { return m_requestId; }
213 template<typename RequestIdT = Aws::String>
214 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
215 template<typename RequestIdT = Aws::String>
216 GetReplicationConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
218 private:
219
220 bool m_associateDefaultSecurityGroup{false};
221 bool m_associateDefaultSecurityGroupHasBeenSet = false;
222
223 long long m_bandwidthThrottling{0};
224 bool m_bandwidthThrottlingHasBeenSet = false;
225
226 bool m_createPublicIP{false};
227 bool m_createPublicIPHasBeenSet = false;
228
230 bool m_dataPlaneRoutingHasBeenSet = false;
231
233 bool m_defaultLargeStagingDiskTypeHasBeenSet = false;
234
236 bool m_ebsEncryptionHasBeenSet = false;
237
238 Aws::String m_ebsEncryptionKeyArn;
239 bool m_ebsEncryptionKeyArnHasBeenSet = false;
240
241 Aws::String m_name;
242 bool m_nameHasBeenSet = false;
243
245 bool m_replicatedDisksHasBeenSet = false;
246
247 Aws::String m_replicationServerInstanceType;
248 bool m_replicationServerInstanceTypeHasBeenSet = false;
249
250 Aws::Vector<Aws::String> m_replicationServersSecurityGroupsIDs;
251 bool m_replicationServersSecurityGroupsIDsHasBeenSet = false;
252
253 Aws::String m_sourceServerID;
254 bool m_sourceServerIDHasBeenSet = false;
255
256 Aws::String m_stagingAreaSubnetId;
257 bool m_stagingAreaSubnetIdHasBeenSet = false;
258
259 Aws::Map<Aws::String, Aws::String> m_stagingAreaTags;
260 bool m_stagingAreaTagsHasBeenSet = false;
261
262 bool m_useDedicatedReplicationServer{false};
263 bool m_useDedicatedReplicationServerHasBeenSet = false;
264
265 bool m_useFipsEndpoint{false};
266 bool m_useFipsEndpointHasBeenSet = false;
267
268 Aws::String m_requestId;
269 bool m_requestIdHasBeenSet = false;
270 };
271
272} // namespace Model
273} // namespace mgn
274} // namespace Aws
GetReplicationConfigurationResult & WithStagingAreaSubnetId(StagingAreaSubnetIdT &&value)
const Aws::Vector< Aws::String > & GetReplicationServersSecurityGroupsIDs() const
GetReplicationConfigurationResult & WithName(NameT &&value)
ReplicationConfigurationEbsEncryption GetEbsEncryption() const
GetReplicationConfigurationResult & WithBandwidthThrottling(long long value)
GetReplicationConfigurationResult & WithCreatePublicIP(bool value)
ReplicationConfigurationDefaultLargeStagingDiskType GetDefaultLargeStagingDiskType() const
GetReplicationConfigurationResult & AddReplicationServersSecurityGroupsIDs(ReplicationServersSecurityGroupsIDsT &&value)
GetReplicationConfigurationResult & WithRequestId(RequestIdT &&value)
GetReplicationConfigurationResult & WithReplicationServersSecurityGroupsIDs(ReplicationServersSecurityGroupsIDsT &&value)
GetReplicationConfigurationResult & WithAssociateDefaultSecurityGroup(bool value)
AWS_MGN_API GetReplicationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReplicationConfigurationResult & AddStagingAreaTags(StagingAreaTagsKeyT &&key, StagingAreaTagsValueT &&value)
GetReplicationConfigurationResult & WithDataPlaneRouting(ReplicationConfigurationDataPlaneRouting value)
void SetEbsEncryption(ReplicationConfigurationEbsEncryption value)
ReplicationConfigurationDataPlaneRouting GetDataPlaneRouting() const
AWS_MGN_API GetReplicationConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReplicationConfigurationResult & AddReplicatedDisks(ReplicatedDisksT &&value)
GetReplicationConfigurationResult & WithUseFipsEndpoint(bool value)
void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting value)
GetReplicationConfigurationResult & WithEbsEncryptionKeyArn(EbsEncryptionKeyArnT &&value)
GetReplicationConfigurationResult & WithSourceServerID(SourceServerIDT &&value)
void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType value)
GetReplicationConfigurationResult & WithReplicationServerInstanceType(ReplicationServerInstanceTypeT &&value)
void SetReplicationServersSecurityGroupsIDs(ReplicationServersSecurityGroupsIDsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetStagingAreaTags() const
GetReplicationConfigurationResult & WithUseDedicatedReplicationServer(bool value)
void SetReplicationServerInstanceType(ReplicationServerInstanceTypeT &&value)
GetReplicationConfigurationResult & WithStagingAreaTags(StagingAreaTagsT &&value)
GetReplicationConfigurationResult & WithReplicatedDisks(ReplicatedDisksT &&value)
GetReplicationConfigurationResult & WithEbsEncryption(ReplicationConfigurationEbsEncryption value)
const Aws::Vector< ReplicationConfigurationReplicatedDisk > & GetReplicatedDisks() const
GetReplicationConfigurationResult & WithDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType 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