AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Fmtp.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaConnect
26{
27namespace Model
28{
29
36 class Fmtp
37 {
38 public:
39 AWS_MEDIACONNECT_API Fmtp() = default;
40 AWS_MEDIACONNECT_API Fmtp(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIACONNECT_API Fmtp& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetChannelOrder() const { return m_channelOrder; }
50 inline bool ChannelOrderHasBeenSet() const { return m_channelOrderHasBeenSet; }
51 template<typename ChannelOrderT = Aws::String>
52 void SetChannelOrder(ChannelOrderT&& value) { m_channelOrderHasBeenSet = true; m_channelOrder = std::forward<ChannelOrderT>(value); }
53 template<typename ChannelOrderT = Aws::String>
54 Fmtp& WithChannelOrder(ChannelOrderT&& value) { SetChannelOrder(std::forward<ChannelOrderT>(value)); return *this;}
56
58
61 inline Colorimetry GetColorimetry() const { return m_colorimetry; }
62 inline bool ColorimetryHasBeenSet() const { return m_colorimetryHasBeenSet; }
63 inline void SetColorimetry(Colorimetry value) { m_colorimetryHasBeenSet = true; m_colorimetry = value; }
64 inline Fmtp& WithColorimetry(Colorimetry value) { SetColorimetry(value); return *this;}
66
68
72 inline const Aws::String& GetExactFramerate() const { return m_exactFramerate; }
73 inline bool ExactFramerateHasBeenSet() const { return m_exactFramerateHasBeenSet; }
74 template<typename ExactFramerateT = Aws::String>
75 void SetExactFramerate(ExactFramerateT&& value) { m_exactFramerateHasBeenSet = true; m_exactFramerate = std::forward<ExactFramerateT>(value); }
76 template<typename ExactFramerateT = Aws::String>
77 Fmtp& WithExactFramerate(ExactFramerateT&& value) { SetExactFramerate(std::forward<ExactFramerateT>(value)); return *this;}
79
81
84 inline const Aws::String& GetPar() const { return m_par; }
85 inline bool ParHasBeenSet() const { return m_parHasBeenSet; }
86 template<typename ParT = Aws::String>
87 void SetPar(ParT&& value) { m_parHasBeenSet = true; m_par = std::forward<ParT>(value); }
88 template<typename ParT = Aws::String>
89 Fmtp& WithPar(ParT&& value) { SetPar(std::forward<ParT>(value)); return *this;}
91
93
96 inline Range GetRange() const { return m_range; }
97 inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
98 inline void SetRange(Range value) { m_rangeHasBeenSet = true; m_range = value; }
99 inline Fmtp& WithRange(Range value) { SetRange(value); return *this;}
101
103
106 inline ScanMode GetScanMode() const { return m_scanMode; }
107 inline bool ScanModeHasBeenSet() const { return m_scanModeHasBeenSet; }
108 inline void SetScanMode(ScanMode value) { m_scanModeHasBeenSet = true; m_scanMode = value; }
109 inline Fmtp& WithScanMode(ScanMode value) { SetScanMode(value); return *this;}
111
113
116 inline Tcs GetTcs() const { return m_tcs; }
117 inline bool TcsHasBeenSet() const { return m_tcsHasBeenSet; }
118 inline void SetTcs(Tcs value) { m_tcsHasBeenSet = true; m_tcs = value; }
119 inline Fmtp& WithTcs(Tcs value) { SetTcs(value); return *this;}
121 private:
122
123 Aws::String m_channelOrder;
124 bool m_channelOrderHasBeenSet = false;
125
126 Colorimetry m_colorimetry{Colorimetry::NOT_SET};
127 bool m_colorimetryHasBeenSet = false;
128
129 Aws::String m_exactFramerate;
130 bool m_exactFramerateHasBeenSet = false;
131
132 Aws::String m_par;
133 bool m_parHasBeenSet = false;
134
135 Range m_range{Range::NOT_SET};
136 bool m_rangeHasBeenSet = false;
137
138 ScanMode m_scanMode{ScanMode::NOT_SET};
139 bool m_scanModeHasBeenSet = false;
140
141 Tcs m_tcs{Tcs::NOT_SET};
142 bool m_tcsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace MediaConnect
147} // namespace Aws
AWS_MEDIACONNECT_API Fmtp & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ScanModeHasBeenSet() const
Definition Fmtp.h:107
void SetColorimetry(Colorimetry value)
Definition Fmtp.h:63
void SetPar(ParT &&value)
Definition Fmtp.h:87
Fmtp & WithExactFramerate(ExactFramerateT &&value)
Definition Fmtp.h:77
bool TcsHasBeenSet() const
Definition Fmtp.h:117
ScanMode GetScanMode() const
Definition Fmtp.h:106
void SetTcs(Tcs value)
Definition Fmtp.h:118
Colorimetry GetColorimetry() const
Definition Fmtp.h:61
Fmtp & WithChannelOrder(ChannelOrderT &&value)
Definition Fmtp.h:54
void SetExactFramerate(ExactFramerateT &&value)
Definition Fmtp.h:75
Fmtp & WithPar(ParT &&value)
Definition Fmtp.h:89
Fmtp & WithTcs(Tcs value)
Definition Fmtp.h:119
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONNECT_API Fmtp()=default
Fmtp & WithRange(Range value)
Definition Fmtp.h:99
bool ChannelOrderHasBeenSet() const
Definition Fmtp.h:50
Fmtp & WithScanMode(ScanMode value)
Definition Fmtp.h:109
bool ParHasBeenSet() const
Definition Fmtp.h:85
void SetChannelOrder(ChannelOrderT &&value)
Definition Fmtp.h:52
bool ExactFramerateHasBeenSet() const
Definition Fmtp.h:73
void SetRange(Range value)
Definition Fmtp.h:98
Fmtp & WithColorimetry(Colorimetry value)
Definition Fmtp.h:64
AWS_MEDIACONNECT_API Fmtp(Aws::Utils::Json::JsonView jsonValue)
Range GetRange() const
Definition Fmtp.h:96
bool RangeHasBeenSet() const
Definition Fmtp.h:97
const Aws::String & GetChannelOrder() const
Definition Fmtp.h:49
const Aws::String & GetExactFramerate() const
Definition Fmtp.h:72
bool ColorimetryHasBeenSet() const
Definition Fmtp.h:62
const Aws::String & GetPar() const
Definition Fmtp.h:84
void SetScanMode(ScanMode value)
Definition Fmtp.h:108
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue