AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
DescribeUsersRequest.h
1
6#pragma once
7#include <aws/appstream/AppStreamRequest.h>
8#include <aws/appstream/AppStream_EXPORTS.h>
9#include <aws/appstream/model/AuthenticationType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace AppStream {
16namespace Model {
17
21 public:
22 AWS_APPSTREAM_API DescribeUsersRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeUsers"; }
29
30 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
31
33
35
39 inline AuthenticationType GetAuthenticationType() const { return m_authenticationType; }
40 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
42 m_authenticationTypeHasBeenSet = true;
43 m_authenticationType = value;
44 }
47 return *this;
48 }
50
52
55 inline int GetMaxResults() const { return m_maxResults; }
56 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
57 inline void SetMaxResults(int value) {
58 m_maxResultsHasBeenSet = true;
59 m_maxResults = value;
60 }
62 SetMaxResults(value);
63 return *this;
64 }
66
68
72 inline const Aws::String& GetNextToken() const { return m_nextToken; }
73 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
74 template <typename NextTokenT = Aws::String>
75 void SetNextToken(NextTokenT&& value) {
76 m_nextTokenHasBeenSet = true;
77 m_nextToken = std::forward<NextTokenT>(value);
78 }
79 template <typename NextTokenT = Aws::String>
80 DescribeUsersRequest& WithNextToken(NextTokenT&& value) {
81 SetNextToken(std::forward<NextTokenT>(value));
82 return *this;
83 }
85 private:
87 bool m_authenticationTypeHasBeenSet = false;
88
89 int m_maxResults{0};
90 bool m_maxResultsHasBeenSet = false;
91
92 Aws::String m_nextToken;
93 bool m_nextTokenHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace AppStream
98} // namespace Aws
AWS_APPSTREAM_API DescribeUsersRequest()=default
DescribeUsersRequest & WithMaxResults(int value)
DescribeUsersRequest & WithNextToken(NextTokenT &&value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DescribeUsersRequest & WithAuthenticationType(AuthenticationType value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAuthenticationType(AuthenticationType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String