AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteComputeNodeGroupRequest.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 DeleteComputeNodeGroupRequest() = 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 "DeleteComputeNodeGroup"; }
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>
47 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetComputeNodeGroupIdentifier() const { return m_computeNodeGroupIdentifier; }
57 inline bool ComputeNodeGroupIdentifierHasBeenSet() const { return m_computeNodeGroupIdentifierHasBeenSet; }
58 template <typename ComputeNodeGroupIdentifierT = Aws::String>
59 void SetComputeNodeGroupIdentifier(ComputeNodeGroupIdentifierT&& value) {
60 m_computeNodeGroupIdentifierHasBeenSet = true;
61 m_computeNodeGroupIdentifier = std::forward<ComputeNodeGroupIdentifierT>(value);
62 }
63 template <typename ComputeNodeGroupIdentifierT = Aws::String>
64 DeleteComputeNodeGroupRequest& WithComputeNodeGroupIdentifier(ComputeNodeGroupIdentifierT&& value) {
65 SetComputeNodeGroupIdentifier(std::forward<ComputeNodeGroupIdentifierT>(value));
66 return *this;
67 }
69
71
80 inline const Aws::String& GetClientToken() const { return m_clientToken; }
81 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
82 template <typename ClientTokenT = Aws::String>
83 void SetClientToken(ClientTokenT&& value) {
84 m_clientTokenHasBeenSet = true;
85 m_clientToken = std::forward<ClientTokenT>(value);
86 }
87 template <typename ClientTokenT = Aws::String>
89 SetClientToken(std::forward<ClientTokenT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_clusterIdentifier;
95
96 Aws::String m_computeNodeGroupIdentifier;
97
99 bool m_clusterIdentifierHasBeenSet = false;
100 bool m_computeNodeGroupIdentifierHasBeenSet = false;
101 bool m_clientTokenHasBeenSet = true;
102};
103
104} // namespace Model
105} // namespace PCS
106} // namespace Aws
AWS_PCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
DeleteComputeNodeGroupRequest & WithComputeNodeGroupIdentifier(ComputeNodeGroupIdentifierT &&value)
void SetComputeNodeGroupIdentifier(ComputeNodeGroupIdentifierT &&value)
DeleteComputeNodeGroupRequest & WithClientToken(ClientTokenT &&value)
DeleteComputeNodeGroupRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_PCS_API Aws::String SerializePayload() 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