AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
DescribeSessionsRequest.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 DescribeSessionsRequest() = 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 "DescribeSessions"; }
29
30 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetStackName() const { return m_stackName; }
39 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
40 template <typename StackNameT = Aws::String>
41 void SetStackName(StackNameT&& value) {
42 m_stackNameHasBeenSet = true;
43 m_stackName = std::forward<StackNameT>(value);
44 }
45 template <typename StackNameT = Aws::String>
47 SetStackName(std::forward<StackNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetFleetName() const { return m_fleetName; }
57 inline bool FleetNameHasBeenSet() const { return m_fleetNameHasBeenSet; }
58 template <typename FleetNameT = Aws::String>
59 void SetFleetName(FleetNameT&& value) {
60 m_fleetNameHasBeenSet = true;
61 m_fleetName = std::forward<FleetNameT>(value);
62 }
63 template <typename FleetNameT = Aws::String>
65 SetFleetName(std::forward<FleetNameT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetUserId() const { return m_userId; }
76 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
77 template <typename UserIdT = Aws::String>
78 void SetUserId(UserIdT&& value) {
79 m_userIdHasBeenSet = true;
80 m_userId = std::forward<UserIdT>(value);
81 }
82 template <typename UserIdT = Aws::String>
84 SetUserId(std::forward<UserIdT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetNextToken() const { return m_nextToken; }
95 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
96 template <typename NextTokenT = Aws::String>
97 void SetNextToken(NextTokenT&& value) {
98 m_nextTokenHasBeenSet = true;
99 m_nextToken = std::forward<NextTokenT>(value);
100 }
101 template <typename NextTokenT = Aws::String>
103 SetNextToken(std::forward<NextTokenT>(value));
104 return *this;
105 }
107
109
113 inline int GetLimit() const { return m_limit; }
114 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
115 inline void SetLimit(int value) {
116 m_limitHasBeenSet = true;
117 m_limit = value;
118 }
120 SetLimit(value);
121 return *this;
122 }
124
126
131 inline AuthenticationType GetAuthenticationType() const { return m_authenticationType; }
132 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
134 m_authenticationTypeHasBeenSet = true;
135 m_authenticationType = value;
136 }
139 return *this;
140 }
142
144
147 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
148 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
149 template <typename InstanceIdT = Aws::String>
150 void SetInstanceId(InstanceIdT&& value) {
151 m_instanceIdHasBeenSet = true;
152 m_instanceId = std::forward<InstanceIdT>(value);
153 }
154 template <typename InstanceIdT = Aws::String>
156 SetInstanceId(std::forward<InstanceIdT>(value));
157 return *this;
158 }
160 private:
161 Aws::String m_stackName;
162 bool m_stackNameHasBeenSet = false;
163
164 Aws::String m_fleetName;
165 bool m_fleetNameHasBeenSet = false;
166
167 Aws::String m_userId;
168 bool m_userIdHasBeenSet = false;
169
170 Aws::String m_nextToken;
171 bool m_nextTokenHasBeenSet = false;
172
173 int m_limit{0};
174 bool m_limitHasBeenSet = false;
175
177 bool m_authenticationTypeHasBeenSet = false;
178
179 Aws::String m_instanceId;
180 bool m_instanceIdHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace AppStream
185} // namespace Aws
AWS_APPSTREAM_API DescribeSessionsRequest()=default
DescribeSessionsRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
AWS_APPSTREAM_API Aws::String SerializePayload() const override
DescribeSessionsRequest & WithUserId(UserIdT &&value)
DescribeSessionsRequest & WithAuthenticationType(AuthenticationType value)
DescribeSessionsRequest & WithFleetName(FleetNameT &&value)
DescribeSessionsRequest & WithStackName(StackNameT &&value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeSessionsRequest & WithInstanceId(InstanceIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String