AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateReplicationConfigurationTemplateResult.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/model/ReplicationConfigurationDataPlaneRouting.h>
10#include <aws/drs/model/ReplicationConfigurationDefaultLargeStagingDiskType.h>
11#include <aws/drs/model/ReplicationConfigurationEbsEncryption.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 <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 drs
30{
31namespace Model
32{
34 {
35 public:
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline void SetArn(const Aws::String& value) { m_arn = value; }
47 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
48 inline void SetArn(const char* value) { m_arn.assign(value); }
49 inline CreateReplicationConfigurationTemplateResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
50 inline CreateReplicationConfigurationTemplateResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
51 inline CreateReplicationConfigurationTemplateResult& WithArn(const char* value) { SetArn(value); return *this;}
53
55
59 inline bool GetAssociateDefaultSecurityGroup() const{ return m_associateDefaultSecurityGroup; }
60 inline void SetAssociateDefaultSecurityGroup(bool value) { m_associateDefaultSecurityGroup = value; }
63
65
69 inline bool GetAutoReplicateNewDisks() const{ return m_autoReplicateNewDisks; }
70 inline void SetAutoReplicateNewDisks(bool value) { m_autoReplicateNewDisks = value; }
73
75
79 inline long long GetBandwidthThrottling() const{ return m_bandwidthThrottling; }
80 inline void SetBandwidthThrottling(long long value) { m_bandwidthThrottling = value; }
83
85
88 inline bool GetCreatePublicIP() const{ return m_createPublicIP; }
89 inline void SetCreatePublicIP(bool value) { m_createPublicIP = value; }
92
94
97 inline const ReplicationConfigurationDataPlaneRouting& GetDataPlaneRouting() const{ return m_dataPlaneRouting; }
98 inline void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting& value) { m_dataPlaneRouting = value; }
99 inline void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting&& value) { m_dataPlaneRouting = std::move(value); }
103
105
108 inline const ReplicationConfigurationDefaultLargeStagingDiskType& GetDefaultLargeStagingDiskType() const{ return m_defaultLargeStagingDiskType; }
109 inline void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType& value) { m_defaultLargeStagingDiskType = value; }
110 inline void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType&& value) { m_defaultLargeStagingDiskType = std::move(value); }
114
116
119 inline const ReplicationConfigurationEbsEncryption& GetEbsEncryption() const{ return m_ebsEncryption; }
120 inline void SetEbsEncryption(const ReplicationConfigurationEbsEncryption& value) { m_ebsEncryption = value; }
121 inline void SetEbsEncryption(ReplicationConfigurationEbsEncryption&& value) { m_ebsEncryption = std::move(value); }
125
127
130 inline const Aws::String& GetEbsEncryptionKeyArn() const{ return m_ebsEncryptionKeyArn; }
131 inline void SetEbsEncryptionKeyArn(const Aws::String& value) { m_ebsEncryptionKeyArn = value; }
132 inline void SetEbsEncryptionKeyArn(Aws::String&& value) { m_ebsEncryptionKeyArn = std::move(value); }
133 inline void SetEbsEncryptionKeyArn(const char* value) { m_ebsEncryptionKeyArn.assign(value); }
138
140
144 inline const Aws::Vector<PITPolicyRule>& GetPitPolicy() const{ return m_pitPolicy; }
145 inline void SetPitPolicy(const Aws::Vector<PITPolicyRule>& value) { m_pitPolicy = value; }
146 inline void SetPitPolicy(Aws::Vector<PITPolicyRule>&& value) { m_pitPolicy = std::move(value); }
149 inline CreateReplicationConfigurationTemplateResult& AddPitPolicy(const PITPolicyRule& value) { m_pitPolicy.push_back(value); return *this; }
150 inline CreateReplicationConfigurationTemplateResult& AddPitPolicy(PITPolicyRule&& value) { m_pitPolicy.push_back(std::move(value)); return *this; }
152
154
157 inline const Aws::String& GetReplicationConfigurationTemplateID() const{ return m_replicationConfigurationTemplateID; }
158 inline void SetReplicationConfigurationTemplateID(const Aws::String& value) { m_replicationConfigurationTemplateID = value; }
159 inline void SetReplicationConfigurationTemplateID(Aws::String&& value) { m_replicationConfigurationTemplateID = std::move(value); }
160 inline void SetReplicationConfigurationTemplateID(const char* value) { m_replicationConfigurationTemplateID.assign(value); }
165
167
170 inline const Aws::String& GetReplicationServerInstanceType() const{ return m_replicationServerInstanceType; }
171 inline void SetReplicationServerInstanceType(const Aws::String& value) { m_replicationServerInstanceType = value; }
172 inline void SetReplicationServerInstanceType(Aws::String&& value) { m_replicationServerInstanceType = std::move(value); }
173 inline void SetReplicationServerInstanceType(const char* value) { m_replicationServerInstanceType.assign(value); }
178
180
183 inline const Aws::Vector<Aws::String>& GetReplicationServersSecurityGroupsIDs() const{ return m_replicationServersSecurityGroupsIDs; }
184 inline void SetReplicationServersSecurityGroupsIDs(const Aws::Vector<Aws::String>& value) { m_replicationServersSecurityGroupsIDs = value; }
185 inline void SetReplicationServersSecurityGroupsIDs(Aws::Vector<Aws::String>&& value) { m_replicationServersSecurityGroupsIDs = std::move(value); }
188 inline CreateReplicationConfigurationTemplateResult& AddReplicationServersSecurityGroupsIDs(const Aws::String& value) { m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
189 inline CreateReplicationConfigurationTemplateResult& AddReplicationServersSecurityGroupsIDs(Aws::String&& value) { m_replicationServersSecurityGroupsIDs.push_back(std::move(value)); return *this; }
190 inline CreateReplicationConfigurationTemplateResult& AddReplicationServersSecurityGroupsIDs(const char* value) { m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
192
194
197 inline const Aws::String& GetStagingAreaSubnetId() const{ return m_stagingAreaSubnetId; }
198 inline void SetStagingAreaSubnetId(const Aws::String& value) { m_stagingAreaSubnetId = value; }
199 inline void SetStagingAreaSubnetId(Aws::String&& value) { m_stagingAreaSubnetId = std::move(value); }
200 inline void SetStagingAreaSubnetId(const char* value) { m_stagingAreaSubnetId.assign(value); }
205
207
211 inline const Aws::Map<Aws::String, Aws::String>& GetStagingAreaTags() const{ return m_stagingAreaTags; }
212 inline void SetStagingAreaTags(const Aws::Map<Aws::String, Aws::String>& value) { m_stagingAreaTags = value; }
213 inline void SetStagingAreaTags(Aws::Map<Aws::String, Aws::String>&& value) { m_stagingAreaTags = std::move(value); }
216 inline CreateReplicationConfigurationTemplateResult& AddStagingAreaTags(const Aws::String& key, const Aws::String& value) { m_stagingAreaTags.emplace(key, value); return *this; }
217 inline CreateReplicationConfigurationTemplateResult& AddStagingAreaTags(Aws::String&& key, const Aws::String& value) { m_stagingAreaTags.emplace(std::move(key), value); return *this; }
218 inline CreateReplicationConfigurationTemplateResult& AddStagingAreaTags(const Aws::String& key, Aws::String&& value) { m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
219 inline CreateReplicationConfigurationTemplateResult& AddStagingAreaTags(Aws::String&& key, Aws::String&& value) { m_stagingAreaTags.emplace(std::move(key), std::move(value)); return *this; }
220 inline CreateReplicationConfigurationTemplateResult& AddStagingAreaTags(const char* key, Aws::String&& value) { m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
221 inline CreateReplicationConfigurationTemplateResult& AddStagingAreaTags(Aws::String&& key, const char* value) { m_stagingAreaTags.emplace(std::move(key), value); return *this; }
222 inline CreateReplicationConfigurationTemplateResult& AddStagingAreaTags(const char* key, const char* value) { m_stagingAreaTags.emplace(key, value); return *this; }
224
226
230 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
231 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
232 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
235 inline CreateReplicationConfigurationTemplateResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
236 inline CreateReplicationConfigurationTemplateResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
237 inline CreateReplicationConfigurationTemplateResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
238 inline CreateReplicationConfigurationTemplateResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
239 inline CreateReplicationConfigurationTemplateResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
240 inline CreateReplicationConfigurationTemplateResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
241 inline CreateReplicationConfigurationTemplateResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
243
245
249 inline bool GetUseDedicatedReplicationServer() const{ return m_useDedicatedReplicationServer; }
250 inline void SetUseDedicatedReplicationServer(bool value) { m_useDedicatedReplicationServer = value; }
253
255
256 inline const Aws::String& GetRequestId() const{ return m_requestId; }
257 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
258 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
259 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
261 inline CreateReplicationConfigurationTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
262 inline CreateReplicationConfigurationTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
264 private:
265
266 Aws::String m_arn;
267
268 bool m_associateDefaultSecurityGroup;
269
270 bool m_autoReplicateNewDisks;
271
272 long long m_bandwidthThrottling;
273
274 bool m_createPublicIP;
275
277
278 ReplicationConfigurationDefaultLargeStagingDiskType m_defaultLargeStagingDiskType;
279
281
282 Aws::String m_ebsEncryptionKeyArn;
283
284 Aws::Vector<PITPolicyRule> m_pitPolicy;
285
286 Aws::String m_replicationConfigurationTemplateID;
287
288 Aws::String m_replicationServerInstanceType;
289
290 Aws::Vector<Aws::String> m_replicationServersSecurityGroupsIDs;
291
292 Aws::String m_stagingAreaSubnetId;
293
294 Aws::Map<Aws::String, Aws::String> m_stagingAreaTags;
295
297
298 bool m_useDedicatedReplicationServer;
299
300 Aws::String m_requestId;
301 };
302
303} // namespace Model
304} // namespace drs
305} // namespace Aws
CreateReplicationConfigurationTemplateResult & WithBandwidthThrottling(long long value)
void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
CreateReplicationConfigurationTemplateResult & AddStagingAreaTags(const char *key, const char *value)
CreateReplicationConfigurationTemplateResult & AddStagingAreaTags(const Aws::String &key, Aws::String &&value)
CreateReplicationConfigurationTemplateResult & WithArn(const Aws::String &value)
CreateReplicationConfigurationTemplateResult & WithReplicationConfigurationTemplateID(Aws::String &&value)
CreateReplicationConfigurationTemplateResult & AddTags(const char *key, const char *value)
void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
CreateReplicationConfigurationTemplateResult & AddTags(const char *key, Aws::String &&value)
CreateReplicationConfigurationTemplateResult & AddStagingAreaTags(Aws::String &&key, const Aws::String &value)
CreateReplicationConfigurationTemplateResult & WithReplicationConfigurationTemplateID(const Aws::String &value)
CreateReplicationConfigurationTemplateResult & WithStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateReplicationConfigurationTemplateResult & WithPitPolicy(Aws::Vector< PITPolicyRule > &&value)
CreateReplicationConfigurationTemplateResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateReplicationConfigurationTemplateResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReplicationConfigurationTemplateResult & WithAutoReplicateNewDisks(bool value)
CreateReplicationConfigurationTemplateResult & WithReplicationServersSecurityGroupsIDs(const Aws::Vector< Aws::String > &value)
CreateReplicationConfigurationTemplateResult & WithStagingAreaTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReplicationConfigurationTemplateResult & AddTags(Aws::String &&key, const char *value)
CreateReplicationConfigurationTemplateResult & AddStagingAreaTags(const Aws::String &key, const Aws::String &value)
CreateReplicationConfigurationTemplateResult & WithArn(const char *value)
CreateReplicationConfigurationTemplateResult & WithUseDedicatedReplicationServer(bool value)
CreateReplicationConfigurationTemplateResult & AddStagingAreaTags(Aws::String &&key, const char *value)
AWS_DRS_API CreateReplicationConfigurationTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateReplicationConfigurationTemplateResult & AddReplicationServersSecurityGroupsIDs(const Aws::String &value)
void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
CreateReplicationConfigurationTemplateResult & WithEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
CreateReplicationConfigurationTemplateResult & WithRequestId(const Aws::String &value)
const ReplicationConfigurationDefaultLargeStagingDiskType & GetDefaultLargeStagingDiskType() const
CreateReplicationConfigurationTemplateResult & AddReplicationServersSecurityGroupsIDs(Aws::String &&value)
CreateReplicationConfigurationTemplateResult & WithCreatePublicIP(bool value)
CreateReplicationConfigurationTemplateResult & WithAssociateDefaultSecurityGroup(bool value)
CreateReplicationConfigurationTemplateResult & WithEbsEncryptionKeyArn(const Aws::String &value)
CreateReplicationConfigurationTemplateResult & WithStagingAreaSubnetId(const Aws::String &value)
CreateReplicationConfigurationTemplateResult & WithEbsEncryptionKeyArn(const char *value)
CreateReplicationConfigurationTemplateResult & WithDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
CreateReplicationConfigurationTemplateResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateReplicationConfigurationTemplateResult & WithStagingAreaSubnetId(Aws::String &&value)
CreateReplicationConfigurationTemplateResult & WithReplicationServerInstanceType(Aws::String &&value)
CreateReplicationConfigurationTemplateResult & WithArn(Aws::String &&value)
CreateReplicationConfigurationTemplateResult & AddPitPolicy(const PITPolicyRule &value)
CreateReplicationConfigurationTemplateResult & WithDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
CreateReplicationConfigurationTemplateResult & WithReplicationServerInstanceType(const Aws::String &value)
CreateReplicationConfigurationTemplateResult & WithReplicationServersSecurityGroupsIDs(Aws::Vector< Aws::String > &&value)
CreateReplicationConfigurationTemplateResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateReplicationConfigurationTemplateResult & WithEbsEncryptionKeyArn(Aws::String &&value)
CreateReplicationConfigurationTemplateResult & AddReplicationServersSecurityGroupsIDs(const char *value)
CreateReplicationConfigurationTemplateResult & AddPitPolicy(PITPolicyRule &&value)
CreateReplicationConfigurationTemplateResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateReplicationConfigurationTemplateResult & WithRequestId(const char *value)
CreateReplicationConfigurationTemplateResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateReplicationConfigurationTemplateResult & WithDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
CreateReplicationConfigurationTemplateResult & WithDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
CreateReplicationConfigurationTemplateResult & WithRequestId(Aws::String &&value)
CreateReplicationConfigurationTemplateResult & WithPitPolicy(const Aws::Vector< PITPolicyRule > &value)
AWS_DRS_API CreateReplicationConfigurationTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateReplicationConfigurationTemplateResult & WithReplicationServerInstanceType(const char *value)
CreateReplicationConfigurationTemplateResult & WithEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
CreateReplicationConfigurationTemplateResult & AddStagingAreaTags(const char *key, Aws::String &&value)
CreateReplicationConfigurationTemplateResult & WithReplicationConfigurationTemplateID(const char *value)
CreateReplicationConfigurationTemplateResult & AddStagingAreaTags(Aws::String &&key, Aws::String &&value)
CreateReplicationConfigurationTemplateResult & WithStagingAreaSubnetId(const char *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