AWS SDK for C++  1.8.71
AWS SDK for C++
RestoreFromClusterSnapshotRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Redshift
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "RestoreFromClusterSnapshot"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
51  inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
52 
61  inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
62 
71  inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
72 
81  inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
82 
91  inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
92 
101  inline RestoreFromClusterSnapshotRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
102 
111  inline RestoreFromClusterSnapshotRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
112 
121  inline RestoreFromClusterSnapshotRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
122 
123 
128  inline const Aws::String& GetSnapshotIdentifier() const{ return m_snapshotIdentifier; }
129 
134  inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
135 
140  inline void SetSnapshotIdentifier(const Aws::String& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = value; }
141 
146  inline void SetSnapshotIdentifier(Aws::String&& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = std::move(value); }
147 
152  inline void SetSnapshotIdentifier(const char* value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier.assign(value); }
153 
158  inline RestoreFromClusterSnapshotRequest& WithSnapshotIdentifier(const Aws::String& value) { SetSnapshotIdentifier(value); return *this;}
159 
164  inline RestoreFromClusterSnapshotRequest& WithSnapshotIdentifier(Aws::String&& value) { SetSnapshotIdentifier(std::move(value)); return *this;}
165 
170  inline RestoreFromClusterSnapshotRequest& WithSnapshotIdentifier(const char* value) { SetSnapshotIdentifier(value); return *this;}
171 
172 
178  inline const Aws::String& GetSnapshotClusterIdentifier() const{ return m_snapshotClusterIdentifier; }
179 
185  inline bool SnapshotClusterIdentifierHasBeenSet() const { return m_snapshotClusterIdentifierHasBeenSet; }
186 
192  inline void SetSnapshotClusterIdentifier(const Aws::String& value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier = value; }
193 
199  inline void SetSnapshotClusterIdentifier(Aws::String&& value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier = std::move(value); }
200 
206  inline void SetSnapshotClusterIdentifier(const char* value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier.assign(value); }
207 
213  inline RestoreFromClusterSnapshotRequest& WithSnapshotClusterIdentifier(const Aws::String& value) { SetSnapshotClusterIdentifier(value); return *this;}
214 
220  inline RestoreFromClusterSnapshotRequest& WithSnapshotClusterIdentifier(Aws::String&& value) { SetSnapshotClusterIdentifier(std::move(value)); return *this;}
221 
227  inline RestoreFromClusterSnapshotRequest& WithSnapshotClusterIdentifier(const char* value) { SetSnapshotClusterIdentifier(value); return *this;}
228 
229 
235  inline int GetPort() const{ return m_port; }
236 
242  inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
243 
249  inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
250 
256  inline RestoreFromClusterSnapshotRequest& WithPort(int value) { SetPort(value); return *this;}
257 
258 
264  inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
265 
271  inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
272 
278  inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
279 
285  inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
286 
292  inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
293 
299  inline RestoreFromClusterSnapshotRequest& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
300 
306  inline RestoreFromClusterSnapshotRequest& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
307 
313  inline RestoreFromClusterSnapshotRequest& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
314 
315 
321  inline bool GetAllowVersionUpgrade() const{ return m_allowVersionUpgrade; }
322 
328  inline bool AllowVersionUpgradeHasBeenSet() const { return m_allowVersionUpgradeHasBeenSet; }
329 
335  inline void SetAllowVersionUpgrade(bool value) { m_allowVersionUpgradeHasBeenSet = true; m_allowVersionUpgrade = value; }
336 
342  inline RestoreFromClusterSnapshotRequest& WithAllowVersionUpgrade(bool value) { SetAllowVersionUpgrade(value); return *this;}
343 
344 
350  inline const Aws::String& GetClusterSubnetGroupName() const{ return m_clusterSubnetGroupName; }
351 
357  inline bool ClusterSubnetGroupNameHasBeenSet() const { return m_clusterSubnetGroupNameHasBeenSet; }
358 
364  inline void SetClusterSubnetGroupName(const Aws::String& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = value; }
365 
371  inline void SetClusterSubnetGroupName(Aws::String&& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = std::move(value); }
372 
378  inline void SetClusterSubnetGroupName(const char* value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName.assign(value); }
379 
385  inline RestoreFromClusterSnapshotRequest& WithClusterSubnetGroupName(const Aws::String& value) { SetClusterSubnetGroupName(value); return *this;}
386 
392  inline RestoreFromClusterSnapshotRequest& WithClusterSubnetGroupName(Aws::String&& value) { SetClusterSubnetGroupName(std::move(value)); return *this;}
393 
399  inline RestoreFromClusterSnapshotRequest& WithClusterSubnetGroupName(const char* value) { SetClusterSubnetGroupName(value); return *this;}
400 
401 
405  inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; }
406 
410  inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
411 
415  inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
416 
420  inline RestoreFromClusterSnapshotRequest& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;}
421 
422 
427  inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
428 
433  inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
434 
439  inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
440 
445  inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
446 
451  inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
452 
457  inline RestoreFromClusterSnapshotRequest& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
458 
463  inline RestoreFromClusterSnapshotRequest& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
464 
469  inline RestoreFromClusterSnapshotRequest& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
470 
471 
476  inline const Aws::String& GetHsmClientCertificateIdentifier() const{ return m_hsmClientCertificateIdentifier; }
477 
482  inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; }
483 
488  inline void SetHsmClientCertificateIdentifier(const Aws::String& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = value; }
489 
494  inline void SetHsmClientCertificateIdentifier(Aws::String&& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = std::move(value); }
495 
500  inline void SetHsmClientCertificateIdentifier(const char* value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier.assign(value); }
501 
506  inline RestoreFromClusterSnapshotRequest& WithHsmClientCertificateIdentifier(const Aws::String& value) { SetHsmClientCertificateIdentifier(value); return *this;}
507 
512  inline RestoreFromClusterSnapshotRequest& WithHsmClientCertificateIdentifier(Aws::String&& value) { SetHsmClientCertificateIdentifier(std::move(value)); return *this;}
513 
518  inline RestoreFromClusterSnapshotRequest& WithHsmClientCertificateIdentifier(const char* value) { SetHsmClientCertificateIdentifier(value); return *this;}
519 
520 
525  inline const Aws::String& GetHsmConfigurationIdentifier() const{ return m_hsmConfigurationIdentifier; }
526 
531  inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
532 
537  inline void SetHsmConfigurationIdentifier(const Aws::String& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = value; }
538 
543  inline void SetHsmConfigurationIdentifier(Aws::String&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = std::move(value); }
544 
549  inline void SetHsmConfigurationIdentifier(const char* value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier.assign(value); }
550 
555  inline RestoreFromClusterSnapshotRequest& WithHsmConfigurationIdentifier(const Aws::String& value) { SetHsmConfigurationIdentifier(value); return *this;}
556 
561  inline RestoreFromClusterSnapshotRequest& WithHsmConfigurationIdentifier(Aws::String&& value) { SetHsmConfigurationIdentifier(std::move(value)); return *this;}
562 
567  inline RestoreFromClusterSnapshotRequest& WithHsmConfigurationIdentifier(const char* value) { SetHsmConfigurationIdentifier(value); return *this;}
568 
569 
573  inline const Aws::String& GetElasticIp() const{ return m_elasticIp; }
574 
578  inline bool ElasticIpHasBeenSet() const { return m_elasticIpHasBeenSet; }
579 
583  inline void SetElasticIp(const Aws::String& value) { m_elasticIpHasBeenSet = true; m_elasticIp = value; }
584 
588  inline void SetElasticIp(Aws::String&& value) { m_elasticIpHasBeenSet = true; m_elasticIp = std::move(value); }
589 
593  inline void SetElasticIp(const char* value) { m_elasticIpHasBeenSet = true; m_elasticIp.assign(value); }
594 
598  inline RestoreFromClusterSnapshotRequest& WithElasticIp(const Aws::String& value) { SetElasticIp(value); return *this;}
599 
603  inline RestoreFromClusterSnapshotRequest& WithElasticIp(Aws::String&& value) { SetElasticIp(std::move(value)); return *this;}
604 
608  inline RestoreFromClusterSnapshotRequest& WithElasticIp(const char* value) { SetElasticIp(value); return *this;}
609 
610 
621  inline const Aws::String& GetClusterParameterGroupName() const{ return m_clusterParameterGroupName; }
622 
633  inline bool ClusterParameterGroupNameHasBeenSet() const { return m_clusterParameterGroupNameHasBeenSet; }
634 
645  inline void SetClusterParameterGroupName(const Aws::String& value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName = value; }
646 
657  inline void SetClusterParameterGroupName(Aws::String&& value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName = std::move(value); }
658 
669  inline void SetClusterParameterGroupName(const char* value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName.assign(value); }
670 
681  inline RestoreFromClusterSnapshotRequest& WithClusterParameterGroupName(const Aws::String& value) { SetClusterParameterGroupName(value); return *this;}
682 
693  inline RestoreFromClusterSnapshotRequest& WithClusterParameterGroupName(Aws::String&& value) { SetClusterParameterGroupName(std::move(value)); return *this;}
694 
705  inline RestoreFromClusterSnapshotRequest& WithClusterParameterGroupName(const char* value) { SetClusterParameterGroupName(value); return *this;}
706 
707 
713  inline const Aws::Vector<Aws::String>& GetClusterSecurityGroups() const{ return m_clusterSecurityGroups; }
714 
720  inline bool ClusterSecurityGroupsHasBeenSet() const { return m_clusterSecurityGroupsHasBeenSet; }
721 
727  inline void SetClusterSecurityGroups(const Aws::Vector<Aws::String>& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups = value; }
728 
734  inline void SetClusterSecurityGroups(Aws::Vector<Aws::String>&& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups = std::move(value); }
735 
741  inline RestoreFromClusterSnapshotRequest& WithClusterSecurityGroups(const Aws::Vector<Aws::String>& value) { SetClusterSecurityGroups(value); return *this;}
742 
748  inline RestoreFromClusterSnapshotRequest& WithClusterSecurityGroups(Aws::Vector<Aws::String>&& value) { SetClusterSecurityGroups(std::move(value)); return *this;}
749 
755  inline RestoreFromClusterSnapshotRequest& AddClusterSecurityGroups(const Aws::String& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(value); return *this; }
756 
762  inline RestoreFromClusterSnapshotRequest& AddClusterSecurityGroups(Aws::String&& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(std::move(value)); return *this; }
763 
769  inline RestoreFromClusterSnapshotRequest& AddClusterSecurityGroups(const char* value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(value); return *this; }
770 
771 
777  inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; }
778 
784  inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
785 
791  inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; }
792 
798  inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); }
799 
805  inline RestoreFromClusterSnapshotRequest& WithVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetVpcSecurityGroupIds(value); return *this;}
806 
812  inline RestoreFromClusterSnapshotRequest& WithVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetVpcSecurityGroupIds(std::move(value)); return *this;}
813 
819  inline RestoreFromClusterSnapshotRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
820 
826  inline RestoreFromClusterSnapshotRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; }
827 
833  inline RestoreFromClusterSnapshotRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
834 
835 
846  inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
847 
858  inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
859 
870  inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
871 
882  inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
883 
894  inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
895 
906  inline RestoreFromClusterSnapshotRequest& WithPreferredMaintenanceWindow(const Aws::String& value) { SetPreferredMaintenanceWindow(value); return *this;}
907 
918  inline RestoreFromClusterSnapshotRequest& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(std::move(value)); return *this;}
919 
930  inline RestoreFromClusterSnapshotRequest& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;}
931 
932 
941  inline int GetAutomatedSnapshotRetentionPeriod() const{ return m_automatedSnapshotRetentionPeriod; }
942 
951  inline bool AutomatedSnapshotRetentionPeriodHasBeenSet() const { return m_automatedSnapshotRetentionPeriodHasBeenSet; }
952 
961  inline void SetAutomatedSnapshotRetentionPeriod(int value) { m_automatedSnapshotRetentionPeriodHasBeenSet = true; m_automatedSnapshotRetentionPeriod = value; }
962 
971  inline RestoreFromClusterSnapshotRequest& WithAutomatedSnapshotRetentionPeriod(int value) { SetAutomatedSnapshotRetentionPeriod(value); return *this;}
972 
973 
980  inline int GetManualSnapshotRetentionPeriod() const{ return m_manualSnapshotRetentionPeriod; }
981 
988  inline bool ManualSnapshotRetentionPeriodHasBeenSet() const { return m_manualSnapshotRetentionPeriodHasBeenSet; }
989 
996  inline void SetManualSnapshotRetentionPeriod(int value) { m_manualSnapshotRetentionPeriodHasBeenSet = true; m_manualSnapshotRetentionPeriod = value; }
997 
1004  inline RestoreFromClusterSnapshotRequest& WithManualSnapshotRetentionPeriod(int value) { SetManualSnapshotRetentionPeriod(value); return *this;}
1005 
1006 
1012  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
1013 
1019  inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
1020 
1026  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
1027 
1033  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
1034 
1040  inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
1041 
1047  inline RestoreFromClusterSnapshotRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
1048 
1054  inline RestoreFromClusterSnapshotRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
1055 
1061  inline RestoreFromClusterSnapshotRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
1062 
1063 
1079  inline const Aws::String& GetNodeType() const{ return m_nodeType; }
1080 
1096  inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
1097 
1113  inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
1114 
1130  inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
1131 
1147  inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); }
1148 
1164  inline RestoreFromClusterSnapshotRequest& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;}
1165 
1181  inline RestoreFromClusterSnapshotRequest& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;}
1182 
1198  inline RestoreFromClusterSnapshotRequest& WithNodeType(const char* value) { SetNodeType(value); return *this;}
1199 
1200 
1210  inline bool GetEnhancedVpcRouting() const{ return m_enhancedVpcRouting; }
1211 
1221  inline bool EnhancedVpcRoutingHasBeenSet() const { return m_enhancedVpcRoutingHasBeenSet; }
1222 
1232  inline void SetEnhancedVpcRouting(bool value) { m_enhancedVpcRoutingHasBeenSet = true; m_enhancedVpcRouting = value; }
1233 
1243  inline RestoreFromClusterSnapshotRequest& WithEnhancedVpcRouting(bool value) { SetEnhancedVpcRouting(value); return *this;}
1244 
1245 
1249  inline const Aws::String& GetAdditionalInfo() const{ return m_additionalInfo; }
1250 
1254  inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
1255 
1259  inline void SetAdditionalInfo(const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; }
1260 
1264  inline void SetAdditionalInfo(Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); }
1265 
1269  inline void SetAdditionalInfo(const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.assign(value); }
1270 
1274  inline RestoreFromClusterSnapshotRequest& WithAdditionalInfo(const Aws::String& value) { SetAdditionalInfo(value); return *this;}
1275 
1279  inline RestoreFromClusterSnapshotRequest& WithAdditionalInfo(Aws::String&& value) { SetAdditionalInfo(std::move(value)); return *this;}
1280 
1284  inline RestoreFromClusterSnapshotRequest& WithAdditionalInfo(const char* value) { SetAdditionalInfo(value); return *this;}
1285 
1286 
1294  inline const Aws::Vector<Aws::String>& GetIamRoles() const{ return m_iamRoles; }
1295 
1303  inline bool IamRolesHasBeenSet() const { return m_iamRolesHasBeenSet; }
1304 
1312  inline void SetIamRoles(const Aws::Vector<Aws::String>& value) { m_iamRolesHasBeenSet = true; m_iamRoles = value; }
1313 
1321  inline void SetIamRoles(Aws::Vector<Aws::String>&& value) { m_iamRolesHasBeenSet = true; m_iamRoles = std::move(value); }
1322 
1330  inline RestoreFromClusterSnapshotRequest& WithIamRoles(const Aws::Vector<Aws::String>& value) { SetIamRoles(value); return *this;}
1331 
1339  inline RestoreFromClusterSnapshotRequest& WithIamRoles(Aws::Vector<Aws::String>&& value) { SetIamRoles(std::move(value)); return *this;}
1340 
1348  inline RestoreFromClusterSnapshotRequest& AddIamRoles(const Aws::String& value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(value); return *this; }
1349 
1357  inline RestoreFromClusterSnapshotRequest& AddIamRoles(Aws::String&& value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(std::move(value)); return *this; }
1358 
1366  inline RestoreFromClusterSnapshotRequest& AddIamRoles(const char* value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(value); return *this; }
1367 
1368 
1378  inline const Aws::String& GetMaintenanceTrackName() const{ return m_maintenanceTrackName; }
1379 
1389  inline bool MaintenanceTrackNameHasBeenSet() const { return m_maintenanceTrackNameHasBeenSet; }
1390 
1400  inline void SetMaintenanceTrackName(const Aws::String& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = value; }
1401 
1411  inline void SetMaintenanceTrackName(Aws::String&& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = std::move(value); }
1412 
1422  inline void SetMaintenanceTrackName(const char* value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName.assign(value); }
1423 
1433  inline RestoreFromClusterSnapshotRequest& WithMaintenanceTrackName(const Aws::String& value) { SetMaintenanceTrackName(value); return *this;}
1434 
1444  inline RestoreFromClusterSnapshotRequest& WithMaintenanceTrackName(Aws::String&& value) { SetMaintenanceTrackName(std::move(value)); return *this;}
1445 
1455  inline RestoreFromClusterSnapshotRequest& WithMaintenanceTrackName(const char* value) { SetMaintenanceTrackName(value); return *this;}
1456 
1457 
1461  inline const Aws::String& GetSnapshotScheduleIdentifier() const{ return m_snapshotScheduleIdentifier; }
1462 
1466  inline bool SnapshotScheduleIdentifierHasBeenSet() const { return m_snapshotScheduleIdentifierHasBeenSet; }
1467 
1471  inline void SetSnapshotScheduleIdentifier(const Aws::String& value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier = value; }
1472 
1476  inline void SetSnapshotScheduleIdentifier(Aws::String&& value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier = std::move(value); }
1477 
1481  inline void SetSnapshotScheduleIdentifier(const char* value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier.assign(value); }
1482 
1486  inline RestoreFromClusterSnapshotRequest& WithSnapshotScheduleIdentifier(const Aws::String& value) { SetSnapshotScheduleIdentifier(value); return *this;}
1487 
1491  inline RestoreFromClusterSnapshotRequest& WithSnapshotScheduleIdentifier(Aws::String&& value) { SetSnapshotScheduleIdentifier(std::move(value)); return *this;}
1492 
1496  inline RestoreFromClusterSnapshotRequest& WithSnapshotScheduleIdentifier(const char* value) { SetSnapshotScheduleIdentifier(value); return *this;}
1497 
1498 
1502  inline int GetNumberOfNodes() const{ return m_numberOfNodes; }
1503 
1507  inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
1508 
1512  inline void SetNumberOfNodes(int value) { m_numberOfNodesHasBeenSet = true; m_numberOfNodes = value; }
1513 
1517  inline RestoreFromClusterSnapshotRequest& WithNumberOfNodes(int value) { SetNumberOfNodes(value); return *this;}
1518 
1519  private:
1520 
1521  Aws::String m_clusterIdentifier;
1522  bool m_clusterIdentifierHasBeenSet;
1523 
1524  Aws::String m_snapshotIdentifier;
1525  bool m_snapshotIdentifierHasBeenSet;
1526 
1527  Aws::String m_snapshotClusterIdentifier;
1528  bool m_snapshotClusterIdentifierHasBeenSet;
1529 
1530  int m_port;
1531  bool m_portHasBeenSet;
1532 
1533  Aws::String m_availabilityZone;
1534  bool m_availabilityZoneHasBeenSet;
1535 
1536  bool m_allowVersionUpgrade;
1537  bool m_allowVersionUpgradeHasBeenSet;
1538 
1539  Aws::String m_clusterSubnetGroupName;
1540  bool m_clusterSubnetGroupNameHasBeenSet;
1541 
1542  bool m_publiclyAccessible;
1543  bool m_publiclyAccessibleHasBeenSet;
1544 
1545  Aws::String m_ownerAccount;
1546  bool m_ownerAccountHasBeenSet;
1547 
1548  Aws::String m_hsmClientCertificateIdentifier;
1549  bool m_hsmClientCertificateIdentifierHasBeenSet;
1550 
1551  Aws::String m_hsmConfigurationIdentifier;
1552  bool m_hsmConfigurationIdentifierHasBeenSet;
1553 
1554  Aws::String m_elasticIp;
1555  bool m_elasticIpHasBeenSet;
1556 
1557  Aws::String m_clusterParameterGroupName;
1558  bool m_clusterParameterGroupNameHasBeenSet;
1559 
1560  Aws::Vector<Aws::String> m_clusterSecurityGroups;
1561  bool m_clusterSecurityGroupsHasBeenSet;
1562 
1563  Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
1564  bool m_vpcSecurityGroupIdsHasBeenSet;
1565 
1566  Aws::String m_preferredMaintenanceWindow;
1567  bool m_preferredMaintenanceWindowHasBeenSet;
1568 
1569  int m_automatedSnapshotRetentionPeriod;
1570  bool m_automatedSnapshotRetentionPeriodHasBeenSet;
1571 
1572  int m_manualSnapshotRetentionPeriod;
1573  bool m_manualSnapshotRetentionPeriodHasBeenSet;
1574 
1575  Aws::String m_kmsKeyId;
1576  bool m_kmsKeyIdHasBeenSet;
1577 
1578  Aws::String m_nodeType;
1579  bool m_nodeTypeHasBeenSet;
1580 
1581  bool m_enhancedVpcRouting;
1582  bool m_enhancedVpcRoutingHasBeenSet;
1583 
1584  Aws::String m_additionalInfo;
1585  bool m_additionalInfoHasBeenSet;
1586 
1587  Aws::Vector<Aws::String> m_iamRoles;
1588  bool m_iamRolesHasBeenSet;
1589 
1590  Aws::String m_maintenanceTrackName;
1591  bool m_maintenanceTrackNameHasBeenSet;
1592 
1593  Aws::String m_snapshotScheduleIdentifier;
1594  bool m_snapshotScheduleIdentifierHasBeenSet;
1595 
1596  int m_numberOfNodes;
1597  bool m_numberOfNodesHasBeenSet;
1598  };
1599 
1600 } // namespace Model
1601 } // namespace Redshift
1602 } // namespace Aws
RestoreFromClusterSnapshotRequest & WithElasticIp(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithAvailabilityZone(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithSnapshotScheduleIdentifier(const char *value)
RestoreFromClusterSnapshotRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
RestoreFromClusterSnapshotRequest & AddIamRoles(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithNodeType(const char *value)
RestoreFromClusterSnapshotRequest & WithNodeType(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithOwnerAccount(const char *value)
RestoreFromClusterSnapshotRequest & WithMaintenanceTrackName(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotClusterIdentifier(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithClusterSecurityGroups(const Aws::Vector< Aws::String > &value)
RestoreFromClusterSnapshotRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
RestoreFromClusterSnapshotRequest & WithOwnerAccount(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
RestoreFromClusterSnapshotRequest & WithElasticIp(const Aws::String &value)
RestoreFromClusterSnapshotRequest & AddClusterSecurityGroups(const char *value)
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
RestoreFromClusterSnapshotRequest & WithClusterSubnetGroupName(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithSnapshotScheduleIdentifier(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithMaintenanceTrackName(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithEnhancedVpcRouting(bool value)
RestoreFromClusterSnapshotRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
RestoreFromClusterSnapshotRequest & AddIamRoles(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithClusterParameterGroupName(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotClusterIdentifier(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithAllowVersionUpgrade(bool value)
RestoreFromClusterSnapshotRequest & WithIamRoles(const Aws::Vector< Aws::String > &value)
RestoreFromClusterSnapshotRequest & WithAvailabilityZone(const char *value)
RestoreFromClusterSnapshotRequest & WithSnapshotIdentifier(Aws::String &&value)
#define AWS_REDSHIFT_API
void SetClusterSecurityGroups(const Aws::Vector< Aws::String > &value)
RestoreFromClusterSnapshotRequest & WithClusterIdentifier(const char *value)
RestoreFromClusterSnapshotRequest & WithSnapshotScheduleIdentifier(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithClusterIdentifier(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithHsmConfigurationIdentifier(const char *value)
RestoreFromClusterSnapshotRequest & WithSnapshotIdentifier(const char *value)
RestoreFromClusterSnapshotRequest & WithSnapshotClusterIdentifier(const char *value)
RestoreFromClusterSnapshotRequest & AddClusterSecurityGroups(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithClusterParameterGroupName(const char *value)
RestoreFromClusterSnapshotRequest & WithAdditionalInfo(const char *value)
RestoreFromClusterSnapshotRequest & WithHsmClientCertificateIdentifier(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithKmsKeyId(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithHsmClientCertificateIdentifier(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithClusterSubnetGroupName(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithClusterSecurityGroups(Aws::Vector< Aws::String > &&value)
RestoreFromClusterSnapshotRequest & WithOwnerAccount(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithKmsKeyId(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithClusterParameterGroupName(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithHsmClientCertificateIdentifier(const char *value)
RestoreFromClusterSnapshotRequest & WithAvailabilityZone(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RestoreFromClusterSnapshotRequest & WithManualSnapshotRetentionPeriod(int value)
RestoreFromClusterSnapshotRequest & WithPreferredMaintenanceWindow(const char *value)
RestoreFromClusterSnapshotRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithNumberOfNodes(int value)
RestoreFromClusterSnapshotRequest & WithClusterSubnetGroupName(const char *value)
RestoreFromClusterSnapshotRequest & AddVpcSecurityGroupIds(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithHsmConfigurationIdentifier(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithAutomatedSnapshotRetentionPeriod(int value)
RestoreFromClusterSnapshotRequest & WithClusterIdentifier(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithMaintenanceTrackName(const char *value)
RestoreFromClusterSnapshotRequest & AddVpcSecurityGroupIds(const char *value)
RestoreFromClusterSnapshotRequest & WithAdditionalInfo(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithKmsKeyId(const char *value)
RestoreFromClusterSnapshotRequest & WithAdditionalInfo(Aws::String &&value)
RestoreFromClusterSnapshotRequest & AddIamRoles(const char *value)
RestoreFromClusterSnapshotRequest & WithNodeType(Aws::String &&value)
RestoreFromClusterSnapshotRequest & AddClusterSecurityGroups(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithElasticIp(const char *value)
RestoreFromClusterSnapshotRequest & WithPubliclyAccessible(bool value)
RestoreFromClusterSnapshotRequest & WithHsmConfigurationIdentifier(const Aws::String &value)
RestoreFromClusterSnapshotRequest & AddVpcSecurityGroupIds(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithIamRoles(Aws::Vector< Aws::String > &&value)