/** * 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 DAX { namespace Model { /** */ class UpdateParameterGroupRequest : public DAXRequest { public: AWS_DAX_API UpdateParameterGroupRequest(); // 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 "UpdateParameterGroup"; } AWS_DAX_API Aws::String SerializePayload() const override; AWS_DAX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the parameter group.

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

The name of the parameter group.

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

The name of the parameter group.

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

The name of the parameter group.

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

The name of the parameter group.

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

The name of the parameter group.

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

The name of the parameter group.

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

The name of the parameter group.

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

An array of name-value pairs for the parameters in the group. Each element in * the array represents a single parameter.

* record-ttl-millis and query-ttl-millis are the only * supported parameter names. For more details, see Configuring * TTL Settings.

*/ inline const Aws::Vector& GetParameterNameValues() const{ return m_parameterNameValues; } /** *

An array of name-value pairs for the parameters in the group. Each element in * the array represents a single parameter.

* record-ttl-millis and query-ttl-millis are the only * supported parameter names. For more details, see Configuring * TTL Settings.

*/ inline bool ParameterNameValuesHasBeenSet() const { return m_parameterNameValuesHasBeenSet; } /** *

An array of name-value pairs for the parameters in the group. Each element in * the array represents a single parameter.

* record-ttl-millis and query-ttl-millis are the only * supported parameter names. For more details, see Configuring * TTL Settings.

*/ inline void SetParameterNameValues(const Aws::Vector& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues = value; } /** *

An array of name-value pairs for the parameters in the group. Each element in * the array represents a single parameter.

* record-ttl-millis and query-ttl-millis are the only * supported parameter names. For more details, see Configuring * TTL Settings.

*/ inline void SetParameterNameValues(Aws::Vector&& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues = std::move(value); } /** *

An array of name-value pairs for the parameters in the group. Each element in * the array represents a single parameter.

* record-ttl-millis and query-ttl-millis are the only * supported parameter names. For more details, see Configuring * TTL Settings.

*/ inline UpdateParameterGroupRequest& WithParameterNameValues(const Aws::Vector& value) { SetParameterNameValues(value); return *this;} /** *

An array of name-value pairs for the parameters in the group. Each element in * the array represents a single parameter.

* record-ttl-millis and query-ttl-millis are the only * supported parameter names. For more details, see Configuring * TTL Settings.

*/ inline UpdateParameterGroupRequest& WithParameterNameValues(Aws::Vector&& value) { SetParameterNameValues(std::move(value)); return *this;} /** *

An array of name-value pairs for the parameters in the group. Each element in * the array represents a single parameter.

* record-ttl-millis and query-ttl-millis are the only * supported parameter names. For more details, see Configuring * TTL Settings.

*/ inline UpdateParameterGroupRequest& AddParameterNameValues(const ParameterNameValue& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues.push_back(value); return *this; } /** *

An array of name-value pairs for the parameters in the group. Each element in * the array represents a single parameter.

* record-ttl-millis and query-ttl-millis are the only * supported parameter names. For more details, see Configuring * TTL Settings.

*/ inline UpdateParameterGroupRequest& AddParameterNameValues(ParameterNameValue&& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues.push_back(std::move(value)); return *this; } private: Aws::String m_parameterGroupName; bool m_parameterGroupNameHasBeenSet = false; Aws::Vector m_parameterNameValues; bool m_parameterNameValuesHasBeenSet = false; }; } // namespace Model } // namespace DAX } // namespace Aws