AWS SDK for C++

AWS SDK for C++ Version 1.11.688

Loading...
Searching...
No Matches
UpdateKxUserRequest.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 finspace {
16namespace Model {
17
21 public:
22 AWS_FINSPACE_API UpdateKxUserRequest() = 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 "UpdateKxUser"; }
29
30 AWS_FINSPACE_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
37 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
38 template <typename EnvironmentIdT = Aws::String>
39 void SetEnvironmentId(EnvironmentIdT&& value) {
40 m_environmentIdHasBeenSet = true;
41 m_environmentId = std::forward<EnvironmentIdT>(value);
42 }
43 template <typename EnvironmentIdT = Aws::String>
44 UpdateKxUserRequest& WithEnvironmentId(EnvironmentIdT&& value) {
45 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetUserName() const { return m_userName; }
55 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
56 template <typename UserNameT = Aws::String>
57 void SetUserName(UserNameT&& value) {
58 m_userNameHasBeenSet = true;
59 m_userName = std::forward<UserNameT>(value);
60 }
61 template <typename UserNameT = Aws::String>
62 UpdateKxUserRequest& WithUserName(UserNameT&& value) {
63 SetUserName(std::forward<UserNameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetIamRole() const { return m_iamRole; }
73 inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; }
74 template <typename IamRoleT = Aws::String>
75 void SetIamRole(IamRoleT&& value) {
76 m_iamRoleHasBeenSet = true;
77 m_iamRole = std::forward<IamRoleT>(value);
78 }
79 template <typename IamRoleT = Aws::String>
80 UpdateKxUserRequest& WithIamRole(IamRoleT&& value) {
81 SetIamRole(std::forward<IamRoleT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetClientToken() const { return m_clientToken; }
91 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
92 template <typename ClientTokenT = Aws::String>
93 void SetClientToken(ClientTokenT&& value) {
94 m_clientTokenHasBeenSet = true;
95 m_clientToken = std::forward<ClientTokenT>(value);
96 }
97 template <typename ClientTokenT = Aws::String>
98 UpdateKxUserRequest& WithClientToken(ClientTokenT&& value) {
99 SetClientToken(std::forward<ClientTokenT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_environmentId;
105 bool m_environmentIdHasBeenSet = false;
106
107 Aws::String m_userName;
108 bool m_userNameHasBeenSet = false;
109
110 Aws::String m_iamRole;
111 bool m_iamRoleHasBeenSet = false;
112
114 bool m_clientTokenHasBeenSet = true;
115};
116
117} // namespace Model
118} // namespace finspace
119} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
virtual const char * GetServiceRequestName() const override
UpdateKxUserRequest & WithClientToken(ClientTokenT &&value)
UpdateKxUserRequest & WithEnvironmentId(EnvironmentIdT &&value)
UpdateKxUserRequest & WithIamRole(IamRoleT &&value)
AWS_FINSPACE_API UpdateKxUserRequest()=default
void SetEnvironmentId(EnvironmentIdT &&value)
AWS_FINSPACE_API Aws::String SerializePayload() const override
UpdateKxUserRequest & WithUserName(UserNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String