AWS SDK for C++

AWS SDK for C++ Version 1.11.749

Loading...
Searching...
No Matches
ReservationResourceSpecification.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/ChannelClass.h>
9#include <aws/medialive/model/ReservationCodec.h>
10#include <aws/medialive/model/ReservationMaximumBitrate.h>
11#include <aws/medialive/model/ReservationMaximumFramerate.h>
12#include <aws/medialive/model/ReservationResolution.h>
13#include <aws/medialive/model/ReservationResourceType.h>
14#include <aws/medialive/model/ReservationSpecialFeature.h>
15#include <aws/medialive/model/ReservationVideoQuality.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MediaLive {
27namespace Model {
28
36 public:
37 AWS_MEDIALIVE_API ReservationResourceSpecification() = default;
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline ChannelClass GetChannelClass() const { return m_channelClass; }
47 inline bool ChannelClassHasBeenSet() const { return m_channelClassHasBeenSet; }
48 inline void SetChannelClass(ChannelClass value) {
49 m_channelClassHasBeenSet = true;
50 m_channelClass = value;
51 }
53 SetChannelClass(value);
54 return *this;
55 }
57
59
62 inline ReservationCodec GetCodec() const { return m_codec; }
63 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
64 inline void SetCodec(ReservationCodec value) {
65 m_codecHasBeenSet = true;
66 m_codec = value;
67 }
69 SetCodec(value);
70 return *this;
71 }
73
75
78 inline ReservationMaximumBitrate GetMaximumBitrate() const { return m_maximumBitrate; }
79 inline bool MaximumBitrateHasBeenSet() const { return m_maximumBitrateHasBeenSet; }
81 m_maximumBitrateHasBeenSet = true;
82 m_maximumBitrate = value;
83 }
85 SetMaximumBitrate(value);
86 return *this;
87 }
89
91
94 inline ReservationMaximumFramerate GetMaximumFramerate() const { return m_maximumFramerate; }
95 inline bool MaximumFramerateHasBeenSet() const { return m_maximumFramerateHasBeenSet; }
97 m_maximumFramerateHasBeenSet = true;
98 m_maximumFramerate = value;
99 }
101 SetMaximumFramerate(value);
102 return *this;
103 }
105
107
110 inline ReservationResolution GetResolution() const { return m_resolution; }
111 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
113 m_resolutionHasBeenSet = true;
114 m_resolution = value;
115 }
117 SetResolution(value);
118 return *this;
119 }
121
123
126 inline ReservationResourceType GetResourceType() const { return m_resourceType; }
127 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
129 m_resourceTypeHasBeenSet = true;
130 m_resourceType = value;
131 }
133 SetResourceType(value);
134 return *this;
135 }
137
139
142 inline ReservationSpecialFeature GetSpecialFeature() const { return m_specialFeature; }
143 inline bool SpecialFeatureHasBeenSet() const { return m_specialFeatureHasBeenSet; }
145 m_specialFeatureHasBeenSet = true;
146 m_specialFeature = value;
147 }
149 SetSpecialFeature(value);
150 return *this;
151 }
153
155
158 inline ReservationVideoQuality GetVideoQuality() const { return m_videoQuality; }
159 inline bool VideoQualityHasBeenSet() const { return m_videoQualityHasBeenSet; }
161 m_videoQualityHasBeenSet = true;
162 m_videoQuality = value;
163 }
165 SetVideoQuality(value);
166 return *this;
167 }
169 private:
170 ChannelClass m_channelClass{ChannelClass::NOT_SET};
171
173
175
177
179
181
183
185 bool m_channelClassHasBeenSet = false;
186 bool m_codecHasBeenSet = false;
187 bool m_maximumBitrateHasBeenSet = false;
188 bool m_maximumFramerateHasBeenSet = false;
189 bool m_resolutionHasBeenSet = false;
190 bool m_resourceTypeHasBeenSet = false;
191 bool m_specialFeatureHasBeenSet = false;
192 bool m_videoQualityHasBeenSet = false;
193};
194
195} // namespace Model
196} // namespace MediaLive
197} // namespace Aws
ReservationResourceSpecification & WithResolution(ReservationResolution value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API ReservationResourceSpecification()=default
AWS_MEDIALIVE_API ReservationResourceSpecification(Aws::Utils::Json::JsonView jsonValue)
ReservationResourceSpecification & WithResourceType(ReservationResourceType value)
ReservationResourceSpecification & WithSpecialFeature(ReservationSpecialFeature value)
ReservationResourceSpecification & WithMaximumFramerate(ReservationMaximumFramerate value)
ReservationResourceSpecification & WithMaximumBitrate(ReservationMaximumBitrate value)
ReservationResourceSpecification & WithCodec(ReservationCodec value)
ReservationResourceSpecification & WithVideoQuality(ReservationVideoQuality value)
ReservationResourceSpecification & WithChannelClass(ChannelClass value)
AWS_MEDIALIVE_API ReservationResourceSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue