AWS SDK for C++

AWS SDK for C++ Version 1.11.687

Loading...
Searching...
No Matches
ListReservationsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/medialive/MediaLive_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace MediaLive {
18namespace Model {
19
26 public:
27 AWS_MEDIALIVE_API ListReservationsRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ListReservations"; }
34
35 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
36
37 AWS_MEDIALIVE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
43 inline const Aws::String& GetChannelClass() const { return m_channelClass; }
44 inline bool ChannelClassHasBeenSet() const { return m_channelClassHasBeenSet; }
45 template <typename ChannelClassT = Aws::String>
46 void SetChannelClass(ChannelClassT&& value) {
47 m_channelClassHasBeenSet = true;
48 m_channelClass = std::forward<ChannelClassT>(value);
49 }
50 template <typename ChannelClassT = Aws::String>
51 ListReservationsRequest& WithChannelClass(ChannelClassT&& value) {
52 SetChannelClass(std::forward<ChannelClassT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetCodec() const { return m_codec; }
62 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
63 template <typename CodecT = Aws::String>
64 void SetCodec(CodecT&& value) {
65 m_codecHasBeenSet = true;
66 m_codec = std::forward<CodecT>(value);
67 }
68 template <typename CodecT = Aws::String>
70 SetCodec(std::forward<CodecT>(value));
71 return *this;
72 }
74
76
77 inline int GetMaxResults() const { return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) {
80 m_maxResultsHasBeenSet = true;
81 m_maxResults = value;
82 }
84 SetMaxResults(value);
85 return *this;
86 }
88
90
93 inline const Aws::String& GetMaximumBitrate() const { return m_maximumBitrate; }
94 inline bool MaximumBitrateHasBeenSet() const { return m_maximumBitrateHasBeenSet; }
95 template <typename MaximumBitrateT = Aws::String>
96 void SetMaximumBitrate(MaximumBitrateT&& value) {
97 m_maximumBitrateHasBeenSet = true;
98 m_maximumBitrate = std::forward<MaximumBitrateT>(value);
99 }
100 template <typename MaximumBitrateT = Aws::String>
101 ListReservationsRequest& WithMaximumBitrate(MaximumBitrateT&& value) {
102 SetMaximumBitrate(std::forward<MaximumBitrateT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetMaximumFramerate() const { return m_maximumFramerate; }
112 inline bool MaximumFramerateHasBeenSet() const { return m_maximumFramerateHasBeenSet; }
113 template <typename MaximumFramerateT = Aws::String>
114 void SetMaximumFramerate(MaximumFramerateT&& value) {
115 m_maximumFramerateHasBeenSet = true;
116 m_maximumFramerate = std::forward<MaximumFramerateT>(value);
117 }
118 template <typename MaximumFramerateT = Aws::String>
119 ListReservationsRequest& WithMaximumFramerate(MaximumFramerateT&& value) {
120 SetMaximumFramerate(std::forward<MaximumFramerateT>(value));
121 return *this;
122 }
124
126
127 inline const Aws::String& GetNextToken() const { return m_nextToken; }
128 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
129 template <typename NextTokenT = Aws::String>
130 void SetNextToken(NextTokenT&& value) {
131 m_nextTokenHasBeenSet = true;
132 m_nextToken = std::forward<NextTokenT>(value);
133 }
134 template <typename NextTokenT = Aws::String>
136 SetNextToken(std::forward<NextTokenT>(value));
137 return *this;
138 }
140
142
145 inline const Aws::String& GetResolution() const { return m_resolution; }
146 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
147 template <typename ResolutionT = Aws::String>
148 void SetResolution(ResolutionT&& value) {
149 m_resolutionHasBeenSet = true;
150 m_resolution = std::forward<ResolutionT>(value);
151 }
152 template <typename ResolutionT = Aws::String>
154 SetResolution(std::forward<ResolutionT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::String& GetResourceType() const { return m_resourceType; }
164 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
165 template <typename ResourceTypeT = Aws::String>
166 void SetResourceType(ResourceTypeT&& value) {
167 m_resourceTypeHasBeenSet = true;
168 m_resourceType = std::forward<ResourceTypeT>(value);
169 }
170 template <typename ResourceTypeT = Aws::String>
172 SetResourceType(std::forward<ResourceTypeT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::String& GetSpecialFeature() const { return m_specialFeature; }
182 inline bool SpecialFeatureHasBeenSet() const { return m_specialFeatureHasBeenSet; }
183 template <typename SpecialFeatureT = Aws::String>
184 void SetSpecialFeature(SpecialFeatureT&& value) {
185 m_specialFeatureHasBeenSet = true;
186 m_specialFeature = std::forward<SpecialFeatureT>(value);
187 }
188 template <typename SpecialFeatureT = Aws::String>
189 ListReservationsRequest& WithSpecialFeature(SpecialFeatureT&& value) {
190 SetSpecialFeature(std::forward<SpecialFeatureT>(value));
191 return *this;
192 }
194
196
199 inline const Aws::String& GetVideoQuality() const { return m_videoQuality; }
200 inline bool VideoQualityHasBeenSet() const { return m_videoQualityHasBeenSet; }
201 template <typename VideoQualityT = Aws::String>
202 void SetVideoQuality(VideoQualityT&& value) {
203 m_videoQualityHasBeenSet = true;
204 m_videoQuality = std::forward<VideoQualityT>(value);
205 }
206 template <typename VideoQualityT = Aws::String>
208 SetVideoQuality(std::forward<VideoQualityT>(value));
209 return *this;
210 }
212 private:
213 Aws::String m_channelClass;
214 bool m_channelClassHasBeenSet = false;
215
216 Aws::String m_codec;
217 bool m_codecHasBeenSet = false;
218
219 int m_maxResults{0};
220 bool m_maxResultsHasBeenSet = false;
221
222 Aws::String m_maximumBitrate;
223 bool m_maximumBitrateHasBeenSet = false;
224
225 Aws::String m_maximumFramerate;
226 bool m_maximumFramerateHasBeenSet = false;
227
228 Aws::String m_nextToken;
229 bool m_nextTokenHasBeenSet = false;
230
231 Aws::String m_resolution;
232 bool m_resolutionHasBeenSet = false;
233
234 Aws::String m_resourceType;
235 bool m_resourceTypeHasBeenSet = false;
236
237 Aws::String m_specialFeature;
238 bool m_specialFeatureHasBeenSet = false;
239
240 Aws::String m_videoQuality;
241 bool m_videoQualityHasBeenSet = false;
242};
243
244} // namespace Model
245} // namespace MediaLive
246} // namespace Aws
ListReservationsRequest & WithChannelClass(ChannelClassT &&value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
ListReservationsRequest & WithMaximumFramerate(MaximumFramerateT &&value)
ListReservationsRequest & WithVideoQuality(VideoQualityT &&value)
ListReservationsRequest & WithNextToken(NextTokenT &&value)
ListReservationsRequest & WithResourceType(ResourceTypeT &&value)
ListReservationsRequest & WithSpecialFeature(SpecialFeatureT &&value)
AWS_MEDIALIVE_API ListReservationsRequest()=default
ListReservationsRequest & WithResolution(ResolutionT &&value)
ListReservationsRequest & WithMaximumBitrate(MaximumBitrateT &&value)
ListReservationsRequest & WithCodec(CodecT &&value)
virtual const char * GetServiceRequestName() const override
AWS_MEDIALIVE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListReservationsRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String