/** * 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 ModifyDBClusterParameterGroupRequest : public NeptuneRequest { public: AWS_NEPTUNE_API ModifyDBClusterParameterGroupRequest(); // 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 "ModifyDBClusterParameterGroup"; } 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 to modify.

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

The name of the DB cluster parameter group to modify.

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

The name of the DB cluster parameter group to modify.

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

The name of the DB cluster parameter group to modify.

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

The name of the DB cluster parameter group to modify.

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

The name of the DB cluster parameter group to modify.

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

The name of the DB cluster parameter group to modify.

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

The name of the DB cluster parameter group to modify.

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

A list of parameters in the DB cluster parameter group to modify.

*/ inline const Aws::Vector& GetParameters() const{ return m_parameters; } /** *

A list of parameters in the DB cluster parameter group to modify.

*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *

A list of parameters in the DB cluster parameter group to modify.

*/ inline void SetParameters(const Aws::Vector& value) { m_parametersHasBeenSet = true; m_parameters = value; } /** *

A list of parameters in the DB cluster parameter group to modify.

*/ inline void SetParameters(Aws::Vector&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } /** *

A list of parameters in the DB cluster parameter group to modify.

*/ inline ModifyDBClusterParameterGroupRequest& WithParameters(const Aws::Vector& value) { SetParameters(value); return *this;} /** *

A list of parameters in the DB cluster parameter group to modify.

*/ inline ModifyDBClusterParameterGroupRequest& WithParameters(Aws::Vector&& value) { SetParameters(std::move(value)); return *this;} /** *

A list of parameters in the DB cluster parameter group to modify.

*/ inline ModifyDBClusterParameterGroupRequest& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; } /** *

A list of parameters in the DB cluster parameter group to modify.

*/ inline ModifyDBClusterParameterGroupRequest& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; } private: Aws::String m_dBClusterParameterGroupName; bool m_dBClusterParameterGroupNameHasBeenSet = false; Aws::Vector m_parameters; bool m_parametersHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws