AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ListOfferingsRequest.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 ListOfferingsRequest() = 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 "ListOfferings"; }
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 ListOfferingsRequest& WithChannelClass(ChannelClassT&& value) {
52 SetChannelClass(std::forward<ChannelClassT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetChannelConfiguration() const { return m_channelConfiguration; }
63 inline bool ChannelConfigurationHasBeenSet() const { return m_channelConfigurationHasBeenSet; }
64 template <typename ChannelConfigurationT = Aws::String>
65 void SetChannelConfiguration(ChannelConfigurationT&& value) {
66 m_channelConfigurationHasBeenSet = true;
67 m_channelConfiguration = std::forward<ChannelConfigurationT>(value);
68 }
69 template <typename ChannelConfigurationT = Aws::String>
70 ListOfferingsRequest& WithChannelConfiguration(ChannelConfigurationT&& value) {
71 SetChannelConfiguration(std::forward<ChannelConfigurationT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetCodec() const { return m_codec; }
81 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
82 template <typename CodecT = Aws::String>
83 void SetCodec(CodecT&& value) {
84 m_codecHasBeenSet = true;
85 m_codec = std::forward<CodecT>(value);
86 }
87 template <typename CodecT = Aws::String>
89 SetCodec(std::forward<CodecT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetDuration() const { return m_duration; }
99 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
100 template <typename DurationT = Aws::String>
101 void SetDuration(DurationT&& value) {
102 m_durationHasBeenSet = true;
103 m_duration = std::forward<DurationT>(value);
104 }
105 template <typename DurationT = Aws::String>
106 ListOfferingsRequest& WithDuration(DurationT&& value) {
107 SetDuration(std::forward<DurationT>(value));
108 return *this;
109 }
111
113
114 inline int GetMaxResults() const { return m_maxResults; }
115 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
116 inline void SetMaxResults(int value) {
117 m_maxResultsHasBeenSet = true;
118 m_maxResults = value;
119 }
121 SetMaxResults(value);
122 return *this;
123 }
125
127
130 inline const Aws::String& GetMaximumBitrate() const { return m_maximumBitrate; }
131 inline bool MaximumBitrateHasBeenSet() const { return m_maximumBitrateHasBeenSet; }
132 template <typename MaximumBitrateT = Aws::String>
133 void SetMaximumBitrate(MaximumBitrateT&& value) {
134 m_maximumBitrateHasBeenSet = true;
135 m_maximumBitrate = std::forward<MaximumBitrateT>(value);
136 }
137 template <typename MaximumBitrateT = Aws::String>
138 ListOfferingsRequest& WithMaximumBitrate(MaximumBitrateT&& value) {
139 SetMaximumBitrate(std::forward<MaximumBitrateT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::String& GetMaximumFramerate() const { return m_maximumFramerate; }
149 inline bool MaximumFramerateHasBeenSet() const { return m_maximumFramerateHasBeenSet; }
150 template <typename MaximumFramerateT = Aws::String>
151 void SetMaximumFramerate(MaximumFramerateT&& value) {
152 m_maximumFramerateHasBeenSet = true;
153 m_maximumFramerate = std::forward<MaximumFramerateT>(value);
154 }
155 template <typename MaximumFramerateT = Aws::String>
156 ListOfferingsRequest& WithMaximumFramerate(MaximumFramerateT&& value) {
157 SetMaximumFramerate(std::forward<MaximumFramerateT>(value));
158 return *this;
159 }
161
163
164 inline const Aws::String& GetNextToken() const { return m_nextToken; }
165 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
166 template <typename NextTokenT = Aws::String>
167 void SetNextToken(NextTokenT&& value) {
168 m_nextTokenHasBeenSet = true;
169 m_nextToken = std::forward<NextTokenT>(value);
170 }
171 template <typename NextTokenT = Aws::String>
172 ListOfferingsRequest& WithNextToken(NextTokenT&& value) {
173 SetNextToken(std::forward<NextTokenT>(value));
174 return *this;
175 }
177
179
182 inline const Aws::String& GetResolution() const { return m_resolution; }
183 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
184 template <typename ResolutionT = Aws::String>
185 void SetResolution(ResolutionT&& value) {
186 m_resolutionHasBeenSet = true;
187 m_resolution = std::forward<ResolutionT>(value);
188 }
189 template <typename ResolutionT = Aws::String>
190 ListOfferingsRequest& WithResolution(ResolutionT&& value) {
191 SetResolution(std::forward<ResolutionT>(value));
192 return *this;
193 }
195
197
200 inline const Aws::String& GetResourceType() const { return m_resourceType; }
201 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
202 template <typename ResourceTypeT = Aws::String>
203 void SetResourceType(ResourceTypeT&& value) {
204 m_resourceTypeHasBeenSet = true;
205 m_resourceType = std::forward<ResourceTypeT>(value);
206 }
207 template <typename ResourceTypeT = Aws::String>
208 ListOfferingsRequest& WithResourceType(ResourceTypeT&& value) {
209 SetResourceType(std::forward<ResourceTypeT>(value));
210 return *this;
211 }
213
215
218 inline const Aws::String& GetSpecialFeature() const { return m_specialFeature; }
219 inline bool SpecialFeatureHasBeenSet() const { return m_specialFeatureHasBeenSet; }
220 template <typename SpecialFeatureT = Aws::String>
221 void SetSpecialFeature(SpecialFeatureT&& value) {
222 m_specialFeatureHasBeenSet = true;
223 m_specialFeature = std::forward<SpecialFeatureT>(value);
224 }
225 template <typename SpecialFeatureT = Aws::String>
226 ListOfferingsRequest& WithSpecialFeature(SpecialFeatureT&& value) {
227 SetSpecialFeature(std::forward<SpecialFeatureT>(value));
228 return *this;
229 }
231
233
236 inline const Aws::String& GetVideoQuality() const { return m_videoQuality; }
237 inline bool VideoQualityHasBeenSet() const { return m_videoQualityHasBeenSet; }
238 template <typename VideoQualityT = Aws::String>
239 void SetVideoQuality(VideoQualityT&& value) {
240 m_videoQualityHasBeenSet = true;
241 m_videoQuality = std::forward<VideoQualityT>(value);
242 }
243 template <typename VideoQualityT = Aws::String>
244 ListOfferingsRequest& WithVideoQuality(VideoQualityT&& value) {
245 SetVideoQuality(std::forward<VideoQualityT>(value));
246 return *this;
247 }
249 private:
250 Aws::String m_channelClass;
251
252 Aws::String m_channelConfiguration;
253
254 Aws::String m_codec;
255
256 Aws::String m_duration;
257
258 int m_maxResults{0};
259
260 Aws::String m_maximumBitrate;
261
262 Aws::String m_maximumFramerate;
263
264 Aws::String m_nextToken;
265
266 Aws::String m_resolution;
267
268 Aws::String m_resourceType;
269
270 Aws::String m_specialFeature;
271
272 Aws::String m_videoQuality;
273 bool m_channelClassHasBeenSet = false;
274 bool m_channelConfigurationHasBeenSet = false;
275 bool m_codecHasBeenSet = false;
276 bool m_durationHasBeenSet = false;
277 bool m_maxResultsHasBeenSet = false;
278 bool m_maximumBitrateHasBeenSet = false;
279 bool m_maximumFramerateHasBeenSet = false;
280 bool m_nextTokenHasBeenSet = false;
281 bool m_resolutionHasBeenSet = false;
282 bool m_resourceTypeHasBeenSet = false;
283 bool m_specialFeatureHasBeenSet = false;
284 bool m_videoQualityHasBeenSet = false;
285};
286
287} // namespace Model
288} // namespace MediaLive
289} // namespace Aws
AWS_MEDIALIVE_API ListOfferingsRequest()=default
void SetChannelConfiguration(ChannelConfigurationT &&value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
ListOfferingsRequest & WithMaximumFramerate(MaximumFramerateT &&value)
ListOfferingsRequest & WithResolution(ResolutionT &&value)
ListOfferingsRequest & WithNextToken(NextTokenT &&value)
ListOfferingsRequest & WithChannelConfiguration(ChannelConfigurationT &&value)
ListOfferingsRequest & WithResourceType(ResourceTypeT &&value)
ListOfferingsRequest & WithDuration(DurationT &&value)
ListOfferingsRequest & WithMaxResults(int value)
ListOfferingsRequest & WithMaximumBitrate(MaximumBitrateT &&value)
const Aws::String & GetChannelConfiguration() const
ListOfferingsRequest & WithSpecialFeature(SpecialFeatureT &&value)
AWS_MEDIALIVE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListOfferingsRequest & WithCodec(CodecT &&value)
ListOfferingsRequest & WithVideoQuality(VideoQualityT &&value)
virtual const char * GetServiceRequestName() const override
void SetMaximumFramerate(MaximumFramerateT &&value)
ListOfferingsRequest & WithChannelClass(ChannelClassT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String