AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CreateStreamingURLRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace AppStream
15{
16namespace 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 "CreateStreamingURL"; }
31
33
35
36
40 inline const Aws::String& GetStackName() const{ return m_stackName; }
41
45 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
46
50 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
51
55 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
56
60 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
61
65 inline CreateStreamingURLRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
66
70 inline CreateStreamingURLRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
71
75 inline CreateStreamingURLRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
76
77
81 inline const Aws::String& GetFleetName() const{ return m_fleetName; }
82
86 inline bool FleetNameHasBeenSet() const { return m_fleetNameHasBeenSet; }
87
91 inline void SetFleetName(const Aws::String& value) { m_fleetNameHasBeenSet = true; m_fleetName = value; }
92
96 inline void SetFleetName(Aws::String&& value) { m_fleetNameHasBeenSet = true; m_fleetName = std::move(value); }
97
101 inline void SetFleetName(const char* value) { m_fleetNameHasBeenSet = true; m_fleetName.assign(value); }
102
106 inline CreateStreamingURLRequest& WithFleetName(const Aws::String& value) { SetFleetName(value); return *this;}
107
111 inline CreateStreamingURLRequest& WithFleetName(Aws::String&& value) { SetFleetName(std::move(value)); return *this;}
112
116 inline CreateStreamingURLRequest& WithFleetName(const char* value) { SetFleetName(value); return *this;}
117
118
122 inline const Aws::String& GetUserId() const{ return m_userId; }
123
127 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
128
132 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
133
137 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
138
142 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
143
147 inline CreateStreamingURLRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
148
152 inline CreateStreamingURLRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
153
157 inline CreateStreamingURLRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
158
159
166 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
167
174 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
175
182 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
183
190 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
191
198 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
199
206 inline CreateStreamingURLRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
207
214 inline CreateStreamingURLRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
215
222 inline CreateStreamingURLRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
223
224
229 inline long long GetValidity() const{ return m_validity; }
230
235 inline bool ValidityHasBeenSet() const { return m_validityHasBeenSet; }
236
241 inline void SetValidity(long long value) { m_validityHasBeenSet = true; m_validity = value; }
242
247 inline CreateStreamingURLRequest& WithValidity(long long value) { SetValidity(value); return *this;}
248
249
255 inline const Aws::String& GetSessionContext() const{ return m_sessionContext; }
256
262 inline bool SessionContextHasBeenSet() const { return m_sessionContextHasBeenSet; }
263
269 inline void SetSessionContext(const Aws::String& value) { m_sessionContextHasBeenSet = true; m_sessionContext = value; }
270
276 inline void SetSessionContext(Aws::String&& value) { m_sessionContextHasBeenSet = true; m_sessionContext = std::move(value); }
277
283 inline void SetSessionContext(const char* value) { m_sessionContextHasBeenSet = true; m_sessionContext.assign(value); }
284
290 inline CreateStreamingURLRequest& WithSessionContext(const Aws::String& value) { SetSessionContext(value); return *this;}
291
297 inline CreateStreamingURLRequest& WithSessionContext(Aws::String&& value) { SetSessionContext(std::move(value)); return *this;}
298
304 inline CreateStreamingURLRequest& WithSessionContext(const char* value) { SetSessionContext(value); return *this;}
305
306 private:
307
308 Aws::String m_stackName;
309 bool m_stackNameHasBeenSet = false;
310
311 Aws::String m_fleetName;
312 bool m_fleetNameHasBeenSet = false;
313
314 Aws::String m_userId;
315 bool m_userIdHasBeenSet = false;
316
317 Aws::String m_applicationId;
318 bool m_applicationIdHasBeenSet = false;
319
320 long long m_validity;
321 bool m_validityHasBeenSet = false;
322
323 Aws::String m_sessionContext;
324 bool m_sessionContextHasBeenSet = false;
325 };
326
327} // namespace Model
328} // namespace AppStream
329} // namespace Aws
#define AWS_APPSTREAM_API
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateStreamingURLRequest & WithUserId(Aws::String &&value)
CreateStreamingURLRequest & WithSessionContext(const Aws::String &value)
CreateStreamingURLRequest & WithSessionContext(Aws::String &&value)
CreateStreamingURLRequest & WithSessionContext(const char *value)
CreateStreamingURLRequest & WithStackName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateStreamingURLRequest & WithApplicationId(Aws::String &&value)
CreateStreamingURLRequest & WithValidity(long long value)
CreateStreamingURLRequest & WithApplicationId(const Aws::String &value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
CreateStreamingURLRequest & WithStackName(const char *value)
CreateStreamingURLRequest & WithApplicationId(const char *value)
CreateStreamingURLRequest & WithFleetName(const Aws::String &value)
CreateStreamingURLRequest & WithUserId(const Aws::String &value)
CreateStreamingURLRequest & WithFleetName(Aws::String &&value)
CreateStreamingURLRequest & WithStackName(Aws::String &&value)
CreateStreamingURLRequest & WithFleetName(const char *value)
CreateStreamingURLRequest & WithUserId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String