/** * 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 parameter group.

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

See Also:

AWS * API Reference

*/ class DBParameterGroup { public: AWS_NEPTUNE_API DBParameterGroup(); AWS_NEPTUNE_API DBParameterGroup(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_NEPTUNE_API DBParameterGroup& 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 parameter group.

*/ inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; } /** *

Provides the name of the DB parameter group.

*/ inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; } /** *

Provides the name of the DB parameter group.

*/ inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; } /** *

Provides the name of the DB parameter group.

*/ inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); } /** *

Provides the name of the DB parameter group.

*/ inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); } /** *

Provides the name of the DB parameter group.

*/ inline DBParameterGroup& WithDBParameterGroupName(const Aws::String& value) { SetDBParameterGroupName(value); return *this;} /** *

Provides the name of the DB parameter group.

*/ inline DBParameterGroup& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(std::move(value)); return *this;} /** *

Provides the name of the DB parameter group.

*/ inline DBParameterGroup& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;} /** *

Provides the name of the DB parameter group family that this DB 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 parameter * group is compatible with.

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

Provides the name of the DB parameter group family that this DB 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 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 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 parameter * group is compatible with.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline const Aws::String& GetDBParameterGroupArn() const{ return m_dBParameterGroupArn; } /** *

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

*/ inline bool DBParameterGroupArnHasBeenSet() const { return m_dBParameterGroupArnHasBeenSet; } /** *

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

*/ inline void SetDBParameterGroupArn(const Aws::String& value) { m_dBParameterGroupArnHasBeenSet = true; m_dBParameterGroupArn = value; } /** *

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

*/ inline void SetDBParameterGroupArn(Aws::String&& value) { m_dBParameterGroupArnHasBeenSet = true; m_dBParameterGroupArn = std::move(value); } /** *

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

*/ inline void SetDBParameterGroupArn(const char* value) { m_dBParameterGroupArnHasBeenSet = true; m_dBParameterGroupArn.assign(value); } /** *

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

*/ inline DBParameterGroup& WithDBParameterGroupArn(const Aws::String& value) { SetDBParameterGroupArn(value); return *this;} /** *

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

*/ inline DBParameterGroup& WithDBParameterGroupArn(Aws::String&& value) { SetDBParameterGroupArn(std::move(value)); return *this;} /** *

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

*/ inline DBParameterGroup& WithDBParameterGroupArn(const char* value) { SetDBParameterGroupArn(value); return *this;} private: Aws::String m_dBParameterGroupName; bool m_dBParameterGroupNameHasBeenSet = false; Aws::String m_dBParameterGroupFamily; bool m_dBParameterGroupFamilyHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_dBParameterGroupArn; bool m_dBParameterGroupArnHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws