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/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/model/ReplicationConfigurationDataPlaneRouting.h>
10#include <aws/mgn/model/ReplicationConfigurationDefaultLargeStagingDiskType.h>
11#include <aws/mgn/model/ReplicationConfigurationEbsEncryption.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace mgn
29{
30namespace Model
31{
33 {
34 public:
38
39
41
44 inline const Aws::String& GetArn() const{ return m_arn; }
45 inline void SetArn(const Aws::String& value) { m_arn = value; }
46 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
47 inline void SetArn(const char* value) { m_arn.assign(value); }
48 inline CreateReplicationConfigurationTemplateResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
49 inline CreateReplicationConfigurationTemplateResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
50 inline CreateReplicationConfigurationTemplateResult& WithArn(const char* value) { SetArn(value); return *this;}
52
54
58 inline bool GetAssociateDefaultSecurityGroup() const{ return m_associateDefaultSecurityGroup; }
59 inline void SetAssociateDefaultSecurityGroup(bool value) { m_associateDefaultSecurityGroup = value; }
62
64
67 inline long long GetBandwidthThrottling() const{ return m_bandwidthThrottling; }
68 inline void SetBandwidthThrottling(long long value) { m_bandwidthThrottling = value; }
71
73
76 inline bool GetCreatePublicIP() const{ return m_createPublicIP; }
77 inline void SetCreatePublicIP(bool value) { m_createPublicIP = value; }
80
82
85 inline const ReplicationConfigurationDataPlaneRouting& GetDataPlaneRouting() const{ return m_dataPlaneRouting; }
86 inline void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting& value) { m_dataPlaneRouting = value; }
87 inline void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting&& value) { m_dataPlaneRouting = std::move(value); }
91
93
96 inline const ReplicationConfigurationDefaultLargeStagingDiskType& GetDefaultLargeStagingDiskType() const{ return m_defaultLargeStagingDiskType; }
97 inline void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType& value) { m_defaultLargeStagingDiskType = value; }
98 inline void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType&& value) { m_defaultLargeStagingDiskType = std::move(value); }
102
104
107 inline const ReplicationConfigurationEbsEncryption& GetEbsEncryption() const{ return m_ebsEncryption; }
108 inline void SetEbsEncryption(const ReplicationConfigurationEbsEncryption& value) { m_ebsEncryption = value; }
109 inline void SetEbsEncryption(ReplicationConfigurationEbsEncryption&& value) { m_ebsEncryption = std::move(value); }
113
115
118 inline const Aws::String& GetEbsEncryptionKeyArn() const{ return m_ebsEncryptionKeyArn; }
119 inline void SetEbsEncryptionKeyArn(const Aws::String& value) { m_ebsEncryptionKeyArn = value; }
120 inline void SetEbsEncryptionKeyArn(Aws::String&& value) { m_ebsEncryptionKeyArn = std::move(value); }
121 inline void SetEbsEncryptionKeyArn(const char* value) { m_ebsEncryptionKeyArn.assign(value); }
126
128
131 inline const Aws::String& GetReplicationConfigurationTemplateID() const{ return m_replicationConfigurationTemplateID; }
132 inline void SetReplicationConfigurationTemplateID(const Aws::String& value) { m_replicationConfigurationTemplateID = value; }
133 inline void SetReplicationConfigurationTemplateID(Aws::String&& value) { m_replicationConfigurationTemplateID = std::move(value); }
134 inline void SetReplicationConfigurationTemplateID(const char* value) { m_replicationConfigurationTemplateID.assign(value); }
139
141
144 inline const Aws::String& GetReplicationServerInstanceType() const{ return m_replicationServerInstanceType; }
145 inline void SetReplicationServerInstanceType(const Aws::String& value) { m_replicationServerInstanceType = value; }
146 inline void SetReplicationServerInstanceType(Aws::String&& value) { m_replicationServerInstanceType = std::move(value); }
147 inline void SetReplicationServerInstanceType(const char* value) { m_replicationServerInstanceType.assign(value); }
152
154
157 inline const Aws::Vector<Aws::String>& GetReplicationServersSecurityGroupsIDs() const{ return m_replicationServersSecurityGroupsIDs; }
158 inline void SetReplicationServersSecurityGroupsIDs(const Aws::Vector<Aws::String>& value) { m_replicationServersSecurityGroupsIDs = value; }
159 inline void SetReplicationServersSecurityGroupsIDs(Aws::Vector<Aws::String>&& value) { m_replicationServersSecurityGroupsIDs = std::move(value); }
162 inline CreateReplicationConfigurationTemplateResult& AddReplicationServersSecurityGroupsIDs(const Aws::String& value) { m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
163 inline CreateReplicationConfigurationTemplateResult& AddReplicationServersSecurityGroupsIDs(Aws::String&& value) { m_replicationServersSecurityGroupsIDs.push_back(std::move(value)); return *this; }
164 inline CreateReplicationConfigurationTemplateResult& AddReplicationServersSecurityGroupsIDs(const char* value) { m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
166
168
171 inline const Aws::String& GetStagingAreaSubnetId() const{ return m_stagingAreaSubnetId; }
172 inline void SetStagingAreaSubnetId(const Aws::String& value) { m_stagingAreaSubnetId = value; }
173 inline void SetStagingAreaSubnetId(Aws::String&& value) { m_stagingAreaSubnetId = std::move(value); }
174 inline void SetStagingAreaSubnetId(const char* value) { m_stagingAreaSubnetId.assign(value); }
179
181
184 inline const Aws::Map<Aws::String, Aws::String>& GetStagingAreaTags() const{ return m_stagingAreaTags; }
185 inline void SetStagingAreaTags(const Aws::Map<Aws::String, Aws::String>& value) { m_stagingAreaTags = value; }
186 inline void SetStagingAreaTags(Aws::Map<Aws::String, Aws::String>&& value) { m_stagingAreaTags = std::move(value); }
189 inline CreateReplicationConfigurationTemplateResult& AddStagingAreaTags(const Aws::String& key, const Aws::String& value) { m_stagingAreaTags.emplace(key, value); return *this; }
190 inline CreateReplicationConfigurationTemplateResult& AddStagingAreaTags(Aws::String&& key, const Aws::String& value) { m_stagingAreaTags.emplace(std::move(key), value); return *this; }
191 inline CreateReplicationConfigurationTemplateResult& AddStagingAreaTags(const Aws::String& key, Aws::String&& value) { m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
192 inline CreateReplicationConfigurationTemplateResult& AddStagingAreaTags(Aws::String&& key, Aws::String&& value) { m_stagingAreaTags.emplace(std::move(key), std::move(value)); return *this; }
193 inline CreateReplicationConfigurationTemplateResult& AddStagingAreaTags(const char* key, Aws::String&& value) { m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
194 inline CreateReplicationConfigurationTemplateResult& AddStagingAreaTags(Aws::String&& key, const char* value) { m_stagingAreaTags.emplace(std::move(key), value); return *this; }
195 inline CreateReplicationConfigurationTemplateResult& AddStagingAreaTags(const char* key, const char* value) { m_stagingAreaTags.emplace(key, value); return *this; }
197
199
202 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
203 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
204 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
207 inline CreateReplicationConfigurationTemplateResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
208 inline CreateReplicationConfigurationTemplateResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
209 inline CreateReplicationConfigurationTemplateResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
210 inline CreateReplicationConfigurationTemplateResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
211 inline CreateReplicationConfigurationTemplateResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
212 inline CreateReplicationConfigurationTemplateResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
213 inline CreateReplicationConfigurationTemplateResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
215
217
220 inline bool GetUseDedicatedReplicationServer() const{ return m_useDedicatedReplicationServer; }
221 inline void SetUseDedicatedReplicationServer(bool value) { m_useDedicatedReplicationServer = value; }
224
226
229 inline bool GetUseFipsEndpoint() const{ return m_useFipsEndpoint; }
230 inline void SetUseFipsEndpoint(bool value) { m_useFipsEndpoint = value; }
233
235
236 inline const Aws::String& GetRequestId() const{ return m_requestId; }
237 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
238 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
239 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
241 inline CreateReplicationConfigurationTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
242 inline CreateReplicationConfigurationTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
244 private:
245
246 Aws::String m_arn;
247
248 bool m_associateDefaultSecurityGroup;
249
250 long long m_bandwidthThrottling;
251
252 bool m_createPublicIP;
253
255
256 ReplicationConfigurationDefaultLargeStagingDiskType m_defaultLargeStagingDiskType;
257
259
260 Aws::String m_ebsEncryptionKeyArn;
261
262 Aws::String m_replicationConfigurationTemplateID;
263
264 Aws::String m_replicationServerInstanceType;
265
266 Aws::Vector<Aws::String> m_replicationServersSecurityGroupsIDs;
267
268 Aws::String m_stagingAreaSubnetId;
269
270 Aws::Map<Aws::String, Aws::String> m_stagingAreaTags;
271
273
274 bool m_useDedicatedReplicationServer;
275
276 bool m_useFipsEndpoint;
277
278 Aws::String m_requestId;
279 };
280
281} // namespace Model
282} // namespace mgn
283} // namespace Aws
CreateReplicationConfigurationTemplateResult & AddTags(const char *key, const char *value)
CreateReplicationConfigurationTemplateResult & WithStagingAreaSubnetId(const Aws::String &value)
CreateReplicationConfigurationTemplateResult & WithReplicationServerInstanceType(Aws::String &&value)
CreateReplicationConfigurationTemplateResult & WithReplicationConfigurationTemplateID(Aws::String &&value)
CreateReplicationConfigurationTemplateResult & WithRequestId(Aws::String &&value)
CreateReplicationConfigurationTemplateResult & AddStagingAreaTags(const Aws::String &key, Aws::String &&value)
CreateReplicationConfigurationTemplateResult & AddTags(Aws::String &&key, const char *value)
CreateReplicationConfigurationTemplateResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateReplicationConfigurationTemplateResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
CreateReplicationConfigurationTemplateResult & WithEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
CreateReplicationConfigurationTemplateResult & AddStagingAreaTags(Aws::String &&key, const Aws::String &value)
CreateReplicationConfigurationTemplateResult & WithStagingAreaSubnetId(Aws::String &&value)
CreateReplicationConfigurationTemplateResult & WithEbsEncryptionKeyArn(const char *value)
CreateReplicationConfigurationTemplateResult & AddStagingAreaTags(const Aws::String &key, const Aws::String &value)
CreateReplicationConfigurationTemplateResult & WithReplicationServersSecurityGroupsIDs(Aws::Vector< Aws::String > &&value)
CreateReplicationConfigurationTemplateResult & WithBandwidthThrottling(long long value)
CreateReplicationConfigurationTemplateResult & WithDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
CreateReplicationConfigurationTemplateResult & WithReplicationServerInstanceType(const Aws::String &value)
CreateReplicationConfigurationTemplateResult & WithArn(const char *value)
CreateReplicationConfigurationTemplateResult & AddReplicationServersSecurityGroupsIDs(const char *value)
CreateReplicationConfigurationTemplateResult & WithAssociateDefaultSecurityGroup(bool value)
AWS_MGN_API CreateReplicationConfigurationTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateReplicationConfigurationTemplateResult & WithStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateReplicationConfigurationTemplateResult & WithStagingAreaSubnetId(const char *value)
CreateReplicationConfigurationTemplateResult & AddStagingAreaTags(const char *key, const char *value)
CreateReplicationConfigurationTemplateResult & AddStagingAreaTags(const char *key, Aws::String &&value)
CreateReplicationConfigurationTemplateResult & WithEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
CreateReplicationConfigurationTemplateResult & AddReplicationServersSecurityGroupsIDs(Aws::String &&value)
CreateReplicationConfigurationTemplateResult & WithReplicationServerInstanceType(const char *value)
AWS_MGN_API CreateReplicationConfigurationTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateReplicationConfigurationTemplateResult & WithDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
CreateReplicationConfigurationTemplateResult & WithStagingAreaTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReplicationConfigurationTemplateResult & WithDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
CreateReplicationConfigurationTemplateResult & AddStagingAreaTags(Aws::String &&key, const char *value)
CreateReplicationConfigurationTemplateResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateReplicationConfigurationTemplateResult & WithEbsEncryptionKeyArn(const Aws::String &value)
CreateReplicationConfigurationTemplateResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateReplicationConfigurationTemplateResult & WithUseFipsEndpoint(bool value)
CreateReplicationConfigurationTemplateResult & WithUseDedicatedReplicationServer(bool value)
CreateReplicationConfigurationTemplateResult & WithReplicationConfigurationTemplateID(const char *value)
CreateReplicationConfigurationTemplateResult & WithRequestId(const Aws::String &value)
CreateReplicationConfigurationTemplateResult & WithCreatePublicIP(bool value)
CreateReplicationConfigurationTemplateResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateReplicationConfigurationTemplateResult & WithReplicationServersSecurityGroupsIDs(const Aws::Vector< Aws::String > &value)
CreateReplicationConfigurationTemplateResult & WithDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
CreateReplicationConfigurationTemplateResult & AddStagingAreaTags(Aws::String &&key, Aws::String &&value)
CreateReplicationConfigurationTemplateResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
CreateReplicationConfigurationTemplateResult & WithReplicationConfigurationTemplateID(const Aws::String &value)
CreateReplicationConfigurationTemplateResult & AddReplicationServersSecurityGroupsIDs(const Aws::String &value)
void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
CreateReplicationConfigurationTemplateResult & WithRequestId(const char *value)
CreateReplicationConfigurationTemplateResult & AddTags(const char *key, Aws::String &&value)
CreateReplicationConfigurationTemplateResult & WithArn(const Aws::String &value)
CreateReplicationConfigurationTemplateResult & WithArn(Aws::String &&value)
const ReplicationConfigurationDefaultLargeStagingDiskType & GetDefaultLargeStagingDiskType() const
CreateReplicationConfigurationTemplateResult & WithEbsEncryptionKeyArn(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