AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateKxUserRequest.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 <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace finspace
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_FINSPACE_API CreateKxUserRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateKxUser"; }
33
34 AWS_FINSPACE_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
43 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
44 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
45 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
46 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
47 inline CreateKxUserRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
48 inline CreateKxUserRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
49 inline CreateKxUserRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
51
53
56 inline const Aws::String& GetUserName() const{ return m_userName; }
57 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
58 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
59 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
60 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
61 inline CreateKxUserRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
62 inline CreateKxUserRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
63 inline CreateKxUserRequest& WithUserName(const char* value) { SetUserName(value); return *this;}
65
67
70 inline const Aws::String& GetIamRole() const{ return m_iamRole; }
71 inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; }
72 inline void SetIamRole(const Aws::String& value) { m_iamRoleHasBeenSet = true; m_iamRole = value; }
73 inline void SetIamRole(Aws::String&& value) { m_iamRoleHasBeenSet = true; m_iamRole = std::move(value); }
74 inline void SetIamRole(const char* value) { m_iamRoleHasBeenSet = true; m_iamRole.assign(value); }
75 inline CreateKxUserRequest& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;}
76 inline CreateKxUserRequest& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;}
77 inline CreateKxUserRequest& WithIamRole(const char* value) { SetIamRole(value); return *this;}
79
81
85 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
86 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
87 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
88 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
89 inline CreateKxUserRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
90 inline CreateKxUserRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
91 inline CreateKxUserRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
92 inline CreateKxUserRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
93 inline CreateKxUserRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
94 inline CreateKxUserRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
95 inline CreateKxUserRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
96 inline CreateKxUserRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
97 inline CreateKxUserRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
99
101
104 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
105 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
106 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
107 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
108 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
109 inline CreateKxUserRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
110 inline CreateKxUserRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
111 inline CreateKxUserRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
113 private:
114
115 Aws::String m_environmentId;
116 bool m_environmentIdHasBeenSet = false;
117
118 Aws::String m_userName;
119 bool m_userNameHasBeenSet = false;
120
121 Aws::String m_iamRole;
122 bool m_iamRoleHasBeenSet = false;
123
125 bool m_tagsHasBeenSet = false;
126
127 Aws::String m_clientToken;
128 bool m_clientTokenHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace finspace
133} // namespace Aws
CreateKxUserRequest & WithEnvironmentId(Aws::String &&value)
void SetClientToken(const Aws::String &value)
CreateKxUserRequest & WithUserName(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateKxUserRequest & WithIamRole(Aws::String &&value)
void SetIamRole(const Aws::String &value)
CreateKxUserRequest & WithEnvironmentId(const Aws::String &value)
CreateKxUserRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateKxUserRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateKxUserRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateKxUserRequest & WithUserName(const Aws::String &value)
CreateKxUserRequest & WithClientToken(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateKxUserRequest & WithEnvironmentId(const char *value)
CreateKxUserRequest & WithIamRole(const Aws::String &value)
CreateKxUserRequest & WithIamRole(const char *value)
AWS_FINSPACE_API Aws::String SerializePayload() const override
CreateKxUserRequest & WithUserName(Aws::String &&value)
void SetUserName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetEnvironmentId(const Aws::String &value)
CreateKxUserRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateKxUserRequest & AddTags(const char *key, const char *value)
CreateKxUserRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateKxUserRequest & AddTags(Aws::String &&key, const char *value)
CreateKxUserRequest & AddTags(const char *key, Aws::String &&value)
CreateKxUserRequest & WithClientToken(const char *value)
CreateKxUserRequest & WithClientToken(const Aws::String &value)
CreateKxUserRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String