AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateStreamingURLRequest.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/AppStreamRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace AppStream
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_APPSTREAM_API CreateStreamingURLRequest() = default;
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
32 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetStackName() const { return m_stackName; }
42 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
43 template<typename StackNameT = Aws::String>
44 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
45 template<typename StackNameT = Aws::String>
46 CreateStreamingURLRequest& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetFleetName() const { return m_fleetName; }
54 inline bool FleetNameHasBeenSet() const { return m_fleetNameHasBeenSet; }
55 template<typename FleetNameT = Aws::String>
56 void SetFleetName(FleetNameT&& value) { m_fleetNameHasBeenSet = true; m_fleetName = std::forward<FleetNameT>(value); }
57 template<typename FleetNameT = Aws::String>
58 CreateStreamingURLRequest& WithFleetName(FleetNameT&& value) { SetFleetName(std::forward<FleetNameT>(value)); return *this;}
60
62
65 inline const Aws::String& GetUserId() const { return m_userId; }
66 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
67 template<typename UserIdT = Aws::String>
68 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet = true; m_userId = std::forward<UserIdT>(value); }
69 template<typename UserIdT = Aws::String>
70 CreateStreamingURLRequest& WithUserId(UserIdT&& value) { SetUserId(std::forward<UserIdT>(value)); return *this;}
72
74
80 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
81 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
82 template<typename ApplicationIdT = Aws::String>
83 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
84 template<typename ApplicationIdT = Aws::String>
85 CreateStreamingURLRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
87
89
93 inline long long GetValidity() const { return m_validity; }
94 inline bool ValidityHasBeenSet() const { return m_validityHasBeenSet; }
95 inline void SetValidity(long long value) { m_validityHasBeenSet = true; m_validity = value; }
96 inline CreateStreamingURLRequest& WithValidity(long long value) { SetValidity(value); return *this;}
98
100
105 inline const Aws::String& GetSessionContext() const { return m_sessionContext; }
106 inline bool SessionContextHasBeenSet() const { return m_sessionContextHasBeenSet; }
107 template<typename SessionContextT = Aws::String>
108 void SetSessionContext(SessionContextT&& value) { m_sessionContextHasBeenSet = true; m_sessionContext = std::forward<SessionContextT>(value); }
109 template<typename SessionContextT = Aws::String>
110 CreateStreamingURLRequest& WithSessionContext(SessionContextT&& value) { SetSessionContext(std::forward<SessionContextT>(value)); return *this;}
112 private:
113
114 Aws::String m_stackName;
115 bool m_stackNameHasBeenSet = false;
116
117 Aws::String m_fleetName;
118 bool m_fleetNameHasBeenSet = false;
119
120 Aws::String m_userId;
121 bool m_userIdHasBeenSet = false;
122
123 Aws::String m_applicationId;
124 bool m_applicationIdHasBeenSet = false;
125
126 long long m_validity{0};
127 bool m_validityHasBeenSet = false;
128
129 Aws::String m_sessionContext;
130 bool m_sessionContextHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace AppStream
135} // namespace Aws
CreateStreamingURLRequest & WithSessionContext(SessionContextT &&value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateStreamingURLRequest & WithUserId(UserIdT &&value)
virtual const char * GetServiceRequestName() const override
CreateStreamingURLRequest & WithValidity(long long value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
AWS_APPSTREAM_API CreateStreamingURLRequest()=default
CreateStreamingURLRequest & WithStackName(StackNameT &&value)
CreateStreamingURLRequest & WithApplicationId(ApplicationIdT &&value)
CreateStreamingURLRequest & WithFleetName(FleetNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String