AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
Fmtp.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
9#include <aws/mediaconnect/model/Colorimetry.h>
10#include <aws/mediaconnect/model/Range.h>
11#include <aws/mediaconnect/model/ScanMode.h>
12#include <aws/mediaconnect/model/Tcs.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaConnect {
24namespace Model {
25
32class Fmtp {
33 public:
34 AWS_MEDIACONNECT_API Fmtp() = default;
35 AWS_MEDIACONNECT_API Fmtp(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIACONNECT_API Fmtp& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetChannelOrder() const { return m_channelOrder; }
44 inline bool ChannelOrderHasBeenSet() const { return m_channelOrderHasBeenSet; }
45 template <typename ChannelOrderT = Aws::String>
46 void SetChannelOrder(ChannelOrderT&& value) {
47 m_channelOrderHasBeenSet = true;
48 m_channelOrder = std::forward<ChannelOrderT>(value);
49 }
50 template <typename ChannelOrderT = Aws::String>
51 Fmtp& WithChannelOrder(ChannelOrderT&& value) {
52 SetChannelOrder(std::forward<ChannelOrderT>(value));
53 return *this;
54 }
56
58
61 inline Colorimetry GetColorimetry() const { return m_colorimetry; }
62 inline bool ColorimetryHasBeenSet() const { return m_colorimetryHasBeenSet; }
63 inline void SetColorimetry(Colorimetry value) {
64 m_colorimetryHasBeenSet = true;
65 m_colorimetry = value;
66 }
68 SetColorimetry(value);
69 return *this;
70 }
72
74
78 inline const Aws::String& GetExactFramerate() const { return m_exactFramerate; }
79 inline bool ExactFramerateHasBeenSet() const { return m_exactFramerateHasBeenSet; }
80 template <typename ExactFramerateT = Aws::String>
81 void SetExactFramerate(ExactFramerateT&& value) {
82 m_exactFramerateHasBeenSet = true;
83 m_exactFramerate = std::forward<ExactFramerateT>(value);
84 }
85 template <typename ExactFramerateT = Aws::String>
86 Fmtp& WithExactFramerate(ExactFramerateT&& value) {
87 SetExactFramerate(std::forward<ExactFramerateT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetPar() const { return m_par; }
97 inline bool ParHasBeenSet() const { return m_parHasBeenSet; }
98 template <typename ParT = Aws::String>
99 void SetPar(ParT&& value) {
100 m_parHasBeenSet = true;
101 m_par = std::forward<ParT>(value);
102 }
103 template <typename ParT = Aws::String>
104 Fmtp& WithPar(ParT&& value) {
105 SetPar(std::forward<ParT>(value));
106 return *this;
107 }
109
111
114 inline Range GetRange() const { return m_range; }
115 inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
116 inline void SetRange(Range value) {
117 m_rangeHasBeenSet = true;
118 m_range = value;
119 }
120 inline Fmtp& WithRange(Range value) {
121 SetRange(value);
122 return *this;
123 }
125
127
130 inline ScanMode GetScanMode() const { return m_scanMode; }
131 inline bool ScanModeHasBeenSet() const { return m_scanModeHasBeenSet; }
132 inline void SetScanMode(ScanMode value) {
133 m_scanModeHasBeenSet = true;
134 m_scanMode = value;
135 }
136 inline Fmtp& WithScanMode(ScanMode value) {
137 SetScanMode(value);
138 return *this;
139 }
141
143
146 inline Tcs GetTcs() const { return m_tcs; }
147 inline bool TcsHasBeenSet() const { return m_tcsHasBeenSet; }
148 inline void SetTcs(Tcs value) {
149 m_tcsHasBeenSet = true;
150 m_tcs = value;
151 }
152 inline Fmtp& WithTcs(Tcs value) {
153 SetTcs(value);
154 return *this;
155 }
157 private:
158 Aws::String m_channelOrder;
159
160 Colorimetry m_colorimetry{Colorimetry::NOT_SET};
161
162 Aws::String m_exactFramerate;
163
164 Aws::String m_par;
165
166 Range m_range{Range::NOT_SET};
167
168 ScanMode m_scanMode{ScanMode::NOT_SET};
169
170 Tcs m_tcs{Tcs::NOT_SET};
171 bool m_channelOrderHasBeenSet = false;
172 bool m_colorimetryHasBeenSet = false;
173 bool m_exactFramerateHasBeenSet = false;
174 bool m_parHasBeenSet = false;
175 bool m_rangeHasBeenSet = false;
176 bool m_scanModeHasBeenSet = false;
177 bool m_tcsHasBeenSet = false;
178};
179
180} // namespace Model
181} // namespace MediaConnect
182} // namespace Aws
AWS_MEDIACONNECT_API Fmtp & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ScanModeHasBeenSet() const
Definition Fmtp.h:131
void SetColorimetry(Colorimetry value)
Definition Fmtp.h:63
void SetPar(ParT &&value)
Definition Fmtp.h:99
Fmtp & WithExactFramerate(ExactFramerateT &&value)
Definition Fmtp.h:86
bool TcsHasBeenSet() const
Definition Fmtp.h:147
ScanMode GetScanMode() const
Definition Fmtp.h:130
void SetTcs(Tcs value)
Definition Fmtp.h:148
Colorimetry GetColorimetry() const
Definition Fmtp.h:61
Fmtp & WithChannelOrder(ChannelOrderT &&value)
Definition Fmtp.h:51
void SetExactFramerate(ExactFramerateT &&value)
Definition Fmtp.h:81
Fmtp & WithPar(ParT &&value)
Definition Fmtp.h:104
Fmtp & WithTcs(Tcs value)
Definition Fmtp.h:152
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONNECT_API Fmtp()=default
Fmtp & WithRange(Range value)
Definition Fmtp.h:120
bool ChannelOrderHasBeenSet() const
Definition Fmtp.h:44
Fmtp & WithScanMode(ScanMode value)
Definition Fmtp.h:136
bool ParHasBeenSet() const
Definition Fmtp.h:97
void SetChannelOrder(ChannelOrderT &&value)
Definition Fmtp.h:46
bool ExactFramerateHasBeenSet() const
Definition Fmtp.h:79
void SetRange(Range value)
Definition Fmtp.h:116
Fmtp & WithColorimetry(Colorimetry value)
Definition Fmtp.h:67
AWS_MEDIACONNECT_API Fmtp(Aws::Utils::Json::JsonView jsonValue)
bool RangeHasBeenSet() const
Definition Fmtp.h:115
const Aws::String & GetChannelOrder() const
Definition Fmtp.h:43
const Aws::String & GetExactFramerate() const
Definition Fmtp.h:78
bool ColorimetryHasBeenSet() const
Definition Fmtp.h:62
const Aws::String & GetPar() const
Definition Fmtp.h:96
void SetScanMode(ScanMode value)
Definition Fmtp.h:132
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue