AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeSessionsRequest.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 "DescribeSessions"; }
32
34
36
37
41 inline const Aws::String& GetStackName() const{ return m_stackName; }
42
46 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
47
51 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
52
56 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
57
61 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
62
66 inline DescribeSessionsRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
67
71 inline DescribeSessionsRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
72
76 inline DescribeSessionsRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
77
78
82 inline const Aws::String& GetFleetName() const{ return m_fleetName; }
83
87 inline bool FleetNameHasBeenSet() const { return m_fleetNameHasBeenSet; }
88
92 inline void SetFleetName(const Aws::String& value) { m_fleetNameHasBeenSet = true; m_fleetName = value; }
93
97 inline void SetFleetName(Aws::String&& value) { m_fleetNameHasBeenSet = true; m_fleetName = std::move(value); }
98
102 inline void SetFleetName(const char* value) { m_fleetNameHasBeenSet = true; m_fleetName.assign(value); }
103
107 inline DescribeSessionsRequest& WithFleetName(const Aws::String& value) { SetFleetName(value); return *this;}
108
112 inline DescribeSessionsRequest& WithFleetName(Aws::String&& value) { SetFleetName(std::move(value)); return *this;}
113
117 inline DescribeSessionsRequest& WithFleetName(const char* value) { SetFleetName(value); return *this;}
118
119
124 inline const Aws::String& GetUserId() const{ return m_userId; }
125
130 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
131
136 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
137
142 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
143
148 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
149
154 inline DescribeSessionsRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
155
160 inline DescribeSessionsRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
161
166 inline DescribeSessionsRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
167
168
173 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
174
179 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
180
185 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
186
191 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
192
197 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
198
203 inline DescribeSessionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
204
209 inline DescribeSessionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
210
215 inline DescribeSessionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
216
217
222 inline int GetLimit() const{ return m_limit; }
223
228 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
229
234 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
235
240 inline DescribeSessionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
241
242
248 inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
249
255 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
256
262 inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
263
269 inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
270
277
284
285 private:
286
287 Aws::String m_stackName;
288 bool m_stackNameHasBeenSet = false;
289
290 Aws::String m_fleetName;
291 bool m_fleetNameHasBeenSet = false;
292
293 Aws::String m_userId;
294 bool m_userIdHasBeenSet = false;
295
296 Aws::String m_nextToken;
297 bool m_nextTokenHasBeenSet = false;
298
299 int m_limit;
300 bool m_limitHasBeenSet = false;
301
302 AuthenticationType m_authenticationType;
303 bool m_authenticationTypeHasBeenSet = false;
304 };
305
306} // namespace Model
307} // namespace AppStream
308} // namespace Aws
#define AWS_APPSTREAM_API
DescribeSessionsRequest & WithUserId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_APPSTREAM_API Aws::String SerializePayload() const override
void SetAuthenticationType(const AuthenticationType &value)
DescribeSessionsRequest & WithFleetName(const char *value)
DescribeSessionsRequest & WithNextToken(const char *value)
DescribeSessionsRequest & WithFleetName(const Aws::String &value)
DescribeSessionsRequest & WithUserId(const char *value)
DescribeSessionsRequest & WithLimit(int value)
DescribeSessionsRequest & WithStackName(const Aws::String &value)
DescribeSessionsRequest & WithFleetName(Aws::String &&value)
DescribeSessionsRequest & WithAuthenticationType(AuthenticationType &&value)
DescribeSessionsRequest & WithStackName(Aws::String &&value)
DescribeSessionsRequest & WithUserId(const Aws::String &value)
DescribeSessionsRequest & WithStackName(const char *value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAuthenticationType(AuthenticationType &&value)
const AuthenticationType & GetAuthenticationType() const
DescribeSessionsRequest & WithNextToken(const Aws::String &value)
DescribeSessionsRequest & WithNextToken(Aws::String &&value)
DescribeSessionsRequest & WithAuthenticationType(const AuthenticationType &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String