100 lines
4.0 KiB
C++
100 lines
4.0 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/elasticache/ElastiCache_EXPORTS.h>
|
|
#include <aws/elasticache/ElastiCacheRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace ElastiCache
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Represents the input of a <code>DeleteCacheParameterGroup</code>
|
|
* operation.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheParameterGroupMessage">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_ELASTICACHE_API DeleteCacheParameterGroupRequest : public ElastiCacheRequest
|
|
{
|
|
public:
|
|
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::String SerializePayload() const override;
|
|
|
|
protected:
|
|
void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
|
|
|
|
public:
|
|
|
|
/**
|
|
* <p>The name of the cache parameter group to delete.</p> <p>The specified
|
|
* cache security group must not be associated with any clusters.</p>
|
|
*/
|
|
inline const Aws::String& GetCacheParameterGroupName() const{ return m_cacheParameterGroupName; }
|
|
|
|
/**
|
|
* <p>The name of the cache parameter group to delete.</p> <p>The specified
|
|
* cache security group must not be associated with any clusters.</p>
|
|
*/
|
|
inline bool CacheParameterGroupNameHasBeenSet() const { return m_cacheParameterGroupNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the cache parameter group to delete.</p> <p>The specified
|
|
* cache security group must not be associated with any clusters.</p>
|
|
*/
|
|
inline void SetCacheParameterGroupName(const Aws::String& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = value; }
|
|
|
|
/**
|
|
* <p>The name of the cache parameter group to delete.</p> <p>The specified
|
|
* cache security group must not be associated with any clusters.</p>
|
|
*/
|
|
inline void SetCacheParameterGroupName(Aws::String&& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the cache parameter group to delete.</p> <p>The specified
|
|
* cache security group must not be associated with any clusters.</p>
|
|
*/
|
|
inline void SetCacheParameterGroupName(const char* value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the cache parameter group to delete.</p> <p>The specified
|
|
* cache security group must not be associated with any clusters.</p>
|
|
*/
|
|
inline DeleteCacheParameterGroupRequest& WithCacheParameterGroupName(const Aws::String& value) { SetCacheParameterGroupName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the cache parameter group to delete.</p> <p>The specified
|
|
* cache security group must not be associated with any clusters.</p>
|
|
*/
|
|
inline DeleteCacheParameterGroupRequest& WithCacheParameterGroupName(Aws::String&& value) { SetCacheParameterGroupName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the cache parameter group to delete.</p> <p>The specified
|
|
* cache security group must not be associated with any clusters.</p>
|
|
*/
|
|
inline DeleteCacheParameterGroupRequest& WithCacheParameterGroupName(const char* value) { SetCacheParameterGroupName(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_cacheParameterGroupName;
|
|
bool m_cacheParameterGroupNameHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace ElastiCache
|
|
} // namespace Aws
|