AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
InputLossBehavior.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9#include <aws/medialive/model/InputLocation.h>
10#include <aws/medialive/model/InputLossImageType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive {
22namespace Model {
23
30 public:
31 AWS_MEDIALIVE_API InputLossBehavior() = default;
32 AWS_MEDIALIVE_API InputLossBehavior(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline int GetBlackFrameMsec() const { return m_blackFrameMsec; }
41 inline bool BlackFrameMsecHasBeenSet() const { return m_blackFrameMsecHasBeenSet; }
42 inline void SetBlackFrameMsec(int value) {
43 m_blackFrameMsecHasBeenSet = true;
44 m_blackFrameMsec = value;
45 }
47 SetBlackFrameMsec(value);
48 return *this;
49 }
51
53
57 inline const Aws::String& GetInputLossImageColor() const { return m_inputLossImageColor; }
58 inline bool InputLossImageColorHasBeenSet() const { return m_inputLossImageColorHasBeenSet; }
59 template <typename InputLossImageColorT = Aws::String>
60 void SetInputLossImageColor(InputLossImageColorT&& value) {
61 m_inputLossImageColorHasBeenSet = true;
62 m_inputLossImageColor = std::forward<InputLossImageColorT>(value);
63 }
64 template <typename InputLossImageColorT = Aws::String>
65 InputLossBehavior& WithInputLossImageColor(InputLossImageColorT&& value) {
66 SetInputLossImageColor(std::forward<InputLossImageColorT>(value));
67 return *this;
68 }
70
72
76 inline const InputLocation& GetInputLossImageSlate() const { return m_inputLossImageSlate; }
77 inline bool InputLossImageSlateHasBeenSet() const { return m_inputLossImageSlateHasBeenSet; }
78 template <typename InputLossImageSlateT = InputLocation>
79 void SetInputLossImageSlate(InputLossImageSlateT&& value) {
80 m_inputLossImageSlateHasBeenSet = true;
81 m_inputLossImageSlate = std::forward<InputLossImageSlateT>(value);
82 }
83 template <typename InputLossImageSlateT = InputLocation>
84 InputLossBehavior& WithInputLossImageSlate(InputLossImageSlateT&& value) {
85 SetInputLossImageSlate(std::forward<InputLossImageSlateT>(value));
86 return *this;
87 }
89
91
95 inline InputLossImageType GetInputLossImageType() const { return m_inputLossImageType; }
96 inline bool InputLossImageTypeHasBeenSet() const { return m_inputLossImageTypeHasBeenSet; }
98 m_inputLossImageTypeHasBeenSet = true;
99 m_inputLossImageType = value;
100 }
103 return *this;
104 }
106
108
111 inline int GetRepeatFrameMsec() const { return m_repeatFrameMsec; }
112 inline bool RepeatFrameMsecHasBeenSet() const { return m_repeatFrameMsecHasBeenSet; }
113 inline void SetRepeatFrameMsec(int value) {
114 m_repeatFrameMsecHasBeenSet = true;
115 m_repeatFrameMsec = value;
116 }
118 SetRepeatFrameMsec(value);
119 return *this;
120 }
122 private:
123 int m_blackFrameMsec{0};
124
125 Aws::String m_inputLossImageColor;
126
127 InputLocation m_inputLossImageSlate;
128
130
131 int m_repeatFrameMsec{0};
132 bool m_blackFrameMsecHasBeenSet = false;
133 bool m_inputLossImageColorHasBeenSet = false;
134 bool m_inputLossImageSlateHasBeenSet = false;
135 bool m_inputLossImageTypeHasBeenSet = false;
136 bool m_repeatFrameMsecHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace MediaLive
141} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInputLossImageColor(InputLossImageColorT &&value)
InputLossBehavior & WithBlackFrameMsec(int value)
InputLossBehavior & WithInputLossImageSlate(InputLossImageSlateT &&value)
void SetInputLossImageSlate(InputLossImageSlateT &&value)
InputLossBehavior & WithInputLossImageType(InputLossImageType value)
AWS_MEDIALIVE_API InputLossBehavior & operator=(Aws::Utils::Json::JsonView jsonValue)
InputLossBehavior & WithInputLossImageColor(InputLossImageColorT &&value)
const InputLocation & GetInputLossImageSlate() const
InputLossImageType GetInputLossImageType() const
const Aws::String & GetInputLossImageColor() const
InputLossBehavior & WithRepeatFrameMsec(int value)
AWS_MEDIALIVE_API InputLossBehavior(Aws::Utils::Json::JsonView jsonValue)
void SetInputLossImageType(InputLossImageType value)
AWS_MEDIALIVE_API InputLossBehavior()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue