AWS SDK for C++  1.9.153
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 Connect
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& GetUserId() const{ return m_userId; }
39 
43  inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
44 
48  inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
49 
53  inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
54 
58  inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
59 
63  inline DescribeUserRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
64 
68  inline DescribeUserRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
69 
73  inline DescribeUserRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
74 
75 
80  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
81 
86  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
87 
92  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
93 
98  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
99 
104  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
105 
110  inline DescribeUserRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
111 
116  inline DescribeUserRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
117 
122  inline DescribeUserRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
123 
124  private:
125 
126  Aws::String m_userId;
127  bool m_userIdHasBeenSet;
128 
129  Aws::String m_instanceId;
130  bool m_instanceIdHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace Connect
135 } // namespace Aws
Aws::Connect::Model::DescribeUserRequest::WithUserId
DescribeUserRequest & WithUserId(const char *value)
Definition: DescribeUserRequest.h:73
Aws::Connect::Model::DescribeUserRequest::SetUserId
void SetUserId(const char *value)
Definition: DescribeUserRequest.h:58
Aws::Connect::Model::DescribeUserRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: DescribeUserRequest.h:80
Aws::Connect::Model::DescribeUserRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeUserRequest.h:30
Aws::Connect::Model::DescribeUserRequest::UserIdHasBeenSet
bool UserIdHasBeenSet() const
Definition: DescribeUserRequest.h:43
Aws::Connect::Model::DescribeUserRequest::WithInstanceId
DescribeUserRequest & WithInstanceId(const char *value)
Definition: DescribeUserRequest.h:122
Aws::Connect::Model::DescribeUserRequest::WithInstanceId
DescribeUserRequest & WithInstanceId(const Aws::String &value)
Definition: DescribeUserRequest.h:110
Aws::Connect::Model::DescribeUserRequest
Definition: DescribeUserRequest.h:22
Aws::Connect::Model::DescribeUserRequest::SetUserId
void SetUserId(Aws::String &&value)
Definition: DescribeUserRequest.h:53
Aws::Connect::Model::DescribeUserRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: DescribeUserRequest.h:104
Aws::Connect::Model::DescribeUserRequest::DescribeUserRequest
DescribeUserRequest()
Aws::Connect::Model::DescribeUserRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: DescribeUserRequest.h:86
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
AWSString.h
Aws::Connect::Model::DescribeUserRequest::GetUserId
const Aws::String & GetUserId() const
Definition: DescribeUserRequest.h:38
Aws::Connect::Model::DescribeUserRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::DescribeUserRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: DescribeUserRequest.h:92
Aws::Connect::Model::DescribeUserRequest::WithInstanceId
DescribeUserRequest & WithInstanceId(Aws::String &&value)
Definition: DescribeUserRequest.h:116
Aws::Connect::Model::DescribeUserRequest::WithUserId
DescribeUserRequest & WithUserId(const Aws::String &value)
Definition: DescribeUserRequest.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::DescribeUserRequest::SetUserId
void SetUserId(const Aws::String &value)
Definition: DescribeUserRequest.h:48
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::DescribeUserRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: DescribeUserRequest.h:98
Aws::Connect::Model::DescribeUserRequest::WithUserId
DescribeUserRequest & WithUserId(Aws::String &&value)
Definition: DescribeUserRequest.h:68