AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteClusterRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pcs/PCSRequest.h>
10#include <aws/pcs/PCS_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace PCS {
16namespace Model {
17
21 public:
22 AWS_PCS_API DeleteClusterRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DeleteCluster"; }
29
30 AWS_PCS_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
39 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
40 template <typename ClusterIdentifierT = Aws::String>
41 void SetClusterIdentifier(ClusterIdentifierT&& value) {
42 m_clusterIdentifierHasBeenSet = true;
43 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
44 }
45 template <typename ClusterIdentifierT = Aws::String>
46 DeleteClusterRequest& WithClusterIdentifier(ClusterIdentifierT&& value) {
47 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
48 return *this;
49 }
51
53
62 inline const Aws::String& GetClientToken() const { return m_clientToken; }
63 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
64 template <typename ClientTokenT = Aws::String>
65 void SetClientToken(ClientTokenT&& value) {
66 m_clientTokenHasBeenSet = true;
67 m_clientToken = std::forward<ClientTokenT>(value);
68 }
69 template <typename ClientTokenT = Aws::String>
70 DeleteClusterRequest& WithClientToken(ClientTokenT&& value) {
71 SetClientToken(std::forward<ClientTokenT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_clusterIdentifier;
77
79 bool m_clusterIdentifierHasBeenSet = false;
80 bool m_clientTokenHasBeenSet = true;
81};
82
83} // namespace Model
84} // namespace PCS
85} // namespace Aws
DeleteClusterRequest & WithClientToken(ClientTokenT &&value)
AWS_PCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetClusterIdentifier() const
const Aws::String & GetClientToken() const
void SetClientToken(ClientTokenT &&value)
DeleteClusterRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_PCS_API Aws::String SerializePayload() const override
AWS_PCS_API DeleteClusterRequest()=default
void SetClusterIdentifier(ClusterIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String