AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeUserRequest.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 <utility>
11
12namespace Aws
13{
14namespace QuickSight
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_QUICKSIGHT_API DescribeUserRequest();
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_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetUserName() const{ return m_userName; }
40 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
41 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
42 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
43 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
44 inline DescribeUserRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
45 inline DescribeUserRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
46 inline DescribeUserRequest& WithUserName(const char* value) { SetUserName(value); return *this;}
48
50
55 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
56 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
57 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
58 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
59 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
60 inline DescribeUserRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
61 inline DescribeUserRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
62 inline DescribeUserRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
64
66
69 inline const Aws::String& GetNamespace() const{ return m_namespace; }
70 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
71 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
72 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
73 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
74 inline DescribeUserRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
75 inline DescribeUserRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
76 inline DescribeUserRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
78 private:
79
80 Aws::String m_userName;
81 bool m_userNameHasBeenSet = false;
82
83 Aws::String m_awsAccountId;
84 bool m_awsAccountIdHasBeenSet = false;
85
86 Aws::String m_namespace;
87 bool m_namespaceHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace QuickSight
92} // namespace Aws
DescribeUserRequest & WithNamespace(const Aws::String &value)
DescribeUserRequest & WithAwsAccountId(const char *value)
virtual const char * GetServiceRequestName() const override
DescribeUserRequest & WithNamespace(const char *value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
DescribeUserRequest & WithUserName(Aws::String &&value)
DescribeUserRequest & WithNamespace(Aws::String &&value)
DescribeUserRequest & WithUserName(const Aws::String &value)
DescribeUserRequest & WithUserName(const char *value)
void SetNamespace(const Aws::String &value)
DescribeUserRequest & WithAwsAccountId(const Aws::String &value)
void SetAwsAccountId(const Aws::String &value)
DescribeUserRequest & WithAwsAccountId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String