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

Describes a parameter group.

See Also:

AWS * API Reference

*/ class ClusterParameterGroup { public: AWS_REDSHIFT_API ClusterParameterGroup(); AWS_REDSHIFT_API ClusterParameterGroup(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_REDSHIFT_API ClusterParameterGroup& 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 name of the cluster parameter group.

*/ inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; } /** *

The name of the cluster parameter group.

*/ inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; } /** *

The name of the cluster parameter group.

*/ inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; } /** *

The name of the cluster parameter group.

*/ inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::move(value); } /** *

The name of the cluster parameter group.

*/ inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); } /** *

The name of the cluster parameter group.

*/ inline ClusterParameterGroup& WithParameterGroupName(const Aws::String& value) { SetParameterGroupName(value); return *this;} /** *

The name of the cluster parameter group.

*/ inline ClusterParameterGroup& WithParameterGroupName(Aws::String&& value) { SetParameterGroupName(std::move(value)); return *this;} /** *

The name of the cluster parameter group.

*/ inline ClusterParameterGroup& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;} /** *

The name of the cluster parameter group family that this cluster parameter * group is compatible with.

*/ inline const Aws::String& GetParameterGroupFamily() const{ return m_parameterGroupFamily; } /** *

The name of the cluster parameter group family that this cluster parameter * group is compatible with.

*/ inline bool ParameterGroupFamilyHasBeenSet() const { return m_parameterGroupFamilyHasBeenSet; } /** *

The name of the cluster parameter group family that this cluster parameter * group is compatible with.

*/ inline void SetParameterGroupFamily(const Aws::String& value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily = value; } /** *

The name of the cluster parameter group family that this cluster parameter * group is compatible with.

*/ inline void SetParameterGroupFamily(Aws::String&& value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily = std::move(value); } /** *

The name of the cluster parameter group family that this cluster parameter * group is compatible with.

*/ inline void SetParameterGroupFamily(const char* value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily.assign(value); } /** *

The name of the cluster parameter group family that this cluster parameter * group is compatible with.

*/ inline ClusterParameterGroup& WithParameterGroupFamily(const Aws::String& value) { SetParameterGroupFamily(value); return *this;} /** *

The name of the cluster parameter group family that this cluster parameter * group is compatible with.

*/ inline ClusterParameterGroup& WithParameterGroupFamily(Aws::String&& value) { SetParameterGroupFamily(std::move(value)); return *this;} /** *

The name of the cluster parameter group family that this cluster parameter * group is compatible with.

*/ inline ClusterParameterGroup& WithParameterGroupFamily(const char* value) { SetParameterGroupFamily(value); return *this;} /** *

The description of the parameter group.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the parameter group.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the parameter group.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the parameter group.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the parameter group.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the parameter group.

*/ inline ClusterParameterGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the parameter group.

*/ inline ClusterParameterGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the parameter group.

*/ inline ClusterParameterGroup& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The list of tags for the cluster parameter group.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

The list of tags for the cluster parameter group.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The list of tags for the cluster parameter group.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The list of tags for the cluster parameter group.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The list of tags for the cluster parameter group.

*/ inline ClusterParameterGroup& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

The list of tags for the cluster parameter group.

*/ inline ClusterParameterGroup& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

The list of tags for the cluster parameter group.

*/ inline ClusterParameterGroup& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

The list of tags for the cluster parameter group.

*/ inline ClusterParameterGroup& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_parameterGroupName; bool m_parameterGroupNameHasBeenSet = false; Aws::String m_parameterGroupFamily; bool m_parameterGroupFamilyHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws