AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
RestoreFromClusterSnapshotRequest.h
Go to the documentation of this file.
1
6#pragma once
12#include <utility>
13
14namespace Aws
15{
16namespace Redshift
17{
18namespace Model
19{
20
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 "RestoreFromClusterSnapshot"; }
36
38
39 protected:
40 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
53 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
54
64 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
65
75 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
76
86 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
87
97 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
98
109
120
130 inline RestoreFromClusterSnapshotRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
131
132
139 inline const Aws::String& GetSnapshotIdentifier() const{ return m_snapshotIdentifier; }
140
147 inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
148
155 inline void SetSnapshotIdentifier(const Aws::String& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = value; }
156
163 inline void SetSnapshotIdentifier(Aws::String&& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = std::move(value); }
164
171 inline void SetSnapshotIdentifier(const char* value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier.assign(value); }
172
180
188
195 inline RestoreFromClusterSnapshotRequest& WithSnapshotIdentifier(const char* value) { SetSnapshotIdentifier(value); return *this;}
196
197
203 inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; }
204
210 inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; }
211
217 inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; }
218
224 inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); }
225
231 inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); }
232
239
245 inline RestoreFromClusterSnapshotRequest& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;}
246
252 inline RestoreFromClusterSnapshotRequest& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;}
253
254
260 inline const Aws::String& GetSnapshotClusterIdentifier() const{ return m_snapshotClusterIdentifier; }
261
267 inline bool SnapshotClusterIdentifierHasBeenSet() const { return m_snapshotClusterIdentifierHasBeenSet; }
268
274 inline void SetSnapshotClusterIdentifier(const Aws::String& value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier = value; }
275
281 inline void SetSnapshotClusterIdentifier(Aws::String&& value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier = std::move(value); }
282
288 inline void SetSnapshotClusterIdentifier(const char* value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier.assign(value); }
289
296
303
310
311
317 inline int GetPort() const{ return m_port; }
318
324 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
325
331 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
332
338 inline RestoreFromClusterSnapshotRequest& WithPort(int value) { SetPort(value); return *this;}
339
340
346 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
347
353 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
354
360 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
361
367 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
368
374 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
375
382
389
395 inline RestoreFromClusterSnapshotRequest& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
396
397
403 inline bool GetAllowVersionUpgrade() const{ return m_allowVersionUpgrade; }
404
410 inline bool AllowVersionUpgradeHasBeenSet() const { return m_allowVersionUpgradeHasBeenSet; }
411
417 inline void SetAllowVersionUpgrade(bool value) { m_allowVersionUpgradeHasBeenSet = true; m_allowVersionUpgrade = value; }
418
425
426
432 inline const Aws::String& GetClusterSubnetGroupName() const{ return m_clusterSubnetGroupName; }
433
439 inline bool ClusterSubnetGroupNameHasBeenSet() const { return m_clusterSubnetGroupNameHasBeenSet; }
440
446 inline void SetClusterSubnetGroupName(const Aws::String& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = value; }
447
453 inline void SetClusterSubnetGroupName(Aws::String&& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = std::move(value); }
454
460 inline void SetClusterSubnetGroupName(const char* value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName.assign(value); }
461
468
475
482
483
487 inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; }
488
492 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
493
497 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
498
503
504
510 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
511
517 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
518
524 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
525
531 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
532
538 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
539
546
552 inline RestoreFromClusterSnapshotRequest& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
553
559 inline RestoreFromClusterSnapshotRequest& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
560
561
566 inline const Aws::String& GetHsmClientCertificateIdentifier() const{ return m_hsmClientCertificateIdentifier; }
567
572 inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; }
573
578 inline void SetHsmClientCertificateIdentifier(const Aws::String& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = value; }
579
584 inline void SetHsmClientCertificateIdentifier(Aws::String&& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = std::move(value); }
585
590 inline void SetHsmClientCertificateIdentifier(const char* value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier.assign(value); }
591
597
603
609
610
615 inline const Aws::String& GetHsmConfigurationIdentifier() const{ return m_hsmConfigurationIdentifier; }
616
621 inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
622
627 inline void SetHsmConfigurationIdentifier(const Aws::String& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = value; }
628
633 inline void SetHsmConfigurationIdentifier(Aws::String&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = std::move(value); }
634
639 inline void SetHsmConfigurationIdentifier(const char* value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier.assign(value); }
640
646
652
658
659
665 inline const Aws::String& GetElasticIp() const{ return m_elasticIp; }
666
672 inline bool ElasticIpHasBeenSet() const { return m_elasticIpHasBeenSet; }
673
679 inline void SetElasticIp(const Aws::String& value) { m_elasticIpHasBeenSet = true; m_elasticIp = value; }
680
686 inline void SetElasticIp(Aws::String&& value) { m_elasticIpHasBeenSet = true; m_elasticIp = std::move(value); }
687
693 inline void SetElasticIp(const char* value) { m_elasticIpHasBeenSet = true; m_elasticIp.assign(value); }
694
700 inline RestoreFromClusterSnapshotRequest& WithElasticIp(const Aws::String& value) { SetElasticIp(value); return *this;}
701
707 inline RestoreFromClusterSnapshotRequest& WithElasticIp(Aws::String&& value) { SetElasticIp(std::move(value)); return *this;}
708
714 inline RestoreFromClusterSnapshotRequest& WithElasticIp(const char* value) { SetElasticIp(value); return *this;}
715
716
727 inline const Aws::String& GetClusterParameterGroupName() const{ return m_clusterParameterGroupName; }
728
739 inline bool ClusterParameterGroupNameHasBeenSet() const { return m_clusterParameterGroupNameHasBeenSet; }
740
751 inline void SetClusterParameterGroupName(const Aws::String& value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName = value; }
752
763 inline void SetClusterParameterGroupName(Aws::String&& value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName = std::move(value); }
764
775 inline void SetClusterParameterGroupName(const char* value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName.assign(value); }
776
788
800
812
813
819 inline const Aws::Vector<Aws::String>& GetClusterSecurityGroups() const{ return m_clusterSecurityGroups; }
820
826 inline bool ClusterSecurityGroupsHasBeenSet() const { return m_clusterSecurityGroupsHasBeenSet; }
827
833 inline void SetClusterSecurityGroups(const Aws::Vector<Aws::String>& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups = value; }
834
840 inline void SetClusterSecurityGroups(Aws::Vector<Aws::String>&& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups = std::move(value); }
841
848
855
861 inline RestoreFromClusterSnapshotRequest& AddClusterSecurityGroups(const Aws::String& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(value); return *this; }
862
868 inline RestoreFromClusterSnapshotRequest& AddClusterSecurityGroups(Aws::String&& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(std::move(value)); return *this; }
869
875 inline RestoreFromClusterSnapshotRequest& AddClusterSecurityGroups(const char* value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(value); return *this; }
876
877
883 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; }
884
890 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
891
897 inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; }
898
904 inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); }
905
912
919
925 inline RestoreFromClusterSnapshotRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
926
932 inline RestoreFromClusterSnapshotRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; }
933
939 inline RestoreFromClusterSnapshotRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
940
941
952 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
953
964 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
965
976 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
977
988 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
989
1000 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
1001
1013
1025
1037
1038
1048 inline int GetAutomatedSnapshotRetentionPeriod() const{ return m_automatedSnapshotRetentionPeriod; }
1049
1059 inline bool AutomatedSnapshotRetentionPeriodHasBeenSet() const { return m_automatedSnapshotRetentionPeriodHasBeenSet; }
1060
1070 inline void SetAutomatedSnapshotRetentionPeriod(int value) { m_automatedSnapshotRetentionPeriodHasBeenSet = true; m_automatedSnapshotRetentionPeriod = value; }
1071
1082
1083
1090 inline int GetManualSnapshotRetentionPeriod() const{ return m_manualSnapshotRetentionPeriod; }
1091
1098 inline bool ManualSnapshotRetentionPeriodHasBeenSet() const { return m_manualSnapshotRetentionPeriodHasBeenSet; }
1099
1106 inline void SetManualSnapshotRetentionPeriod(int value) { m_manualSnapshotRetentionPeriodHasBeenSet = true; m_manualSnapshotRetentionPeriod = value; }
1107
1115
1116
1125 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
1126
1135 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
1136
1145 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
1146
1155 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
1156
1165 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
1166
1175 inline RestoreFromClusterSnapshotRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
1176
1185 inline RestoreFromClusterSnapshotRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
1186
1195 inline RestoreFromClusterSnapshotRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
1196
1197
1213 inline const Aws::String& GetNodeType() const{ return m_nodeType; }
1214
1230 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
1231
1247 inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
1248
1264 inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
1265
1281 inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); }
1282
1298 inline RestoreFromClusterSnapshotRequest& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;}
1299
1315 inline RestoreFromClusterSnapshotRequest& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;}
1316
1332 inline RestoreFromClusterSnapshotRequest& WithNodeType(const char* value) { SetNodeType(value); return *this;}
1333
1334
1344 inline bool GetEnhancedVpcRouting() const{ return m_enhancedVpcRouting; }
1345
1355 inline bool EnhancedVpcRoutingHasBeenSet() const { return m_enhancedVpcRoutingHasBeenSet; }
1356
1366 inline void SetEnhancedVpcRouting(bool value) { m_enhancedVpcRoutingHasBeenSet = true; m_enhancedVpcRouting = value; }
1367
1378
1379
1383 inline const Aws::String& GetAdditionalInfo() const{ return m_additionalInfo; }
1384
1388 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
1389
1393 inline void SetAdditionalInfo(const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; }
1394
1398 inline void SetAdditionalInfo(Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); }
1399
1403 inline void SetAdditionalInfo(const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.assign(value); }
1404
1409
1413 inline RestoreFromClusterSnapshotRequest& WithAdditionalInfo(Aws::String&& value) { SetAdditionalInfo(std::move(value)); return *this;}
1414
1418 inline RestoreFromClusterSnapshotRequest& WithAdditionalInfo(const char* value) { SetAdditionalInfo(value); return *this;}
1419
1420
1430 inline const Aws::Vector<Aws::String>& GetIamRoles() const{ return m_iamRoles; }
1431
1441 inline bool IamRolesHasBeenSet() const { return m_iamRolesHasBeenSet; }
1442
1452 inline void SetIamRoles(const Aws::Vector<Aws::String>& value) { m_iamRolesHasBeenSet = true; m_iamRoles = value; }
1453
1463 inline void SetIamRoles(Aws::Vector<Aws::String>&& value) { m_iamRolesHasBeenSet = true; m_iamRoles = std::move(value); }
1464
1475
1485 inline RestoreFromClusterSnapshotRequest& WithIamRoles(Aws::Vector<Aws::String>&& value) { SetIamRoles(std::move(value)); return *this;}
1486
1496 inline RestoreFromClusterSnapshotRequest& AddIamRoles(const Aws::String& value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(value); return *this; }
1497
1507 inline RestoreFromClusterSnapshotRequest& AddIamRoles(Aws::String&& value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(std::move(value)); return *this; }
1508
1518 inline RestoreFromClusterSnapshotRequest& AddIamRoles(const char* value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(value); return *this; }
1519
1520
1530 inline const Aws::String& GetMaintenanceTrackName() const{ return m_maintenanceTrackName; }
1531
1541 inline bool MaintenanceTrackNameHasBeenSet() const { return m_maintenanceTrackNameHasBeenSet; }
1542
1552 inline void SetMaintenanceTrackName(const Aws::String& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = value; }
1553
1563 inline void SetMaintenanceTrackName(Aws::String&& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = std::move(value); }
1564
1574 inline void SetMaintenanceTrackName(const char* value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName.assign(value); }
1575
1586
1597
1608
1609
1613 inline const Aws::String& GetSnapshotScheduleIdentifier() const{ return m_snapshotScheduleIdentifier; }
1614
1618 inline bool SnapshotScheduleIdentifierHasBeenSet() const { return m_snapshotScheduleIdentifierHasBeenSet; }
1619
1623 inline void SetSnapshotScheduleIdentifier(const Aws::String& value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier = value; }
1624
1628 inline void SetSnapshotScheduleIdentifier(Aws::String&& value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier = std::move(value); }
1629
1633 inline void SetSnapshotScheduleIdentifier(const char* value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier.assign(value); }
1634
1639
1644
1649
1650
1654 inline int GetNumberOfNodes() const{ return m_numberOfNodes; }
1655
1659 inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
1660
1664 inline void SetNumberOfNodes(int value) { m_numberOfNodesHasBeenSet = true; m_numberOfNodes = value; }
1665
1670
1671
1676 inline bool GetAvailabilityZoneRelocation() const{ return m_availabilityZoneRelocation; }
1677
1682 inline bool AvailabilityZoneRelocationHasBeenSet() const { return m_availabilityZoneRelocationHasBeenSet; }
1683
1688 inline void SetAvailabilityZoneRelocation(bool value) { m_availabilityZoneRelocationHasBeenSet = true; m_availabilityZoneRelocation = value; }
1689
1695
1696
1702 inline const AquaConfigurationStatus& GetAquaConfigurationStatus() const{ return m_aquaConfigurationStatus; }
1703
1709 inline bool AquaConfigurationStatusHasBeenSet() const { return m_aquaConfigurationStatusHasBeenSet; }
1710
1716 inline void SetAquaConfigurationStatus(const AquaConfigurationStatus& value) { m_aquaConfigurationStatusHasBeenSet = true; m_aquaConfigurationStatus = value; }
1717
1723 inline void SetAquaConfigurationStatus(AquaConfigurationStatus&& value) { m_aquaConfigurationStatusHasBeenSet = true; m_aquaConfigurationStatus = std::move(value); }
1724
1731
1738
1739
1745 inline const Aws::String& GetDefaultIamRoleArn() const{ return m_defaultIamRoleArn; }
1746
1752 inline bool DefaultIamRoleArnHasBeenSet() const { return m_defaultIamRoleArnHasBeenSet; }
1753
1759 inline void SetDefaultIamRoleArn(const Aws::String& value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn = value; }
1760
1766 inline void SetDefaultIamRoleArn(Aws::String&& value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn = std::move(value); }
1767
1773 inline void SetDefaultIamRoleArn(const char* value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn.assign(value); }
1774
1781
1788
1794 inline RestoreFromClusterSnapshotRequest& WithDefaultIamRoleArn(const char* value) { SetDefaultIamRoleArn(value); return *this;}
1795
1796
1800 inline const Aws::String& GetReservedNodeId() const{ return m_reservedNodeId; }
1801
1805 inline bool ReservedNodeIdHasBeenSet() const { return m_reservedNodeIdHasBeenSet; }
1806
1810 inline void SetReservedNodeId(const Aws::String& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = value; }
1811
1815 inline void SetReservedNodeId(Aws::String&& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = std::move(value); }
1816
1820 inline void SetReservedNodeId(const char* value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId.assign(value); }
1821
1826
1830 inline RestoreFromClusterSnapshotRequest& WithReservedNodeId(Aws::String&& value) { SetReservedNodeId(std::move(value)); return *this;}
1831
1835 inline RestoreFromClusterSnapshotRequest& WithReservedNodeId(const char* value) { SetReservedNodeId(value); return *this;}
1836
1837
1841 inline const Aws::String& GetTargetReservedNodeOfferingId() const{ return m_targetReservedNodeOfferingId; }
1842
1846 inline bool TargetReservedNodeOfferingIdHasBeenSet() const { return m_targetReservedNodeOfferingIdHasBeenSet; }
1847
1851 inline void SetTargetReservedNodeOfferingId(const Aws::String& value) { m_targetReservedNodeOfferingIdHasBeenSet = true; m_targetReservedNodeOfferingId = value; }
1852
1856 inline void SetTargetReservedNodeOfferingId(Aws::String&& value) { m_targetReservedNodeOfferingIdHasBeenSet = true; m_targetReservedNodeOfferingId = std::move(value); }
1857
1861 inline void SetTargetReservedNodeOfferingId(const char* value) { m_targetReservedNodeOfferingIdHasBeenSet = true; m_targetReservedNodeOfferingId.assign(value); }
1862
1867
1872
1877
1878
1883 inline bool GetEncrypted() const{ return m_encrypted; }
1884
1889 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
1890
1895 inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
1896
1901 inline RestoreFromClusterSnapshotRequest& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
1902
1903 private:
1904
1905 Aws::String m_clusterIdentifier;
1906 bool m_clusterIdentifierHasBeenSet = false;
1907
1908 Aws::String m_snapshotIdentifier;
1909 bool m_snapshotIdentifierHasBeenSet = false;
1910
1911 Aws::String m_snapshotArn;
1912 bool m_snapshotArnHasBeenSet = false;
1913
1914 Aws::String m_snapshotClusterIdentifier;
1915 bool m_snapshotClusterIdentifierHasBeenSet = false;
1916
1917 int m_port;
1918 bool m_portHasBeenSet = false;
1919
1920 Aws::String m_availabilityZone;
1921 bool m_availabilityZoneHasBeenSet = false;
1922
1923 bool m_allowVersionUpgrade;
1924 bool m_allowVersionUpgradeHasBeenSet = false;
1925
1926 Aws::String m_clusterSubnetGroupName;
1927 bool m_clusterSubnetGroupNameHasBeenSet = false;
1928
1929 bool m_publiclyAccessible;
1930 bool m_publiclyAccessibleHasBeenSet = false;
1931
1932 Aws::String m_ownerAccount;
1933 bool m_ownerAccountHasBeenSet = false;
1934
1935 Aws::String m_hsmClientCertificateIdentifier;
1936 bool m_hsmClientCertificateIdentifierHasBeenSet = false;
1937
1938 Aws::String m_hsmConfigurationIdentifier;
1939 bool m_hsmConfigurationIdentifierHasBeenSet = false;
1940
1941 Aws::String m_elasticIp;
1942 bool m_elasticIpHasBeenSet = false;
1943
1944 Aws::String m_clusterParameterGroupName;
1945 bool m_clusterParameterGroupNameHasBeenSet = false;
1946
1947 Aws::Vector<Aws::String> m_clusterSecurityGroups;
1948 bool m_clusterSecurityGroupsHasBeenSet = false;
1949
1950 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
1951 bool m_vpcSecurityGroupIdsHasBeenSet = false;
1952
1953 Aws::String m_preferredMaintenanceWindow;
1954 bool m_preferredMaintenanceWindowHasBeenSet = false;
1955
1956 int m_automatedSnapshotRetentionPeriod;
1957 bool m_automatedSnapshotRetentionPeriodHasBeenSet = false;
1958
1959 int m_manualSnapshotRetentionPeriod;
1960 bool m_manualSnapshotRetentionPeriodHasBeenSet = false;
1961
1962 Aws::String m_kmsKeyId;
1963 bool m_kmsKeyIdHasBeenSet = false;
1964
1965 Aws::String m_nodeType;
1966 bool m_nodeTypeHasBeenSet = false;
1967
1968 bool m_enhancedVpcRouting;
1969 bool m_enhancedVpcRoutingHasBeenSet = false;
1970
1971 Aws::String m_additionalInfo;
1972 bool m_additionalInfoHasBeenSet = false;
1973
1974 Aws::Vector<Aws::String> m_iamRoles;
1975 bool m_iamRolesHasBeenSet = false;
1976
1977 Aws::String m_maintenanceTrackName;
1978 bool m_maintenanceTrackNameHasBeenSet = false;
1979
1980 Aws::String m_snapshotScheduleIdentifier;
1981 bool m_snapshotScheduleIdentifierHasBeenSet = false;
1982
1983 int m_numberOfNodes;
1984 bool m_numberOfNodesHasBeenSet = false;
1985
1986 bool m_availabilityZoneRelocation;
1987 bool m_availabilityZoneRelocationHasBeenSet = false;
1988
1989 AquaConfigurationStatus m_aquaConfigurationStatus;
1990 bool m_aquaConfigurationStatusHasBeenSet = false;
1991
1992 Aws::String m_defaultIamRoleArn;
1993 bool m_defaultIamRoleArnHasBeenSet = false;
1994
1995 Aws::String m_reservedNodeId;
1996 bool m_reservedNodeIdHasBeenSet = false;
1997
1998 Aws::String m_targetReservedNodeOfferingId;
1999 bool m_targetReservedNodeOfferingIdHasBeenSet = false;
2000
2001 bool m_encrypted;
2002 bool m_encryptedHasBeenSet = false;
2003 };
2004
2005} // namespace Model
2006} // namespace Redshift
2007} // namespace Aws
#define AWS_REDSHIFT_API
RestoreFromClusterSnapshotRequest & WithHsmConfigurationIdentifier(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithNodeType(Aws::String &&value)
void SetClusterSecurityGroups(const Aws::Vector< Aws::String > &value)
RestoreFromClusterSnapshotRequest & WithNodeType(const char *value)
RestoreFromClusterSnapshotRequest & WithTargetReservedNodeOfferingId(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithAdditionalInfo(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithSnapshotArn(const char *value)
RestoreFromClusterSnapshotRequest & WithIamRoles(const Aws::Vector< Aws::String > &value)
RestoreFromClusterSnapshotRequest & WithAquaConfigurationStatus(AquaConfigurationStatus &&value)
RestoreFromClusterSnapshotRequest & WithAvailabilityZoneRelocation(bool value)
RestoreFromClusterSnapshotRequest & WithReservedNodeId(const char *value)
RestoreFromClusterSnapshotRequest & WithClusterParameterGroupName(const char *value)
RestoreFromClusterSnapshotRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithAvailabilityZone(const char *value)
RestoreFromClusterSnapshotRequest & WithAdditionalInfo(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithAllowVersionUpgrade(bool value)
RestoreFromClusterSnapshotRequest & WithPreferredMaintenanceWindow(const char *value)
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
RestoreFromClusterSnapshotRequest & WithHsmClientCertificateIdentifier(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithKmsKeyId(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithAvailabilityZone(const Aws::String &value)
RestoreFromClusterSnapshotRequest & AddVpcSecurityGroupIds(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithClusterParameterGroupName(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithTargetReservedNodeOfferingId(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithHsmClientCertificateIdentifier(const char *value)
RestoreFromClusterSnapshotRequest & WithElasticIp(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithKmsKeyId(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithClusterIdentifier(const char *value)
RestoreFromClusterSnapshotRequest & WithAdditionalInfo(const char *value)
RestoreFromClusterSnapshotRequest & WithElasticIp(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotClusterIdentifier(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotIdentifier(const Aws::String &value)
RestoreFromClusterSnapshotRequest & AddVpcSecurityGroupIds(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithClusterSecurityGroups(Aws::Vector< Aws::String > &&value)
RestoreFromClusterSnapshotRequest & AddVpcSecurityGroupIds(const char *value)
RestoreFromClusterSnapshotRequest & WithClusterParameterGroupName(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithDefaultIamRoleArn(const char *value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
RestoreFromClusterSnapshotRequest & AddIamRoles(const char *value)
RestoreFromClusterSnapshotRequest & WithMaintenanceTrackName(const char *value)
RestoreFromClusterSnapshotRequest & WithOwnerAccount(const char *value)
RestoreFromClusterSnapshotRequest & WithHsmClientCertificateIdentifier(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotScheduleIdentifier(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithEnhancedVpcRouting(bool value)
RestoreFromClusterSnapshotRequest & WithNumberOfNodes(int value)
RestoreFromClusterSnapshotRequest & WithClusterIdentifier(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithElasticIp(const char *value)
RestoreFromClusterSnapshotRequest & WithReservedNodeId(const Aws::String &value)
RestoreFromClusterSnapshotRequest & AddClusterSecurityGroups(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithDefaultIamRoleArn(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithAquaConfigurationStatus(const AquaConfigurationStatus &value)
RestoreFromClusterSnapshotRequest & WithAvailabilityZone(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithOwnerAccount(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotIdentifier(const char *value)
RestoreFromClusterSnapshotRequest & WithSnapshotClusterIdentifier(const char *value)
RestoreFromClusterSnapshotRequest & WithClusterIdentifier(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithKmsKeyId(const char *value)
RestoreFromClusterSnapshotRequest & WithReservedNodeId(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
RestoreFromClusterSnapshotRequest & AddClusterSecurityGroups(const char *value)
RestoreFromClusterSnapshotRequest & WithSnapshotIdentifier(Aws::String &&value)
RestoreFromClusterSnapshotRequest & AddIamRoles(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithManualSnapshotRetentionPeriod(int value)
RestoreFromClusterSnapshotRequest & WithClusterSubnetGroupName(Aws::String &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
RestoreFromClusterSnapshotRequest & WithHsmConfigurationIdentifier(const char *value)
RestoreFromClusterSnapshotRequest & WithClusterSubnetGroupName(const char *value)
RestoreFromClusterSnapshotRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
RestoreFromClusterSnapshotRequest & WithDefaultIamRoleArn(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithAutomatedSnapshotRetentionPeriod(int value)
RestoreFromClusterSnapshotRequest & WithPubliclyAccessible(bool value)
RestoreFromClusterSnapshotRequest & WithNodeType(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotArn(const Aws::String &value)
RestoreFromClusterSnapshotRequest & AddIamRoles(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotArn(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithTargetReservedNodeOfferingId(const char *value)
RestoreFromClusterSnapshotRequest & AddClusterSecurityGroups(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithClusterSubnetGroupName(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithClusterSecurityGroups(const Aws::Vector< Aws::String > &value)
RestoreFromClusterSnapshotRequest & WithMaintenanceTrackName(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithOwnerAccount(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithHsmConfigurationIdentifier(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithSnapshotScheduleIdentifier(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotClusterIdentifier(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithIamRoles(Aws::Vector< Aws::String > &&value)
RestoreFromClusterSnapshotRequest & WithMaintenanceTrackName(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotScheduleIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector