/** * 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 Neptune { namespace Model { /** */ class CreateDBClusterParameterGroupRequest : public NeptuneRequest { public: AWS_NEPTUNE_API CreateDBClusterParameterGroupRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateDBClusterParameterGroup"; } AWS_NEPTUNE_API Aws::String SerializePayload() const override; protected: AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The name of the DB cluster parameter group.

Constraints:

  • *

    Must match the name of an existing DBClusterParameterGroup.

*

This value is stored as a lowercase string.

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

The name of the DB cluster parameter group.

Constraints:

  • *

    Must match the name of an existing DBClusterParameterGroup.

*

This value is stored as a lowercase string.

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

The name of the DB cluster parameter group.

Constraints:

  • *

    Must match the name of an existing DBClusterParameterGroup.

*

This value is stored as a lowercase string.

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

The name of the DB cluster parameter group.

Constraints:

  • *

    Must match the name of an existing DBClusterParameterGroup.

*

This value is stored as a lowercase string.

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

The name of the DB cluster parameter group.

Constraints:

  • *

    Must match the name of an existing DBClusterParameterGroup.

*

This value is stored as a lowercase string.

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

The name of the DB cluster parameter group.

Constraints:

  • *

    Must match the name of an existing DBClusterParameterGroup.

*

This value is stored as a lowercase string.

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

The name of the DB cluster parameter group.

Constraints:

  • *

    Must match the name of an existing DBClusterParameterGroup.

*

This value is stored as a lowercase string.

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

The name of the DB cluster parameter group.

Constraints:

  • *

    Must match the name of an existing DBClusterParameterGroup.

*

This value is stored as a lowercase string.

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

The DB cluster parameter group family name. A DB cluster parameter group can * be associated with one and only one DB cluster parameter group family, and can * be applied only to a DB cluster running a database engine and engine version * compatible with that DB cluster parameter group family.

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

The DB cluster parameter group family name. A DB cluster parameter group can * be associated with one and only one DB cluster parameter group family, and can * be applied only to a DB cluster running a database engine and engine version * compatible with that DB cluster parameter group family.

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

The DB cluster parameter group family name. A DB cluster parameter group can * be associated with one and only one DB cluster parameter group family, and can * be applied only to a DB cluster running a database engine and engine version * compatible with that DB cluster parameter group family.

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

The DB cluster parameter group family name. A DB cluster parameter group can * be associated with one and only one DB cluster parameter group family, and can * be applied only to a DB cluster running a database engine and engine version * compatible with that DB cluster parameter group family.

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

The DB cluster parameter group family name. A DB cluster parameter group can * be associated with one and only one DB cluster parameter group family, and can * be applied only to a DB cluster running a database engine and engine version * compatible with that DB cluster parameter group family.

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

The DB cluster parameter group family name. A DB cluster parameter group can * be associated with one and only one DB cluster parameter group family, and can * be applied only to a DB cluster running a database engine and engine version * compatible with that DB cluster parameter group family.

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

The DB cluster parameter group family name. A DB cluster parameter group can * be associated with one and only one DB cluster parameter group family, and can * be applied only to a DB cluster running a database engine and engine version * compatible with that DB cluster parameter group family.

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

The DB cluster parameter group family name. A DB cluster parameter group can * be associated with one and only one DB cluster parameter group family, and can * be applied only to a DB cluster running a database engine and engine version * compatible with that DB cluster parameter group family.

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

The description for the DB cluster parameter group.

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

The description for the DB cluster parameter group.

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

The description for the DB cluster parameter group.

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

The description for the DB cluster parameter group.

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

The description for the DB cluster parameter group.

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

The description for the DB cluster parameter group.

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

The description for the DB cluster parameter group.

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

The description for the DB cluster parameter group.

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

The tags to be assigned to the new DB cluster parameter group.

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

The tags to be assigned to the new DB cluster parameter group.

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

The tags to be assigned to the new DB cluster parameter group.

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

The tags to be assigned to the new DB cluster parameter group.

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

The tags to be assigned to the new DB cluster parameter group.

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

The tags to be assigned to the new DB cluster parameter group.

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

The tags to be assigned to the new DB cluster parameter group.

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

The tags to be assigned to the new DB cluster parameter group.

*/ inline CreateDBClusterParameterGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(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::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws