AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteComputeNodeGroupRequest.h
1
6#pragma once
7#include <aws/pcs/PCS_EXPORTS.h>
8#include <aws/pcs/PCSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace PCS
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PCS_API DeleteComputeNodeGroupRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteComputeNodeGroup"; }
32
33 AWS_PCS_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
43 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
44 template<typename ClusterIdentifierT = Aws::String>
45 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
46 template<typename ClusterIdentifierT = Aws::String>
47 DeleteComputeNodeGroupRequest& WithClusterIdentifier(ClusterIdentifierT&& value) { SetClusterIdentifier(std::forward<ClusterIdentifierT>(value)); return *this;}
49
51
54 inline const Aws::String& GetComputeNodeGroupIdentifier() const { return m_computeNodeGroupIdentifier; }
55 inline bool ComputeNodeGroupIdentifierHasBeenSet() const { return m_computeNodeGroupIdentifierHasBeenSet; }
56 template<typename ComputeNodeGroupIdentifierT = Aws::String>
57 void SetComputeNodeGroupIdentifier(ComputeNodeGroupIdentifierT&& value) { m_computeNodeGroupIdentifierHasBeenSet = true; m_computeNodeGroupIdentifier = std::forward<ComputeNodeGroupIdentifierT>(value); }
58 template<typename ComputeNodeGroupIdentifierT = Aws::String>
59 DeleteComputeNodeGroupRequest& WithComputeNodeGroupIdentifier(ComputeNodeGroupIdentifierT&& value) { SetComputeNodeGroupIdentifier(std::forward<ComputeNodeGroupIdentifierT>(value)); return *this;}
61
63
72 inline const Aws::String& GetClientToken() const { return m_clientToken; }
73 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
74 template<typename ClientTokenT = Aws::String>
75 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
76 template<typename ClientTokenT = Aws::String>
77 DeleteComputeNodeGroupRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
79 private:
80
81 Aws::String m_clusterIdentifier;
82 bool m_clusterIdentifierHasBeenSet = false;
83
84 Aws::String m_computeNodeGroupIdentifier;
85 bool m_computeNodeGroupIdentifierHasBeenSet = false;
86
88 bool m_clientTokenHasBeenSet = true;
89 };
90
91} // namespace Model
92} // namespace PCS
93} // 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