AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
44 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
45 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
46 inline CreateStreamingURLRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
47 inline CreateStreamingURLRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
48 inline CreateStreamingURLRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
50
52
55 inline const Aws::String& GetFleetName() const{ return m_fleetName; }
56 inline bool FleetNameHasBeenSet() const { return m_fleetNameHasBeenSet; }
57 inline void SetFleetName(const Aws::String& value) { m_fleetNameHasBeenSet = true; m_fleetName = value; }
58 inline void SetFleetName(Aws::String&& value) { m_fleetNameHasBeenSet = true; m_fleetName = std::move(value); }
59 inline void SetFleetName(const char* value) { m_fleetNameHasBeenSet = true; m_fleetName.assign(value); }
60 inline CreateStreamingURLRequest& WithFleetName(const Aws::String& value) { SetFleetName(value); return *this;}
61 inline CreateStreamingURLRequest& WithFleetName(Aws::String&& value) { SetFleetName(std::move(value)); return *this;}
62 inline CreateStreamingURLRequest& WithFleetName(const char* value) { SetFleetName(value); return *this;}
64
66
69 inline const Aws::String& GetUserId() const{ return m_userId; }
70 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
71 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
72 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
73 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
74 inline CreateStreamingURLRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
75 inline CreateStreamingURLRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
76 inline CreateStreamingURLRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
78
80
86 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
87 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
88 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
89 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
90 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
91 inline CreateStreamingURLRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
92 inline CreateStreamingURLRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
93 inline CreateStreamingURLRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
95
97
101 inline long long GetValidity() const{ return m_validity; }
102 inline bool ValidityHasBeenSet() const { return m_validityHasBeenSet; }
103 inline void SetValidity(long long value) { m_validityHasBeenSet = true; m_validity = value; }
104 inline CreateStreamingURLRequest& WithValidity(long long value) { SetValidity(value); return *this;}
106
108
113 inline const Aws::String& GetSessionContext() const{ return m_sessionContext; }
114 inline bool SessionContextHasBeenSet() const { return m_sessionContextHasBeenSet; }
115 inline void SetSessionContext(const Aws::String& value) { m_sessionContextHasBeenSet = true; m_sessionContext = value; }
116 inline void SetSessionContext(Aws::String&& value) { m_sessionContextHasBeenSet = true; m_sessionContext = std::move(value); }
117 inline void SetSessionContext(const char* value) { m_sessionContextHasBeenSet = true; m_sessionContext.assign(value); }
118 inline CreateStreamingURLRequest& WithSessionContext(const Aws::String& value) { SetSessionContext(value); return *this;}
119 inline CreateStreamingURLRequest& WithSessionContext(Aws::String&& value) { SetSessionContext(std::move(value)); return *this;}
120 inline CreateStreamingURLRequest& WithSessionContext(const char* value) { SetSessionContext(value); return *this;}
122 private:
123
124 Aws::String m_stackName;
125 bool m_stackNameHasBeenSet = false;
126
127 Aws::String m_fleetName;
128 bool m_fleetNameHasBeenSet = false;
129
130 Aws::String m_userId;
131 bool m_userIdHasBeenSet = false;
132
133 Aws::String m_applicationId;
134 bool m_applicationIdHasBeenSet = false;
135
136 long long m_validity;
137 bool m_validityHasBeenSet = false;
138
139 Aws::String m_sessionContext;
140 bool m_sessionContextHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace AppStream
145} // namespace Aws
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