AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateUserRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/UserRole.h>
11#include <utility>
12
13namespace Aws
14{
15namespace QuickSight
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_QUICKSIGHT_API UpdateUserRequest();
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 "UpdateUser"; }
32
33 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetUserName() const{ return m_userName; }
41 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
42 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
43 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
44 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
45 inline UpdateUserRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
46 inline UpdateUserRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
47 inline UpdateUserRequest& WithUserName(const char* value) { SetUserName(value); return *this;}
49
51
56 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
57 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
58 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
59 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
60 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
61 inline UpdateUserRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
62 inline UpdateUserRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
63 inline UpdateUserRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
65
67
70 inline const Aws::String& GetNamespace() const{ return m_namespace; }
71 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
72 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
73 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
74 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
75 inline UpdateUserRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
76 inline UpdateUserRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
77 inline UpdateUserRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
79
81
84 inline const Aws::String& GetEmail() const{ return m_email; }
85 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
86 inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
87 inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
88 inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
89 inline UpdateUserRequest& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
90 inline UpdateUserRequest& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
91 inline UpdateUserRequest& WithEmail(const char* value) { SetEmail(value); return *this;}
93
95
114 inline const UserRole& GetRole() const{ return m_role; }
115 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
116 inline void SetRole(const UserRole& value) { m_roleHasBeenSet = true; m_role = value; }
117 inline void SetRole(UserRole&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
118 inline UpdateUserRequest& WithRole(const UserRole& value) { SetRole(value); return *this;}
119 inline UpdateUserRequest& WithRole(UserRole&& value) { SetRole(std::move(value)); return *this;}
121
123
140 inline const Aws::String& GetCustomPermissionsName() const{ return m_customPermissionsName; }
141 inline bool CustomPermissionsNameHasBeenSet() const { return m_customPermissionsNameHasBeenSet; }
142 inline void SetCustomPermissionsName(const Aws::String& value) { m_customPermissionsNameHasBeenSet = true; m_customPermissionsName = value; }
143 inline void SetCustomPermissionsName(Aws::String&& value) { m_customPermissionsNameHasBeenSet = true; m_customPermissionsName = std::move(value); }
144 inline void SetCustomPermissionsName(const char* value) { m_customPermissionsNameHasBeenSet = true; m_customPermissionsName.assign(value); }
146 inline UpdateUserRequest& WithCustomPermissionsName(Aws::String&& value) { SetCustomPermissionsName(std::move(value)); return *this;}
147 inline UpdateUserRequest& WithCustomPermissionsName(const char* value) { SetCustomPermissionsName(value); return *this;}
149
151
157 inline bool GetUnapplyCustomPermissions() const{ return m_unapplyCustomPermissions; }
158 inline bool UnapplyCustomPermissionsHasBeenSet() const { return m_unapplyCustomPermissionsHasBeenSet; }
159 inline void SetUnapplyCustomPermissions(bool value) { m_unapplyCustomPermissionsHasBeenSet = true; m_unapplyCustomPermissions = value; }
162
164
180 inline const Aws::String& GetExternalLoginFederationProviderType() const{ return m_externalLoginFederationProviderType; }
181 inline bool ExternalLoginFederationProviderTypeHasBeenSet() const { return m_externalLoginFederationProviderTypeHasBeenSet; }
182 inline void SetExternalLoginFederationProviderType(const Aws::String& value) { m_externalLoginFederationProviderTypeHasBeenSet = true; m_externalLoginFederationProviderType = value; }
183 inline void SetExternalLoginFederationProviderType(Aws::String&& value) { m_externalLoginFederationProviderTypeHasBeenSet = true; m_externalLoginFederationProviderType = std::move(value); }
184 inline void SetExternalLoginFederationProviderType(const char* value) { m_externalLoginFederationProviderTypeHasBeenSet = true; m_externalLoginFederationProviderType.assign(value); }
189
191
198 inline const Aws::String& GetCustomFederationProviderUrl() const{ return m_customFederationProviderUrl; }
199 inline bool CustomFederationProviderUrlHasBeenSet() const { return m_customFederationProviderUrlHasBeenSet; }
200 inline void SetCustomFederationProviderUrl(const Aws::String& value) { m_customFederationProviderUrlHasBeenSet = true; m_customFederationProviderUrl = value; }
201 inline void SetCustomFederationProviderUrl(Aws::String&& value) { m_customFederationProviderUrlHasBeenSet = true; m_customFederationProviderUrl = std::move(value); }
202 inline void SetCustomFederationProviderUrl(const char* value) { m_customFederationProviderUrlHasBeenSet = true; m_customFederationProviderUrl.assign(value); }
205 inline UpdateUserRequest& WithCustomFederationProviderUrl(const char* value) { SetCustomFederationProviderUrl(value); return *this;}
207
209
212 inline const Aws::String& GetExternalLoginId() const{ return m_externalLoginId; }
213 inline bool ExternalLoginIdHasBeenSet() const { return m_externalLoginIdHasBeenSet; }
214 inline void SetExternalLoginId(const Aws::String& value) { m_externalLoginIdHasBeenSet = true; m_externalLoginId = value; }
215 inline void SetExternalLoginId(Aws::String&& value) { m_externalLoginIdHasBeenSet = true; m_externalLoginId = std::move(value); }
216 inline void SetExternalLoginId(const char* value) { m_externalLoginIdHasBeenSet = true; m_externalLoginId.assign(value); }
217 inline UpdateUserRequest& WithExternalLoginId(const Aws::String& value) { SetExternalLoginId(value); return *this;}
218 inline UpdateUserRequest& WithExternalLoginId(Aws::String&& value) { SetExternalLoginId(std::move(value)); return *this;}
219 inline UpdateUserRequest& WithExternalLoginId(const char* value) { SetExternalLoginId(value); return *this;}
221 private:
222
223 Aws::String m_userName;
224 bool m_userNameHasBeenSet = false;
225
226 Aws::String m_awsAccountId;
227 bool m_awsAccountIdHasBeenSet = false;
228
229 Aws::String m_namespace;
230 bool m_namespaceHasBeenSet = false;
231
232 Aws::String m_email;
233 bool m_emailHasBeenSet = false;
234
235 UserRole m_role;
236 bool m_roleHasBeenSet = false;
237
238 Aws::String m_customPermissionsName;
239 bool m_customPermissionsNameHasBeenSet = false;
240
241 bool m_unapplyCustomPermissions;
242 bool m_unapplyCustomPermissionsHasBeenSet = false;
243
244 Aws::String m_externalLoginFederationProviderType;
245 bool m_externalLoginFederationProviderTypeHasBeenSet = false;
246
247 Aws::String m_customFederationProviderUrl;
248 bool m_customFederationProviderUrlHasBeenSet = false;
249
250 Aws::String m_externalLoginId;
251 bool m_externalLoginIdHasBeenSet = false;
252 };
253
254} // namespace Model
255} // namespace QuickSight
256} // namespace Aws
UpdateUserRequest & WithUserName(const char *value)
UpdateUserRequest & WithCustomFederationProviderUrl(const char *value)
UpdateUserRequest & WithRole(UserRole &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateUserRequest & WithUserName(Aws::String &&value)
void SetCustomFederationProviderUrl(const Aws::String &value)
UpdateUserRequest & WithRole(const UserRole &value)
UpdateUserRequest & WithCustomPermissionsName(const Aws::String &value)
UpdateUserRequest & WithExternalLoginFederationProviderType(const Aws::String &value)
void SetExternalLoginFederationProviderType(Aws::String &&value)
UpdateUserRequest & WithExternalLoginId(const char *value)
void SetEmail(const Aws::String &value)
UpdateUserRequest & WithNamespace(const Aws::String &value)
UpdateUserRequest & WithAwsAccountId(const char *value)
UpdateUserRequest & WithExternalLoginFederationProviderType(Aws::String &&value)
void SetAwsAccountId(const Aws::String &value)
UpdateUserRequest & WithExternalLoginFederationProviderType(const char *value)
UpdateUserRequest & WithNamespace(const char *value)
void SetCustomFederationProviderUrl(const char *value)
void SetUserName(const Aws::String &value)
void SetCustomFederationProviderUrl(Aws::String &&value)
UpdateUserRequest & WithEmail(const Aws::String &value)
void SetCustomPermissionsName(const Aws::String &value)
UpdateUserRequest & WithUnapplyCustomPermissions(bool value)
UpdateUserRequest & WithCustomFederationProviderUrl(const Aws::String &value)
UpdateUserRequest & WithEmail(Aws::String &&value)
UpdateUserRequest & WithNamespace(Aws::String &&value)
const Aws::String & GetExternalLoginFederationProviderType() const
const Aws::String & GetExternalLoginId() const
UpdateUserRequest & WithCustomFederationProviderUrl(Aws::String &&value)
UpdateUserRequest & WithAwsAccountId(Aws::String &&value)
void SetNamespace(const Aws::String &value)
UpdateUserRequest & WithCustomPermissionsName(Aws::String &&value)
void SetExternalLoginFederationProviderType(const Aws::String &value)
const Aws::String & GetAwsAccountId() const
void SetCustomPermissionsName(Aws::String &&value)
UpdateUserRequest & WithAwsAccountId(const Aws::String &value)
UpdateUserRequest & WithCustomPermissionsName(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateUserRequest & WithExternalLoginId(Aws::String &&value)
const Aws::String & GetCustomPermissionsName() const
UpdateUserRequest & WithExternalLoginId(const Aws::String &value)
void SetExternalLoginFederationProviderType(const char *value)
UpdateUserRequest & WithUserName(const Aws::String &value)
UpdateUserRequest & WithEmail(const char *value)
const Aws::String & GetCustomFederationProviderUrl() const
void SetExternalLoginId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String