/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a ModifyCacheParameterGroup
* operation.See Also:
AWS
* API Reference
The name of the cache parameter group to modify.
*/ inline const Aws::String& GetCacheParameterGroupName() const{ return m_cacheParameterGroupName; } /** *The name of the cache parameter group to modify.
*/ inline bool CacheParameterGroupNameHasBeenSet() const { return m_cacheParameterGroupNameHasBeenSet; } /** *The name of the cache parameter group to modify.
*/ inline void SetCacheParameterGroupName(const Aws::String& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = value; } /** *The name of the cache parameter group to modify.
*/ inline void SetCacheParameterGroupName(Aws::String&& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = std::move(value); } /** *The name of the cache parameter group to modify.
*/ inline void SetCacheParameterGroupName(const char* value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName.assign(value); } /** *The name of the cache parameter group to modify.
*/ inline ModifyCacheParameterGroupRequest& WithCacheParameterGroupName(const Aws::String& value) { SetCacheParameterGroupName(value); return *this;} /** *The name of the cache parameter group to modify.
*/ inline ModifyCacheParameterGroupRequest& WithCacheParameterGroupName(Aws::String&& value) { SetCacheParameterGroupName(std::move(value)); return *this;} /** *The name of the cache parameter group to modify.
*/ inline ModifyCacheParameterGroupRequest& WithCacheParameterGroupName(const char* value) { SetCacheParameterGroupName(value); return *this;} /** *An array of parameter names and values for the parameter update. You must * supply at least one parameter name and value; subsequent arguments are optional. * A maximum of 20 parameters may be modified per request.
*/ inline const Aws::VectorAn array of parameter names and values for the parameter update. You must * supply at least one parameter name and value; subsequent arguments are optional. * A maximum of 20 parameters may be modified per request.
*/ inline bool ParameterNameValuesHasBeenSet() const { return m_parameterNameValuesHasBeenSet; } /** *An array of parameter names and values for the parameter update. You must * supply at least one parameter name and value; subsequent arguments are optional. * A maximum of 20 parameters may be modified per request.
*/ inline void SetParameterNameValues(const Aws::VectorAn array of parameter names and values for the parameter update. You must * supply at least one parameter name and value; subsequent arguments are optional. * A maximum of 20 parameters may be modified per request.
*/ inline void SetParameterNameValues(Aws::VectorAn array of parameter names and values for the parameter update. You must * supply at least one parameter name and value; subsequent arguments are optional. * A maximum of 20 parameters may be modified per request.
*/ inline ModifyCacheParameterGroupRequest& WithParameterNameValues(const Aws::VectorAn array of parameter names and values for the parameter update. You must * supply at least one parameter name and value; subsequent arguments are optional. * A maximum of 20 parameters may be modified per request.
*/ inline ModifyCacheParameterGroupRequest& WithParameterNameValues(Aws::VectorAn array of parameter names and values for the parameter update. You must * supply at least one parameter name and value; subsequent arguments are optional. * A maximum of 20 parameters may be modified per request.
*/ inline ModifyCacheParameterGroupRequest& AddParameterNameValues(const ParameterNameValue& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues.push_back(value); return *this; } /** *An array of parameter names and values for the parameter update. You must * supply at least one parameter name and value; subsequent arguments are optional. * A maximum of 20 parameters may be modified per request.
*/ inline ModifyCacheParameterGroupRequest& AddParameterNameValues(ParameterNameValue&& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues.push_back(std::move(value)); return *this; } private: Aws::String m_cacheParameterGroupName; bool m_cacheParameterGroupNameHasBeenSet = false; Aws::Vector