AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InputLossBehavior.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/InputLocation.h>
10#include <aws/medialive/model/InputLossImageType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaLive
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIALIVE_API InputLossBehavior() = default;
37 AWS_MEDIALIVE_API InputLossBehavior(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline int GetBlackFrameMsec() const { return m_blackFrameMsec; }
47 inline bool BlackFrameMsecHasBeenSet() const { return m_blackFrameMsecHasBeenSet; }
48 inline void SetBlackFrameMsec(int value) { m_blackFrameMsecHasBeenSet = true; m_blackFrameMsec = value; }
49 inline InputLossBehavior& WithBlackFrameMsec(int value) { SetBlackFrameMsec(value); return *this;}
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) { m_inputLossImageColorHasBeenSet = true; m_inputLossImageColor = std::forward<InputLossImageColorT>(value); }
61 template<typename InputLossImageColorT = Aws::String>
62 InputLossBehavior& WithInputLossImageColor(InputLossImageColorT&& value) { SetInputLossImageColor(std::forward<InputLossImageColorT>(value)); return *this;}
64
66
70 inline const InputLocation& GetInputLossImageSlate() const { return m_inputLossImageSlate; }
71 inline bool InputLossImageSlateHasBeenSet() const { return m_inputLossImageSlateHasBeenSet; }
72 template<typename InputLossImageSlateT = InputLocation>
73 void SetInputLossImageSlate(InputLossImageSlateT&& value) { m_inputLossImageSlateHasBeenSet = true; m_inputLossImageSlate = std::forward<InputLossImageSlateT>(value); }
74 template<typename InputLossImageSlateT = InputLocation>
75 InputLossBehavior& WithInputLossImageSlate(InputLossImageSlateT&& value) { SetInputLossImageSlate(std::forward<InputLossImageSlateT>(value)); return *this;}
77
79
83 inline InputLossImageType GetInputLossImageType() const { return m_inputLossImageType; }
84 inline bool InputLossImageTypeHasBeenSet() const { return m_inputLossImageTypeHasBeenSet; }
85 inline void SetInputLossImageType(InputLossImageType value) { m_inputLossImageTypeHasBeenSet = true; m_inputLossImageType = value; }
88
90
93 inline int GetRepeatFrameMsec() const { return m_repeatFrameMsec; }
94 inline bool RepeatFrameMsecHasBeenSet() const { return m_repeatFrameMsecHasBeenSet; }
95 inline void SetRepeatFrameMsec(int value) { m_repeatFrameMsecHasBeenSet = true; m_repeatFrameMsec = value; }
96 inline InputLossBehavior& WithRepeatFrameMsec(int value) { SetRepeatFrameMsec(value); return *this;}
98 private:
99
100 int m_blackFrameMsec{0};
101 bool m_blackFrameMsecHasBeenSet = false;
102
103 Aws::String m_inputLossImageColor;
104 bool m_inputLossImageColorHasBeenSet = false;
105
106 InputLocation m_inputLossImageSlate;
107 bool m_inputLossImageSlateHasBeenSet = false;
108
110 bool m_inputLossImageTypeHasBeenSet = false;
111
112 int m_repeatFrameMsec{0};
113 bool m_repeatFrameMsecHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace MediaLive
118} // 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