AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RestoreFromClusterSnapshotRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/model/AquaConfigurationStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Redshift
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_REDSHIFT_API RestoreFromClusterSnapshotRequest() = default;
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 "RestoreFromClusterSnapshot"; }
36
37 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
54 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
55 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
56 template<typename ClusterIdentifierT = Aws::String>
57 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
58 template<typename ClusterIdentifierT = Aws::String>
59 RestoreFromClusterSnapshotRequest& WithClusterIdentifier(ClusterIdentifierT&& value) { SetClusterIdentifier(std::forward<ClusterIdentifierT>(value)); return *this;}
61
63
69 inline const Aws::String& GetSnapshotIdentifier() const { return m_snapshotIdentifier; }
70 inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
71 template<typename SnapshotIdentifierT = Aws::String>
72 void SetSnapshotIdentifier(SnapshotIdentifierT&& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = std::forward<SnapshotIdentifierT>(value); }
73 template<typename SnapshotIdentifierT = Aws::String>
74 RestoreFromClusterSnapshotRequest& WithSnapshotIdentifier(SnapshotIdentifierT&& value) { SetSnapshotIdentifier(std::forward<SnapshotIdentifierT>(value)); return *this;}
76
78
83 inline const Aws::String& GetSnapshotArn() const { return m_snapshotArn; }
84 inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; }
85 template<typename SnapshotArnT = Aws::String>
86 void SetSnapshotArn(SnapshotArnT&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::forward<SnapshotArnT>(value); }
87 template<typename SnapshotArnT = Aws::String>
88 RestoreFromClusterSnapshotRequest& WithSnapshotArn(SnapshotArnT&& value) { SetSnapshotArn(std::forward<SnapshotArnT>(value)); return *this;}
90
92
97 inline const Aws::String& GetSnapshotClusterIdentifier() const { return m_snapshotClusterIdentifier; }
98 inline bool SnapshotClusterIdentifierHasBeenSet() const { return m_snapshotClusterIdentifierHasBeenSet; }
99 template<typename SnapshotClusterIdentifierT = Aws::String>
100 void SetSnapshotClusterIdentifier(SnapshotClusterIdentifierT&& value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier = std::forward<SnapshotClusterIdentifierT>(value); }
101 template<typename SnapshotClusterIdentifierT = Aws::String>
102 RestoreFromClusterSnapshotRequest& WithSnapshotClusterIdentifier(SnapshotClusterIdentifierT&& value) { SetSnapshotClusterIdentifier(std::forward<SnapshotClusterIdentifierT>(value)); return *this;}
104
106
113 inline int GetPort() const { return m_port; }
114 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
115 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
116 inline RestoreFromClusterSnapshotRequest& WithPort(int value) { SetPort(value); return *this;}
118
120
125 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
126 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
127 template<typename AvailabilityZoneT = Aws::String>
128 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
129 template<typename AvailabilityZoneT = Aws::String>
130 RestoreFromClusterSnapshotRequest& WithAvailabilityZone(AvailabilityZoneT&& value) { SetAvailabilityZone(std::forward<AvailabilityZoneT>(value)); return *this;}
132
134
139 inline bool GetAllowVersionUpgrade() const { return m_allowVersionUpgrade; }
140 inline bool AllowVersionUpgradeHasBeenSet() const { return m_allowVersionUpgradeHasBeenSet; }
141 inline void SetAllowVersionUpgrade(bool value) { m_allowVersionUpgradeHasBeenSet = true; m_allowVersionUpgrade = value; }
144
146
151 inline const Aws::String& GetClusterSubnetGroupName() const { return m_clusterSubnetGroupName; }
152 inline bool ClusterSubnetGroupNameHasBeenSet() const { return m_clusterSubnetGroupNameHasBeenSet; }
153 template<typename ClusterSubnetGroupNameT = Aws::String>
154 void SetClusterSubnetGroupName(ClusterSubnetGroupNameT&& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = std::forward<ClusterSubnetGroupNameT>(value); }
155 template<typename ClusterSubnetGroupNameT = Aws::String>
156 RestoreFromClusterSnapshotRequest& WithClusterSubnetGroupName(ClusterSubnetGroupNameT&& value) { SetClusterSubnetGroupName(std::forward<ClusterSubnetGroupNameT>(value)); return *this;}
158
160
164 inline bool GetPubliclyAccessible() const { return m_publiclyAccessible; }
165 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
166 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
169
171
176 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
177 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
178 template<typename OwnerAccountT = Aws::String>
179 void SetOwnerAccount(OwnerAccountT&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::forward<OwnerAccountT>(value); }
180 template<typename OwnerAccountT = Aws::String>
181 RestoreFromClusterSnapshotRequest& WithOwnerAccount(OwnerAccountT&& value) { SetOwnerAccount(std::forward<OwnerAccountT>(value)); return *this;}
183
185
189 inline const Aws::String& GetHsmClientCertificateIdentifier() const { return m_hsmClientCertificateIdentifier; }
190 inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; }
191 template<typename HsmClientCertificateIdentifierT = Aws::String>
192 void SetHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT&& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = std::forward<HsmClientCertificateIdentifierT>(value); }
193 template<typename HsmClientCertificateIdentifierT = Aws::String>
194 RestoreFromClusterSnapshotRequest& WithHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT&& value) { SetHsmClientCertificateIdentifier(std::forward<HsmClientCertificateIdentifierT>(value)); return *this;}
196
198
202 inline const Aws::String& GetHsmConfigurationIdentifier() const { return m_hsmConfigurationIdentifier; }
203 inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
204 template<typename HsmConfigurationIdentifierT = Aws::String>
205 void SetHsmConfigurationIdentifier(HsmConfigurationIdentifierT&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = std::forward<HsmConfigurationIdentifierT>(value); }
206 template<typename HsmConfigurationIdentifierT = Aws::String>
207 RestoreFromClusterSnapshotRequest& WithHsmConfigurationIdentifier(HsmConfigurationIdentifierT&& value) { SetHsmConfigurationIdentifier(std::forward<HsmConfigurationIdentifierT>(value)); return *this;}
209
211
216 inline const Aws::String& GetElasticIp() const { return m_elasticIp; }
217 inline bool ElasticIpHasBeenSet() const { return m_elasticIpHasBeenSet; }
218 template<typename ElasticIpT = Aws::String>
219 void SetElasticIp(ElasticIpT&& value) { m_elasticIpHasBeenSet = true; m_elasticIp = std::forward<ElasticIpT>(value); }
220 template<typename ElasticIpT = Aws::String>
221 RestoreFromClusterSnapshotRequest& WithElasticIp(ElasticIpT&& value) { SetElasticIp(std::forward<ElasticIpT>(value)); return *this;}
223
225
235 inline const Aws::String& GetClusterParameterGroupName() const { return m_clusterParameterGroupName; }
236 inline bool ClusterParameterGroupNameHasBeenSet() const { return m_clusterParameterGroupNameHasBeenSet; }
237 template<typename ClusterParameterGroupNameT = Aws::String>
238 void SetClusterParameterGroupName(ClusterParameterGroupNameT&& value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName = std::forward<ClusterParameterGroupNameT>(value); }
239 template<typename ClusterParameterGroupNameT = Aws::String>
240 RestoreFromClusterSnapshotRequest& WithClusterParameterGroupName(ClusterParameterGroupNameT&& value) { SetClusterParameterGroupName(std::forward<ClusterParameterGroupNameT>(value)); return *this;}
242
244
249 inline const Aws::Vector<Aws::String>& GetClusterSecurityGroups() const { return m_clusterSecurityGroups; }
250 inline bool ClusterSecurityGroupsHasBeenSet() const { return m_clusterSecurityGroupsHasBeenSet; }
251 template<typename ClusterSecurityGroupsT = Aws::Vector<Aws::String>>
252 void SetClusterSecurityGroups(ClusterSecurityGroupsT&& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups = std::forward<ClusterSecurityGroupsT>(value); }
253 template<typename ClusterSecurityGroupsT = Aws::Vector<Aws::String>>
254 RestoreFromClusterSnapshotRequest& WithClusterSecurityGroups(ClusterSecurityGroupsT&& value) { SetClusterSecurityGroups(std::forward<ClusterSecurityGroupsT>(value)); return *this;}
255 template<typename ClusterSecurityGroupsT = Aws::String>
256 RestoreFromClusterSnapshotRequest& AddClusterSecurityGroups(ClusterSecurityGroupsT&& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.emplace_back(std::forward<ClusterSecurityGroupsT>(value)); return *this; }
258
260
265 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
266 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
267 template<typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
268 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
269 template<typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
270 RestoreFromClusterSnapshotRequest& WithVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value)); return *this;}
271 template<typename VpcSecurityGroupIdsT = Aws::String>
272 RestoreFromClusterSnapshotRequest& AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value)); return *this; }
274
276
286 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
287 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
288 template<typename PreferredMaintenanceWindowT = Aws::String>
289 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
290 template<typename PreferredMaintenanceWindowT = Aws::String>
291 RestoreFromClusterSnapshotRequest& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value)); return *this;}
293
295
304 inline int GetAutomatedSnapshotRetentionPeriod() const { return m_automatedSnapshotRetentionPeriod; }
305 inline bool AutomatedSnapshotRetentionPeriodHasBeenSet() const { return m_automatedSnapshotRetentionPeriodHasBeenSet; }
306 inline void SetAutomatedSnapshotRetentionPeriod(int value) { m_automatedSnapshotRetentionPeriodHasBeenSet = true; m_automatedSnapshotRetentionPeriod = value; }
309
311
317 inline int GetManualSnapshotRetentionPeriod() const { return m_manualSnapshotRetentionPeriod; }
318 inline bool ManualSnapshotRetentionPeriodHasBeenSet() const { return m_manualSnapshotRetentionPeriodHasBeenSet; }
319 inline void SetManualSnapshotRetentionPeriod(int value) { m_manualSnapshotRetentionPeriodHasBeenSet = true; m_manualSnapshotRetentionPeriod = value; }
322
324
332 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
333 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
334 template<typename KmsKeyIdT = Aws::String>
335 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
336 template<typename KmsKeyIdT = Aws::String>
337 RestoreFromClusterSnapshotRequest& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
339
341
350 inline const Aws::String& GetNodeType() const { return m_nodeType; }
351 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
352 template<typename NodeTypeT = Aws::String>
353 void SetNodeType(NodeTypeT&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::forward<NodeTypeT>(value); }
354 template<typename NodeTypeT = Aws::String>
355 RestoreFromClusterSnapshotRequest& WithNodeType(NodeTypeT&& value) { SetNodeType(std::forward<NodeTypeT>(value)); return *this;}
357
359
368 inline bool GetEnhancedVpcRouting() const { return m_enhancedVpcRouting; }
369 inline bool EnhancedVpcRoutingHasBeenSet() const { return m_enhancedVpcRoutingHasBeenSet; }
370 inline void SetEnhancedVpcRouting(bool value) { m_enhancedVpcRoutingHasBeenSet = true; m_enhancedVpcRouting = value; }
373
375
378 inline const Aws::String& GetAdditionalInfo() const { return m_additionalInfo; }
379 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
380 template<typename AdditionalInfoT = Aws::String>
381 void SetAdditionalInfo(AdditionalInfoT&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::forward<AdditionalInfoT>(value); }
382 template<typename AdditionalInfoT = Aws::String>
383 RestoreFromClusterSnapshotRequest& WithAdditionalInfo(AdditionalInfoT&& value) { SetAdditionalInfo(std::forward<AdditionalInfoT>(value)); return *this;}
385
387
396 inline const Aws::Vector<Aws::String>& GetIamRoles() const { return m_iamRoles; }
397 inline bool IamRolesHasBeenSet() const { return m_iamRolesHasBeenSet; }
398 template<typename IamRolesT = Aws::Vector<Aws::String>>
399 void SetIamRoles(IamRolesT&& value) { m_iamRolesHasBeenSet = true; m_iamRoles = std::forward<IamRolesT>(value); }
400 template<typename IamRolesT = Aws::Vector<Aws::String>>
401 RestoreFromClusterSnapshotRequest& WithIamRoles(IamRolesT&& value) { SetIamRoles(std::forward<IamRolesT>(value)); return *this;}
402 template<typename IamRolesT = Aws::String>
403 RestoreFromClusterSnapshotRequest& AddIamRoles(IamRolesT&& value) { m_iamRolesHasBeenSet = true; m_iamRoles.emplace_back(std::forward<IamRolesT>(value)); return *this; }
405
407
416 inline const Aws::String& GetMaintenanceTrackName() const { return m_maintenanceTrackName; }
417 inline bool MaintenanceTrackNameHasBeenSet() const { return m_maintenanceTrackNameHasBeenSet; }
418 template<typename MaintenanceTrackNameT = Aws::String>
419 void SetMaintenanceTrackName(MaintenanceTrackNameT&& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = std::forward<MaintenanceTrackNameT>(value); }
420 template<typename MaintenanceTrackNameT = Aws::String>
421 RestoreFromClusterSnapshotRequest& WithMaintenanceTrackName(MaintenanceTrackNameT&& value) { SetMaintenanceTrackName(std::forward<MaintenanceTrackNameT>(value)); return *this;}
423
425
428 inline const Aws::String& GetSnapshotScheduleIdentifier() const { return m_snapshotScheduleIdentifier; }
429 inline bool SnapshotScheduleIdentifierHasBeenSet() const { return m_snapshotScheduleIdentifierHasBeenSet; }
430 template<typename SnapshotScheduleIdentifierT = Aws::String>
431 void SetSnapshotScheduleIdentifier(SnapshotScheduleIdentifierT&& value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier = std::forward<SnapshotScheduleIdentifierT>(value); }
432 template<typename SnapshotScheduleIdentifierT = Aws::String>
433 RestoreFromClusterSnapshotRequest& WithSnapshotScheduleIdentifier(SnapshotScheduleIdentifierT&& value) { SetSnapshotScheduleIdentifier(std::forward<SnapshotScheduleIdentifierT>(value)); return *this;}
435
437
440 inline int GetNumberOfNodes() const { return m_numberOfNodes; }
441 inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
442 inline void SetNumberOfNodes(int value) { m_numberOfNodesHasBeenSet = true; m_numberOfNodes = value; }
443 inline RestoreFromClusterSnapshotRequest& WithNumberOfNodes(int value) { SetNumberOfNodes(value); return *this;}
445
447
451 inline bool GetAvailabilityZoneRelocation() const { return m_availabilityZoneRelocation; }
452 inline bool AvailabilityZoneRelocationHasBeenSet() const { return m_availabilityZoneRelocationHasBeenSet; }
453 inline void SetAvailabilityZoneRelocation(bool value) { m_availabilityZoneRelocationHasBeenSet = true; m_availabilityZoneRelocation = value; }
456
458
463 inline AquaConfigurationStatus GetAquaConfigurationStatus() const { return m_aquaConfigurationStatus; }
464 inline bool AquaConfigurationStatusHasBeenSet() const { return m_aquaConfigurationStatusHasBeenSet; }
465 inline void SetAquaConfigurationStatus(AquaConfigurationStatus value) { m_aquaConfigurationStatusHasBeenSet = true; m_aquaConfigurationStatus = value; }
468
470
475 inline const Aws::String& GetDefaultIamRoleArn() const { return m_defaultIamRoleArn; }
476 inline bool DefaultIamRoleArnHasBeenSet() const { return m_defaultIamRoleArnHasBeenSet; }
477 template<typename DefaultIamRoleArnT = Aws::String>
478 void SetDefaultIamRoleArn(DefaultIamRoleArnT&& value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn = std::forward<DefaultIamRoleArnT>(value); }
479 template<typename DefaultIamRoleArnT = Aws::String>
480 RestoreFromClusterSnapshotRequest& WithDefaultIamRoleArn(DefaultIamRoleArnT&& value) { SetDefaultIamRoleArn(std::forward<DefaultIamRoleArnT>(value)); return *this;}
482
484
487 inline const Aws::String& GetReservedNodeId() const { return m_reservedNodeId; }
488 inline bool ReservedNodeIdHasBeenSet() const { return m_reservedNodeIdHasBeenSet; }
489 template<typename ReservedNodeIdT = Aws::String>
490 void SetReservedNodeId(ReservedNodeIdT&& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = std::forward<ReservedNodeIdT>(value); }
491 template<typename ReservedNodeIdT = Aws::String>
492 RestoreFromClusterSnapshotRequest& WithReservedNodeId(ReservedNodeIdT&& value) { SetReservedNodeId(std::forward<ReservedNodeIdT>(value)); return *this;}
494
496
499 inline const Aws::String& GetTargetReservedNodeOfferingId() const { return m_targetReservedNodeOfferingId; }
500 inline bool TargetReservedNodeOfferingIdHasBeenSet() const { return m_targetReservedNodeOfferingIdHasBeenSet; }
501 template<typename TargetReservedNodeOfferingIdT = Aws::String>
502 void SetTargetReservedNodeOfferingId(TargetReservedNodeOfferingIdT&& value) { m_targetReservedNodeOfferingIdHasBeenSet = true; m_targetReservedNodeOfferingId = std::forward<TargetReservedNodeOfferingIdT>(value); }
503 template<typename TargetReservedNodeOfferingIdT = Aws::String>
504 RestoreFromClusterSnapshotRequest& WithTargetReservedNodeOfferingId(TargetReservedNodeOfferingIdT&& value) { SetTargetReservedNodeOfferingId(std::forward<TargetReservedNodeOfferingIdT>(value)); return *this;}
506
508
512 inline bool GetEncrypted() const { return m_encrypted; }
513 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
514 inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
515 inline RestoreFromClusterSnapshotRequest& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
517
519
525 inline bool GetManageMasterPassword() const { return m_manageMasterPassword; }
526 inline bool ManageMasterPasswordHasBeenSet() const { return m_manageMasterPasswordHasBeenSet; }
527 inline void SetManageMasterPassword(bool value) { m_manageMasterPasswordHasBeenSet = true; m_manageMasterPassword = value; }
530
532
537 inline const Aws::String& GetMasterPasswordSecretKmsKeyId() const { return m_masterPasswordSecretKmsKeyId; }
538 inline bool MasterPasswordSecretKmsKeyIdHasBeenSet() const { return m_masterPasswordSecretKmsKeyIdHasBeenSet; }
539 template<typename MasterPasswordSecretKmsKeyIdT = Aws::String>
540 void SetMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT&& value) { m_masterPasswordSecretKmsKeyIdHasBeenSet = true; m_masterPasswordSecretKmsKeyId = std::forward<MasterPasswordSecretKmsKeyIdT>(value); }
541 template<typename MasterPasswordSecretKmsKeyIdT = Aws::String>
542 RestoreFromClusterSnapshotRequest& WithMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT&& value) { SetMasterPasswordSecretKmsKeyId(std::forward<MasterPasswordSecretKmsKeyIdT>(value)); return *this;}
544
546
550 inline const Aws::String& GetIpAddressType() const { return m_ipAddressType; }
551 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
552 template<typename IpAddressTypeT = Aws::String>
553 void SetIpAddressType(IpAddressTypeT&& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = std::forward<IpAddressTypeT>(value); }
554 template<typename IpAddressTypeT = Aws::String>
555 RestoreFromClusterSnapshotRequest& WithIpAddressType(IpAddressTypeT&& value) { SetIpAddressType(std::forward<IpAddressTypeT>(value)); return *this;}
557
559
563 inline bool GetMultiAZ() const { return m_multiAZ; }
564 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
565 inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; }
566 inline RestoreFromClusterSnapshotRequest& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;}
568 private:
569
570 Aws::String m_clusterIdentifier;
571 bool m_clusterIdentifierHasBeenSet = false;
572
573 Aws::String m_snapshotIdentifier;
574 bool m_snapshotIdentifierHasBeenSet = false;
575
576 Aws::String m_snapshotArn;
577 bool m_snapshotArnHasBeenSet = false;
578
579 Aws::String m_snapshotClusterIdentifier;
580 bool m_snapshotClusterIdentifierHasBeenSet = false;
581
582 int m_port{0};
583 bool m_portHasBeenSet = false;
584
585 Aws::String m_availabilityZone;
586 bool m_availabilityZoneHasBeenSet = false;
587
588 bool m_allowVersionUpgrade{false};
589 bool m_allowVersionUpgradeHasBeenSet = false;
590
591 Aws::String m_clusterSubnetGroupName;
592 bool m_clusterSubnetGroupNameHasBeenSet = false;
593
594 bool m_publiclyAccessible{false};
595 bool m_publiclyAccessibleHasBeenSet = false;
596
597 Aws::String m_ownerAccount;
598 bool m_ownerAccountHasBeenSet = false;
599
600 Aws::String m_hsmClientCertificateIdentifier;
601 bool m_hsmClientCertificateIdentifierHasBeenSet = false;
602
603 Aws::String m_hsmConfigurationIdentifier;
604 bool m_hsmConfigurationIdentifierHasBeenSet = false;
605
606 Aws::String m_elasticIp;
607 bool m_elasticIpHasBeenSet = false;
608
609 Aws::String m_clusterParameterGroupName;
610 bool m_clusterParameterGroupNameHasBeenSet = false;
611
612 Aws::Vector<Aws::String> m_clusterSecurityGroups;
613 bool m_clusterSecurityGroupsHasBeenSet = false;
614
615 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
616 bool m_vpcSecurityGroupIdsHasBeenSet = false;
617
618 Aws::String m_preferredMaintenanceWindow;
619 bool m_preferredMaintenanceWindowHasBeenSet = false;
620
621 int m_automatedSnapshotRetentionPeriod{0};
622 bool m_automatedSnapshotRetentionPeriodHasBeenSet = false;
623
624 int m_manualSnapshotRetentionPeriod{0};
625 bool m_manualSnapshotRetentionPeriodHasBeenSet = false;
626
627 Aws::String m_kmsKeyId;
628 bool m_kmsKeyIdHasBeenSet = false;
629
630 Aws::String m_nodeType;
631 bool m_nodeTypeHasBeenSet = false;
632
633 bool m_enhancedVpcRouting{false};
634 bool m_enhancedVpcRoutingHasBeenSet = false;
635
636 Aws::String m_additionalInfo;
637 bool m_additionalInfoHasBeenSet = false;
638
639 Aws::Vector<Aws::String> m_iamRoles;
640 bool m_iamRolesHasBeenSet = false;
641
642 Aws::String m_maintenanceTrackName;
643 bool m_maintenanceTrackNameHasBeenSet = false;
644
645 Aws::String m_snapshotScheduleIdentifier;
646 bool m_snapshotScheduleIdentifierHasBeenSet = false;
647
648 int m_numberOfNodes{0};
649 bool m_numberOfNodesHasBeenSet = false;
650
651 bool m_availabilityZoneRelocation{false};
652 bool m_availabilityZoneRelocationHasBeenSet = false;
653
655 bool m_aquaConfigurationStatusHasBeenSet = false;
656
657 Aws::String m_defaultIamRoleArn;
658 bool m_defaultIamRoleArnHasBeenSet = false;
659
660 Aws::String m_reservedNodeId;
661 bool m_reservedNodeIdHasBeenSet = false;
662
663 Aws::String m_targetReservedNodeOfferingId;
664 bool m_targetReservedNodeOfferingIdHasBeenSet = false;
665
666 bool m_encrypted{false};
667 bool m_encryptedHasBeenSet = false;
668
669 bool m_manageMasterPassword{false};
670 bool m_manageMasterPasswordHasBeenSet = false;
671
672 Aws::String m_masterPasswordSecretKmsKeyId;
673 bool m_masterPasswordSecretKmsKeyIdHasBeenSet = false;
674
675 Aws::String m_ipAddressType;
676 bool m_ipAddressTypeHasBeenSet = false;
677
678 bool m_multiAZ{false};
679 bool m_multiAZHasBeenSet = false;
680 };
681
682} // namespace Model
683} // namespace Redshift
684} // namespace Aws
void SetHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT &&value)
RestoreFromClusterSnapshotRequest & AddIamRoles(IamRolesT &&value)
RestoreFromClusterSnapshotRequest & WithAvailabilityZoneRelocation(bool value)
RestoreFromClusterSnapshotRequest & WithAdditionalInfo(AdditionalInfoT &&value)
RestoreFromClusterSnapshotRequest & WithHsmConfigurationIdentifier(HsmConfigurationIdentifierT &&value)
RestoreFromClusterSnapshotRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
RestoreFromClusterSnapshotRequest & WithAllowVersionUpgrade(bool value)
RestoreFromClusterSnapshotRequest & WithElasticIp(ElasticIpT &&value)
RestoreFromClusterSnapshotRequest & WithAquaConfigurationStatus(AquaConfigurationStatus value)
void SetTargetReservedNodeOfferingId(TargetReservedNodeOfferingIdT &&value)
RestoreFromClusterSnapshotRequest & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
RestoreFromClusterSnapshotRequest & WithNodeType(NodeTypeT &&value)
RestoreFromClusterSnapshotRequest & WithSnapshotClusterIdentifier(SnapshotClusterIdentifierT &&value)
RestoreFromClusterSnapshotRequest & WithAvailabilityZone(AvailabilityZoneT &&value)
RestoreFromClusterSnapshotRequest & WithSnapshotIdentifier(SnapshotIdentifierT &&value)
RestoreFromClusterSnapshotRequest & WithMaintenanceTrackName(MaintenanceTrackNameT &&value)
RestoreFromClusterSnapshotRequest & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
RestoreFromClusterSnapshotRequest & WithMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT &&value)
RestoreFromClusterSnapshotRequest & WithClusterSecurityGroups(ClusterSecurityGroupsT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
RestoreFromClusterSnapshotRequest & WithClusterSubnetGroupName(ClusterSubnetGroupNameT &&value)
RestoreFromClusterSnapshotRequest & WithReservedNodeId(ReservedNodeIdT &&value)
RestoreFromClusterSnapshotRequest & WithEnhancedVpcRouting(bool value)
RestoreFromClusterSnapshotRequest & WithTargetReservedNodeOfferingId(TargetReservedNodeOfferingIdT &&value)
RestoreFromClusterSnapshotRequest & WithSnapshotScheduleIdentifier(SnapshotScheduleIdentifierT &&value)
RestoreFromClusterSnapshotRequest & AddClusterSecurityGroups(ClusterSecurityGroupsT &&value)
RestoreFromClusterSnapshotRequest & WithOwnerAccount(OwnerAccountT &&value)
RestoreFromClusterSnapshotRequest & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
RestoreFromClusterSnapshotRequest & WithManualSnapshotRetentionPeriod(int value)
RestoreFromClusterSnapshotRequest & WithManageMasterPassword(bool value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
RestoreFromClusterSnapshotRequest & WithDefaultIamRoleArn(DefaultIamRoleArnT &&value)
RestoreFromClusterSnapshotRequest & WithClusterParameterGroupName(ClusterParameterGroupNameT &&value)
RestoreFromClusterSnapshotRequest & WithAutomatedSnapshotRetentionPeriod(int value)
RestoreFromClusterSnapshotRequest & WithPubliclyAccessible(bool value)
AWS_REDSHIFT_API RestoreFromClusterSnapshotRequest()=default
RestoreFromClusterSnapshotRequest & WithKmsKeyId(KmsKeyIdT &&value)
RestoreFromClusterSnapshotRequest & WithIpAddressType(IpAddressTypeT &&value)
RestoreFromClusterSnapshotRequest & WithSnapshotArn(SnapshotArnT &&value)
RestoreFromClusterSnapshotRequest & WithHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT &&value)
RestoreFromClusterSnapshotRequest & WithIamRoles(IamRolesT &&value)
void SetMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector