/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a CreateCacheParameterGroup
* operation.See Also:
AWS
* API Reference
A user-specified name for the cache parameter group.
*/ inline const Aws::String& GetCacheParameterGroupName() const{ return m_cacheParameterGroupName; } /** *A user-specified name for the cache parameter group.
*/ inline bool CacheParameterGroupNameHasBeenSet() const { return m_cacheParameterGroupNameHasBeenSet; } /** *A user-specified name for the cache parameter group.
*/ inline void SetCacheParameterGroupName(const Aws::String& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = value; } /** *A user-specified name for the cache parameter group.
*/ inline void SetCacheParameterGroupName(Aws::String&& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = std::move(value); } /** *A user-specified name for the cache parameter group.
*/ inline void SetCacheParameterGroupName(const char* value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName.assign(value); } /** *A user-specified name for the cache parameter group.
*/ inline CreateCacheParameterGroupRequest& WithCacheParameterGroupName(const Aws::String& value) { SetCacheParameterGroupName(value); return *this;} /** *A user-specified name for the cache parameter group.
*/ inline CreateCacheParameterGroupRequest& WithCacheParameterGroupName(Aws::String&& value) { SetCacheParameterGroupName(std::move(value)); return *this;} /** *A user-specified name for the cache parameter group.
*/ inline CreateCacheParameterGroupRequest& WithCacheParameterGroupName(const char* value) { SetCacheParameterGroupName(value); return *this;} /** *The name of the cache parameter group family that the cache parameter group * can be used with.
Valid values are: memcached1.4
|
* memcached1.5
| memcached1.6
| redis2.6
|
* redis2.8
| redis3.2
| redis4.0
|
* redis5.0
| redis6.x
| redis7
The name of the cache parameter group family that the cache parameter group * can be used with.
Valid values are: memcached1.4
|
* memcached1.5
| memcached1.6
| redis2.6
|
* redis2.8
| redis3.2
| redis4.0
|
* redis5.0
| redis6.x
| redis7
The name of the cache parameter group family that the cache parameter group * can be used with.
Valid values are: memcached1.4
|
* memcached1.5
| memcached1.6
| redis2.6
|
* redis2.8
| redis3.2
| redis4.0
|
* redis5.0
| redis6.x
| redis7
The name of the cache parameter group family that the cache parameter group * can be used with.
Valid values are: memcached1.4
|
* memcached1.5
| memcached1.6
| redis2.6
|
* redis2.8
| redis3.2
| redis4.0
|
* redis5.0
| redis6.x
| redis7
The name of the cache parameter group family that the cache parameter group * can be used with.
Valid values are: memcached1.4
|
* memcached1.5
| memcached1.6
| redis2.6
|
* redis2.8
| redis3.2
| redis4.0
|
* redis5.0
| redis6.x
| redis7
The name of the cache parameter group family that the cache parameter group * can be used with.
Valid values are: memcached1.4
|
* memcached1.5
| memcached1.6
| redis2.6
|
* redis2.8
| redis3.2
| redis4.0
|
* redis5.0
| redis6.x
| redis7
The name of the cache parameter group family that the cache parameter group * can be used with.
Valid values are: memcached1.4
|
* memcached1.5
| memcached1.6
| redis2.6
|
* redis2.8
| redis3.2
| redis4.0
|
* redis5.0
| redis6.x
| redis7
The name of the cache parameter group family that the cache parameter group * can be used with.
Valid values are: memcached1.4
|
* memcached1.5
| memcached1.6
| redis2.6
|
* redis2.8
| redis3.2
| redis4.0
|
* redis5.0
| redis6.x
| redis7
A user-specified description for the cache parameter group.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A user-specified description for the cache parameter group.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A user-specified description for the cache parameter group.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A user-specified description for the cache parameter group.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A user-specified description for the cache parameter group.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A user-specified description for the cache parameter group.
*/ inline CreateCacheParameterGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A user-specified description for the cache parameter group.
*/ inline CreateCacheParameterGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A user-specified description for the cache parameter group.
*/ inline CreateCacheParameterGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *A list of tags to be added to this resource. A tag is a key-value pair. A tag * key must be accompanied by a tag value, although null is accepted.
*/ inline const Aws::VectorA list of tags to be added to this resource. A tag is a key-value pair. A tag * key must be accompanied by a tag value, although null is accepted.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *A list of tags to be added to this resource. A tag is a key-value pair. A tag * key must be accompanied by a tag value, although null is accepted.
*/ inline void SetTags(const Aws::VectorA list of tags to be added to this resource. A tag is a key-value pair. A tag * key must be accompanied by a tag value, although null is accepted.
*/ inline void SetTags(Aws::VectorA list of tags to be added to this resource. A tag is a key-value pair. A tag * key must be accompanied by a tag value, although null is accepted.
*/ inline CreateCacheParameterGroupRequest& WithTags(const Aws::VectorA list of tags to be added to this resource. A tag is a key-value pair. A tag * key must be accompanied by a tag value, although null is accepted.
*/ inline CreateCacheParameterGroupRequest& WithTags(Aws::VectorA list of tags to be added to this resource. A tag is a key-value pair. A tag * key must be accompanied by a tag value, although null is accepted.
*/ inline CreateCacheParameterGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *A list of tags to be added to this resource. A tag is a key-value pair. A tag * key must be accompanied by a tag value, although null is accepted.
*/ inline CreateCacheParameterGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_cacheParameterGroupName; bool m_cacheParameterGroupNameHasBeenSet = false; Aws::String m_cacheParameterGroupFamily; bool m_cacheParameterGroupFamilyHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector