/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the status of a parameter group.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 ClusterParameterStatus& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;} /** *The name of the parameter.
*/ inline ClusterParameterStatus& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;} /** *The name of the parameter.
*/ inline ClusterParameterStatus& WithParameterName(const char* value) { SetParameterName(value); return *this;} /** *The status of the parameter that indicates whether the parameter is in sync * with the database, waiting for a cluster reboot, or encountered an error when * being applied.
The following are possible statuses and descriptions.
* in-sync
: The parameter value is in sync with the
* database.
pending-reboot
: The parameter value
* will be applied after the cluster reboots.
* applying
: The parameter value is being applied to the database.
invalid-parameter
: Cannot apply the parameter value
* because it has an invalid value or syntax.
* apply-deferred
: The parameter contains static property changes. The
* changes are deferred until the cluster reboots.
* apply-error
: Cannot connect to the cluster. The parameter change
* will be applied after the cluster reboots.
* unknown-error
: Cannot apply the parameter change right now. The
* change will be applied after the cluster reboots.
The status of the parameter that indicates whether the parameter is in sync * with the database, waiting for a cluster reboot, or encountered an error when * being applied.
The following are possible statuses and descriptions.
* in-sync
: The parameter value is in sync with the
* database.
pending-reboot
: The parameter value
* will be applied after the cluster reboots.
* applying
: The parameter value is being applied to the database.
invalid-parameter
: Cannot apply the parameter value
* because it has an invalid value or syntax.
* apply-deferred
: The parameter contains static property changes. The
* changes are deferred until the cluster reboots.
* apply-error
: Cannot connect to the cluster. The parameter change
* will be applied after the cluster reboots.
* unknown-error
: Cannot apply the parameter change right now. The
* change will be applied after the cluster reboots.
The status of the parameter that indicates whether the parameter is in sync * with the database, waiting for a cluster reboot, or encountered an error when * being applied.
The following are possible statuses and descriptions.
* in-sync
: The parameter value is in sync with the
* database.
pending-reboot
: The parameter value
* will be applied after the cluster reboots.
* applying
: The parameter value is being applied to the database.
invalid-parameter
: Cannot apply the parameter value
* because it has an invalid value or syntax.
* apply-deferred
: The parameter contains static property changes. The
* changes are deferred until the cluster reboots.
* apply-error
: Cannot connect to the cluster. The parameter change
* will be applied after the cluster reboots.
* unknown-error
: Cannot apply the parameter change right now. The
* change will be applied after the cluster reboots.
The status of the parameter that indicates whether the parameter is in sync * with the database, waiting for a cluster reboot, or encountered an error when * being applied.
The following are possible statuses and descriptions.
* in-sync
: The parameter value is in sync with the
* database.
pending-reboot
: The parameter value
* will be applied after the cluster reboots.
* applying
: The parameter value is being applied to the database.
invalid-parameter
: Cannot apply the parameter value
* because it has an invalid value or syntax.
* apply-deferred
: The parameter contains static property changes. The
* changes are deferred until the cluster reboots.
* apply-error
: Cannot connect to the cluster. The parameter change
* will be applied after the cluster reboots.
* unknown-error
: Cannot apply the parameter change right now. The
* change will be applied after the cluster reboots.
The status of the parameter that indicates whether the parameter is in sync * with the database, waiting for a cluster reboot, or encountered an error when * being applied.
The following are possible statuses and descriptions.
* in-sync
: The parameter value is in sync with the
* database.
pending-reboot
: The parameter value
* will be applied after the cluster reboots.
* applying
: The parameter value is being applied to the database.
invalid-parameter
: Cannot apply the parameter value
* because it has an invalid value or syntax.
* apply-deferred
: The parameter contains static property changes. The
* changes are deferred until the cluster reboots.
* apply-error
: Cannot connect to the cluster. The parameter change
* will be applied after the cluster reboots.
* unknown-error
: Cannot apply the parameter change right now. The
* change will be applied after the cluster reboots.
The status of the parameter that indicates whether the parameter is in sync * with the database, waiting for a cluster reboot, or encountered an error when * being applied.
The following are possible statuses and descriptions.
* in-sync
: The parameter value is in sync with the
* database.
pending-reboot
: The parameter value
* will be applied after the cluster reboots.
* applying
: The parameter value is being applied to the database.
invalid-parameter
: Cannot apply the parameter value
* because it has an invalid value or syntax.
* apply-deferred
: The parameter contains static property changes. The
* changes are deferred until the cluster reboots.
* apply-error
: Cannot connect to the cluster. The parameter change
* will be applied after the cluster reboots.
* unknown-error
: Cannot apply the parameter change right now. The
* change will be applied after the cluster reboots.
The status of the parameter that indicates whether the parameter is in sync * with the database, waiting for a cluster reboot, or encountered an error when * being applied.
The following are possible statuses and descriptions.
* in-sync
: The parameter value is in sync with the
* database.
pending-reboot
: The parameter value
* will be applied after the cluster reboots.
* applying
: The parameter value is being applied to the database.
invalid-parameter
: Cannot apply the parameter value
* because it has an invalid value or syntax.
* apply-deferred
: The parameter contains static property changes. The
* changes are deferred until the cluster reboots.
* apply-error
: Cannot connect to the cluster. The parameter change
* will be applied after the cluster reboots.
* unknown-error
: Cannot apply the parameter change right now. The
* change will be applied after the cluster reboots.
The status of the parameter that indicates whether the parameter is in sync * with the database, waiting for a cluster reboot, or encountered an error when * being applied.
The following are possible statuses and descriptions.
* in-sync
: The parameter value is in sync with the
* database.
pending-reboot
: The parameter value
* will be applied after the cluster reboots.
* applying
: The parameter value is being applied to the database.
invalid-parameter
: Cannot apply the parameter value
* because it has an invalid value or syntax.
* apply-deferred
: The parameter contains static property changes. The
* changes are deferred until the cluster reboots.
* apply-error
: Cannot connect to the cluster. The parameter change
* will be applied after the cluster reboots.
* unknown-error
: Cannot apply the parameter change right now. The
* change will be applied after the cluster reboots.
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 ClusterParameterStatus& WithParameterApplyErrorDescription(const Aws::String& value) { SetParameterApplyErrorDescription(value); return *this;} /** *The error that prevented the parameter from being applied to the * database.
*/ inline ClusterParameterStatus& WithParameterApplyErrorDescription(Aws::String&& value) { SetParameterApplyErrorDescription(std::move(value)); return *this;} /** *The error that prevented the parameter from being applied to the * database.
*/ inline ClusterParameterStatus& 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 Redshift } // namespace Aws