/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace ElastiCache { namespace Model { /** *

Represents the input of a DeleteCacheParameterGroup * operation.

See Also:

AWS * API Reference

*/ class DeleteCacheParameterGroupRequest : public ElastiCacheRequest { public: AWS_ELASTICACHE_API DeleteCacheParameterGroupRequest(); // 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 "DeleteCacheParameterGroup"; } AWS_ELASTICACHE_API Aws::String SerializePayload() const override; protected: AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The name of the cache parameter group to delete.

The specified * cache security group must not be associated with any clusters.

*/ inline const Aws::String& GetCacheParameterGroupName() const{ return m_cacheParameterGroupName; } /** *

The name of the cache parameter group to delete.

The specified * cache security group must not be associated with any clusters.

*/ inline bool CacheParameterGroupNameHasBeenSet() const { return m_cacheParameterGroupNameHasBeenSet; } /** *

The name of the cache parameter group to delete.

The specified * cache security group must not be associated with any clusters.

*/ inline void SetCacheParameterGroupName(const Aws::String& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = value; } /** *

The name of the cache parameter group to delete.

The specified * cache security group must not be associated with any clusters.

*/ inline void SetCacheParameterGroupName(Aws::String&& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = std::move(value); } /** *

The name of the cache parameter group to delete.

The specified * cache security group must not be associated with any clusters.

*/ inline void SetCacheParameterGroupName(const char* value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName.assign(value); } /** *

The name of the cache parameter group to delete.

The specified * cache security group must not be associated with any clusters.

*/ inline DeleteCacheParameterGroupRequest& WithCacheParameterGroupName(const Aws::String& value) { SetCacheParameterGroupName(value); return *this;} /** *

The name of the cache parameter group to delete.

The specified * cache security group must not be associated with any clusters.

*/ inline DeleteCacheParameterGroupRequest& WithCacheParameterGroupName(Aws::String&& value) { SetCacheParameterGroupName(std::move(value)); return *this;} /** *

The name of the cache parameter group to delete.

The specified * cache security group must not be associated with any clusters.

*/ inline DeleteCacheParameterGroupRequest& WithCacheParameterGroupName(const char* value) { SetCacheParameterGroupName(value); return *this;} private: Aws::String m_cacheParameterGroupName; bool m_cacheParameterGroupNameHasBeenSet = false; }; } // namespace Model } // namespace ElastiCache } // namespace Aws