AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
DeleteKxClusterRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/FinspaceRequest.h>
10#include <aws/finspace/Finspace_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace finspace {
19namespace Model {
20
24 public:
25 AWS_FINSPACE_API DeleteKxClusterRequest() = 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 "DeleteKxCluster"; }
32
33 AWS_FINSPACE_API Aws::String SerializePayload() const override;
34
35 AWS_FINSPACE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
42 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
43 template <typename EnvironmentIdT = Aws::String>
44 void SetEnvironmentId(EnvironmentIdT&& value) {
45 m_environmentIdHasBeenSet = true;
46 m_environmentId = std::forward<EnvironmentIdT>(value);
47 }
48 template <typename EnvironmentIdT = Aws::String>
49 DeleteKxClusterRequest& WithEnvironmentId(EnvironmentIdT&& value) {
50 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetClusterName() const { return m_clusterName; }
60 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
61 template <typename ClusterNameT = Aws::String>
62 void SetClusterName(ClusterNameT&& value) {
63 m_clusterNameHasBeenSet = true;
64 m_clusterName = std::forward<ClusterNameT>(value);
65 }
66 template <typename ClusterNameT = Aws::String>
67 DeleteKxClusterRequest& WithClusterName(ClusterNameT&& value) {
68 SetClusterName(std::forward<ClusterNameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetClientToken() const { return m_clientToken; }
78 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
79 template <typename ClientTokenT = Aws::String>
80 void SetClientToken(ClientTokenT&& value) {
81 m_clientTokenHasBeenSet = true;
82 m_clientToken = std::forward<ClientTokenT>(value);
83 }
84 template <typename ClientTokenT = Aws::String>
85 DeleteKxClusterRequest& WithClientToken(ClientTokenT&& value) {
86 SetClientToken(std::forward<ClientTokenT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_environmentId;
92
93 Aws::String m_clusterName;
94
96 bool m_environmentIdHasBeenSet = false;
97 bool m_clusterNameHasBeenSet = false;
98 bool m_clientTokenHasBeenSet = true;
99};
100
101} // namespace Model
102} // namespace finspace
103} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
virtual const char * GetServiceRequestName() const override
DeleteKxClusterRequest & WithClusterName(ClusterNameT &&value)
AWS_FINSPACE_API DeleteKxClusterRequest()=default
DeleteKxClusterRequest & WithClientToken(ClientTokenT &&value)
AWS_FINSPACE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_FINSPACE_API Aws::String SerializePayload() const override
DeleteKxClusterRequest & WithEnvironmentId(EnvironmentIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String