AWS SDK for C++  1.9.161
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 
81  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
82 
88  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
89 
95  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
96 
102  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
103 
109  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
110 
116  inline DeleteUserRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
117 
123  inline DeleteUserRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
124 
130  inline DeleteUserRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
131 
132 
136  inline const Aws::String& GetNamespace() const{ return m_namespace; }
137 
141  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
142 
146  inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
147 
151  inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
152 
156  inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
157 
161  inline DeleteUserRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
162 
166  inline DeleteUserRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
167 
171  inline DeleteUserRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
172 
173  private:
174 
175  Aws::String m_userName;
176  bool m_userNameHasBeenSet;
177 
178  Aws::String m_awsAccountId;
179  bool m_awsAccountIdHasBeenSet;
180 
181  Aws::String m_namespace;
182  bool m_namespaceHasBeenSet;
183  };
184 
185 } // namespace Model
186 } // namespace QuickSight
187 } // namespace Aws
Aws::QuickSight::Model::DeleteUserRequest::GetNamespace
const Aws::String & GetNamespace() const
Definition: DeleteUserRequest.h:136
Aws::QuickSight::Model::DeleteUserRequest::WithNamespace
DeleteUserRequest & WithNamespace(Aws::String &&value)
Definition: DeleteUserRequest.h:166
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DeleteUserRequest
Definition: DeleteUserRequest.h:22
Aws::QuickSight::Model::DeleteUserRequest::WithAwsAccountId
DeleteUserRequest & WithAwsAccountId(const char *value)
Definition: DeleteUserRequest.h:130
Aws::QuickSight::Model::DeleteUserRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DeleteUserRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: DeleteUserRequest.h:151
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:171
Aws::QuickSight::Model::DeleteUserRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DeleteUserRequest.h:81
Aws::QuickSight::Model::DeleteUserRequest::SetNamespace
void SetNamespace(const char *value)
Definition: DeleteUserRequest.h:156
Aws::QuickSight::Model::DeleteUserRequest::WithNamespace
DeleteUserRequest & WithNamespace(const Aws::String &value)
Definition: DeleteUserRequest.h:161
Aws::QuickSight::Model::DeleteUserRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: DeleteUserRequest.h:141
Aws::QuickSight::Model::DeleteUserRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: DeleteUserRequest.h:109
Aws::QuickSight::Model::DeleteUserRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: DeleteUserRequest.h:95
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:88
Aws::QuickSight::Model::DeleteUserRequest::WithAwsAccountId
DeleteUserRequest & WithAwsAccountId(Aws::String &&value)
Definition: DeleteUserRequest.h:123
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:116
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:146
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:102