AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeUsersRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace AppStream
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeUsers"; }
32
34
36
37
42 inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
43
48 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
49
54 inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
55
60 inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
61
67
72 inline DescribeUsersRequest& WithAuthenticationType(AuthenticationType&& value) { SetAuthenticationType(std::move(value)); return *this;}
73
74
78 inline int GetMaxResults() const{ return m_maxResults; }
79
83 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
84
88 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
89
93 inline DescribeUsersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
94
95
100 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
101
106 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
107
112 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
113
118 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
119
124 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
125
130 inline DescribeUsersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
131
136 inline DescribeUsersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
137
142 inline DescribeUsersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
143
144 private:
145
146 AuthenticationType m_authenticationType;
147 bool m_authenticationTypeHasBeenSet = false;
148
149 int m_maxResults;
150 bool m_maxResultsHasBeenSet = false;
151
152 Aws::String m_nextToken;
153 bool m_nextTokenHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace AppStream
158} // namespace Aws
#define AWS_APPSTREAM_API
DescribeUsersRequest & WithNextToken(const Aws::String &value)
DescribeUsersRequest & WithNextToken(Aws::String &&value)
DescribeUsersRequest & WithMaxResults(int value)
DescribeUsersRequest & WithNextToken(const char *value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
DescribeUsersRequest & WithAuthenticationType(AuthenticationType &&value)
void SetAuthenticationType(AuthenticationType &&value)
DescribeUsersRequest & WithAuthenticationType(const AuthenticationType &value)
virtual const char * GetServiceRequestName() const override
void SetAuthenticationType(const AuthenticationType &value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const AuthenticationType & GetAuthenticationType() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String