AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateReplicationConfigurationTemplateRequest.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.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/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <utility>
16
17namespace Aws
18{
19namespace mgn
20{
21namespace Model
22{
23
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateReplicationConfigurationTemplate"; }
36
37 AWS_MGN_API Aws::String SerializePayload() const override;
38
39
41
45 inline bool GetAssociateDefaultSecurityGroup() const{ return m_associateDefaultSecurityGroup; }
46 inline bool AssociateDefaultSecurityGroupHasBeenSet() const { return m_associateDefaultSecurityGroupHasBeenSet; }
47 inline void SetAssociateDefaultSecurityGroup(bool value) { m_associateDefaultSecurityGroupHasBeenSet = true; m_associateDefaultSecurityGroup = value; }
50
52
56 inline long long GetBandwidthThrottling() const{ return m_bandwidthThrottling; }
57 inline bool BandwidthThrottlingHasBeenSet() const { return m_bandwidthThrottlingHasBeenSet; }
58 inline void SetBandwidthThrottling(long long value) { m_bandwidthThrottlingHasBeenSet = true; m_bandwidthThrottling = value; }
61
63
67 inline bool GetCreatePublicIP() const{ return m_createPublicIP; }
68 inline bool CreatePublicIPHasBeenSet() const { return m_createPublicIPHasBeenSet; }
69 inline void SetCreatePublicIP(bool value) { m_createPublicIPHasBeenSet = true; m_createPublicIP = value; }
72
74
78 inline const ReplicationConfigurationDataPlaneRouting& GetDataPlaneRouting() const{ return m_dataPlaneRouting; }
79 inline bool DataPlaneRoutingHasBeenSet() const { return m_dataPlaneRoutingHasBeenSet; }
80 inline void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting& value) { m_dataPlaneRoutingHasBeenSet = true; m_dataPlaneRouting = value; }
81 inline void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting&& value) { m_dataPlaneRoutingHasBeenSet = true; m_dataPlaneRouting = std::move(value); }
85
87
91 inline const ReplicationConfigurationDefaultLargeStagingDiskType& GetDefaultLargeStagingDiskType() const{ return m_defaultLargeStagingDiskType; }
92 inline bool DefaultLargeStagingDiskTypeHasBeenSet() const { return m_defaultLargeStagingDiskTypeHasBeenSet; }
93 inline void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType& value) { m_defaultLargeStagingDiskTypeHasBeenSet = true; m_defaultLargeStagingDiskType = value; }
94 inline void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType&& value) { m_defaultLargeStagingDiskTypeHasBeenSet = true; m_defaultLargeStagingDiskType = std::move(value); }
98
100
104 inline const ReplicationConfigurationEbsEncryption& GetEbsEncryption() const{ return m_ebsEncryption; }
105 inline bool EbsEncryptionHasBeenSet() const { return m_ebsEncryptionHasBeenSet; }
106 inline void SetEbsEncryption(const ReplicationConfigurationEbsEncryption& value) { m_ebsEncryptionHasBeenSet = true; m_ebsEncryption = value; }
107 inline void SetEbsEncryption(ReplicationConfigurationEbsEncryption&& value) { m_ebsEncryptionHasBeenSet = true; m_ebsEncryption = std::move(value); }
111
113
117 inline const Aws::String& GetEbsEncryptionKeyArn() const{ return m_ebsEncryptionKeyArn; }
118 inline bool EbsEncryptionKeyArnHasBeenSet() const { return m_ebsEncryptionKeyArnHasBeenSet; }
119 inline void SetEbsEncryptionKeyArn(const Aws::String& value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn = value; }
120 inline void SetEbsEncryptionKeyArn(Aws::String&& value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn = std::move(value); }
121 inline void SetEbsEncryptionKeyArn(const char* value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn.assign(value); }
126
128
132 inline const Aws::String& GetReplicationServerInstanceType() const{ return m_replicationServerInstanceType; }
133 inline bool ReplicationServerInstanceTypeHasBeenSet() const { return m_replicationServerInstanceTypeHasBeenSet; }
134 inline void SetReplicationServerInstanceType(const Aws::String& value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType = value; }
135 inline void SetReplicationServerInstanceType(Aws::String&& value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType = std::move(value); }
136 inline void SetReplicationServerInstanceType(const char* value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType.assign(value); }
141
143
147 inline const Aws::Vector<Aws::String>& GetReplicationServersSecurityGroupsIDs() const{ return m_replicationServersSecurityGroupsIDs; }
148 inline bool ReplicationServersSecurityGroupsIDsHasBeenSet() const { return m_replicationServersSecurityGroupsIDsHasBeenSet; }
149 inline void SetReplicationServersSecurityGroupsIDs(const Aws::Vector<Aws::String>& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs = value; }
150 inline void SetReplicationServersSecurityGroupsIDs(Aws::Vector<Aws::String>&& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs = std::move(value); }
153 inline CreateReplicationConfigurationTemplateRequest& AddReplicationServersSecurityGroupsIDs(const Aws::String& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
154 inline CreateReplicationConfigurationTemplateRequest& AddReplicationServersSecurityGroupsIDs(Aws::String&& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(std::move(value)); return *this; }
155 inline CreateReplicationConfigurationTemplateRequest& AddReplicationServersSecurityGroupsIDs(const char* value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
157
159
163 inline const Aws::String& GetStagingAreaSubnetId() const{ return m_stagingAreaSubnetId; }
164 inline bool StagingAreaSubnetIdHasBeenSet() const { return m_stagingAreaSubnetIdHasBeenSet; }
165 inline void SetStagingAreaSubnetId(const Aws::String& value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId = value; }
166 inline void SetStagingAreaSubnetId(Aws::String&& value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId = std::move(value); }
167 inline void SetStagingAreaSubnetId(const char* value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId.assign(value); }
172
174
178 inline const Aws::Map<Aws::String, Aws::String>& GetStagingAreaTags() const{ return m_stagingAreaTags; }
179 inline bool StagingAreaTagsHasBeenSet() const { return m_stagingAreaTagsHasBeenSet; }
180 inline void SetStagingAreaTags(const Aws::Map<Aws::String, Aws::String>& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags = value; }
181 inline void SetStagingAreaTags(Aws::Map<Aws::String, Aws::String>&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags = std::move(value); }
184 inline CreateReplicationConfigurationTemplateRequest& AddStagingAreaTags(const Aws::String& key, const Aws::String& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, value); return *this; }
185 inline CreateReplicationConfigurationTemplateRequest& AddStagingAreaTags(Aws::String&& key, const Aws::String& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), value); return *this; }
186 inline CreateReplicationConfigurationTemplateRequest& AddStagingAreaTags(const Aws::String& key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
187 inline CreateReplicationConfigurationTemplateRequest& AddStagingAreaTags(Aws::String&& key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), std::move(value)); return *this; }
188 inline CreateReplicationConfigurationTemplateRequest& AddStagingAreaTags(const char* key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
189 inline CreateReplicationConfigurationTemplateRequest& AddStagingAreaTags(Aws::String&& key, const char* value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), value); return *this; }
190 inline CreateReplicationConfigurationTemplateRequest& AddStagingAreaTags(const char* key, const char* value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, value); return *this; }
192
194
197 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
198 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
199 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
200 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
203 inline CreateReplicationConfigurationTemplateRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
204 inline CreateReplicationConfigurationTemplateRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
205 inline CreateReplicationConfigurationTemplateRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
206 inline CreateReplicationConfigurationTemplateRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
207 inline CreateReplicationConfigurationTemplateRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
208 inline CreateReplicationConfigurationTemplateRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
209 inline CreateReplicationConfigurationTemplateRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
211
213
217 inline bool GetUseDedicatedReplicationServer() const{ return m_useDedicatedReplicationServer; }
218 inline bool UseDedicatedReplicationServerHasBeenSet() const { return m_useDedicatedReplicationServerHasBeenSet; }
219 inline void SetUseDedicatedReplicationServer(bool value) { m_useDedicatedReplicationServerHasBeenSet = true; m_useDedicatedReplicationServer = value; }
222
224
228 inline bool GetUseFipsEndpoint() const{ return m_useFipsEndpoint; }
229 inline bool UseFipsEndpointHasBeenSet() const { return m_useFipsEndpointHasBeenSet; }
230 inline void SetUseFipsEndpoint(bool value) { m_useFipsEndpointHasBeenSet = true; m_useFipsEndpoint = value; }
233 private:
234
235 bool m_associateDefaultSecurityGroup;
236 bool m_associateDefaultSecurityGroupHasBeenSet = false;
237
238 long long m_bandwidthThrottling;
239 bool m_bandwidthThrottlingHasBeenSet = false;
240
241 bool m_createPublicIP;
242 bool m_createPublicIPHasBeenSet = false;
243
245 bool m_dataPlaneRoutingHasBeenSet = false;
246
247 ReplicationConfigurationDefaultLargeStagingDiskType m_defaultLargeStagingDiskType;
248 bool m_defaultLargeStagingDiskTypeHasBeenSet = false;
249
251 bool m_ebsEncryptionHasBeenSet = false;
252
253 Aws::String m_ebsEncryptionKeyArn;
254 bool m_ebsEncryptionKeyArnHasBeenSet = false;
255
256 Aws::String m_replicationServerInstanceType;
257 bool m_replicationServerInstanceTypeHasBeenSet = false;
258
259 Aws::Vector<Aws::String> m_replicationServersSecurityGroupsIDs;
260 bool m_replicationServersSecurityGroupsIDsHasBeenSet = false;
261
262 Aws::String m_stagingAreaSubnetId;
263 bool m_stagingAreaSubnetIdHasBeenSet = false;
264
265 Aws::Map<Aws::String, Aws::String> m_stagingAreaTags;
266 bool m_stagingAreaTagsHasBeenSet = false;
267
269 bool m_tagsHasBeenSet = false;
270
271 bool m_useDedicatedReplicationServer;
272 bool m_useDedicatedReplicationServerHasBeenSet = false;
273
274 bool m_useFipsEndpoint;
275 bool m_useFipsEndpointHasBeenSet = false;
276 };
277
278} // namespace Model
279} // namespace mgn
280} // namespace Aws
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(Aws::String &&key, const char *value)
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const Aws::String &key, Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & WithDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const char *key, Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & WithStagingAreaSubnetId(const char *value)
CreateReplicationConfigurationTemplateRequest & WithUseDedicatedReplicationServer(bool value)
const ReplicationConfigurationDefaultLargeStagingDiskType & GetDefaultLargeStagingDiskType() const
CreateReplicationConfigurationTemplateRequest & AddReplicationServersSecurityGroupsIDs(const Aws::String &value)
void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
CreateReplicationConfigurationTemplateRequest & WithEbsEncryptionKeyArn(const char *value)
CreateReplicationConfigurationTemplateRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateReplicationConfigurationTemplateRequest & WithReplicationServerInstanceType(Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & WithAssociateDefaultSecurityGroup(bool value)
CreateReplicationConfigurationTemplateRequest & WithStagingAreaTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReplicationConfigurationTemplateRequest & WithReplicationServerInstanceType(const Aws::String &value)
CreateReplicationConfigurationTemplateRequest & WithDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
CreateReplicationConfigurationTemplateRequest & WithDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
CreateReplicationConfigurationTemplateRequest & WithStagingAreaSubnetId(const Aws::String &value)
CreateReplicationConfigurationTemplateRequest & WithDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
CreateReplicationConfigurationTemplateRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateReplicationConfigurationTemplateRequest & WithEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
CreateReplicationConfigurationTemplateRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateReplicationConfigurationTemplateRequest & WithEbsEncryptionKeyArn(Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & WithStagingAreaSubnetId(Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & AddTags(const char *key, Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & WithReplicationServersSecurityGroupsIDs(const Aws::Vector< Aws::String > &value)
void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
CreateReplicationConfigurationTemplateRequest & WithStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateReplicationConfigurationTemplateRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(Aws::String &&key, Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & WithCreatePublicIP(bool value)
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const Aws::String &key, const Aws::String &value)
CreateReplicationConfigurationTemplateRequest & AddReplicationServersSecurityGroupsIDs(Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & AddTags(const char *key, const char *value)
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(Aws::String &&key, const Aws::String &value)
CreateReplicationConfigurationTemplateRequest & WithEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
CreateReplicationConfigurationTemplateRequest & AddReplicationServersSecurityGroupsIDs(const char *value)
CreateReplicationConfigurationTemplateRequest & WithReplicationServerInstanceType(const char *value)
CreateReplicationConfigurationTemplateRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & WithEbsEncryptionKeyArn(const Aws::String &value)
void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
CreateReplicationConfigurationTemplateRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const char *key, const char *value)
CreateReplicationConfigurationTemplateRequest & WithBandwidthThrottling(long long value)
AWS_MGN_API Aws::String SerializePayload() const override
CreateReplicationConfigurationTemplateRequest & WithUseFipsEndpoint(bool value)
CreateReplicationConfigurationTemplateRequest & WithReplicationServersSecurityGroupsIDs(Aws::Vector< Aws::String > &&value)
CreateReplicationConfigurationTemplateRequest & AddTags(Aws::String &&key, 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