/** * 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 Neptune { namespace Model { /** *

Contains the details of an Amazon Neptune DB cluster parameter group.

*

This data type is used as a response element in the * DescribeDBClusterParameterGroups action.

See Also:

AWS * API Reference

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

Provides the name of the DB cluster parameter group.

*/ inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; } /** *

Provides the name of the DB cluster parameter group.

*/ inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; } /** *

Provides the name of the DB cluster parameter group.

*/ inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; } /** *

Provides the name of the DB cluster parameter group.

*/ inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = std::move(value); } /** *

Provides the name of the DB cluster parameter group.

*/ inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName.assign(value); } /** *

Provides the name of the DB cluster parameter group.

*/ inline DBClusterParameterGroup& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;} /** *

Provides the name of the DB cluster parameter group.

*/ inline DBClusterParameterGroup& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(std::move(value)); return *this;} /** *

Provides the name of the DB cluster parameter group.

*/ inline DBClusterParameterGroup& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(value); return *this;} /** *

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

*/ inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; } /** *

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

*/ inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; } /** *

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

*/ inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; } /** *

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

*/ inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::move(value); } /** *

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

*/ inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); } /** *

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

*/ inline DBClusterParameterGroup& WithDBParameterGroupFamily(const Aws::String& value) { SetDBParameterGroupFamily(value); return *this;} /** *

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

*/ inline DBClusterParameterGroup& WithDBParameterGroupFamily(Aws::String&& value) { SetDBParameterGroupFamily(std::move(value)); return *this;} /** *

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

*/ inline DBClusterParameterGroup& WithDBParameterGroupFamily(const char* value) { SetDBParameterGroupFamily(value); return *this;} /** *

Provides the customer-specified description for this DB cluster parameter * group.

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

Provides the customer-specified description for this DB cluster parameter * group.

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

Provides the customer-specified description for this DB cluster parameter * group.

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

Provides the customer-specified description for this DB cluster parameter * group.

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

Provides the customer-specified description for this DB cluster parameter * group.

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

Provides the customer-specified description for this DB cluster parameter * group.

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

Provides the customer-specified description for this DB cluster parameter * group.

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

Provides the customer-specified description for this DB cluster parameter * group.

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

The Amazon Resource Name (ARN) for the DB cluster parameter group.

*/ inline const Aws::String& GetDBClusterParameterGroupArn() const{ return m_dBClusterParameterGroupArn; } /** *

The Amazon Resource Name (ARN) for the DB cluster parameter group.

*/ inline bool DBClusterParameterGroupArnHasBeenSet() const { return m_dBClusterParameterGroupArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the DB cluster parameter group.

*/ inline void SetDBClusterParameterGroupArn(const Aws::String& value) { m_dBClusterParameterGroupArnHasBeenSet = true; m_dBClusterParameterGroupArn = value; } /** *

The Amazon Resource Name (ARN) for the DB cluster parameter group.

*/ inline void SetDBClusterParameterGroupArn(Aws::String&& value) { m_dBClusterParameterGroupArnHasBeenSet = true; m_dBClusterParameterGroupArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the DB cluster parameter group.

*/ inline void SetDBClusterParameterGroupArn(const char* value) { m_dBClusterParameterGroupArnHasBeenSet = true; m_dBClusterParameterGroupArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the DB cluster parameter group.

*/ inline DBClusterParameterGroup& WithDBClusterParameterGroupArn(const Aws::String& value) { SetDBClusterParameterGroupArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the DB cluster parameter group.

*/ inline DBClusterParameterGroup& WithDBClusterParameterGroupArn(Aws::String&& value) { SetDBClusterParameterGroupArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the DB cluster parameter group.

*/ inline DBClusterParameterGroup& WithDBClusterParameterGroupArn(const char* value) { SetDBClusterParameterGroupArn(value); return *this;} private: Aws::String m_dBClusterParameterGroupName; bool m_dBClusterParameterGroupNameHasBeenSet = false; Aws::String m_dBParameterGroupFamily; bool m_dBParameterGroupFamilyHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_dBClusterParameterGroupArn; bool m_dBClusterParameterGroupArnHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws