AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListReservationsRequest.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 ListReservationsRequest();
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 "ListReservations"; }
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 ListReservationsRequest& WithChannelClass(const Aws::String& value) { SetChannelClass(value); return *this;}
54 inline ListReservationsRequest& WithChannelClass(Aws::String&& value) { SetChannelClass(std::move(value)); return *this;}
55 inline ListReservationsRequest& WithChannelClass(const char* value) { SetChannelClass(value); return *this;}
57
59
62 inline const Aws::String& GetCodec() const{ return m_codec; }
63 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
64 inline void SetCodec(const Aws::String& value) { m_codecHasBeenSet = true; m_codec = value; }
65 inline void SetCodec(Aws::String&& value) { m_codecHasBeenSet = true; m_codec = std::move(value); }
66 inline void SetCodec(const char* value) { m_codecHasBeenSet = true; m_codec.assign(value); }
67 inline ListReservationsRequest& WithCodec(const Aws::String& value) { SetCodec(value); return *this;}
68 inline ListReservationsRequest& WithCodec(Aws::String&& value) { SetCodec(std::move(value)); return *this;}
69 inline ListReservationsRequest& WithCodec(const char* value) { SetCodec(value); return *this;}
71
73
74 inline int GetMaxResults() const{ return m_maxResults; }
75 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
76 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
77 inline ListReservationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
79
81
84 inline const Aws::String& GetMaximumBitrate() const{ return m_maximumBitrate; }
85 inline bool MaximumBitrateHasBeenSet() const { return m_maximumBitrateHasBeenSet; }
86 inline void SetMaximumBitrate(const Aws::String& value) { m_maximumBitrateHasBeenSet = true; m_maximumBitrate = value; }
87 inline void SetMaximumBitrate(Aws::String&& value) { m_maximumBitrateHasBeenSet = true; m_maximumBitrate = std::move(value); }
88 inline void SetMaximumBitrate(const char* value) { m_maximumBitrateHasBeenSet = true; m_maximumBitrate.assign(value); }
89 inline ListReservationsRequest& WithMaximumBitrate(const Aws::String& value) { SetMaximumBitrate(value); return *this;}
90 inline ListReservationsRequest& WithMaximumBitrate(Aws::String&& value) { SetMaximumBitrate(std::move(value)); return *this;}
91 inline ListReservationsRequest& WithMaximumBitrate(const char* value) { SetMaximumBitrate(value); return *this;}
93
95
98 inline const Aws::String& GetMaximumFramerate() const{ return m_maximumFramerate; }
99 inline bool MaximumFramerateHasBeenSet() const { return m_maximumFramerateHasBeenSet; }
100 inline void SetMaximumFramerate(const Aws::String& value) { m_maximumFramerateHasBeenSet = true; m_maximumFramerate = value; }
101 inline void SetMaximumFramerate(Aws::String&& value) { m_maximumFramerateHasBeenSet = true; m_maximumFramerate = std::move(value); }
102 inline void SetMaximumFramerate(const char* value) { m_maximumFramerateHasBeenSet = true; m_maximumFramerate.assign(value); }
104 inline ListReservationsRequest& WithMaximumFramerate(Aws::String&& value) { SetMaximumFramerate(std::move(value)); return *this;}
105 inline ListReservationsRequest& WithMaximumFramerate(const char* value) { SetMaximumFramerate(value); return *this;}
107
109
110 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
111 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
112 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
113 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
114 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
115 inline ListReservationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
116 inline ListReservationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
117 inline ListReservationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
119
121
124 inline const Aws::String& GetResolution() const{ return m_resolution; }
125 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
126 inline void SetResolution(const Aws::String& value) { m_resolutionHasBeenSet = true; m_resolution = value; }
127 inline void SetResolution(Aws::String&& value) { m_resolutionHasBeenSet = true; m_resolution = std::move(value); }
128 inline void SetResolution(const char* value) { m_resolutionHasBeenSet = true; m_resolution.assign(value); }
129 inline ListReservationsRequest& WithResolution(const Aws::String& value) { SetResolution(value); return *this;}
130 inline ListReservationsRequest& WithResolution(Aws::String&& value) { SetResolution(std::move(value)); return *this;}
131 inline ListReservationsRequest& WithResolution(const char* value) { SetResolution(value); return *this;}
133
135
138 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
139 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
140 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
141 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
142 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
143 inline ListReservationsRequest& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
144 inline ListReservationsRequest& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
145 inline ListReservationsRequest& WithResourceType(const char* value) { SetResourceType(value); return *this;}
147
149
152 inline const Aws::String& GetSpecialFeature() const{ return m_specialFeature; }
153 inline bool SpecialFeatureHasBeenSet() const { return m_specialFeatureHasBeenSet; }
154 inline void SetSpecialFeature(const Aws::String& value) { m_specialFeatureHasBeenSet = true; m_specialFeature = value; }
155 inline void SetSpecialFeature(Aws::String&& value) { m_specialFeatureHasBeenSet = true; m_specialFeature = std::move(value); }
156 inline void SetSpecialFeature(const char* value) { m_specialFeatureHasBeenSet = true; m_specialFeature.assign(value); }
157 inline ListReservationsRequest& WithSpecialFeature(const Aws::String& value) { SetSpecialFeature(value); return *this;}
158 inline ListReservationsRequest& WithSpecialFeature(Aws::String&& value) { SetSpecialFeature(std::move(value)); return *this;}
159 inline ListReservationsRequest& WithSpecialFeature(const char* value) { SetSpecialFeature(value); return *this;}
161
163
166 inline const Aws::String& GetVideoQuality() const{ return m_videoQuality; }
167 inline bool VideoQualityHasBeenSet() const { return m_videoQualityHasBeenSet; }
168 inline void SetVideoQuality(const Aws::String& value) { m_videoQualityHasBeenSet = true; m_videoQuality = value; }
169 inline void SetVideoQuality(Aws::String&& value) { m_videoQualityHasBeenSet = true; m_videoQuality = std::move(value); }
170 inline void SetVideoQuality(const char* value) { m_videoQualityHasBeenSet = true; m_videoQuality.assign(value); }
171 inline ListReservationsRequest& WithVideoQuality(const Aws::String& value) { SetVideoQuality(value); return *this;}
172 inline ListReservationsRequest& WithVideoQuality(Aws::String&& value) { SetVideoQuality(std::move(value)); return *this;}
173 inline ListReservationsRequest& WithVideoQuality(const char* value) { SetVideoQuality(value); return *this;}
175 private:
176
177 Aws::String m_channelClass;
178 bool m_channelClassHasBeenSet = false;
179
180 Aws::String m_codec;
181 bool m_codecHasBeenSet = false;
182
183 int m_maxResults;
184 bool m_maxResultsHasBeenSet = false;
185
186 Aws::String m_maximumBitrate;
187 bool m_maximumBitrateHasBeenSet = false;
188
189 Aws::String m_maximumFramerate;
190 bool m_maximumFramerateHasBeenSet = false;
191
192 Aws::String m_nextToken;
193 bool m_nextTokenHasBeenSet = false;
194
195 Aws::String m_resolution;
196 bool m_resolutionHasBeenSet = false;
197
198 Aws::String m_resourceType;
199 bool m_resourceTypeHasBeenSet = false;
200
201 Aws::String m_specialFeature;
202 bool m_specialFeatureHasBeenSet = false;
203
204 Aws::String m_videoQuality;
205 bool m_videoQualityHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace MediaLive
210} // namespace Aws
ListReservationsRequest & WithNextToken(Aws::String &&value)
ListReservationsRequest & WithVideoQuality(const Aws::String &value)
ListReservationsRequest & WithMaximumFramerate(Aws::String &&value)
ListReservationsRequest & WithMaximumFramerate(const Aws::String &value)
ListReservationsRequest & WithChannelClass(const char *value)
ListReservationsRequest & WithSpecialFeature(const char *value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
ListReservationsRequest & WithNextToken(const char *value)
ListReservationsRequest & WithCodec(const Aws::String &value)
ListReservationsRequest & WithMaximumBitrate(const Aws::String &value)
ListReservationsRequest & WithChannelClass(Aws::String &&value)
ListReservationsRequest & WithResourceType(const Aws::String &value)
ListReservationsRequest & WithVideoQuality(Aws::String &&value)
ListReservationsRequest & WithCodec(Aws::String &&value)
ListReservationsRequest & WithResolution(const Aws::String &value)
ListReservationsRequest & WithMaximumBitrate(Aws::String &&value)
ListReservationsRequest & WithVideoQuality(const char *value)
ListReservationsRequest & WithMaximumFramerate(const char *value)
ListReservationsRequest & WithChannelClass(const Aws::String &value)
ListReservationsRequest & WithResolution(const char *value)
ListReservationsRequest & WithCodec(const char *value)
ListReservationsRequest & WithSpecialFeature(const Aws::String &value)
ListReservationsRequest & WithNextToken(const Aws::String &value)
ListReservationsRequest & WithMaximumBitrate(const char *value)
ListReservationsRequest & WithSpecialFeature(Aws::String &&value)
ListReservationsRequest & WithResourceType(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_MEDIALIVE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListReservationsRequest & WithMaxResults(int value)
ListReservationsRequest & WithResolution(Aws::String &&value)
ListReservationsRequest & WithResourceType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String