AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DeleteKxUserRequest.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 DeleteKxUserRequest() = 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 "DeleteKxUser"; }
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& GetUserName() const { return m_userName; }
42 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
43 template <typename UserNameT = Aws::String>
44 void SetUserName(UserNameT&& value) {
45 m_userNameHasBeenSet = true;
46 m_userName = std::forward<UserNameT>(value);
47 }
48 template <typename UserNameT = Aws::String>
49 DeleteKxUserRequest& WithUserName(UserNameT&& value) {
50 SetUserName(std::forward<UserNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
60 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
61 template <typename EnvironmentIdT = Aws::String>
62 void SetEnvironmentId(EnvironmentIdT&& value) {
63 m_environmentIdHasBeenSet = true;
64 m_environmentId = std::forward<EnvironmentIdT>(value);
65 }
66 template <typename EnvironmentIdT = Aws::String>
67 DeleteKxUserRequest& WithEnvironmentId(EnvironmentIdT&& value) {
68 SetEnvironmentId(std::forward<EnvironmentIdT>(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 DeleteKxUserRequest& WithClientToken(ClientTokenT&& value) {
86 SetClientToken(std::forward<ClientTokenT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_userName;
92 bool m_userNameHasBeenSet = false;
93
94 Aws::String m_environmentId;
95 bool m_environmentIdHasBeenSet = false;
96
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
AWS_FINSPACE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteKxUserRequest & WithEnvironmentId(EnvironmentIdT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
AWS_FINSPACE_API DeleteKxUserRequest()=default
AWS_FINSPACE_API Aws::String SerializePayload() const override
DeleteKxUserRequest & WithClientToken(ClientTokenT &&value)
DeleteKxUserRequest & WithUserName(UserNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String