/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The status of a parameter in a cluster parameter group for an Amazon Redshift
* cluster.See Also:
AWS
* API Reference
The name of the parameter.
*/ inline const Aws::String& GetParameterName() const{ return m_parameterName; } /** *The name of the parameter.
*/ inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; } /** *The name of the parameter.
*/ inline void SetParameterName(const Aws::String& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; } /** *The name of the parameter.
*/ inline void SetParameterName(Aws::String&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::move(value); } /** *The name of the parameter.
*/ inline void SetParameterName(const char* value) { m_parameterNameHasBeenSet = true; m_parameterName.assign(value); } /** *The name of the parameter.
*/ inline AwsRedshiftClusterClusterParameterStatus& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;} /** *The name of the parameter.
*/ inline AwsRedshiftClusterClusterParameterStatus& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;} /** *The name of the parameter.
*/ inline AwsRedshiftClusterClusterParameterStatus& WithParameterName(const char* value) { SetParameterName(value); return *this;} /** *The status of the parameter. Indicates whether the parameter is in sync with * the database, waiting for a cluster reboot, or encountered an error when it was * applied.
Valid values: in-sync
| pending-reboot
* | applying
| invalid-parameter
|
* apply-deferred
| apply-error
|
* unknown-error
The status of the parameter. Indicates whether the parameter is in sync with * the database, waiting for a cluster reboot, or encountered an error when it was * applied.
Valid values: in-sync
| pending-reboot
* | applying
| invalid-parameter
|
* apply-deferred
| apply-error
|
* unknown-error
The status of the parameter. Indicates whether the parameter is in sync with * the database, waiting for a cluster reboot, or encountered an error when it was * applied.
Valid values: in-sync
| pending-reboot
* | applying
| invalid-parameter
|
* apply-deferred
| apply-error
|
* unknown-error
The status of the parameter. Indicates whether the parameter is in sync with * the database, waiting for a cluster reboot, or encountered an error when it was * applied.
Valid values: in-sync
| pending-reboot
* | applying
| invalid-parameter
|
* apply-deferred
| apply-error
|
* unknown-error
The status of the parameter. Indicates whether the parameter is in sync with * the database, waiting for a cluster reboot, or encountered an error when it was * applied.
Valid values: in-sync
| pending-reboot
* | applying
| invalid-parameter
|
* apply-deferred
| apply-error
|
* unknown-error
The status of the parameter. Indicates whether the parameter is in sync with * the database, waiting for a cluster reboot, or encountered an error when it was * applied.
Valid values: in-sync
| pending-reboot
* | applying
| invalid-parameter
|
* apply-deferred
| apply-error
|
* unknown-error
The status of the parameter. Indicates whether the parameter is in sync with * the database, waiting for a cluster reboot, or encountered an error when it was * applied.
Valid values: in-sync
| pending-reboot
* | applying
| invalid-parameter
|
* apply-deferred
| apply-error
|
* unknown-error
The status of the parameter. Indicates whether the parameter is in sync with * the database, waiting for a cluster reboot, or encountered an error when it was * applied.
Valid values: in-sync
| pending-reboot
* | applying
| invalid-parameter
|
* apply-deferred
| apply-error
|
* unknown-error
The error that prevented the parameter from being applied to the * database.
*/ inline const Aws::String& GetParameterApplyErrorDescription() const{ return m_parameterApplyErrorDescription; } /** *The error that prevented the parameter from being applied to the * database.
*/ inline bool ParameterApplyErrorDescriptionHasBeenSet() const { return m_parameterApplyErrorDescriptionHasBeenSet; } /** *The error that prevented the parameter from being applied to the * database.
*/ inline void SetParameterApplyErrorDescription(const Aws::String& value) { m_parameterApplyErrorDescriptionHasBeenSet = true; m_parameterApplyErrorDescription = value; } /** *The error that prevented the parameter from being applied to the * database.
*/ inline void SetParameterApplyErrorDescription(Aws::String&& value) { m_parameterApplyErrorDescriptionHasBeenSet = true; m_parameterApplyErrorDescription = std::move(value); } /** *The error that prevented the parameter from being applied to the * database.
*/ inline void SetParameterApplyErrorDescription(const char* value) { m_parameterApplyErrorDescriptionHasBeenSet = true; m_parameterApplyErrorDescription.assign(value); } /** *The error that prevented the parameter from being applied to the * database.
*/ inline AwsRedshiftClusterClusterParameterStatus& WithParameterApplyErrorDescription(const Aws::String& value) { SetParameterApplyErrorDescription(value); return *this;} /** *The error that prevented the parameter from being applied to the * database.
*/ inline AwsRedshiftClusterClusterParameterStatus& WithParameterApplyErrorDescription(Aws::String&& value) { SetParameterApplyErrorDescription(std::move(value)); return *this;} /** *The error that prevented the parameter from being applied to the * database.
*/ inline AwsRedshiftClusterClusterParameterStatus& WithParameterApplyErrorDescription(const char* value) { SetParameterApplyErrorDescription(value); return *this;} private: Aws::String m_parameterName; bool m_parameterNameHasBeenSet = false; Aws::String m_parameterApplyStatus; bool m_parameterApplyStatusHasBeenSet = false; Aws::String m_parameterApplyErrorDescription; bool m_parameterApplyErrorDescriptionHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws