AWS SDK for C++

AWS SDK for C++ Version 1.11.851

Loading...
Searching...
No Matches
CreateReplicationConfigurationTemplateResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/mgn/Mgn_EXPORTS.h>
12#include <aws/mgn/model/InternetProtocol.h>
13#include <aws/mgn/model/ReplicationConfigurationDataPlaneRouting.h>
14#include <aws/mgn/model/ReplicationConfigurationDefaultLargeStagingDiskType.h>
15#include <aws/mgn/model/ReplicationConfigurationEbsEncryption.h>
16#include <aws/mgn/model/StorageConfiguration.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace mgn {
30namespace Model {
32 public:
37
39
42 inline const Aws::String& GetReplicationConfigurationTemplateID() const { return m_replicationConfigurationTemplateID; }
43 template <typename ReplicationConfigurationTemplateIDT = Aws::String>
44 void SetReplicationConfigurationTemplateID(ReplicationConfigurationTemplateIDT&& value) {
45 m_replicationConfigurationTemplateIDHasBeenSet = true;
46 m_replicationConfigurationTemplateID = std::forward<ReplicationConfigurationTemplateIDT>(value);
47 }
48 template <typename ReplicationConfigurationTemplateIDT = Aws::String>
50 SetReplicationConfigurationTemplateID(std::forward<ReplicationConfigurationTemplateIDT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 template <typename ArnT = Aws::String>
61 void SetArn(ArnT&& value) {
62 m_arnHasBeenSet = true;
63 m_arn = std::forward<ArnT>(value);
64 }
65 template <typename ArnT = Aws::String>
67 SetArn(std::forward<ArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetStagingAreaSubnetId() const { return m_stagingAreaSubnetId; }
77 template <typename StagingAreaSubnetIdT = Aws::String>
78 void SetStagingAreaSubnetId(StagingAreaSubnetIdT&& value) {
79 m_stagingAreaSubnetIdHasBeenSet = true;
80 m_stagingAreaSubnetId = std::forward<StagingAreaSubnetIdT>(value);
81 }
82 template <typename StagingAreaSubnetIdT = Aws::String>
84 SetStagingAreaSubnetId(std::forward<StagingAreaSubnetIdT>(value));
85 return *this;
86 }
88
90
94 inline bool GetAssociateDefaultSecurityGroup() const { return m_associateDefaultSecurityGroup; }
95 inline void SetAssociateDefaultSecurityGroup(bool value) {
96 m_associateDefaultSecurityGroupHasBeenSet = true;
97 m_associateDefaultSecurityGroup = value;
98 }
101 return *this;
102 }
104
106
109 inline const Aws::Vector<Aws::String>& GetReplicationServersSecurityGroupsIDs() const { return m_replicationServersSecurityGroupsIDs; }
110 template <typename ReplicationServersSecurityGroupsIDsT = Aws::Vector<Aws::String>>
111 void SetReplicationServersSecurityGroupsIDs(ReplicationServersSecurityGroupsIDsT&& value) {
112 m_replicationServersSecurityGroupsIDsHasBeenSet = true;
113 m_replicationServersSecurityGroupsIDs = std::forward<ReplicationServersSecurityGroupsIDsT>(value);
114 }
115 template <typename ReplicationServersSecurityGroupsIDsT = Aws::Vector<Aws::String>>
117 SetReplicationServersSecurityGroupsIDs(std::forward<ReplicationServersSecurityGroupsIDsT>(value));
118 return *this;
119 }
120 template <typename ReplicationServersSecurityGroupsIDsT = Aws::String>
122 m_replicationServersSecurityGroupsIDsHasBeenSet = true;
123 m_replicationServersSecurityGroupsIDs.emplace_back(std::forward<ReplicationServersSecurityGroupsIDsT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetReplicationServerInstanceType() const { return m_replicationServerInstanceType; }
133 template <typename ReplicationServerInstanceTypeT = Aws::String>
134 void SetReplicationServerInstanceType(ReplicationServerInstanceTypeT&& value) {
135 m_replicationServerInstanceTypeHasBeenSet = true;
136 m_replicationServerInstanceType = std::forward<ReplicationServerInstanceTypeT>(value);
137 }
138 template <typename ReplicationServerInstanceTypeT = Aws::String>
140 SetReplicationServerInstanceType(std::forward<ReplicationServerInstanceTypeT>(value));
141 return *this;
142 }
144
146
149 inline bool GetUseDedicatedReplicationServer() const { return m_useDedicatedReplicationServer; }
150 inline void SetUseDedicatedReplicationServer(bool value) {
151 m_useDedicatedReplicationServerHasBeenSet = true;
152 m_useDedicatedReplicationServer = value;
153 }
156 return *this;
157 }
159
161
165 return m_defaultLargeStagingDiskType;
166 }
168 m_defaultLargeStagingDiskTypeHasBeenSet = true;
169 m_defaultLargeStagingDiskType = value;
170 }
174 return *this;
175 }
177
179
182 inline ReplicationConfigurationEbsEncryption GetEbsEncryption() const { return m_ebsEncryption; }
184 m_ebsEncryptionHasBeenSet = true;
185 m_ebsEncryption = value;
186 }
188 SetEbsEncryption(value);
189 return *this;
190 }
192
194
197 inline const Aws::String& GetEbsEncryptionKeyArn() const { return m_ebsEncryptionKeyArn; }
198 template <typename EbsEncryptionKeyArnT = Aws::String>
199 void SetEbsEncryptionKeyArn(EbsEncryptionKeyArnT&& value) {
200 m_ebsEncryptionKeyArnHasBeenSet = true;
201 m_ebsEncryptionKeyArn = std::forward<EbsEncryptionKeyArnT>(value);
202 }
203 template <typename EbsEncryptionKeyArnT = Aws::String>
205 SetEbsEncryptionKeyArn(std::forward<EbsEncryptionKeyArnT>(value));
206 return *this;
207 }
209
211
214 inline long long GetBandwidthThrottling() const { return m_bandwidthThrottling; }
215 inline void SetBandwidthThrottling(long long value) {
216 m_bandwidthThrottlingHasBeenSet = true;
217 m_bandwidthThrottling = value;
218 }
221 return *this;
222 }
224
226
229 inline ReplicationConfigurationDataPlaneRouting GetDataPlaneRouting() const { return m_dataPlaneRouting; }
231 m_dataPlaneRoutingHasBeenSet = true;
232 m_dataPlaneRouting = value;
233 }
235 SetDataPlaneRouting(value);
236 return *this;
237 }
239
241
244 inline bool GetCreatePublicIP() const { return m_createPublicIP; }
245 inline void SetCreatePublicIP(bool value) {
246 m_createPublicIPHasBeenSet = true;
247 m_createPublicIP = value;
248 }
250 SetCreatePublicIP(value);
251 return *this;
252 }
254
256
259 inline const Aws::Map<Aws::String, Aws::String>& GetStagingAreaTags() const { return m_stagingAreaTags; }
260 template <typename StagingAreaTagsT = Aws::Map<Aws::String, Aws::String>>
261 void SetStagingAreaTags(StagingAreaTagsT&& value) {
262 m_stagingAreaTagsHasBeenSet = true;
263 m_stagingAreaTags = std::forward<StagingAreaTagsT>(value);
264 }
265 template <typename StagingAreaTagsT = Aws::Map<Aws::String, Aws::String>>
267 SetStagingAreaTags(std::forward<StagingAreaTagsT>(value));
268 return *this;
269 }
270 template <typename StagingAreaTagsKeyT = Aws::String, typename StagingAreaTagsValueT = Aws::String>
271 CreateReplicationConfigurationTemplateResult& AddStagingAreaTags(StagingAreaTagsKeyT&& key, StagingAreaTagsValueT&& value) {
272 m_stagingAreaTagsHasBeenSet = true;
273 m_stagingAreaTags.emplace(std::forward<StagingAreaTagsKeyT>(key), std::forward<StagingAreaTagsValueT>(value));
274 return *this;
275 }
277
279
282 inline bool GetUseFipsEndpoint() const { return m_useFipsEndpoint; }
283 inline void SetUseFipsEndpoint(bool value) {
284 m_useFipsEndpointHasBeenSet = true;
285 m_useFipsEndpoint = value;
286 }
288 SetUseFipsEndpoint(value);
289 return *this;
290 }
292
294
297 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
298 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
299 void SetTags(TagsT&& value) {
300 m_tagsHasBeenSet = true;
301 m_tags = std::forward<TagsT>(value);
302 }
303 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
305 SetTags(std::forward<TagsT>(value));
306 return *this;
307 }
308 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
309 CreateReplicationConfigurationTemplateResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
310 m_tagsHasBeenSet = true;
311 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
312 return *this;
313 }
315
317
320 inline InternetProtocol GetInternetProtocol() const { return m_internetProtocol; }
322 m_internetProtocolHasBeenSet = true;
323 m_internetProtocol = value;
324 }
326 SetInternetProtocol(value);
327 return *this;
328 }
330
332
335 inline bool GetStoreSnapshotOnLocalZone() const { return m_storeSnapshotOnLocalZone; }
336 inline void SetStoreSnapshotOnLocalZone(bool value) {
337 m_storeSnapshotOnLocalZoneHasBeenSet = true;
338 m_storeSnapshotOnLocalZone = value;
339 }
342 return *this;
343 }
345
347
350 inline const StorageConfiguration& GetStorageConfiguration() const { return m_storageConfiguration; }
351 template <typename StorageConfigurationT = StorageConfiguration>
352 void SetStorageConfiguration(StorageConfigurationT&& value) {
353 m_storageConfigurationHasBeenSet = true;
354 m_storageConfiguration = std::forward<StorageConfigurationT>(value);
355 }
356 template <typename StorageConfigurationT = StorageConfiguration>
358 SetStorageConfiguration(std::forward<StorageConfigurationT>(value));
359 return *this;
360 }
362
364
365 inline const Aws::String& GetRequestId() const { return m_requestId; }
366 template <typename RequestIdT = Aws::String>
367 void SetRequestId(RequestIdT&& value) {
368 m_requestIdHasBeenSet = true;
369 m_requestId = std::forward<RequestIdT>(value);
370 }
371 template <typename RequestIdT = Aws::String>
373 SetRequestId(std::forward<RequestIdT>(value));
374 return *this;
375 }
377 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
378
379 private:
380 Aws::String m_replicationConfigurationTemplateID;
381
382 Aws::String m_arn;
383
384 Aws::String m_stagingAreaSubnetId;
385
386 bool m_associateDefaultSecurityGroup{false};
387
388 Aws::Vector<Aws::String> m_replicationServersSecurityGroupsIDs;
389
390 Aws::String m_replicationServerInstanceType;
391
392 bool m_useDedicatedReplicationServer{false};
393
394 ReplicationConfigurationDefaultLargeStagingDiskType m_defaultLargeStagingDiskType{
396
398
399 Aws::String m_ebsEncryptionKeyArn;
400
401 long long m_bandwidthThrottling{0};
402
404
405 bool m_createPublicIP{false};
406
407 Aws::Map<Aws::String, Aws::String> m_stagingAreaTags;
408
409 bool m_useFipsEndpoint{false};
410
412
414
415 bool m_storeSnapshotOnLocalZone{false};
416
417 StorageConfiguration m_storageConfiguration;
418
419 Aws::String m_requestId;
420 Aws::Http::HttpResponseCode m_HttpResponseCode;
421 bool m_replicationConfigurationTemplateIDHasBeenSet = false;
422 bool m_arnHasBeenSet = false;
423 bool m_stagingAreaSubnetIdHasBeenSet = false;
424 bool m_associateDefaultSecurityGroupHasBeenSet = false;
425 bool m_replicationServersSecurityGroupsIDsHasBeenSet = false;
426 bool m_replicationServerInstanceTypeHasBeenSet = false;
427 bool m_useDedicatedReplicationServerHasBeenSet = false;
428 bool m_defaultLargeStagingDiskTypeHasBeenSet = false;
429 bool m_ebsEncryptionHasBeenSet = false;
430 bool m_ebsEncryptionKeyArnHasBeenSet = false;
431 bool m_bandwidthThrottlingHasBeenSet = false;
432 bool m_dataPlaneRoutingHasBeenSet = false;
433 bool m_createPublicIPHasBeenSet = false;
434 bool m_stagingAreaTagsHasBeenSet = false;
435 bool m_useFipsEndpointHasBeenSet = false;
436 bool m_tagsHasBeenSet = false;
437 bool m_internetProtocolHasBeenSet = false;
438 bool m_storeSnapshotOnLocalZoneHasBeenSet = false;
439 bool m_storageConfigurationHasBeenSet = false;
440 bool m_requestIdHasBeenSet = false;
441};
442
443} // namespace Model
444} // namespace mgn
445} // namespace Aws
CreateReplicationConfigurationTemplateResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateReplicationConfigurationTemplateResult & WithReplicationServerInstanceType(ReplicationServerInstanceTypeT &&value)
CreateReplicationConfigurationTemplateResult & WithStagingAreaTags(StagingAreaTagsT &&value)
CreateReplicationConfigurationTemplateResult & WithRequestId(RequestIdT &&value)
CreateReplicationConfigurationTemplateResult & WithBandwidthThrottling(long long value)
CreateReplicationConfigurationTemplateResult & WithTags(TagsT &&value)
CreateReplicationConfigurationTemplateResult & WithAssociateDefaultSecurityGroup(bool value)
AWS_MGN_API CreateReplicationConfigurationTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MGN_API CreateReplicationConfigurationTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateReplicationConfigurationTemplateResult & WithReplicationServersSecurityGroupsIDs(ReplicationServersSecurityGroupsIDsT &&value)
CreateReplicationConfigurationTemplateResult & WithEbsEncryption(ReplicationConfigurationEbsEncryption value)
CreateReplicationConfigurationTemplateResult & WithStoreSnapshotOnLocalZone(bool value)
CreateReplicationConfigurationTemplateResult & AddStagingAreaTags(StagingAreaTagsKeyT &&key, StagingAreaTagsValueT &&value)
CreateReplicationConfigurationTemplateResult & WithDataPlaneRouting(ReplicationConfigurationDataPlaneRouting value)
CreateReplicationConfigurationTemplateResult & WithUseFipsEndpoint(bool value)
CreateReplicationConfigurationTemplateResult & WithDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType value)
CreateReplicationConfigurationTemplateResult & WithInternetProtocol(InternetProtocol value)
CreateReplicationConfigurationTemplateResult & WithUseDedicatedReplicationServer(bool value)
CreateReplicationConfigurationTemplateResult & WithStagingAreaSubnetId(StagingAreaSubnetIdT &&value)
CreateReplicationConfigurationTemplateResult & AddReplicationServersSecurityGroupsIDs(ReplicationServersSecurityGroupsIDsT &&value)
CreateReplicationConfigurationTemplateResult & WithCreatePublicIP(bool value)
CreateReplicationConfigurationTemplateResult & WithEbsEncryptionKeyArn(EbsEncryptionKeyArnT &&value)
CreateReplicationConfigurationTemplateResult & WithReplicationConfigurationTemplateID(ReplicationConfigurationTemplateIDT &&value)
void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType value)
ReplicationConfigurationDefaultLargeStagingDiskType GetDefaultLargeStagingDiskType() const
CreateReplicationConfigurationTemplateResult & WithStorageConfiguration(StorageConfigurationT &&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