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/drs/Drs_EXPORTS.h>
8#include <aws/drs/DrsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/drs/model/ReplicationConfigurationDataPlaneRouting.h>
11#include <aws/drs/model/ReplicationConfigurationDefaultLargeStagingDiskType.h>
12#include <aws/drs/model/ReplicationConfigurationEbsEncryption.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/drs/model/PITPolicyRule.h>
16#include <utility>
17
18namespace Aws
19{
20namespace drs
21{
22namespace Model
23{
24
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateReplicationConfigurationTemplate"; }
37
38 AWS_DRS_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline UpdateReplicationConfigurationTemplateRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline UpdateReplicationConfigurationTemplateRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline UpdateReplicationConfigurationTemplateRequest& WithArn(const char* value) { SetArn(value); return *this;}
54
56
60 inline bool GetAssociateDefaultSecurityGroup() const{ return m_associateDefaultSecurityGroup; }
61 inline bool AssociateDefaultSecurityGroupHasBeenSet() const { return m_associateDefaultSecurityGroupHasBeenSet; }
62 inline void SetAssociateDefaultSecurityGroup(bool value) { m_associateDefaultSecurityGroupHasBeenSet = true; m_associateDefaultSecurityGroup = value; }
65
67
71 inline bool GetAutoReplicateNewDisks() const{ return m_autoReplicateNewDisks; }
72 inline bool AutoReplicateNewDisksHasBeenSet() const { return m_autoReplicateNewDisksHasBeenSet; }
73 inline void SetAutoReplicateNewDisks(bool value) { m_autoReplicateNewDisksHasBeenSet = true; m_autoReplicateNewDisks = value; }
76
78
82 inline long long GetBandwidthThrottling() const{ return m_bandwidthThrottling; }
83 inline bool BandwidthThrottlingHasBeenSet() const { return m_bandwidthThrottlingHasBeenSet; }
84 inline void SetBandwidthThrottling(long long value) { m_bandwidthThrottlingHasBeenSet = true; m_bandwidthThrottling = value; }
87
89
92 inline bool GetCreatePublicIP() const{ return m_createPublicIP; }
93 inline bool CreatePublicIPHasBeenSet() const { return m_createPublicIPHasBeenSet; }
94 inline void SetCreatePublicIP(bool value) { m_createPublicIPHasBeenSet = true; m_createPublicIP = value; }
97
99
102 inline const ReplicationConfigurationDataPlaneRouting& GetDataPlaneRouting() const{ return m_dataPlaneRouting; }
103 inline bool DataPlaneRoutingHasBeenSet() const { return m_dataPlaneRoutingHasBeenSet; }
104 inline void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting& value) { m_dataPlaneRoutingHasBeenSet = true; m_dataPlaneRouting = value; }
105 inline void SetDataPlaneRouting(ReplicationConfigurationDataPlaneRouting&& value) { m_dataPlaneRoutingHasBeenSet = true; m_dataPlaneRouting = std::move(value); }
109
111
114 inline const ReplicationConfigurationDefaultLargeStagingDiskType& GetDefaultLargeStagingDiskType() const{ return m_defaultLargeStagingDiskType; }
115 inline bool DefaultLargeStagingDiskTypeHasBeenSet() const { return m_defaultLargeStagingDiskTypeHasBeenSet; }
116 inline void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType& value) { m_defaultLargeStagingDiskTypeHasBeenSet = true; m_defaultLargeStagingDiskType = value; }
117 inline void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType&& value) { m_defaultLargeStagingDiskTypeHasBeenSet = true; m_defaultLargeStagingDiskType = std::move(value); }
121
123
126 inline const ReplicationConfigurationEbsEncryption& GetEbsEncryption() const{ return m_ebsEncryption; }
127 inline bool EbsEncryptionHasBeenSet() const { return m_ebsEncryptionHasBeenSet; }
128 inline void SetEbsEncryption(const ReplicationConfigurationEbsEncryption& value) { m_ebsEncryptionHasBeenSet = true; m_ebsEncryption = value; }
129 inline void SetEbsEncryption(ReplicationConfigurationEbsEncryption&& value) { m_ebsEncryptionHasBeenSet = true; m_ebsEncryption = std::move(value); }
133
135
138 inline const Aws::String& GetEbsEncryptionKeyArn() const{ return m_ebsEncryptionKeyArn; }
139 inline bool EbsEncryptionKeyArnHasBeenSet() const { return m_ebsEncryptionKeyArnHasBeenSet; }
140 inline void SetEbsEncryptionKeyArn(const Aws::String& value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn = value; }
141 inline void SetEbsEncryptionKeyArn(Aws::String&& value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn = std::move(value); }
142 inline void SetEbsEncryptionKeyArn(const char* value) { m_ebsEncryptionKeyArnHasBeenSet = true; m_ebsEncryptionKeyArn.assign(value); }
147
149
153 inline const Aws::Vector<PITPolicyRule>& GetPitPolicy() const{ return m_pitPolicy; }
154 inline bool PitPolicyHasBeenSet() const { return m_pitPolicyHasBeenSet; }
155 inline void SetPitPolicy(const Aws::Vector<PITPolicyRule>& value) { m_pitPolicyHasBeenSet = true; m_pitPolicy = value; }
156 inline void SetPitPolicy(Aws::Vector<PITPolicyRule>&& value) { m_pitPolicyHasBeenSet = true; m_pitPolicy = std::move(value); }
159 inline UpdateReplicationConfigurationTemplateRequest& AddPitPolicy(const PITPolicyRule& value) { m_pitPolicyHasBeenSet = true; m_pitPolicy.push_back(value); return *this; }
160 inline UpdateReplicationConfigurationTemplateRequest& AddPitPolicy(PITPolicyRule&& value) { m_pitPolicyHasBeenSet = true; m_pitPolicy.push_back(std::move(value)); return *this; }
162
164
167 inline const Aws::String& GetReplicationConfigurationTemplateID() const{ return m_replicationConfigurationTemplateID; }
168 inline bool ReplicationConfigurationTemplateIDHasBeenSet() const { return m_replicationConfigurationTemplateIDHasBeenSet; }
169 inline void SetReplicationConfigurationTemplateID(const Aws::String& value) { m_replicationConfigurationTemplateIDHasBeenSet = true; m_replicationConfigurationTemplateID = value; }
170 inline void SetReplicationConfigurationTemplateID(Aws::String&& value) { m_replicationConfigurationTemplateIDHasBeenSet = true; m_replicationConfigurationTemplateID = std::move(value); }
171 inline void SetReplicationConfigurationTemplateID(const char* value) { m_replicationConfigurationTemplateIDHasBeenSet = true; m_replicationConfigurationTemplateID.assign(value); }
176
178
181 inline const Aws::String& GetReplicationServerInstanceType() const{ return m_replicationServerInstanceType; }
182 inline bool ReplicationServerInstanceTypeHasBeenSet() const { return m_replicationServerInstanceTypeHasBeenSet; }
183 inline void SetReplicationServerInstanceType(const Aws::String& value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType = value; }
184 inline void SetReplicationServerInstanceType(Aws::String&& value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType = std::move(value); }
185 inline void SetReplicationServerInstanceType(const char* value) { m_replicationServerInstanceTypeHasBeenSet = true; m_replicationServerInstanceType.assign(value); }
190
192
195 inline const Aws::Vector<Aws::String>& GetReplicationServersSecurityGroupsIDs() const{ return m_replicationServersSecurityGroupsIDs; }
196 inline bool ReplicationServersSecurityGroupsIDsHasBeenSet() const { return m_replicationServersSecurityGroupsIDsHasBeenSet; }
197 inline void SetReplicationServersSecurityGroupsIDs(const Aws::Vector<Aws::String>& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs = value; }
198 inline void SetReplicationServersSecurityGroupsIDs(Aws::Vector<Aws::String>&& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs = std::move(value); }
201 inline UpdateReplicationConfigurationTemplateRequest& AddReplicationServersSecurityGroupsIDs(const Aws::String& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
202 inline UpdateReplicationConfigurationTemplateRequest& AddReplicationServersSecurityGroupsIDs(Aws::String&& value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(std::move(value)); return *this; }
203 inline UpdateReplicationConfigurationTemplateRequest& AddReplicationServersSecurityGroupsIDs(const char* value) { m_replicationServersSecurityGroupsIDsHasBeenSet = true; m_replicationServersSecurityGroupsIDs.push_back(value); return *this; }
205
207
210 inline const Aws::String& GetStagingAreaSubnetId() const{ return m_stagingAreaSubnetId; }
211 inline bool StagingAreaSubnetIdHasBeenSet() const { return m_stagingAreaSubnetIdHasBeenSet; }
212 inline void SetStagingAreaSubnetId(const Aws::String& value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId = value; }
213 inline void SetStagingAreaSubnetId(Aws::String&& value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId = std::move(value); }
214 inline void SetStagingAreaSubnetId(const char* value) { m_stagingAreaSubnetIdHasBeenSet = true; m_stagingAreaSubnetId.assign(value); }
219
221
225 inline const Aws::Map<Aws::String, Aws::String>& GetStagingAreaTags() const{ return m_stagingAreaTags; }
226 inline bool StagingAreaTagsHasBeenSet() const { return m_stagingAreaTagsHasBeenSet; }
227 inline void SetStagingAreaTags(const Aws::Map<Aws::String, Aws::String>& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags = value; }
228 inline void SetStagingAreaTags(Aws::Map<Aws::String, Aws::String>&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags = std::move(value); }
231 inline UpdateReplicationConfigurationTemplateRequest& AddStagingAreaTags(const Aws::String& key, const Aws::String& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, value); return *this; }
232 inline UpdateReplicationConfigurationTemplateRequest& AddStagingAreaTags(Aws::String&& key, const Aws::String& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), value); return *this; }
233 inline UpdateReplicationConfigurationTemplateRequest& AddStagingAreaTags(const Aws::String& key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
234 inline UpdateReplicationConfigurationTemplateRequest& AddStagingAreaTags(Aws::String&& key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), std::move(value)); return *this; }
235 inline UpdateReplicationConfigurationTemplateRequest& AddStagingAreaTags(const char* key, Aws::String&& value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, std::move(value)); return *this; }
236 inline UpdateReplicationConfigurationTemplateRequest& AddStagingAreaTags(Aws::String&& key, const char* value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(std::move(key), value); return *this; }
237 inline UpdateReplicationConfigurationTemplateRequest& AddStagingAreaTags(const char* key, const char* value) { m_stagingAreaTagsHasBeenSet = true; m_stagingAreaTags.emplace(key, value); return *this; }
239
241
245 inline bool GetUseDedicatedReplicationServer() const{ return m_useDedicatedReplicationServer; }
246 inline bool UseDedicatedReplicationServerHasBeenSet() const { return m_useDedicatedReplicationServerHasBeenSet; }
247 inline void SetUseDedicatedReplicationServer(bool value) { m_useDedicatedReplicationServerHasBeenSet = true; m_useDedicatedReplicationServer = value; }
250 private:
251
252 Aws::String m_arn;
253 bool m_arnHasBeenSet = false;
254
255 bool m_associateDefaultSecurityGroup;
256 bool m_associateDefaultSecurityGroupHasBeenSet = false;
257
258 bool m_autoReplicateNewDisks;
259 bool m_autoReplicateNewDisksHasBeenSet = false;
260
261 long long m_bandwidthThrottling;
262 bool m_bandwidthThrottlingHasBeenSet = false;
263
264 bool m_createPublicIP;
265 bool m_createPublicIPHasBeenSet = false;
266
268 bool m_dataPlaneRoutingHasBeenSet = false;
269
270 ReplicationConfigurationDefaultLargeStagingDiskType m_defaultLargeStagingDiskType;
271 bool m_defaultLargeStagingDiskTypeHasBeenSet = false;
272
274 bool m_ebsEncryptionHasBeenSet = false;
275
276 Aws::String m_ebsEncryptionKeyArn;
277 bool m_ebsEncryptionKeyArnHasBeenSet = false;
278
279 Aws::Vector<PITPolicyRule> m_pitPolicy;
280 bool m_pitPolicyHasBeenSet = false;
281
282 Aws::String m_replicationConfigurationTemplateID;
283 bool m_replicationConfigurationTemplateIDHasBeenSet = false;
284
285 Aws::String m_replicationServerInstanceType;
286 bool m_replicationServerInstanceTypeHasBeenSet = false;
287
288 Aws::Vector<Aws::String> m_replicationServersSecurityGroupsIDs;
289 bool m_replicationServersSecurityGroupsIDsHasBeenSet = false;
290
291 Aws::String m_stagingAreaSubnetId;
292 bool m_stagingAreaSubnetIdHasBeenSet = false;
293
294 Aws::Map<Aws::String, Aws::String> m_stagingAreaTags;
295 bool m_stagingAreaTagsHasBeenSet = false;
296
297 bool m_useDedicatedReplicationServer;
298 bool m_useDedicatedReplicationServerHasBeenSet = false;
299 };
300
301} // namespace Model
302} // namespace drs
303} // namespace Aws
UpdateReplicationConfigurationTemplateRequest & AddPitPolicy(PITPolicyRule &&value)
UpdateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const char *key, const char *value)
UpdateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const char *key, Aws::String &&value)
UpdateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const Aws::String &key, Aws::String &&value)
UpdateReplicationConfigurationTemplateRequest & WithCreatePublicIP(bool value)
UpdateReplicationConfigurationTemplateRequest & AddReplicationServersSecurityGroupsIDs(const Aws::String &value)
UpdateReplicationConfigurationTemplateRequest & WithDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
UpdateReplicationConfigurationTemplateRequest & WithReplicationConfigurationTemplateID(const char *value)
UpdateReplicationConfigurationTemplateRequest & AddReplicationServersSecurityGroupsIDs(Aws::String &&value)
UpdateReplicationConfigurationTemplateRequest & WithReplicationConfigurationTemplateID(Aws::String &&value)
UpdateReplicationConfigurationTemplateRequest & WithReplicationServersSecurityGroupsIDs(Aws::Vector< Aws::String > &&value)
const ReplicationConfigurationDefaultLargeStagingDiskType & GetDefaultLargeStagingDiskType() const
UpdateReplicationConfigurationTemplateRequest & AddReplicationServersSecurityGroupsIDs(const char *value)
UpdateReplicationConfigurationTemplateRequest & WithStagingAreaSubnetId(Aws::String &&value)
UpdateReplicationConfigurationTemplateRequest & WithStagingAreaTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateReplicationConfigurationTemplateRequest & WithDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
UpdateReplicationConfigurationTemplateRequest & WithStagingAreaSubnetId(const char *value)
UpdateReplicationConfigurationTemplateRequest & WithAutoReplicateNewDisks(bool value)
UpdateReplicationConfigurationTemplateRequest & WithUseDedicatedReplicationServer(bool value)
UpdateReplicationConfigurationTemplateRequest & AddStagingAreaTags(const Aws::String &key, const Aws::String &value)
UpdateReplicationConfigurationTemplateRequest & WithPitPolicy(Aws::Vector< PITPolicyRule > &&value)
UpdateReplicationConfigurationTemplateRequest & WithStagingAreaSubnetId(const Aws::String &value)
UpdateReplicationConfigurationTemplateRequest & WithEbsEncryption(const ReplicationConfigurationEbsEncryption &value)
AWS_DRS_API Aws::String SerializePayload() const override
UpdateReplicationConfigurationTemplateRequest & WithArn(Aws::String &&value)
UpdateReplicationConfigurationTemplateRequest & WithDataPlaneRouting(ReplicationConfigurationDataPlaneRouting &&value)
UpdateReplicationConfigurationTemplateRequest & WithEbsEncryption(ReplicationConfigurationEbsEncryption &&value)
UpdateReplicationConfigurationTemplateRequest & AddPitPolicy(const PITPolicyRule &value)
UpdateReplicationConfigurationTemplateRequest & WithEbsEncryptionKeyArn(const char *value)
void SetDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
void SetDefaultLargeStagingDiskType(const ReplicationConfigurationDefaultLargeStagingDiskType &value)
void SetDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType &&value)
UpdateReplicationConfigurationTemplateRequest & WithStagingAreaTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateReplicationConfigurationTemplateRequest & WithEbsEncryptionKeyArn(const Aws::String &value)
UpdateReplicationConfigurationTemplateRequest & WithAssociateDefaultSecurityGroup(bool value)
UpdateReplicationConfigurationTemplateRequest & AddStagingAreaTags(Aws::String &&key, Aws::String &&value)
UpdateReplicationConfigurationTemplateRequest & WithReplicationServerInstanceType(const char *value)
UpdateReplicationConfigurationTemplateRequest & WithReplicationServerInstanceType(const Aws::String &value)
UpdateReplicationConfigurationTemplateRequest & WithReplicationServerInstanceType(Aws::String &&value)
UpdateReplicationConfigurationTemplateRequest & AddStagingAreaTags(Aws::String &&key, const char *value)
UpdateReplicationConfigurationTemplateRequest & WithReplicationServersSecurityGroupsIDs(const Aws::Vector< Aws::String > &value)
UpdateReplicationConfigurationTemplateRequest & WithArn(const char *value)
UpdateReplicationConfigurationTemplateRequest & WithArn(const Aws::String &value)
UpdateReplicationConfigurationTemplateRequest & AddStagingAreaTags(Aws::String &&key, const Aws::String &value)
UpdateReplicationConfigurationTemplateRequest & WithDataPlaneRouting(const ReplicationConfigurationDataPlaneRouting &value)
UpdateReplicationConfigurationTemplateRequest & WithBandwidthThrottling(long long value)
UpdateReplicationConfigurationTemplateRequest & WithPitPolicy(const Aws::Vector< PITPolicyRule > &value)
UpdateReplicationConfigurationTemplateRequest & WithReplicationConfigurationTemplateID(const Aws::String &value)
UpdateReplicationConfigurationTemplateRequest & 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