AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateReplicationConfigurationTemplateRequest.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mgn/model/ReplicationConfigurationDataPlaneRouting.h>
11#include <aws/mgn/model/ReplicationConfigurationDefaultLargeStagingDiskType.h>
12#include <aws/mgn/model/ReplicationConfigurationEbsEncryption.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 "UpdateReplicationConfigurationTemplate"; }
36
37 AWS_MGN_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetArn() const{ return m_arn; }
45 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
47 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
48 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
49 inline UpdateReplicationConfigurationTemplateRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
50 inline UpdateReplicationConfigurationTemplateRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
51 inline UpdateReplicationConfigurationTemplateRequest& WithArn(const char* value) { SetArn(value); return *this;}
53
55
59 inline bool GetAssociateDefaultSecurityGroup() const{ return m_associateDefaultSecurityGroup; }
60 inline bool AssociateDefaultSecurityGroupHasBeenSet() const { return m_associateDefaultSecurityGroupHasBeenSet; }
61 inline void SetAssociateDefaultSecurityGroup(bool value) { m_associateDefaultSecurityGroupHasBeenSet = true; m_associateDefaultSecurityGroup = value; }
64
66
69 inline long long GetBandwidthThrottling() const{ return m_bandwidthThrottling; }
70 inline bool BandwidthThrottlingHasBeenSet() const { return m_bandwidthThrottlingHasBeenSet; }
71 inline void SetBandwidthThrottling(long long value) { m_bandwidthThrottlingHasBeenSet = true; m_bandwidthThrottling = value; }
74
76
79 inline bool GetCreatePublicIP() const{ return m_createPublicIP; }
80 inline bool CreatePublicIPHasBeenSet() const { return m_createPublicIPHasBeenSet; }
81 inline void SetCreatePublicIP(bool value) { m_createPublicIPHasBeenSet = true; m_createPublicIP = value; }
84
86
89 inline const ReplicationConfigurationDataPlaneRouting& GetDataPlaneRouting() const{ return m_dataPlaneRouting; }
90 inline bool DataPlaneRoutingHasBeenSet() const { return m_dataPlaneRoutingHasBeenSet; }
91 inline void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting& value) { m_dataPlaneRoutingHasBeenSet = true; m_dataPlaneRouting = value; }
92 inline void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting&& value) { m_dataPlaneRoutingHasBeenSet = true; m_dataPlaneRouting = std::move(value); }
96
98
102 inline const ReplicationConfigurationDefaultLargeStagingDiskType& GetDefaultLargeStagingDiskType() const{ return m_defaultLargeStagingDiskType; }
103 inline bool DefaultLargeStagingDiskTypeHasBeenSet() const { return m_defaultLargeStagingDiskTypeHasBeenSet; }
104 inline void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType& value) { m_defaultLargeStagingDiskTypeHasBeenSet = true; m_defaultLargeStagingDiskType = value; }
105 inline void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType&& value) { m_defaultLargeStagingDiskTypeHasBeenSet = true; m_defaultLargeStagingDiskType = std::move(value); }
109
111
114 inline const ReplicationConfigurationEbsEncryption& GetEbsEncryption() const{ return m_ebsEncryption; }
115 inline bool EbsEncryptionHasBeenSet() const { return m_ebsEncryptionHasBeenSet; }
116 inline void SetEbsEncryption(const ReplicationConfigurationEbsEncryption& value) { m_ebsEncryptionHasBeenSet = true; m_ebsEncryption = value; }
117 inline void SetEbsEncryption(ReplicationConfigurationEbsEncryption&& value) { m_ebsEncryptionHasBeenSet = true; m_ebsEncryption = std::move(value); }
121
123
126 inline const Aws::String& GetEbsEncryptionKeyArn() const{ return m_ebsEncryptionKeyArn; }
127 inline bool EbsEncryptionKeyArnHasBeenSet() const { return m_ebsEncryptionKeyArnHasBeenSet; }
128 inline void SetEbsEncryptionKeyArn(const Aws::String& value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn = value; }
129 inline void SetEbsEncryptionKeyArn(Aws::String&& value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn = std::move(value); }
130 inline void SetEbsEncryptionKeyArn(const char* value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn.assign(value); }
135
137
140 inline const Aws::String& GetReplicationConfigurationTemplateID() const{ return m_replicationConfigurationTemplateID; }
141 inline bool ReplicationConfigurationTemplateIDHasBeenSet() const { return m_replicationConfigurationTemplateIDHasBeenSet; }
142 inline void SetReplicationConfigurationTemplateID(const Aws::String& value) { m_replicationConfigurationTemplateIDHasBeenSet = true; m_replicationConfigurationTemplateID = value; }
143 inline void SetReplicationConfigurationTemplateID(Aws::String&& value) { m_replicationConfigurationTemplateIDHasBeenSet = true; m_replicationConfigurationTemplateID = std::move(value); }
144 inline void SetReplicationConfigurationTemplateID(const char* value) { m_replicationConfigurationTemplateIDHasBeenSet = true; m_replicationConfigurationTemplateID.assign(value); }
149
151
155 inline const Aws::String& GetReplicationServerInstanceType() const{ return m_replicationServerInstanceType; }
156 inline bool ReplicationServerInstanceTypeHasBeenSet() const { return m_replicationServerInstanceTypeHasBeenSet; }
157 inline void SetReplicationServerInstanceType(const Aws::String& value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType = value; }
158 inline void SetReplicationServerInstanceType(Aws::String&& value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType = std::move(value); }
159 inline void SetReplicationServerInstanceType(const char* value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType.assign(value); }
164
166
170 inline const Aws::Vector<Aws::String>& GetReplicationServersSecurityGroupsIDs() const{ return m_replicationServersSecurityGroupsIDs; }
171 inline bool ReplicationServersSecurityGroupsIDsHasBeenSet() const { return m_replicationServersSecurityGroupsIDsHasBeenSet; }
172 inline void SetReplicationServersSecurityGroupsIDs(const Aws::Vector<Aws::String>& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs = value; }
173 inline void SetReplicationServersSecurityGroupsIDs(Aws::Vector<Aws::String>&& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs = std::move(value); }
176 inline UpdateReplicationConfigurationTemplateRequest& AddReplicationServersSecurityGroupsIDs(const Aws::String& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
177 inline UpdateReplicationConfigurationTemplateRequest& AddReplicationServersSecurityGroupsIDs(Aws::String&& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(std::move(value)); return *this; }
178 inline UpdateReplicationConfigurationTemplateRequest& AddReplicationServersSecurityGroupsIDs(const char* value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
180
182
185 inline const Aws::String& GetStagingAreaSubnetId() const{ return m_stagingAreaSubnetId; }
186 inline bool StagingAreaSubnetIdHasBeenSet() const { return m_stagingAreaSubnetIdHasBeenSet; }
187 inline void SetStagingAreaSubnetId(const Aws::String& value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId = value; }
188 inline void SetStagingAreaSubnetId(Aws::String&& value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId = std::move(value); }
189 inline void SetStagingAreaSubnetId(const char* value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId.assign(value); }
194
196
199 inline const Aws::Map<Aws::String, Aws::String>& GetStagingAreaTags() const{ return m_stagingAreaTags; }
200 inline bool StagingAreaTagsHasBeenSet() const { return m_stagingAreaTagsHasBeenSet; }
201 inline void SetStagingAreaTags(const Aws::Map<Aws::String, Aws::String>& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags = value; }
202 inline void SetStagingAreaTags(Aws::Map<Aws::String, Aws::String>&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags = std::move(value); }
205 inline UpdateReplicationConfigurationTemplateRequest& AddStagingAreaTags(const Aws::String& key, const Aws::String& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, value); return *this; }
206 inline UpdateReplicationConfigurationTemplateRequest& AddStagingAreaTags(Aws::String&& key, const Aws::String& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), value); return *this; }
207 inline UpdateReplicationConfigurationTemplateRequest& AddStagingAreaTags(const Aws::String& key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
208 inline UpdateReplicationConfigurationTemplateRequest& AddStagingAreaTags(Aws::String&& key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), std::move(value)); return *this; }
209 inline UpdateReplicationConfigurationTemplateRequest& AddStagingAreaTags(const char* key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
210 inline UpdateReplicationConfigurationTemplateRequest& AddStagingAreaTags(Aws::String&& key, const char* value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), value); return *this; }
211 inline UpdateReplicationConfigurationTemplateRequest& AddStagingAreaTags(const char* key, const char* value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, value); return *this; }
213
215
219 inline bool GetUseDedicatedReplicationServer() const{ return m_useDedicatedReplicationServer; }
220 inline bool UseDedicatedReplicationServerHasBeenSet() const { return m_useDedicatedReplicationServerHasBeenSet; }
221 inline void SetUseDedicatedReplicationServer(bool value) { m_useDedicatedReplicationServerHasBeenSet = true; m_useDedicatedReplicationServer = value; }
224
226
229 inline bool GetUseFipsEndpoint() const{ return m_useFipsEndpoint; }
230 inline bool UseFipsEndpointHasBeenSet() const { return m_useFipsEndpointHasBeenSet; }
231 inline void SetUseFipsEndpoint(bool value) { m_useFipsEndpointHasBeenSet = true; m_useFipsEndpoint = value; }
234 private:
235
236 Aws::String m_arn;
237 bool m_arnHasBeenSet = false;
238
239 bool m_associateDefaultSecurityGroup;
240 bool m_associateDefaultSecurityGroupHasBeenSet = false;
241
242 long long m_bandwidthThrottling;
243 bool m_bandwidthThrottlingHasBeenSet = false;
244
245 bool m_createPublicIP;
246 bool m_createPublicIPHasBeenSet = false;
247
249 bool m_dataPlaneRoutingHasBeenSet = false;
250
251 ReplicationConfigurationDefaultLargeStagingDiskType m_defaultLargeStagingDiskType;
252 bool m_defaultLargeStagingDiskTypeHasBeenSet = false;
253
255 bool m_ebsEncryptionHasBeenSet = false;
256
257 Aws::String m_ebsEncryptionKeyArn;
258 bool m_ebsEncryptionKeyArnHasBeenSet = false;
259
260 Aws::String m_replicationConfigurationTemplateID;
261 bool m_replicationConfigurationTemplateIDHasBeenSet = false;
262
263 Aws::String m_replicationServerInstanceType;
264 bool m_replicationServerInstanceTypeHasBeenSet = false;
265
266 Aws::Vector<Aws::String> m_replicationServersSecurityGroupsIDs;
267 bool m_replicationServersSecurityGroupsIDsHasBeenSet = false;
268
269 Aws::String m_stagingAreaSubnetId;
270 bool m_stagingAreaSubnetIdHasBeenSet = false;
271
272 Aws::Map<Aws::String, Aws::String> m_stagingAreaTags;
273 bool m_stagingAreaTagsHasBeenSet = false;
274
275 bool m_useDedicatedReplicationServer;
276 bool m_useDedicatedReplicationServerHasBeenSet = false;
277
278 bool m_useFipsEndpoint;
279 bool m_useFipsEndpointHasBeenSet = false;
280 };
281
282} // namespace Model
283} // namespace mgn
284} // namespace Aws
UpdateReplicationConfigurationTemplateRequest & WithEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
UpdateReplicationConfigurationTemplateRequest & WithAssociateDefaultSecurityGroup(bool value)
UpdateReplicationConfigurationTemplateRequest & WithEbsEncryptionKeyArn(const char *value)
UpdateReplicationConfigurationTemplateRequest & WithStagingAreaSubnetId(const Aws::String &value)
UpdateReplicationConfigurationTemplateRequest & WithReplicationConfigurationTemplateID(const Aws::String &value)
UpdateReplicationConfigurationTemplateRequest & AddReplicationServersSecurityGroupsIDs(Aws::String &&value)
UpdateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const Aws::String &key, Aws::String &&value)
UpdateReplicationConfigurationTemplateRequest & WithReplicationConfigurationTemplateID(Aws::String &&value)
UpdateReplicationConfigurationTemplateRequest & WithArn(const char *value)
UpdateReplicationConfigurationTemplateRequest & WithArn(const Aws::String &value)
UpdateReplicationConfigurationTemplateRequest & AddStagingAreaTags(Aws::String &&key, const char *value)
UpdateReplicationConfigurationTemplateRequest & WithUseFipsEndpoint(bool value)
const ReplicationConfigurationDefaultLargeStagingDiskType & GetDefaultLargeStagingDiskType() const
UpdateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const Aws::String &key, const Aws::String &value)
UpdateReplicationConfigurationTemplateRequest & WithBandwidthThrottling(long long value)
UpdateReplicationConfigurationTemplateRequest & WithStagingAreaSubnetId(Aws::String &&value)
UpdateReplicationConfigurationTemplateRequest & WithStagingAreaSubnetId(const char *value)
UpdateReplicationConfigurationTemplateRequest & WithReplicationServerInstanceType(const char *value)
UpdateReplicationConfigurationTemplateRequest & WithReplicationServersSecurityGroupsIDs(Aws::Vector< Aws::String > &&value)
void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
UpdateReplicationConfigurationTemplateRequest & WithArn(Aws::String &&value)
UpdateReplicationConfigurationTemplateRequest & WithReplicationServersSecurityGroupsIDs(const Aws::Vector< Aws::String > &value)
UpdateReplicationConfigurationTemplateRequest & AddReplicationServersSecurityGroupsIDs(const char *value)
UpdateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const char *key, Aws::String &&value)
UpdateReplicationConfigurationTemplateRequest & WithUseDedicatedReplicationServer(bool value)
UpdateReplicationConfigurationTemplateRequest & WithDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
UpdateReplicationConfigurationTemplateRequest & AddReplicationServersSecurityGroupsIDs(const Aws::String &value)
AWS_MGN_API Aws::String SerializePayload() const override
UpdateReplicationConfigurationTemplateRequest & WithEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
UpdateReplicationConfigurationTemplateRequest & WithReplicationConfigurationTemplateID(const char *value)
void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
UpdateReplicationConfigurationTemplateRequest & WithEbsEncryptionKeyArn(const Aws::String &value)
void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
UpdateReplicationConfigurationTemplateRequest & WithReplicationServerInstanceType(const Aws::String &value)
UpdateReplicationConfigurationTemplateRequest & WithCreatePublicIP(bool value)
UpdateReplicationConfigurationTemplateRequest & WithEbsEncryptionKeyArn(Aws::String &&value)
UpdateReplicationConfigurationTemplateRequest & WithReplicationServerInstanceType(Aws::String &&value)
UpdateReplicationConfigurationTemplateRequest & WithStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateReplicationConfigurationTemplateRequest & AddStagingAreaTags(Aws::String &&key, const Aws::String &value)
UpdateReplicationConfigurationTemplateRequest & WithDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
UpdateReplicationConfigurationTemplateRequest & WithDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
UpdateReplicationConfigurationTemplateRequest & WithDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
UpdateReplicationConfigurationTemplateRequest & AddStagingAreaTags(Aws::String &&key, Aws::String &&value)
UpdateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const char *key, const char *value)
UpdateReplicationConfigurationTemplateRequest & WithStagingAreaTags(const Aws::Map< Aws::String, 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