AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
57 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
58 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
61 inline RestoreFromClusterSnapshotRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
63
65
71 inline const Aws::String& GetSnapshotIdentifier() const{ return m_snapshotIdentifier; }
72 inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
73 inline void SetSnapshotIdentifier(const Aws::String& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = value; }
74 inline void SetSnapshotIdentifier(Aws::String&& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = std::move(value); }
75 inline void SetSnapshotIdentifier(const char* value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier.assign(value); }
78 inline RestoreFromClusterSnapshotRequest& WithSnapshotIdentifier(const char* value) { SetSnapshotIdentifier(value); return *this;}
80
82
87 inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; }
88 inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; }
89 inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; }
90 inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); }
91 inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); }
92 inline RestoreFromClusterSnapshotRequest& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;}
93 inline RestoreFromClusterSnapshotRequest& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;}
94 inline RestoreFromClusterSnapshotRequest& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;}
96
98
103 inline const Aws::String& GetSnapshotClusterIdentifier() const{ return m_snapshotClusterIdentifier; }
104 inline bool SnapshotClusterIdentifierHasBeenSet() const { return m_snapshotClusterIdentifierHasBeenSet; }
105 inline void SetSnapshotClusterIdentifier(const Aws::String& value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier = value; }
106 inline void SetSnapshotClusterIdentifier(Aws::String&& value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier = std::move(value); }
107 inline void SetSnapshotClusterIdentifier(const char* value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier.assign(value); }
112
114
121 inline int GetPort() const{ return m_port; }
122 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
123 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
124 inline RestoreFromClusterSnapshotRequest& WithPort(int value) { SetPort(value); return *this;}
126
128
133 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
134 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
135 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
136 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
137 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
140 inline RestoreFromClusterSnapshotRequest& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
142
144
149 inline bool GetAllowVersionUpgrade() const{ return m_allowVersionUpgrade; }
150 inline bool AllowVersionUpgradeHasBeenSet() const { return m_allowVersionUpgradeHasBeenSet; }
151 inline void SetAllowVersionUpgrade(bool value) { m_allowVersionUpgradeHasBeenSet = true; m_allowVersionUpgrade = value; }
154
156
161 inline const Aws::String& GetClusterSubnetGroupName() const{ return m_clusterSubnetGroupName; }
162 inline bool ClusterSubnetGroupNameHasBeenSet() const { return m_clusterSubnetGroupNameHasBeenSet; }
163 inline void SetClusterSubnetGroupName(const Aws::String& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = value; }
164 inline void SetClusterSubnetGroupName(Aws::String&& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = std::move(value); }
165 inline void SetClusterSubnetGroupName(const char* value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName.assign(value); }
170
172
175 inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; }
176 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
177 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
180
182
187 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
188 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
189 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
190 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
191 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
193 inline RestoreFromClusterSnapshotRequest& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
194 inline RestoreFromClusterSnapshotRequest& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
196
198
202 inline const Aws::String& GetHsmClientCertificateIdentifier() const{ return m_hsmClientCertificateIdentifier; }
203 inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; }
204 inline void SetHsmClientCertificateIdentifier(const Aws::String& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = value; }
205 inline void SetHsmClientCertificateIdentifier(Aws::String&& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = std::move(value); }
206 inline void SetHsmClientCertificateIdentifier(const char* value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier.assign(value); }
211
213
217 inline const Aws::String& GetHsmConfigurationIdentifier() const{ return m_hsmConfigurationIdentifier; }
218 inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
219 inline void SetHsmConfigurationIdentifier(const Aws::String& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = value; }
220 inline void SetHsmConfigurationIdentifier(Aws::String&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = std::move(value); }
221 inline void SetHsmConfigurationIdentifier(const char* value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier.assign(value); }
226
228
233 inline const Aws::String& GetElasticIp() const{ return m_elasticIp; }
234 inline bool ElasticIpHasBeenSet() const { return m_elasticIpHasBeenSet; }
235 inline void SetElasticIp(const Aws::String& value) { m_elasticIpHasBeenSet = true; m_elasticIp = value; }
236 inline void SetElasticIp(Aws::String&& value) { m_elasticIpHasBeenSet = true; m_elasticIp = std::move(value); }
237 inline void SetElasticIp(const char* value) { m_elasticIpHasBeenSet = true; m_elasticIp.assign(value); }
238 inline RestoreFromClusterSnapshotRequest& WithElasticIp(const Aws::String& value) { SetElasticIp(value); return *this;}
239 inline RestoreFromClusterSnapshotRequest& WithElasticIp(Aws::String&& value) { SetElasticIp(std::move(value)); return *this;}
240 inline RestoreFromClusterSnapshotRequest& WithElasticIp(const char* value) { SetElasticIp(value); return *this;}
242
244
254 inline const Aws::String& GetClusterParameterGroupName() const{ return m_clusterParameterGroupName; }
255 inline bool ClusterParameterGroupNameHasBeenSet() const { return m_clusterParameterGroupNameHasBeenSet; }
256 inline void SetClusterParameterGroupName(const Aws::String& value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName = value; }
257 inline void SetClusterParameterGroupName(Aws::String&& value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName = std::move(value); }
258 inline void SetClusterParameterGroupName(const char* value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName.assign(value); }
263
265
270 inline const Aws::Vector<Aws::String>& GetClusterSecurityGroups() const{ return m_clusterSecurityGroups; }
271 inline bool ClusterSecurityGroupsHasBeenSet() const { return m_clusterSecurityGroupsHasBeenSet; }
272 inline void SetClusterSecurityGroups(const Aws::Vector<Aws::String>& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups = value; }
273 inline void SetClusterSecurityGroups(Aws::Vector<Aws::String>&& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups = std::move(value); }
276 inline RestoreFromClusterSnapshotRequest& AddClusterSecurityGroups(const Aws::String& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(value); return *this; }
277 inline RestoreFromClusterSnapshotRequest& AddClusterSecurityGroups(Aws::String&& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(std::move(value)); return *this; }
278 inline RestoreFromClusterSnapshotRequest& AddClusterSecurityGroups(const char* value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(value); return *this; }
280
282
287 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; }
288 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
289 inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; }
290 inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); }
293 inline RestoreFromClusterSnapshotRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
294 inline RestoreFromClusterSnapshotRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; }
295 inline RestoreFromClusterSnapshotRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
297
299
309 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
310 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
311 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
312 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
313 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
318
320
329 inline int GetAutomatedSnapshotRetentionPeriod() const{ return m_automatedSnapshotRetentionPeriod; }
330 inline bool AutomatedSnapshotRetentionPeriodHasBeenSet() const { return m_automatedSnapshotRetentionPeriodHasBeenSet; }
331 inline void SetAutomatedSnapshotRetentionPeriod(int value) { m_automatedSnapshotRetentionPeriodHasBeenSet = true; m_automatedSnapshotRetentionPeriod = value; }
334
336
342 inline int GetManualSnapshotRetentionPeriod() const{ return m_manualSnapshotRetentionPeriod; }
343 inline bool ManualSnapshotRetentionPeriodHasBeenSet() const { return m_manualSnapshotRetentionPeriodHasBeenSet; }
344 inline void SetManualSnapshotRetentionPeriod(int value) { m_manualSnapshotRetentionPeriodHasBeenSet = true; m_manualSnapshotRetentionPeriod = value; }
347
349
357 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
358 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
359 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
360 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
361 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
362 inline RestoreFromClusterSnapshotRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
363 inline RestoreFromClusterSnapshotRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
364 inline RestoreFromClusterSnapshotRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
366
368
377 inline const Aws::String& GetNodeType() const{ return m_nodeType; }
378 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
379 inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
380 inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
381 inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); }
382 inline RestoreFromClusterSnapshotRequest& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;}
383 inline RestoreFromClusterSnapshotRequest& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;}
384 inline RestoreFromClusterSnapshotRequest& WithNodeType(const char* value) { SetNodeType(value); return *this;}
386
388
397 inline bool GetEnhancedVpcRouting() const{ return m_enhancedVpcRouting; }
398 inline bool EnhancedVpcRoutingHasBeenSet() const { return m_enhancedVpcRoutingHasBeenSet; }
399 inline void SetEnhancedVpcRouting(bool value) { m_enhancedVpcRoutingHasBeenSet = true; m_enhancedVpcRouting = value; }
402
404
407 inline const Aws::String& GetAdditionalInfo() const{ return m_additionalInfo; }
408 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
409 inline void SetAdditionalInfo(const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; }
410 inline void SetAdditionalInfo(Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); }
411 inline void SetAdditionalInfo(const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.assign(value); }
413 inline RestoreFromClusterSnapshotRequest& WithAdditionalInfo(Aws::String&& value) { SetAdditionalInfo(std::move(value)); return *this;}
414 inline RestoreFromClusterSnapshotRequest& WithAdditionalInfo(const char* value) { SetAdditionalInfo(value); return *this;}
416
418
427 inline const Aws::Vector<Aws::String>& GetIamRoles() const{ return m_iamRoles; }
428 inline bool IamRolesHasBeenSet() const { return m_iamRolesHasBeenSet; }
429 inline void SetIamRoles(const Aws::Vector<Aws::String>& value) { m_iamRolesHasBeenSet = true; m_iamRoles = value; }
430 inline void SetIamRoles(Aws::Vector<Aws::String>&& value) { m_iamRolesHasBeenSet = true; m_iamRoles = std::move(value); }
432 inline RestoreFromClusterSnapshotRequest& WithIamRoles(Aws::Vector<Aws::String>&& value) { SetIamRoles(std::move(value)); return *this;}
433 inline RestoreFromClusterSnapshotRequest& AddIamRoles(const Aws::String& value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(value); return *this; }
434 inline RestoreFromClusterSnapshotRequest& AddIamRoles(Aws::String&& value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(std::move(value)); return *this; }
435 inline RestoreFromClusterSnapshotRequest& AddIamRoles(const char* value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(value); return *this; }
437
439
448 inline const Aws::String& GetMaintenanceTrackName() const{ return m_maintenanceTrackName; }
449 inline bool MaintenanceTrackNameHasBeenSet() const { return m_maintenanceTrackNameHasBeenSet; }
450 inline void SetMaintenanceTrackName(const Aws::String& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = value; }
451 inline void SetMaintenanceTrackName(Aws::String&& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = std::move(value); }
452 inline void SetMaintenanceTrackName(const char* value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName.assign(value); }
457
459
462 inline const Aws::String& GetSnapshotScheduleIdentifier() const{ return m_snapshotScheduleIdentifier; }
463 inline bool SnapshotScheduleIdentifierHasBeenSet() const { return m_snapshotScheduleIdentifierHasBeenSet; }
464 inline void SetSnapshotScheduleIdentifier(const Aws::String& value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier = value; }
465 inline void SetSnapshotScheduleIdentifier(Aws::String&& value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier = std::move(value); }
466 inline void SetSnapshotScheduleIdentifier(const char* value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier.assign(value); }
471
473
476 inline int GetNumberOfNodes() const{ return m_numberOfNodes; }
477 inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
478 inline void SetNumberOfNodes(int value) { m_numberOfNodesHasBeenSet = true; m_numberOfNodes = value; }
479 inline RestoreFromClusterSnapshotRequest& WithNumberOfNodes(int value) { SetNumberOfNodes(value); return *this;}
481
483
487 inline bool GetAvailabilityZoneRelocation() const{ return m_availabilityZoneRelocation; }
488 inline bool AvailabilityZoneRelocationHasBeenSet() const { return m_availabilityZoneRelocationHasBeenSet; }
489 inline void SetAvailabilityZoneRelocation(bool value) { m_availabilityZoneRelocationHasBeenSet = true; m_availabilityZoneRelocation = value; }
492
494
499 inline const AquaConfigurationStatus& GetAquaConfigurationStatus() const{ return m_aquaConfigurationStatus; }
500 inline bool AquaConfigurationStatusHasBeenSet() const { return m_aquaConfigurationStatusHasBeenSet; }
501 inline void SetAquaConfigurationStatus(const AquaConfigurationStatus& value) { m_aquaConfigurationStatusHasBeenSet = true; m_aquaConfigurationStatus = value; }
502 inline void SetAquaConfigurationStatus(AquaConfigurationStatus&& value) { m_aquaConfigurationStatusHasBeenSet = true; m_aquaConfigurationStatus = std::move(value); }
506
508
513 inline const Aws::String& GetDefaultIamRoleArn() const{ return m_defaultIamRoleArn; }
514 inline bool DefaultIamRoleArnHasBeenSet() const { return m_defaultIamRoleArnHasBeenSet; }
515 inline void SetDefaultIamRoleArn(const Aws::String& value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn = value; }
516 inline void SetDefaultIamRoleArn(Aws::String&& value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn = std::move(value); }
517 inline void SetDefaultIamRoleArn(const char* value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn.assign(value); }
520 inline RestoreFromClusterSnapshotRequest& WithDefaultIamRoleArn(const char* value) { SetDefaultIamRoleArn(value); return *this;}
522
524
527 inline const Aws::String& GetReservedNodeId() const{ return m_reservedNodeId; }
528 inline bool ReservedNodeIdHasBeenSet() const { return m_reservedNodeIdHasBeenSet; }
529 inline void SetReservedNodeId(const Aws::String& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = value; }
530 inline void SetReservedNodeId(Aws::String&& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = std::move(value); }
531 inline void SetReservedNodeId(const char* value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId.assign(value); }
533 inline RestoreFromClusterSnapshotRequest& WithReservedNodeId(Aws::String&& value) { SetReservedNodeId(std::move(value)); return *this;}
534 inline RestoreFromClusterSnapshotRequest& WithReservedNodeId(const char* value) { SetReservedNodeId(value); return *this;}
536
538
541 inline const Aws::String& GetTargetReservedNodeOfferingId() const{ return m_targetReservedNodeOfferingId; }
542 inline bool TargetReservedNodeOfferingIdHasBeenSet() const { return m_targetReservedNodeOfferingIdHasBeenSet; }
543 inline void SetTargetReservedNodeOfferingId(const Aws::String& value) { m_targetReservedNodeOfferingIdHasBeenSet = true; m_targetReservedNodeOfferingId = value; }
544 inline void SetTargetReservedNodeOfferingId(Aws::String&& value) { m_targetReservedNodeOfferingIdHasBeenSet = true; m_targetReservedNodeOfferingId = std::move(value); }
545 inline void SetTargetReservedNodeOfferingId(const char* value) { m_targetReservedNodeOfferingIdHasBeenSet = true; m_targetReservedNodeOfferingId.assign(value); }
550
552
556 inline bool GetEncrypted() const{ return m_encrypted; }
557 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
558 inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
559 inline RestoreFromClusterSnapshotRequest& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
561
563
569 inline bool GetManageMasterPassword() const{ return m_manageMasterPassword; }
570 inline bool ManageMasterPasswordHasBeenSet() const { return m_manageMasterPasswordHasBeenSet; }
571 inline void SetManageMasterPassword(bool value) { m_manageMasterPasswordHasBeenSet = true; m_manageMasterPassword = value; }
574
576
581 inline const Aws::String& GetMasterPasswordSecretKmsKeyId() const{ return m_masterPasswordSecretKmsKeyId; }
582 inline bool MasterPasswordSecretKmsKeyIdHasBeenSet() const { return m_masterPasswordSecretKmsKeyIdHasBeenSet; }
583 inline void SetMasterPasswordSecretKmsKeyId(const Aws::String& value) { m_masterPasswordSecretKmsKeyIdHasBeenSet = true; m_masterPasswordSecretKmsKeyId = value; }
584 inline void SetMasterPasswordSecretKmsKeyId(Aws::String&& value) { m_masterPasswordSecretKmsKeyIdHasBeenSet = true; m_masterPasswordSecretKmsKeyId = std::move(value); }
585 inline void SetMasterPasswordSecretKmsKeyId(const char* value) { m_masterPasswordSecretKmsKeyIdHasBeenSet = true; m_masterPasswordSecretKmsKeyId.assign(value); }
590
592
596 inline const Aws::String& GetIpAddressType() const{ return m_ipAddressType; }
597 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
598 inline void SetIpAddressType(const Aws::String& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; }
599 inline void SetIpAddressType(Aws::String&& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = std::move(value); }
600 inline void SetIpAddressType(const char* value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType.assign(value); }
602 inline RestoreFromClusterSnapshotRequest& WithIpAddressType(Aws::String&& value) { SetIpAddressType(std::move(value)); return *this;}
603 inline RestoreFromClusterSnapshotRequest& WithIpAddressType(const char* value) { SetIpAddressType(value); return *this;}
605
607
611 inline bool GetMultiAZ() const{ return m_multiAZ; }
612 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
613 inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; }
614 inline RestoreFromClusterSnapshotRequest& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;}
616 private:
617
618 Aws::String m_clusterIdentifier;
619 bool m_clusterIdentifierHasBeenSet = false;
620
621 Aws::String m_snapshotIdentifier;
622 bool m_snapshotIdentifierHasBeenSet = false;
623
624 Aws::String m_snapshotArn;
625 bool m_snapshotArnHasBeenSet = false;
626
627 Aws::String m_snapshotClusterIdentifier;
628 bool m_snapshotClusterIdentifierHasBeenSet = false;
629
630 int m_port;
631 bool m_portHasBeenSet = false;
632
633 Aws::String m_availabilityZone;
634 bool m_availabilityZoneHasBeenSet = false;
635
636 bool m_allowVersionUpgrade;
637 bool m_allowVersionUpgradeHasBeenSet = false;
638
639 Aws::String m_clusterSubnetGroupName;
640 bool m_clusterSubnetGroupNameHasBeenSet = false;
641
642 bool m_publiclyAccessible;
643 bool m_publiclyAccessibleHasBeenSet = false;
644
645 Aws::String m_ownerAccount;
646 bool m_ownerAccountHasBeenSet = false;
647
648 Aws::String m_hsmClientCertificateIdentifier;
649 bool m_hsmClientCertificateIdentifierHasBeenSet = false;
650
651 Aws::String m_hsmConfigurationIdentifier;
652 bool m_hsmConfigurationIdentifierHasBeenSet = false;
653
654 Aws::String m_elasticIp;
655 bool m_elasticIpHasBeenSet = false;
656
657 Aws::String m_clusterParameterGroupName;
658 bool m_clusterParameterGroupNameHasBeenSet = false;
659
660 Aws::Vector<Aws::String> m_clusterSecurityGroups;
661 bool m_clusterSecurityGroupsHasBeenSet = false;
662
663 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
664 bool m_vpcSecurityGroupIdsHasBeenSet = false;
665
666 Aws::String m_preferredMaintenanceWindow;
667 bool m_preferredMaintenanceWindowHasBeenSet = false;
668
669 int m_automatedSnapshotRetentionPeriod;
670 bool m_automatedSnapshotRetentionPeriodHasBeenSet = false;
671
672 int m_manualSnapshotRetentionPeriod;
673 bool m_manualSnapshotRetentionPeriodHasBeenSet = false;
674
675 Aws::String m_kmsKeyId;
676 bool m_kmsKeyIdHasBeenSet = false;
677
678 Aws::String m_nodeType;
679 bool m_nodeTypeHasBeenSet = false;
680
681 bool m_enhancedVpcRouting;
682 bool m_enhancedVpcRoutingHasBeenSet = false;
683
684 Aws::String m_additionalInfo;
685 bool m_additionalInfoHasBeenSet = false;
686
687 Aws::Vector<Aws::String> m_iamRoles;
688 bool m_iamRolesHasBeenSet = false;
689
690 Aws::String m_maintenanceTrackName;
691 bool m_maintenanceTrackNameHasBeenSet = false;
692
693 Aws::String m_snapshotScheduleIdentifier;
694 bool m_snapshotScheduleIdentifierHasBeenSet = false;
695
696 int m_numberOfNodes;
697 bool m_numberOfNodesHasBeenSet = false;
698
699 bool m_availabilityZoneRelocation;
700 bool m_availabilityZoneRelocationHasBeenSet = false;
701
702 AquaConfigurationStatus m_aquaConfigurationStatus;
703 bool m_aquaConfigurationStatusHasBeenSet = false;
704
705 Aws::String m_defaultIamRoleArn;
706 bool m_defaultIamRoleArnHasBeenSet = false;
707
708 Aws::String m_reservedNodeId;
709 bool m_reservedNodeIdHasBeenSet = false;
710
711 Aws::String m_targetReservedNodeOfferingId;
712 bool m_targetReservedNodeOfferingIdHasBeenSet = false;
713
714 bool m_encrypted;
715 bool m_encryptedHasBeenSet = false;
716
717 bool m_manageMasterPassword;
718 bool m_manageMasterPasswordHasBeenSet = false;
719
720 Aws::String m_masterPasswordSecretKmsKeyId;
721 bool m_masterPasswordSecretKmsKeyIdHasBeenSet = false;
722
723 Aws::String m_ipAddressType;
724 bool m_ipAddressTypeHasBeenSet = false;
725
726 bool m_multiAZ;
727 bool m_multiAZHasBeenSet = false;
728 };
729
730} // namespace Model
731} // namespace Redshift
732} // namespace Aws
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 & WithIpAddressType(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 & WithMasterPasswordSecretKmsKeyId(const char *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 & WithMasterPasswordSecretKmsKeyId(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithClusterSecurityGroups(Aws::Vector< Aws::String > &&value)
RestoreFromClusterSnapshotRequest & WithMasterPasswordSecretKmsKeyId(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 & WithIpAddressType(const Aws::String &value)
RestoreFromClusterSnapshotRequest & AddIamRoles(const char *value)
RestoreFromClusterSnapshotRequest & WithMaintenanceTrackName(const char *value)
RestoreFromClusterSnapshotRequest & WithIpAddressType(const char *value)
RestoreFromClusterSnapshotRequest & WithOwnerAccount(const char *value)
RestoreFromClusterSnapshotRequest & WithHsmClientCertificateIdentifier(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotScheduleIdentifier(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithEnhancedVpcRouting(bool 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 & WithManageMasterPassword(bool 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