/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace Redshift { namespace Model { /** *

Describes cluster attributes that are in a pending state. A change to one or * more the attributes was requested and is in progress or will be * applied.

See Also:

AWS * API Reference

*/ class PendingModifiedValues { public: AWS_REDSHIFT_API PendingModifiedValues(); AWS_REDSHIFT_API PendingModifiedValues(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_REDSHIFT_API PendingModifiedValues& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The pending or in-progress change of the admin user password for the * cluster.

*/ inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; } /** *

The pending or in-progress change of the admin user password for the * cluster.

*/ inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; } /** *

The pending or in-progress change of the admin user password for the * cluster.

*/ inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; } /** *

The pending or in-progress change of the admin user password for the * cluster.

*/ inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); } /** *

The pending or in-progress change of the admin user password for the * cluster.

*/ inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); } /** *

The pending or in-progress change of the admin user password for the * cluster.

*/ inline PendingModifiedValues& WithMasterUserPassword(const Aws::String& value) { SetMasterUserPassword(value); return *this;} /** *

The pending or in-progress change of the admin user password for the * cluster.

*/ inline PendingModifiedValues& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;} /** *

The pending or in-progress change of the admin user password for the * cluster.

*/ inline PendingModifiedValues& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;} /** *

The pending or in-progress change of the cluster's node type.

*/ inline const Aws::String& GetNodeType() const{ return m_nodeType; } /** *

The pending or in-progress change of the cluster's node type.

*/ inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; } /** *

The pending or in-progress change of the cluster's node type.

*/ inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; } /** *

The pending or in-progress change of the cluster's node type.

*/ inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); } /** *

The pending or in-progress change of the cluster's node type.

*/ inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); } /** *

The pending or in-progress change of the cluster's node type.

*/ inline PendingModifiedValues& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;} /** *

The pending or in-progress change of the cluster's node type.

*/ inline PendingModifiedValues& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;} /** *

The pending or in-progress change of the cluster's node type.

*/ inline PendingModifiedValues& WithNodeType(const char* value) { SetNodeType(value); return *this;} /** *

The pending or in-progress change of the number of nodes in the cluster.

*/ inline int GetNumberOfNodes() const{ return m_numberOfNodes; } /** *

The pending or in-progress change of the number of nodes in the cluster.

*/ inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; } /** *

The pending or in-progress change of the number of nodes in the cluster.

*/ inline void SetNumberOfNodes(int value) { m_numberOfNodesHasBeenSet = true; m_numberOfNodes = value; } /** *

The pending or in-progress change of the number of nodes in the cluster.

*/ inline PendingModifiedValues& WithNumberOfNodes(int value) { SetNumberOfNodes(value); return *this;} /** *

The pending or in-progress change of the cluster type.

*/ inline const Aws::String& GetClusterType() const{ return m_clusterType; } /** *

The pending or in-progress change of the cluster type.

*/ inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; } /** *

The pending or in-progress change of the cluster type.

*/ inline void SetClusterType(const Aws::String& value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; } /** *

The pending or in-progress change of the cluster type.

*/ inline void SetClusterType(Aws::String&& value) { m_clusterTypeHasBeenSet = true; m_clusterType = std::move(value); } /** *

The pending or in-progress change of the cluster type.

*/ inline void SetClusterType(const char* value) { m_clusterTypeHasBeenSet = true; m_clusterType.assign(value); } /** *

The pending or in-progress change of the cluster type.

*/ inline PendingModifiedValues& WithClusterType(const Aws::String& value) { SetClusterType(value); return *this;} /** *

The pending or in-progress change of the cluster type.

*/ inline PendingModifiedValues& WithClusterType(Aws::String&& value) { SetClusterType(std::move(value)); return *this;} /** *

The pending or in-progress change of the cluster type.

*/ inline PendingModifiedValues& WithClusterType(const char* value) { SetClusterType(value); return *this;} /** *

The pending or in-progress change of the service version.

*/ inline const Aws::String& GetClusterVersion() const{ return m_clusterVersion; } /** *

The pending or in-progress change of the service version.

*/ inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; } /** *

The pending or in-progress change of the service version.

*/ inline void SetClusterVersion(const Aws::String& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; } /** *

The pending or in-progress change of the service version.

*/ inline void SetClusterVersion(Aws::String&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::move(value); } /** *

The pending or in-progress change of the service version.

*/ inline void SetClusterVersion(const char* value) { m_clusterVersionHasBeenSet = true; m_clusterVersion.assign(value); } /** *

The pending or in-progress change of the service version.

*/ inline PendingModifiedValues& WithClusterVersion(const Aws::String& value) { SetClusterVersion(value); return *this;} /** *

The pending or in-progress change of the service version.

*/ inline PendingModifiedValues& WithClusterVersion(Aws::String&& value) { SetClusterVersion(std::move(value)); return *this;} /** *

The pending or in-progress change of the service version.

*/ inline PendingModifiedValues& WithClusterVersion(const char* value) { SetClusterVersion(value); return *this;} /** *

The pending or in-progress change of the automated snapshot retention * period.

*/ inline int GetAutomatedSnapshotRetentionPeriod() const{ return m_automatedSnapshotRetentionPeriod; } /** *

The pending or in-progress change of the automated snapshot retention * period.

*/ inline bool AutomatedSnapshotRetentionPeriodHasBeenSet() const { return m_automatedSnapshotRetentionPeriodHasBeenSet; } /** *

The pending or in-progress change of the automated snapshot retention * period.

*/ inline void SetAutomatedSnapshotRetentionPeriod(int value) { m_automatedSnapshotRetentionPeriodHasBeenSet = true; m_automatedSnapshotRetentionPeriod = value; } /** *

The pending or in-progress change of the automated snapshot retention * period.

*/ inline PendingModifiedValues& WithAutomatedSnapshotRetentionPeriod(int value) { SetAutomatedSnapshotRetentionPeriod(value); return *this;} /** *

The pending or in-progress change of the new identifier for the cluster.

*/ inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; } /** *

The pending or in-progress change of the new identifier for the cluster.

*/ inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; } /** *

The pending or in-progress change of the new identifier for the cluster.

*/ inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; } /** *

The pending or in-progress change of the new identifier for the cluster.

*/ inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); } /** *

The pending or in-progress change of the new identifier for the cluster.

*/ inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); } /** *

The pending or in-progress change of the new identifier for the cluster.

*/ inline PendingModifiedValues& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;} /** *

The pending or in-progress change of the new identifier for the cluster.

*/ inline PendingModifiedValues& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;} /** *

The pending or in-progress change of the new identifier for the cluster.

*/ inline PendingModifiedValues& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;} /** *

The pending or in-progress change of the ability to connect to the cluster * from the public network.

*/ inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; } /** *

The pending or in-progress change of the ability to connect to the cluster * from the public network.

*/ inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; } /** *

The pending or in-progress change of the ability to connect to the cluster * from the public network.

*/ inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; } /** *

The pending or in-progress change of the ability to connect to the cluster * from the public network.

*/ inline PendingModifiedValues& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;} /** *

An option that specifies whether to create the cluster with enhanced VPC * routing enabled. To create a cluster that uses enhanced VPC routing, the cluster * must be in a VPC. For more information, see Enhanced * VPC Routing in the Amazon Redshift Cluster Management Guide.

If this * option is true, enhanced VPC routing is enabled.

Default: * false

*/ inline bool GetEnhancedVpcRouting() const{ return m_enhancedVpcRouting; } /** *

An option that specifies whether to create the cluster with enhanced VPC * routing enabled. To create a cluster that uses enhanced VPC routing, the cluster * must be in a VPC. For more information, see Enhanced * VPC Routing in the Amazon Redshift Cluster Management Guide.

If this * option is true, enhanced VPC routing is enabled.

Default: * false

*/ inline bool EnhancedVpcRoutingHasBeenSet() const { return m_enhancedVpcRoutingHasBeenSet; } /** *

An option that specifies whether to create the cluster with enhanced VPC * routing enabled. To create a cluster that uses enhanced VPC routing, the cluster * must be in a VPC. For more information, see Enhanced * VPC Routing in the Amazon Redshift Cluster Management Guide.

If this * option is true, enhanced VPC routing is enabled.

Default: * false

*/ inline void SetEnhancedVpcRouting(bool value) { m_enhancedVpcRoutingHasBeenSet = true; m_enhancedVpcRouting = value; } /** *

An option that specifies whether to create the cluster with enhanced VPC * routing enabled. To create a cluster that uses enhanced VPC routing, the cluster * must be in a VPC. For more information, see Enhanced * VPC Routing in the Amazon Redshift Cluster Management Guide.

If this * option is true, enhanced VPC routing is enabled.

Default: * false

*/ inline PendingModifiedValues& WithEnhancedVpcRouting(bool value) { SetEnhancedVpcRouting(value); return *this;} /** *

The name of the maintenance track that the cluster will change to during the * next maintenance window.

*/ inline const Aws::String& GetMaintenanceTrackName() const{ return m_maintenanceTrackName; } /** *

The name of the maintenance track that the cluster will change to during the * next maintenance window.

*/ inline bool MaintenanceTrackNameHasBeenSet() const { return m_maintenanceTrackNameHasBeenSet; } /** *

The name of the maintenance track that the cluster will change to during the * next maintenance window.

*/ inline void SetMaintenanceTrackName(const Aws::String& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = value; } /** *

The name of the maintenance track that the cluster will change to during the * next maintenance window.

*/ inline void SetMaintenanceTrackName(Aws::String&& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = std::move(value); } /** *

The name of the maintenance track that the cluster will change to during the * next maintenance window.

*/ inline void SetMaintenanceTrackName(const char* value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName.assign(value); } /** *

The name of the maintenance track that the cluster will change to during the * next maintenance window.

*/ inline PendingModifiedValues& WithMaintenanceTrackName(const Aws::String& value) { SetMaintenanceTrackName(value); return *this;} /** *

The name of the maintenance track that the cluster will change to during the * next maintenance window.

*/ inline PendingModifiedValues& WithMaintenanceTrackName(Aws::String&& value) { SetMaintenanceTrackName(std::move(value)); return *this;} /** *

The name of the maintenance track that the cluster will change to during the * next maintenance window.

*/ inline PendingModifiedValues& WithMaintenanceTrackName(const char* value) { SetMaintenanceTrackName(value); return *this;} /** *

The encryption type for a cluster. Possible values are: KMS and None.

*/ inline const Aws::String& GetEncryptionType() const{ return m_encryptionType; } /** *

The encryption type for a cluster. Possible values are: KMS and None.

*/ inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; } /** *

The encryption type for a cluster. Possible values are: KMS and None.

*/ inline void SetEncryptionType(const Aws::String& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; } /** *

The encryption type for a cluster. Possible values are: KMS and None.

*/ inline void SetEncryptionType(Aws::String&& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = std::move(value); } /** *

The encryption type for a cluster. Possible values are: KMS and None.

*/ inline void SetEncryptionType(const char* value) { m_encryptionTypeHasBeenSet = true; m_encryptionType.assign(value); } /** *

The encryption type for a cluster. Possible values are: KMS and None.

*/ inline PendingModifiedValues& WithEncryptionType(const Aws::String& value) { SetEncryptionType(value); return *this;} /** *

The encryption type for a cluster. Possible values are: KMS and None.

*/ inline PendingModifiedValues& WithEncryptionType(Aws::String&& value) { SetEncryptionType(std::move(value)); return *this;} /** *

The encryption type for a cluster. Possible values are: KMS and None.

*/ inline PendingModifiedValues& WithEncryptionType(const char* value) { SetEncryptionType(value); return *this;} private: Aws::String m_masterUserPassword; bool m_masterUserPasswordHasBeenSet = false; Aws::String m_nodeType; bool m_nodeTypeHasBeenSet = false; int m_numberOfNodes; bool m_numberOfNodesHasBeenSet = false; Aws::String m_clusterType; bool m_clusterTypeHasBeenSet = false; Aws::String m_clusterVersion; bool m_clusterVersionHasBeenSet = false; int m_automatedSnapshotRetentionPeriod; bool m_automatedSnapshotRetentionPeriodHasBeenSet = false; Aws::String m_clusterIdentifier; bool m_clusterIdentifierHasBeenSet = false; bool m_publiclyAccessible; bool m_publiclyAccessibleHasBeenSet = false; bool m_enhancedVpcRouting; bool m_enhancedVpcRoutingHasBeenSet = false; Aws::String m_maintenanceTrackName; bool m_maintenanceTrackNameHasBeenSet = false; Aws::String m_encryptionType; bool m_encryptionTypeHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws