AWS SDK for C++  1.9.46
AWS SDK for C++
DescribeUserRequest.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 "DescribeUser"; }
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 DescribeUserRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
64 
68  inline DescribeUserRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
69 
73  inline DescribeUserRequest& 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 DescribeUserRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
111 
116  inline DescribeUserRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
117 
122  inline DescribeUserRequest& 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 DescribeUserRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
154 
158  inline DescribeUserRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
159 
163  inline DescribeUserRequest& 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
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DescribeUserRequest::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: DescribeUserRequest.h:138
Aws::QuickSight::Model::DescribeUserRequest::UserNameHasBeenSet
bool UserNameHasBeenSet() const
Definition: DescribeUserRequest.h:43
Aws::QuickSight::Model::DescribeUserRequest::WithNamespace
DescribeUserRequest & WithNamespace(Aws::String &&value)
Definition: DescribeUserRequest.h:158
Aws::QuickSight::Model::DescribeUserRequest::SetNamespace
void SetNamespace(const char *value)
Definition: DescribeUserRequest.h:148
Aws::QuickSight::Model::DescribeUserRequest::GetUserName
const Aws::String & GetUserName() const
Definition: DescribeUserRequest.h:38
Aws::QuickSight::Model::DescribeUserRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: DescribeUserRequest.h:104
Aws::QuickSight::Model::DescribeUserRequest::WithAwsAccountId
DescribeUserRequest & WithAwsAccountId(const Aws::String &value)
Definition: DescribeUserRequest.h:110
Aws::QuickSight::Model::DescribeUserRequest::WithUserName
DescribeUserRequest & WithUserName(Aws::String &&value)
Definition: DescribeUserRequest.h:68
Aws::QuickSight::Model::DescribeUserRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DescribeUserRequest::GetNamespace
const Aws::String & GetNamespace() const
Definition: DescribeUserRequest.h:128
Aws::QuickSight::Model::DescribeUserRequest::SetUserName
void SetUserName(const char *value)
Definition: DescribeUserRequest.h:58
Aws::QuickSight::Model::DescribeUserRequest::WithUserName
DescribeUserRequest & WithUserName(const Aws::String &value)
Definition: DescribeUserRequest.h:63
QuickSightRequest.h
Aws::QuickSight::Model::DescribeUserRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeUserRequest.h:30
Aws::QuickSight::Model::DescribeUserRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: DescribeUserRequest.h:98
Aws::QuickSight::Model::DescribeUserRequest
Definition: DescribeUserRequest.h:22
Aws::QuickSight::Model::DescribeUserRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: DescribeUserRequest.h:143
Aws::QuickSight::Model::DescribeUserRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: DescribeUserRequest.h:92
AWSString.h
Aws::QuickSight::Model::DescribeUserRequest::SetUserName
void SetUserName(Aws::String &&value)
Definition: DescribeUserRequest.h:53
Aws::QuickSight::Model::DescribeUserRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: DescribeUserRequest.h:86
Aws::QuickSight::Model::DescribeUserRequest::DescribeUserRequest
DescribeUserRequest()
Aws::QuickSight::Model::DescribeUserRequest::WithNamespace
DescribeUserRequest & WithNamespace(const Aws::String &value)
Definition: DescribeUserRequest.h:153
Aws::QuickSight::Model::DescribeUserRequest::WithAwsAccountId
DescribeUserRequest & WithAwsAccountId(Aws::String &&value)
Definition: DescribeUserRequest.h:116
Aws::QuickSight::Model::DescribeUserRequest::SetUserName
void SetUserName(const Aws::String &value)
Definition: DescribeUserRequest.h:48
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DescribeUserRequest::WithNamespace
DescribeUserRequest & WithNamespace(const char *value)
Definition: DescribeUserRequest.h:163
Aws::QuickSight::Model::DescribeUserRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DescribeUserRequest.h:80
Aws::QuickSight::Model::DescribeUserRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: DescribeUserRequest.h:133
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DescribeUserRequest::WithAwsAccountId
DescribeUserRequest & WithAwsAccountId(const char *value)
Definition: DescribeUserRequest.h:122
Aws::QuickSight::Model::DescribeUserRequest::WithUserName
DescribeUserRequest & WithUserName(const char *value)
Definition: DescribeUserRequest.h:73
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17