AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateKxUserRequest.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/finspace/FinspaceRequest.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 finspace
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_FINSPACE_API UpdateKxUserRequest() = 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 "UpdateKxUser"; }
32
33 AWS_FINSPACE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
41 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
42 template<typename EnvironmentIdT = Aws::String>
43 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
44 template<typename EnvironmentIdT = Aws::String>
45 UpdateKxUserRequest& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetUserName() const { return m_userName; }
53 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
54 template<typename UserNameT = Aws::String>
55 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet = true; m_userName = std::forward<UserNameT>(value); }
56 template<typename UserNameT = Aws::String>
57 UpdateKxUserRequest& WithUserName(UserNameT&& value) { SetUserName(std::forward<UserNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetIamRole() const { return m_iamRole; }
65 inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; }
66 template<typename IamRoleT = Aws::String>
67 void SetIamRole(IamRoleT&& value) { m_iamRoleHasBeenSet = true; m_iamRole = std::forward<IamRoleT>(value); }
68 template<typename IamRoleT = Aws::String>
69 UpdateKxUserRequest& WithIamRole(IamRoleT&& value) { SetIamRole(std::forward<IamRoleT>(value)); return *this;}
71
73
76 inline const Aws::String& GetClientToken() const { return m_clientToken; }
77 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
78 template<typename ClientTokenT = Aws::String>
79 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
80 template<typename ClientTokenT = Aws::String>
81 UpdateKxUserRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
83 private:
84
85 Aws::String m_environmentId;
86 bool m_environmentIdHasBeenSet = false;
87
88 Aws::String m_userName;
89 bool m_userNameHasBeenSet = false;
90
91 Aws::String m_iamRole;
92 bool m_iamRoleHasBeenSet = false;
93
95 bool m_clientTokenHasBeenSet = true;
96 };
97
98} // namespace Model
99} // namespace finspace
100} // 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