AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace MediaLive
29{
30namespace Model
31{
32
40 {
41 public:
45 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const ChannelClass& GetChannelClass() const{ return m_channelClass; }
53 inline bool ChannelClassHasBeenSet() const { return m_channelClassHasBeenSet; }
54 inline void SetChannelClass(const ChannelClass& value) { m_channelClassHasBeenSet = true; m_channelClass = value; }
55 inline void SetChannelClass(ChannelClass&& value) { m_channelClassHasBeenSet = true; m_channelClass = std::move(value); }
57 inline ReservationResourceSpecification& WithChannelClass(ChannelClass&& value) { SetChannelClass(std::move(value)); return *this;}
59
61
64 inline const ReservationCodec& GetCodec() const{ return m_codec; }
65 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
66 inline void SetCodec(const ReservationCodec& value) { m_codecHasBeenSet = true; m_codec = value; }
67 inline void SetCodec(ReservationCodec&& value) { m_codecHasBeenSet = true; m_codec = std::move(value); }
68 inline ReservationResourceSpecification& WithCodec(const ReservationCodec& value) { SetCodec(value); return *this;}
69 inline ReservationResourceSpecification& WithCodec(ReservationCodec&& value) { SetCodec(std::move(value)); return *this;}
71
73
76 inline const ReservationMaximumBitrate& GetMaximumBitrate() const{ return m_maximumBitrate; }
77 inline bool MaximumBitrateHasBeenSet() const { return m_maximumBitrateHasBeenSet; }
78 inline void SetMaximumBitrate(const ReservationMaximumBitrate& value) { m_maximumBitrateHasBeenSet = true; m_maximumBitrate = value; }
79 inline void SetMaximumBitrate(ReservationMaximumBitrate&& value) { m_maximumBitrateHasBeenSet = true; m_maximumBitrate = std::move(value); }
83
85
88 inline const ReservationMaximumFramerate& GetMaximumFramerate() const{ return m_maximumFramerate; }
89 inline bool MaximumFramerateHasBeenSet() const { return m_maximumFramerateHasBeenSet; }
90 inline void SetMaximumFramerate(const ReservationMaximumFramerate& value) { m_maximumFramerateHasBeenSet = true; m_maximumFramerate = value; }
91 inline void SetMaximumFramerate(ReservationMaximumFramerate&& value) { m_maximumFramerateHasBeenSet = true; m_maximumFramerate = std::move(value); }
95
97
100 inline const ReservationResolution& GetResolution() const{ return m_resolution; }
101 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
102 inline void SetResolution(const ReservationResolution& value) { m_resolutionHasBeenSet = true; m_resolution = value; }
103 inline void SetResolution(ReservationResolution&& value) { m_resolutionHasBeenSet = true; m_resolution = std::move(value); }
105 inline ReservationResourceSpecification& WithResolution(ReservationResolution&& value) { SetResolution(std::move(value)); return *this;}
107
109
112 inline const ReservationResourceType& GetResourceType() const{ return m_resourceType; }
113 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
114 inline void SetResourceType(const ReservationResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
115 inline void SetResourceType(ReservationResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
119
121
124 inline const ReservationSpecialFeature& GetSpecialFeature() const{ return m_specialFeature; }
125 inline bool SpecialFeatureHasBeenSet() const { return m_specialFeatureHasBeenSet; }
126 inline void SetSpecialFeature(const ReservationSpecialFeature& value) { m_specialFeatureHasBeenSet = true; m_specialFeature = value; }
127 inline void SetSpecialFeature(ReservationSpecialFeature&& value) { m_specialFeatureHasBeenSet = true; m_specialFeature = std::move(value); }
131
133
136 inline const ReservationVideoQuality& GetVideoQuality() const{ return m_videoQuality; }
137 inline bool VideoQualityHasBeenSet() const { return m_videoQualityHasBeenSet; }
138 inline void SetVideoQuality(const ReservationVideoQuality& value) { m_videoQualityHasBeenSet = true; m_videoQuality = value; }
139 inline void SetVideoQuality(ReservationVideoQuality&& value) { m_videoQualityHasBeenSet = true; m_videoQuality = std::move(value); }
143 private:
144
145 ChannelClass m_channelClass;
146 bool m_channelClassHasBeenSet = false;
147
148 ReservationCodec m_codec;
149 bool m_codecHasBeenSet = false;
150
151 ReservationMaximumBitrate m_maximumBitrate;
152 bool m_maximumBitrateHasBeenSet = false;
153
154 ReservationMaximumFramerate m_maximumFramerate;
155 bool m_maximumFramerateHasBeenSet = false;
156
157 ReservationResolution m_resolution;
158 bool m_resolutionHasBeenSet = false;
159
160 ReservationResourceType m_resourceType;
161 bool m_resourceTypeHasBeenSet = false;
162
163 ReservationSpecialFeature m_specialFeature;
164 bool m_specialFeatureHasBeenSet = false;
165
166 ReservationVideoQuality m_videoQuality;
167 bool m_videoQualityHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace MediaLive
172} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMaximumFramerate(const ReservationMaximumFramerate &value)
ReservationResourceSpecification & WithResourceType(const ReservationResourceType &value)
AWS_MEDIALIVE_API ReservationResourceSpecification(Aws::Utils::Json::JsonView jsonValue)
ReservationResourceSpecification & WithResolution(const ReservationResolution &value)
ReservationResourceSpecification & WithResolution(ReservationResolution &&value)
ReservationResourceSpecification & WithVideoQuality(ReservationVideoQuality &&value)
ReservationResourceSpecification & WithMaximumBitrate(ReservationMaximumBitrate &&value)
ReservationResourceSpecification & WithMaximumFramerate(const ReservationMaximumFramerate &value)
ReservationResourceSpecification & WithVideoQuality(const ReservationVideoQuality &value)
ReservationResourceSpecification & WithResourceType(ReservationResourceType &&value)
ReservationResourceSpecification & WithChannelClass(const ChannelClass &value)
ReservationResourceSpecification & WithSpecialFeature(ReservationSpecialFeature &&value)
ReservationResourceSpecification & WithSpecialFeature(const ReservationSpecialFeature &value)
ReservationResourceSpecification & WithChannelClass(ChannelClass &&value)
ReservationResourceSpecification & WithCodec(ReservationCodec &&value)
ReservationResourceSpecification & WithCodec(const ReservationCodec &value)
ReservationResourceSpecification & WithMaximumBitrate(const ReservationMaximumBitrate &value)
AWS_MEDIALIVE_API ReservationResourceSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
ReservationResourceSpecification & WithMaximumFramerate(ReservationMaximumFramerate &&value)
Aws::Utils::Json::JsonValue JsonValue