AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListOfferingsRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace MediaLive
19{
20namespace Model
21{
22
29 {
30 public:
31 AWS_MEDIALIVE_API ListOfferingsRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ListOfferings"; }
38
39 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
40
41 AWS_MEDIALIVE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline const Aws::String& GetChannelClass() const { return m_channelClass; }
49 inline bool ChannelClassHasBeenSet() const { return m_channelClassHasBeenSet; }
50 template<typename ChannelClassT = Aws::String>
51 void SetChannelClass(ChannelClassT&& value) { m_channelClassHasBeenSet = true; m_channelClass = std::forward<ChannelClassT>(value); }
52 template<typename ChannelClassT = Aws::String>
53 ListOfferingsRequest& WithChannelClass(ChannelClassT&& value) { SetChannelClass(std::forward<ChannelClassT>(value)); return *this;}
55
57
61 inline const Aws::String& GetChannelConfiguration() const { return m_channelConfiguration; }
62 inline bool ChannelConfigurationHasBeenSet() const { return m_channelConfigurationHasBeenSet; }
63 template<typename ChannelConfigurationT = Aws::String>
64 void SetChannelConfiguration(ChannelConfigurationT&& value) { m_channelConfigurationHasBeenSet = true; m_channelConfiguration = std::forward<ChannelConfigurationT>(value); }
65 template<typename ChannelConfigurationT = Aws::String>
66 ListOfferingsRequest& WithChannelConfiguration(ChannelConfigurationT&& value) { SetChannelConfiguration(std::forward<ChannelConfigurationT>(value)); return *this;}
68
70
73 inline const Aws::String& GetCodec() const { return m_codec; }
74 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
75 template<typename CodecT = Aws::String>
76 void SetCodec(CodecT&& value) { m_codecHasBeenSet = true; m_codec = std::forward<CodecT>(value); }
77 template<typename CodecT = Aws::String>
78 ListOfferingsRequest& WithCodec(CodecT&& value) { SetCodec(std::forward<CodecT>(value)); return *this;}
80
82
85 inline const Aws::String& GetDuration() const { return m_duration; }
86 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
87 template<typename DurationT = Aws::String>
88 void SetDuration(DurationT&& value) { m_durationHasBeenSet = true; m_duration = std::forward<DurationT>(value); }
89 template<typename DurationT = Aws::String>
90 ListOfferingsRequest& WithDuration(DurationT&& value) { SetDuration(std::forward<DurationT>(value)); return *this;}
92
94
95 inline int GetMaxResults() const { return m_maxResults; }
96 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
97 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
98 inline ListOfferingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
100
102
105 inline const Aws::String& GetMaximumBitrate() const { return m_maximumBitrate; }
106 inline bool MaximumBitrateHasBeenSet() const { return m_maximumBitrateHasBeenSet; }
107 template<typename MaximumBitrateT = Aws::String>
108 void SetMaximumBitrate(MaximumBitrateT&& value) { m_maximumBitrateHasBeenSet = true; m_maximumBitrate = std::forward<MaximumBitrateT>(value); }
109 template<typename MaximumBitrateT = Aws::String>
110 ListOfferingsRequest& WithMaximumBitrate(MaximumBitrateT&& value) { SetMaximumBitrate(std::forward<MaximumBitrateT>(value)); return *this;}
112
114
117 inline const Aws::String& GetMaximumFramerate() const { return m_maximumFramerate; }
118 inline bool MaximumFramerateHasBeenSet() const { return m_maximumFramerateHasBeenSet; }
119 template<typename MaximumFramerateT = Aws::String>
120 void SetMaximumFramerate(MaximumFramerateT&& value) { m_maximumFramerateHasBeenSet = true; m_maximumFramerate = std::forward<MaximumFramerateT>(value); }
121 template<typename MaximumFramerateT = Aws::String>
122 ListOfferingsRequest& WithMaximumFramerate(MaximumFramerateT&& value) { SetMaximumFramerate(std::forward<MaximumFramerateT>(value)); return *this;}
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) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
131 template<typename NextTokenT = Aws::String>
132 ListOfferingsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
134
136
139 inline const Aws::String& GetResolution() const { return m_resolution; }
140 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
141 template<typename ResolutionT = Aws::String>
142 void SetResolution(ResolutionT&& value) { m_resolutionHasBeenSet = true; m_resolution = std::forward<ResolutionT>(value); }
143 template<typename ResolutionT = Aws::String>
144 ListOfferingsRequest& WithResolution(ResolutionT&& value) { SetResolution(std::forward<ResolutionT>(value)); return *this;}
146
148
151 inline const Aws::String& GetResourceType() const { return m_resourceType; }
152 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
153 template<typename ResourceTypeT = Aws::String>
154 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::forward<ResourceTypeT>(value); }
155 template<typename ResourceTypeT = Aws::String>
156 ListOfferingsRequest& WithResourceType(ResourceTypeT&& value) { SetResourceType(std::forward<ResourceTypeT>(value)); return *this;}
158
160
163 inline const Aws::String& GetSpecialFeature() const { return m_specialFeature; }
164 inline bool SpecialFeatureHasBeenSet() const { return m_specialFeatureHasBeenSet; }
165 template<typename SpecialFeatureT = Aws::String>
166 void SetSpecialFeature(SpecialFeatureT&& value) { m_specialFeatureHasBeenSet = true; m_specialFeature = std::forward<SpecialFeatureT>(value); }
167 template<typename SpecialFeatureT = Aws::String>
168 ListOfferingsRequest& WithSpecialFeature(SpecialFeatureT&& value) { SetSpecialFeature(std::forward<SpecialFeatureT>(value)); return *this;}
170
172
175 inline const Aws::String& GetVideoQuality() const { return m_videoQuality; }
176 inline bool VideoQualityHasBeenSet() const { return m_videoQualityHasBeenSet; }
177 template<typename VideoQualityT = Aws::String>
178 void SetVideoQuality(VideoQualityT&& value) { m_videoQualityHasBeenSet = true; m_videoQuality = std::forward<VideoQualityT>(value); }
179 template<typename VideoQualityT = Aws::String>
180 ListOfferingsRequest& WithVideoQuality(VideoQualityT&& value) { SetVideoQuality(std::forward<VideoQualityT>(value)); return *this;}
182 private:
183
184 Aws::String m_channelClass;
185 bool m_channelClassHasBeenSet = false;
186
187 Aws::String m_channelConfiguration;
188 bool m_channelConfigurationHasBeenSet = false;
189
190 Aws::String m_codec;
191 bool m_codecHasBeenSet = false;
192
193 Aws::String m_duration;
194 bool m_durationHasBeenSet = false;
195
196 int m_maxResults{0};
197 bool m_maxResultsHasBeenSet = false;
198
199 Aws::String m_maximumBitrate;
200 bool m_maximumBitrateHasBeenSet = false;
201
202 Aws::String m_maximumFramerate;
203 bool m_maximumFramerateHasBeenSet = false;
204
205 Aws::String m_nextToken;
206 bool m_nextTokenHasBeenSet = false;
207
208 Aws::String m_resolution;
209 bool m_resolutionHasBeenSet = false;
210
211 Aws::String m_resourceType;
212 bool m_resourceTypeHasBeenSet = false;
213
214 Aws::String m_specialFeature;
215 bool m_specialFeatureHasBeenSet = false;
216
217 Aws::String m_videoQuality;
218 bool m_videoQualityHasBeenSet = false;
219 };
220
221} // namespace Model
222} // namespace MediaLive
223} // 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