AWS SDK for C++  1.9.46
AWS SDK for C++
DeleteUserRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace QuickSight
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteUser"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetUserName() const{ return m_userName; }
39 
43  inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
44 
48  inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
49 
53  inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
54 
58  inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
59 
63  inline DeleteUserRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
64 
68  inline DeleteUserRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
69 
73  inline DeleteUserRequest& WithUserName(const char* value) { SetUserName(value); return *this;}
74 
75 
80  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
81 
86  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
87 
92  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
93 
98  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
99 
104  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
105 
110  inline DeleteUserRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
111 
116  inline DeleteUserRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
117 
122  inline DeleteUserRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
123 
124 
128  inline const Aws::String& GetNamespace() const{ return m_namespace; }
129 
133  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
134 
138  inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
139 
143  inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
144 
148  inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
149 
153  inline DeleteUserRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
154 
158  inline DeleteUserRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
159 
163  inline DeleteUserRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
164 
165  private:
166 
167  Aws::String m_userName;
168  bool m_userNameHasBeenSet;
169 
170  Aws::String m_awsAccountId;
171  bool m_awsAccountIdHasBeenSet;
172 
173  Aws::String m_namespace;
174  bool m_namespaceHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace QuickSight
179 } // namespace Aws
Aws::QuickSight::Model::DeleteUserRequest::GetNamespace
const Aws::String & GetNamespace() const
Definition: DeleteUserRequest.h:128
Aws::QuickSight::Model::DeleteUserRequest::WithNamespace
DeleteUserRequest & WithNamespace(Aws::String &&value)
Definition: DeleteUserRequest.h:158
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DeleteUserRequest
Definition: DeleteUserRequest.h:22
Aws::QuickSight::Model::DeleteUserRequest::WithAwsAccountId
DeleteUserRequest & WithAwsAccountId(const char *value)
Definition: DeleteUserRequest.h:122
Aws::QuickSight::Model::DeleteUserRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DeleteUserRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: DeleteUserRequest.h:143
Aws::QuickSight::Model::DeleteUserRequest::SetUserName
void SetUserName(const char *value)
Definition: DeleteUserRequest.h:58
Aws::QuickSight::Model::DeleteUserRequest::WithNamespace
DeleteUserRequest & WithNamespace(const char *value)
Definition: DeleteUserRequest.h:163
Aws::QuickSight::Model::DeleteUserRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DeleteUserRequest.h:80
Aws::QuickSight::Model::DeleteUserRequest::SetNamespace
void SetNamespace(const char *value)
Definition: DeleteUserRequest.h:148
Aws::QuickSight::Model::DeleteUserRequest::WithNamespace
DeleteUserRequest & WithNamespace(const Aws::String &value)
Definition: DeleteUserRequest.h:153
Aws::QuickSight::Model::DeleteUserRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: DeleteUserRequest.h:133
Aws::QuickSight::Model::DeleteUserRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: DeleteUserRequest.h:104
Aws::QuickSight::Model::DeleteUserRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: DeleteUserRequest.h:92
Aws::QuickSight::Model::DeleteUserRequest::GetUserName
const Aws::String & GetUserName() const
Definition: DeleteUserRequest.h:38
QuickSightRequest.h
Aws::QuickSight::Model::DeleteUserRequest::WithUserName
DeleteUserRequest & WithUserName(const Aws::String &value)
Definition: DeleteUserRequest.h:63
Aws::QuickSight::Model::DeleteUserRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: DeleteUserRequest.h:86
Aws::QuickSight::Model::DeleteUserRequest::WithAwsAccountId
DeleteUserRequest & WithAwsAccountId(Aws::String &&value)
Definition: DeleteUserRequest.h:116
AWSString.h
Aws::QuickSight::Model::DeleteUserRequest::WithUserName
DeleteUserRequest & WithUserName(const char *value)
Definition: DeleteUserRequest.h:73
Aws::QuickSight::Model::DeleteUserRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteUserRequest.h:30
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DeleteUserRequest::WithAwsAccountId
DeleteUserRequest & WithAwsAccountId(const Aws::String &value)
Definition: DeleteUserRequest.h:110
Aws::QuickSight::Model::DeleteUserRequest::UserNameHasBeenSet
bool UserNameHasBeenSet() const
Definition: DeleteUserRequest.h:43
Aws::QuickSight::Model::DeleteUserRequest::SetUserName
void SetUserName(const Aws::String &value)
Definition: DeleteUserRequest.h:48
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DeleteUserRequest::WithUserName
DeleteUserRequest & WithUserName(Aws::String &&value)
Definition: DeleteUserRequest.h:68
Aws::QuickSight::Model::DeleteUserRequest::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: DeleteUserRequest.h:138
Aws::QuickSight::Model::DeleteUserRequest::SetUserName
void SetUserName(Aws::String &&value)
Definition: DeleteUserRequest.h:53
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::DeleteUserRequest::DeleteUserRequest
DeleteUserRequest()
Aws::QuickSight::Model::DeleteUserRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: DeleteUserRequest.h:98