86 lines
2.5 KiB
C++
86 lines
2.5 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/dax/DAX_EXPORTS.h>
|
|
#include <aws/dax/DAXRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace DAX
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_DAX_API DeleteClusterRequest : public DAXRequest
|
|
{
|
|
public:
|
|
DeleteClusterRequest();
|
|
|
|
// 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 "DeleteCluster"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>The name of the cluster to be deleted.</p>
|
|
*/
|
|
inline const Aws::String& GetClusterName() const{ return m_clusterName; }
|
|
|
|
/**
|
|
* <p>The name of the cluster to be deleted.</p>
|
|
*/
|
|
inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the cluster to be deleted.</p>
|
|
*/
|
|
inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
|
|
|
|
/**
|
|
* <p>The name of the cluster to be deleted.</p>
|
|
*/
|
|
inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the cluster to be deleted.</p>
|
|
*/
|
|
inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the cluster to be deleted.</p>
|
|
*/
|
|
inline DeleteClusterRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the cluster to be deleted.</p>
|
|
*/
|
|
inline DeleteClusterRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the cluster to be deleted.</p>
|
|
*/
|
|
inline DeleteClusterRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_clusterName;
|
|
bool m_clusterNameHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace DAX
|
|
} // namespace Aws
|