AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
43 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
44 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
45 inline UpdateKxUserRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
46 inline UpdateKxUserRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
47 inline UpdateKxUserRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
49
51
54 inline const Aws::String& GetUserName() const{ return m_userName; }
55 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
56 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
57 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
58 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
59 inline UpdateKxUserRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
60 inline UpdateKxUserRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
61 inline UpdateKxUserRequest& WithUserName(const char* value) { SetUserName(value); return *this;}
63
65
68 inline const Aws::String& GetIamRole() const{ return m_iamRole; }
69 inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; }
70 inline void SetIamRole(const Aws::String& value) { m_iamRoleHasBeenSet = true; m_iamRole = value; }
71 inline void SetIamRole(Aws::String&& value) { m_iamRoleHasBeenSet = true; m_iamRole = std::move(value); }
72 inline void SetIamRole(const char* value) { m_iamRoleHasBeenSet = true; m_iamRole.assign(value); }
73 inline UpdateKxUserRequest& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;}
74 inline UpdateKxUserRequest& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;}
75 inline UpdateKxUserRequest& WithIamRole(const char* value) { SetIamRole(value); return *this;}
77
79
82 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
83 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
84 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
85 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
86 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
87 inline UpdateKxUserRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
88 inline UpdateKxUserRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
89 inline UpdateKxUserRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
91 private:
92
93 Aws::String m_environmentId;
94 bool m_environmentIdHasBeenSet = false;
95
96 Aws::String m_userName;
97 bool m_userNameHasBeenSet = false;
98
99 Aws::String m_iamRole;
100 bool m_iamRoleHasBeenSet = false;
101
102 Aws::String m_clientToken;
103 bool m_clientTokenHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace finspace
108} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetEnvironmentId(const Aws::String &value)
UpdateKxUserRequest & WithEnvironmentId(const Aws::String &value)
UpdateKxUserRequest & WithClientToken(Aws::String &&value)
UpdateKxUserRequest & WithUserName(const Aws::String &value)
UpdateKxUserRequest & WithUserName(const char *value)
UpdateKxUserRequest & WithIamRole(const Aws::String &value)
UpdateKxUserRequest & WithClientToken(const Aws::String &value)
void SetIamRole(const Aws::String &value)
void SetUserName(const Aws::String &value)
UpdateKxUserRequest & WithEnvironmentId(const char *value)
UpdateKxUserRequest & WithIamRole(const char *value)
UpdateKxUserRequest & WithIamRole(Aws::String &&value)
UpdateKxUserRequest & WithEnvironmentId(Aws::String &&value)
AWS_FINSPACE_API Aws::String SerializePayload() const override
UpdateKxUserRequest & WithUserName(Aws::String &&value)
void SetClientToken(const Aws::String &value)
UpdateKxUserRequest & WithClientToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String