/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of a CreateCacheParameterGroup
* operation.See Also:
AWS
* API Reference
The name of the cache parameter group.
*/ inline const Aws::String& GetCacheParameterGroupName() const{ return m_cacheParameterGroupName; } /** *The name of the cache parameter group.
*/ inline bool CacheParameterGroupNameHasBeenSet() const { return m_cacheParameterGroupNameHasBeenSet; } /** *The name of the cache parameter group.
*/ inline void SetCacheParameterGroupName(const Aws::String& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = value; } /** *The name of the cache parameter group.
*/ inline void SetCacheParameterGroupName(Aws::String&& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = std::move(value); } /** *The name of the cache parameter group.
*/ inline void SetCacheParameterGroupName(const char* value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName.assign(value); } /** *The name of the cache parameter group.
*/ inline CacheParameterGroup& WithCacheParameterGroupName(const Aws::String& value) { SetCacheParameterGroupName(value); return *this;} /** *The name of the cache parameter group.
*/ inline CacheParameterGroup& WithCacheParameterGroupName(Aws::String&& value) { SetCacheParameterGroupName(std::move(value)); return *this;} /** *The name of the cache parameter group.
*/ inline CacheParameterGroup& WithCacheParameterGroupName(const char* value) { SetCacheParameterGroupName(value); return *this;} /** *The name of the cache parameter group family that this cache parameter group * is compatible 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 this cache parameter group * is compatible 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 this cache parameter group * is compatible 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 this cache parameter group * is compatible 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 this cache parameter group * is compatible 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 this cache parameter group * is compatible 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 this cache parameter group * is compatible 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 this cache parameter group * is compatible with.
Valid values are: memcached1.4
|
* memcached1.5
| memcached1.6
| redis2.6
|
* redis2.8
| redis3.2
| redis4.0
|
* redis5.0
| redis6.x
| redis7
The description for this cache parameter group.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description for this cache parameter group.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description for this cache parameter group.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description for this cache parameter group.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description for this cache parameter group.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description for this cache parameter group.
*/ inline CacheParameterGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description for this cache parameter group.
*/ inline CacheParameterGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description for this cache parameter group.
*/ inline CacheParameterGroup& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Indicates whether the parameter group is associated with a Global * datastore
*/ inline bool GetIsGlobal() const{ return m_isGlobal; } /** *Indicates whether the parameter group is associated with a Global * datastore
*/ inline bool IsGlobalHasBeenSet() const { return m_isGlobalHasBeenSet; } /** *Indicates whether the parameter group is associated with a Global * datastore
*/ inline void SetIsGlobal(bool value) { m_isGlobalHasBeenSet = true; m_isGlobal = value; } /** *Indicates whether the parameter group is associated with a Global * datastore
*/ inline CacheParameterGroup& WithIsGlobal(bool value) { SetIsGlobal(value); return *this;} /** *The ARN (Amazon Resource Name) of the cache parameter group.
*/ inline const Aws::String& GetARN() const{ return m_aRN; } /** *The ARN (Amazon Resource Name) of the cache parameter group.
*/ inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; } /** *The ARN (Amazon Resource Name) of the cache parameter group.
*/ inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; } /** *The ARN (Amazon Resource Name) of the cache parameter group.
*/ inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); } /** *The ARN (Amazon Resource Name) of the cache parameter group.
*/ inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); } /** *The ARN (Amazon Resource Name) of the cache parameter group.
*/ inline CacheParameterGroup& WithARN(const Aws::String& value) { SetARN(value); return *this;} /** *The ARN (Amazon Resource Name) of the cache parameter group.
*/ inline CacheParameterGroup& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;} /** *The ARN (Amazon Resource Name) of the cache parameter group.
*/ inline CacheParameterGroup& WithARN(const char* value) { SetARN(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; bool m_isGlobal; bool m_isGlobalHasBeenSet = false; Aws::String m_aRN; bool m_aRNHasBeenSet = false; }; } // namespace Model } // namespace ElastiCache } // namespace Aws