AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChannelClass(const Aws::String& value) { m_channelClassHasBeenSet = true; m_channelClass = value; }
51 inline void SetChannelClass(Aws::String&& value) { m_channelClassHasBeenSet = true; m_channelClass = std::move(value); }
52 inline void SetChannelClass(const char* value) { m_channelClassHasBeenSet = true; m_channelClass.assign(value); }
53 inline ListOfferingsRequest& WithChannelClass(const Aws::String& value) { SetChannelClass(value); return *this;}
54 inline ListOfferingsRequest& WithChannelClass(Aws::String&& value) { SetChannelClass(std::move(value)); return *this;}
55 inline ListOfferingsRequest& WithChannelClass(const char* value) { SetChannelClass(value); return *this;}
57
59
63 inline const Aws::String& GetChannelConfiguration() const{ return m_channelConfiguration; }
64 inline bool ChannelConfigurationHasBeenSet() const { return m_channelConfigurationHasBeenSet; }
65 inline void SetChannelConfiguration(const Aws::String& value) { m_channelConfigurationHasBeenSet = true; m_channelConfiguration = value; }
66 inline void SetChannelConfiguration(Aws::String&& value) { m_channelConfigurationHasBeenSet = true; m_channelConfiguration = std::move(value); }
67 inline void SetChannelConfiguration(const char* value) { m_channelConfigurationHasBeenSet = true; m_channelConfiguration.assign(value); }
69 inline ListOfferingsRequest& WithChannelConfiguration(Aws::String&& value) { SetChannelConfiguration(std::move(value)); return *this;}
70 inline ListOfferingsRequest& WithChannelConfiguration(const char* value) { SetChannelConfiguration(value); return *this;}
72
74
77 inline const Aws::String& GetCodec() const{ return m_codec; }
78 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
79 inline void SetCodec(const Aws::String& value) { m_codecHasBeenSet = true; m_codec = value; }
80 inline void SetCodec(Aws::String&& value) { m_codecHasBeenSet = true; m_codec = std::move(value); }
81 inline void SetCodec(const char* value) { m_codecHasBeenSet = true; m_codec.assign(value); }
82 inline ListOfferingsRequest& WithCodec(const Aws::String& value) { SetCodec(value); return *this;}
83 inline ListOfferingsRequest& WithCodec(Aws::String&& value) { SetCodec(std::move(value)); return *this;}
84 inline ListOfferingsRequest& WithCodec(const char* value) { SetCodec(value); return *this;}
86
88
91 inline const Aws::String& GetDuration() const{ return m_duration; }
92 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
93 inline void SetDuration(const Aws::String& value) { m_durationHasBeenSet = true; m_duration = value; }
94 inline void SetDuration(Aws::String&& value) { m_durationHasBeenSet = true; m_duration = std::move(value); }
95 inline void SetDuration(const char* value) { m_durationHasBeenSet = true; m_duration.assign(value); }
96 inline ListOfferingsRequest& WithDuration(const Aws::String& value) { SetDuration(value); return *this;}
97 inline ListOfferingsRequest& WithDuration(Aws::String&& value) { SetDuration(std::move(value)); return *this;}
98 inline ListOfferingsRequest& WithDuration(const char* value) { SetDuration(value); return *this;}
100
102
103 inline int GetMaxResults() const{ return m_maxResults; }
104 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
105 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
106 inline ListOfferingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
108
110
113 inline const Aws::String& GetMaximumBitrate() const{ return m_maximumBitrate; }
114 inline bool MaximumBitrateHasBeenSet() const { return m_maximumBitrateHasBeenSet; }
115 inline void SetMaximumBitrate(const Aws::String& value) { m_maximumBitrateHasBeenSet = true; m_maximumBitrate = value; }
116 inline void SetMaximumBitrate(Aws::String&& value) { m_maximumBitrateHasBeenSet = true; m_maximumBitrate = std::move(value); }
117 inline void SetMaximumBitrate(const char* value) { m_maximumBitrateHasBeenSet = true; m_maximumBitrate.assign(value); }
118 inline ListOfferingsRequest& WithMaximumBitrate(const Aws::String& value) { SetMaximumBitrate(value); return *this;}
119 inline ListOfferingsRequest& WithMaximumBitrate(Aws::String&& value) { SetMaximumBitrate(std::move(value)); return *this;}
120 inline ListOfferingsRequest& WithMaximumBitrate(const char* value) { SetMaximumBitrate(value); return *this;}
122
124
127 inline const Aws::String& GetMaximumFramerate() const{ return m_maximumFramerate; }
128 inline bool MaximumFramerateHasBeenSet() const { return m_maximumFramerateHasBeenSet; }
129 inline void SetMaximumFramerate(const Aws::String& value) { m_maximumFramerateHasBeenSet = true; m_maximumFramerate = value; }
130 inline void SetMaximumFramerate(Aws::String&& value) { m_maximumFramerateHasBeenSet = true; m_maximumFramerate = std::move(value); }
131 inline void SetMaximumFramerate(const char* value) { m_maximumFramerateHasBeenSet = true; m_maximumFramerate.assign(value); }
132 inline ListOfferingsRequest& WithMaximumFramerate(const Aws::String& value) { SetMaximumFramerate(value); return *this;}
133 inline ListOfferingsRequest& WithMaximumFramerate(Aws::String&& value) { SetMaximumFramerate(std::move(value)); return *this;}
134 inline ListOfferingsRequest& WithMaximumFramerate(const char* value) { SetMaximumFramerate(value); return *this;}
136
138
139 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
140 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
141 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
142 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
143 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
144 inline ListOfferingsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
145 inline ListOfferingsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
146 inline ListOfferingsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
148
150
153 inline const Aws::String& GetResolution() const{ return m_resolution; }
154 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
155 inline void SetResolution(const Aws::String& value) { m_resolutionHasBeenSet = true; m_resolution = value; }
156 inline void SetResolution(Aws::String&& value) { m_resolutionHasBeenSet = true; m_resolution = std::move(value); }
157 inline void SetResolution(const char* value) { m_resolutionHasBeenSet = true; m_resolution.assign(value); }
158 inline ListOfferingsRequest& WithResolution(const Aws::String& value) { SetResolution(value); return *this;}
159 inline ListOfferingsRequest& WithResolution(Aws::String&& value) { SetResolution(std::move(value)); return *this;}
160 inline ListOfferingsRequest& WithResolution(const char* value) { SetResolution(value); return *this;}
162
164
167 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
168 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
169 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
170 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
171 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
172 inline ListOfferingsRequest& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
173 inline ListOfferingsRequest& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
174 inline ListOfferingsRequest& WithResourceType(const char* value) { SetResourceType(value); return *this;}
176
178
181 inline const Aws::String& GetSpecialFeature() const{ return m_specialFeature; }
182 inline bool SpecialFeatureHasBeenSet() const { return m_specialFeatureHasBeenSet; }
183 inline void SetSpecialFeature(const Aws::String& value) { m_specialFeatureHasBeenSet = true; m_specialFeature = value; }
184 inline void SetSpecialFeature(Aws::String&& value) { m_specialFeatureHasBeenSet = true; m_specialFeature = std::move(value); }
185 inline void SetSpecialFeature(const char* value) { m_specialFeatureHasBeenSet = true; m_specialFeature.assign(value); }
186 inline ListOfferingsRequest& WithSpecialFeature(const Aws::String& value) { SetSpecialFeature(value); return *this;}
187 inline ListOfferingsRequest& WithSpecialFeature(Aws::String&& value) { SetSpecialFeature(std::move(value)); return *this;}
188 inline ListOfferingsRequest& WithSpecialFeature(const char* value) { SetSpecialFeature(value); return *this;}
190
192
195 inline const Aws::String& GetVideoQuality() const{ return m_videoQuality; }
196 inline bool VideoQualityHasBeenSet() const { return m_videoQualityHasBeenSet; }
197 inline void SetVideoQuality(const Aws::String& value) { m_videoQualityHasBeenSet = true; m_videoQuality = value; }
198 inline void SetVideoQuality(Aws::String&& value) { m_videoQualityHasBeenSet = true; m_videoQuality = std::move(value); }
199 inline void SetVideoQuality(const char* value) { m_videoQualityHasBeenSet = true; m_videoQuality.assign(value); }
200 inline ListOfferingsRequest& WithVideoQuality(const Aws::String& value) { SetVideoQuality(value); return *this;}
201 inline ListOfferingsRequest& WithVideoQuality(Aws::String&& value) { SetVideoQuality(std::move(value)); return *this;}
202 inline ListOfferingsRequest& WithVideoQuality(const char* value) { SetVideoQuality(value); return *this;}
204 private:
205
206 Aws::String m_channelClass;
207 bool m_channelClassHasBeenSet = false;
208
209 Aws::String m_channelConfiguration;
210 bool m_channelConfigurationHasBeenSet = false;
211
212 Aws::String m_codec;
213 bool m_codecHasBeenSet = false;
214
215 Aws::String m_duration;
216 bool m_durationHasBeenSet = false;
217
218 int m_maxResults;
219 bool m_maxResultsHasBeenSet = false;
220
221 Aws::String m_maximumBitrate;
222 bool m_maximumBitrateHasBeenSet = false;
223
224 Aws::String m_maximumFramerate;
225 bool m_maximumFramerateHasBeenSet = false;
226
227 Aws::String m_nextToken;
228 bool m_nextTokenHasBeenSet = false;
229
230 Aws::String m_resolution;
231 bool m_resolutionHasBeenSet = false;
232
233 Aws::String m_resourceType;
234 bool m_resourceTypeHasBeenSet = false;
235
236 Aws::String m_specialFeature;
237 bool m_specialFeatureHasBeenSet = false;
238
239 Aws::String m_videoQuality;
240 bool m_videoQualityHasBeenSet = false;
241 };
242
243} // namespace Model
244} // namespace MediaLive
245} // namespace Aws
ListOfferingsRequest & WithNextToken(const Aws::String &value)
ListOfferingsRequest & WithDuration(const Aws::String &value)
ListOfferingsRequest & WithVideoQuality(const char *value)
ListOfferingsRequest & WithNextToken(const char *value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
ListOfferingsRequest & WithMaximumFramerate(Aws::String &&value)
ListOfferingsRequest & WithMaximumBitrate(const char *value)
ListOfferingsRequest & WithMaximumBitrate(const Aws::String &value)
ListOfferingsRequest & WithChannelConfiguration(const Aws::String &value)
void SetChannelConfiguration(const Aws::String &value)
ListOfferingsRequest & WithMaximumFramerate(const Aws::String &value)
ListOfferingsRequest & WithResourceType(Aws::String &&value)
ListOfferingsRequest & WithChannelClass(Aws::String &&value)
ListOfferingsRequest & WithNextToken(Aws::String &&value)
ListOfferingsRequest & WithResolution(Aws::String &&value)
ListOfferingsRequest & WithChannelConfiguration(Aws::String &&value)
ListOfferingsRequest & WithMaximumBitrate(Aws::String &&value)
void SetChannelClass(const Aws::String &value)
ListOfferingsRequest & WithVideoQuality(const Aws::String &value)
ListOfferingsRequest & WithResolution(const Aws::String &value)
ListOfferingsRequest & WithMaxResults(int value)
ListOfferingsRequest & WithDuration(Aws::String &&value)
ListOfferingsRequest & WithSpecialFeature(const char *value)
ListOfferingsRequest & WithResourceType(const Aws::String &value)
ListOfferingsRequest & WithChannelClass(const Aws::String &value)
const Aws::String & GetChannelConfiguration() const
ListOfferingsRequest & WithResolution(const char *value)
ListOfferingsRequest & WithMaximumFramerate(const char *value)
ListOfferingsRequest & WithVideoQuality(Aws::String &&value)
ListOfferingsRequest & WithResourceType(const char *value)
ListOfferingsRequest & WithCodec(Aws::String &&value)
AWS_MEDIALIVE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListOfferingsRequest & WithDuration(const char *value)
void SetMaximumBitrate(const Aws::String &value)
ListOfferingsRequest & WithSpecialFeature(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListOfferingsRequest & WithSpecialFeature(const Aws::String &value)
void SetSpecialFeature(const Aws::String &value)
ListOfferingsRequest & WithCodec(const char *value)
ListOfferingsRequest & WithCodec(const Aws::String &value)
ListOfferingsRequest & WithChannelClass(const char *value)
void SetMaximumFramerate(const Aws::String &value)
ListOfferingsRequest & WithChannelConfiguration(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String