AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterUserRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/model/IdentityType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/quicksight/model/UserRole.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/quicksight/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace QuickSight
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QUICKSIGHT_API RegisterUserRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "RegisterUser"; }
35
36 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
37
38
40
44 inline const IdentityType& GetIdentityType() const{ return m_identityType; }
45 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
46 inline void SetIdentityType(const IdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
47 inline void SetIdentityType(IdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); }
48 inline RegisterUserRequest& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
49 inline RegisterUserRequest& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
51
53
56 inline const Aws::String& GetEmail() const{ return m_email; }
57 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
58 inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
59 inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
60 inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
61 inline RegisterUserRequest& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
62 inline RegisterUserRequest& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
63 inline RegisterUserRequest& WithEmail(const char* value) { SetEmail(value); return *this;}
65
67
87 inline const UserRole& GetUserRole() const{ return m_userRole; }
88 inline bool UserRoleHasBeenSet() const { return m_userRoleHasBeenSet; }
89 inline void SetUserRole(const UserRole& value) { m_userRoleHasBeenSet = true; m_userRole = value; }
90 inline void SetUserRole(UserRole&& value) { m_userRoleHasBeenSet = true; m_userRole = std::move(value); }
91 inline RegisterUserRequest& WithUserRole(const UserRole& value) { SetUserRole(value); return *this;}
92 inline RegisterUserRequest& WithUserRole(UserRole&& value) { SetUserRole(std::move(value)); return *this;}
94
96
100 inline const Aws::String& GetIamArn() const{ return m_iamArn; }
101 inline bool IamArnHasBeenSet() const { return m_iamArnHasBeenSet; }
102 inline void SetIamArn(const Aws::String& value) { m_iamArnHasBeenSet = true; m_iamArn = value; }
103 inline void SetIamArn(Aws::String&& value) { m_iamArnHasBeenSet = true; m_iamArn = std::move(value); }
104 inline void SetIamArn(const char* value) { m_iamArnHasBeenSet = true; m_iamArn.assign(value); }
105 inline RegisterUserRequest& WithIamArn(const Aws::String& value) { SetIamArn(value); return *this;}
106 inline RegisterUserRequest& WithIamArn(Aws::String&& value) { SetIamArn(std::move(value)); return *this;}
107 inline RegisterUserRequest& WithIamArn(const char* value) { SetIamArn(value); return *this;}
109
111
121 inline const Aws::String& GetSessionName() const{ return m_sessionName; }
122 inline bool SessionNameHasBeenSet() const { return m_sessionNameHasBeenSet; }
123 inline void SetSessionName(const Aws::String& value) { m_sessionNameHasBeenSet = true; m_sessionName = value; }
124 inline void SetSessionName(Aws::String&& value) { m_sessionNameHasBeenSet = true; m_sessionName = std::move(value); }
125 inline void SetSessionName(const char* value) { m_sessionNameHasBeenSet = true; m_sessionName.assign(value); }
126 inline RegisterUserRequest& WithSessionName(const Aws::String& value) { SetSessionName(value); return *this;}
127 inline RegisterUserRequest& WithSessionName(Aws::String&& value) { SetSessionName(std::move(value)); return *this;}
128 inline RegisterUserRequest& WithSessionName(const char* value) { SetSessionName(value); return *this;}
130
132
137 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
138 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
139 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
140 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
141 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
142 inline RegisterUserRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
143 inline RegisterUserRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
144 inline RegisterUserRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
146
148
151 inline const Aws::String& GetNamespace() const{ return m_namespace; }
152 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
153 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
154 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
155 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
156 inline RegisterUserRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
157 inline RegisterUserRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
158 inline RegisterUserRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
160
162
166 inline const Aws::String& GetUserName() const{ return m_userName; }
167 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
168 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
169 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
170 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
171 inline RegisterUserRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
172 inline RegisterUserRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
173 inline RegisterUserRequest& WithUserName(const char* value) { SetUserName(value); return *this;}
175
177
197 inline const Aws::String& GetCustomPermissionsName() const{ return m_customPermissionsName; }
198 inline bool CustomPermissionsNameHasBeenSet() const { return m_customPermissionsNameHasBeenSet; }
199 inline void SetCustomPermissionsName(const Aws::String& value) { m_customPermissionsNameHasBeenSet = true; m_customPermissionsName = value; }
200 inline void SetCustomPermissionsName(Aws::String&& value) { m_customPermissionsNameHasBeenSet = true; m_customPermissionsName = std::move(value); }
201 inline void SetCustomPermissionsName(const char* value) { m_customPermissionsNameHasBeenSet = true; m_customPermissionsName.assign(value); }
203 inline RegisterUserRequest& WithCustomPermissionsName(Aws::String&& value) { SetCustomPermissionsName(std::move(value)); return *this;}
204 inline RegisterUserRequest& WithCustomPermissionsName(const char* value) { SetCustomPermissionsName(value); return *this;}
206
208
221 inline const Aws::String& GetExternalLoginFederationProviderType() const{ return m_externalLoginFederationProviderType; }
222 inline bool ExternalLoginFederationProviderTypeHasBeenSet() const { return m_externalLoginFederationProviderTypeHasBeenSet; }
223 inline void SetExternalLoginFederationProviderType(const Aws::String& value) { m_externalLoginFederationProviderTypeHasBeenSet = true; m_externalLoginFederationProviderType = value; }
224 inline void SetExternalLoginFederationProviderType(Aws::String&& value) { m_externalLoginFederationProviderTypeHasBeenSet = true; m_externalLoginFederationProviderType = std::move(value); }
225 inline void SetExternalLoginFederationProviderType(const char* value) { m_externalLoginFederationProviderTypeHasBeenSet = true; m_externalLoginFederationProviderType.assign(value); }
230
232
239 inline const Aws::String& GetCustomFederationProviderUrl() const{ return m_customFederationProviderUrl; }
240 inline bool CustomFederationProviderUrlHasBeenSet() const { return m_customFederationProviderUrlHasBeenSet; }
241 inline void SetCustomFederationProviderUrl(const Aws::String& value) { m_customFederationProviderUrlHasBeenSet = true; m_customFederationProviderUrl = value; }
242 inline void SetCustomFederationProviderUrl(Aws::String&& value) { m_customFederationProviderUrlHasBeenSet = true; m_customFederationProviderUrl = std::move(value); }
243 inline void SetCustomFederationProviderUrl(const char* value) { m_customFederationProviderUrlHasBeenSet = true; m_customFederationProviderUrl.assign(value); }
248
250
253 inline const Aws::String& GetExternalLoginId() const{ return m_externalLoginId; }
254 inline bool ExternalLoginIdHasBeenSet() const { return m_externalLoginIdHasBeenSet; }
255 inline void SetExternalLoginId(const Aws::String& value) { m_externalLoginIdHasBeenSet = true; m_externalLoginId = value; }
256 inline void SetExternalLoginId(Aws::String&& value) { m_externalLoginIdHasBeenSet = true; m_externalLoginId = std::move(value); }
257 inline void SetExternalLoginId(const char* value) { m_externalLoginIdHasBeenSet = true; m_externalLoginId.assign(value); }
258 inline RegisterUserRequest& WithExternalLoginId(const Aws::String& value) { SetExternalLoginId(value); return *this;}
259 inline RegisterUserRequest& WithExternalLoginId(Aws::String&& value) { SetExternalLoginId(std::move(value)); return *this;}
260 inline RegisterUserRequest& WithExternalLoginId(const char* value) { SetExternalLoginId(value); return *this;}
262
264
267 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
268 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
269 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
270 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
271 inline RegisterUserRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
272 inline RegisterUserRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
273 inline RegisterUserRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
274 inline RegisterUserRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
276 private:
277
278 IdentityType m_identityType;
279 bool m_identityTypeHasBeenSet = false;
280
281 Aws::String m_email;
282 bool m_emailHasBeenSet = false;
283
284 UserRole m_userRole;
285 bool m_userRoleHasBeenSet = false;
286
287 Aws::String m_iamArn;
288 bool m_iamArnHasBeenSet = false;
289
290 Aws::String m_sessionName;
291 bool m_sessionNameHasBeenSet = false;
292
293 Aws::String m_awsAccountId;
294 bool m_awsAccountIdHasBeenSet = false;
295
296 Aws::String m_namespace;
297 bool m_namespaceHasBeenSet = false;
298
299 Aws::String m_userName;
300 bool m_userNameHasBeenSet = false;
301
302 Aws::String m_customPermissionsName;
303 bool m_customPermissionsNameHasBeenSet = false;
304
305 Aws::String m_externalLoginFederationProviderType;
306 bool m_externalLoginFederationProviderTypeHasBeenSet = false;
307
308 Aws::String m_customFederationProviderUrl;
309 bool m_customFederationProviderUrlHasBeenSet = false;
310
311 Aws::String m_externalLoginId;
312 bool m_externalLoginIdHasBeenSet = false;
313
314 Aws::Vector<Tag> m_tags;
315 bool m_tagsHasBeenSet = false;
316 };
317
318} // namespace Model
319} // namespace QuickSight
320} // namespace Aws
RegisterUserRequest & WithUserName(const Aws::String &value)
RegisterUserRequest & WithCustomPermissionsName(const char *value)
RegisterUserRequest & WithTags(Aws::Vector< Tag > &&value)
RegisterUserRequest & AddTags(Tag &&value)
RegisterUserRequest & WithIamArn(const char *value)
RegisterUserRequest & WithTags(const Aws::Vector< Tag > &value)
RegisterUserRequest & WithExternalLoginFederationProviderType(const Aws::String &value)
RegisterUserRequest & WithUserRole(UserRole &&value)
RegisterUserRequest & WithAwsAccountId(Aws::String &&value)
RegisterUserRequest & WithIdentityType(const IdentityType &value)
void SetExternalLoginFederationProviderType(const char *value)
RegisterUserRequest & WithSessionName(const Aws::String &value)
RegisterUserRequest & WithExternalLoginFederationProviderType(Aws::String &&value)
void SetExternalLoginFederationProviderType(Aws::String &&value)
RegisterUserRequest & WithNamespace(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
RegisterUserRequest & WithSessionName(const char *value)
const Aws::String & GetCustomPermissionsName() const
void SetSessionName(const Aws::String &value)
void SetCustomFederationProviderUrl(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
RegisterUserRequest & AddTags(const Tag &value)
void SetAwsAccountId(const Aws::String &value)
void SetIdentityType(const IdentityType &value)
const Aws::String & GetCustomFederationProviderUrl() const
const Aws::String & GetExternalLoginFederationProviderType() const
RegisterUserRequest & WithCustomFederationProviderUrl(const char *value)
RegisterUserRequest & WithAwsAccountId(const char *value)
RegisterUserRequest & WithUserName(const char *value)
RegisterUserRequest & WithIamArn(Aws::String &&value)
RegisterUserRequest & WithIamArn(const Aws::String &value)
RegisterUserRequest & WithExternalLoginId(Aws::String &&value)
RegisterUserRequest & WithUserRole(const UserRole &value)
void SetExternalLoginId(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
RegisterUserRequest & WithCustomPermissionsName(Aws::String &&value)
void SetCustomFederationProviderUrl(Aws::String &&value)
RegisterUserRequest & WithCustomPermissionsName(const Aws::String &value)
void SetCustomPermissionsName(const Aws::String &value)
RegisterUserRequest & WithExternalLoginId(const Aws::String &value)
RegisterUserRequest & WithIdentityType(IdentityType &&value)
RegisterUserRequest & WithEmail(Aws::String &&value)
RegisterUserRequest & WithCustomFederationProviderUrl(Aws::String &&value)
RegisterUserRequest & WithExternalLoginFederationProviderType(const char *value)
RegisterUserRequest & WithExternalLoginId(const char *value)
RegisterUserRequest & WithEmail(const Aws::String &value)
void SetExternalLoginFederationProviderType(const Aws::String &value)
RegisterUserRequest & WithAwsAccountId(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
RegisterUserRequest & WithUserName(Aws::String &&value)
RegisterUserRequest & WithEmail(const char *value)
RegisterUserRequest & WithNamespace(const Aws::String &value)
RegisterUserRequest & WithNamespace(const char *value)
RegisterUserRequest & WithCustomFederationProviderUrl(const Aws::String &value)
RegisterUserRequest & WithSessionName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector