AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInputLossImageColor(const Aws::String& value) { m_inputLossImageColorHasBeenSet = true; m_inputLossImageColor = value; }
60 inline void SetInputLossImageColor(Aws::String&& value) { m_inputLossImageColorHasBeenSet = true; m_inputLossImageColor = std::move(value); }
61 inline void SetInputLossImageColor(const char* value) { m_inputLossImageColorHasBeenSet = true; m_inputLossImageColor.assign(value); }
62 inline InputLossBehavior& WithInputLossImageColor(const Aws::String& value) { SetInputLossImageColor(value); return *this;}
63 inline InputLossBehavior& WithInputLossImageColor(Aws::String&& value) { SetInputLossImageColor(std::move(value)); return *this;}
64 inline InputLossBehavior& WithInputLossImageColor(const char* value) { SetInputLossImageColor(value); return *this;}
66
68
72 inline const InputLocation& GetInputLossImageSlate() const{ return m_inputLossImageSlate; }
73 inline bool InputLossImageSlateHasBeenSet() const { return m_inputLossImageSlateHasBeenSet; }
74 inline void SetInputLossImageSlate(const InputLocation& value) { m_inputLossImageSlateHasBeenSet = true; m_inputLossImageSlate = value; }
75 inline void SetInputLossImageSlate(InputLocation&& value) { m_inputLossImageSlateHasBeenSet = true; m_inputLossImageSlate = std::move(value); }
77 inline InputLossBehavior& WithInputLossImageSlate(InputLocation&& value) { SetInputLossImageSlate(std::move(value)); return *this;}
79
81
85 inline const InputLossImageType& GetInputLossImageType() const{ return m_inputLossImageType; }
86 inline bool InputLossImageTypeHasBeenSet() const { return m_inputLossImageTypeHasBeenSet; }
87 inline void SetInputLossImageType(const InputLossImageType& value) { m_inputLossImageTypeHasBeenSet = true; m_inputLossImageType = value; }
88 inline void SetInputLossImageType(InputLossImageType&& value) { m_inputLossImageTypeHasBeenSet = true; m_inputLossImageType = std::move(value); }
90 inline InputLossBehavior& WithInputLossImageType(InputLossImageType&& value) { SetInputLossImageType(std::move(value)); return *this;}
92
94
97 inline int GetRepeatFrameMsec() const{ return m_repeatFrameMsec; }
98 inline bool RepeatFrameMsecHasBeenSet() const { return m_repeatFrameMsecHasBeenSet; }
99 inline void SetRepeatFrameMsec(int value) { m_repeatFrameMsecHasBeenSet = true; m_repeatFrameMsec = value; }
100 inline InputLossBehavior& WithRepeatFrameMsec(int value) { SetRepeatFrameMsec(value); return *this;}
102 private:
103
104 int m_blackFrameMsec;
105 bool m_blackFrameMsecHasBeenSet = false;
106
107 Aws::String m_inputLossImageColor;
108 bool m_inputLossImageColorHasBeenSet = false;
109
110 InputLocation m_inputLossImageSlate;
111 bool m_inputLossImageSlateHasBeenSet = false;
112
113 InputLossImageType m_inputLossImageType;
114 bool m_inputLossImageTypeHasBeenSet = false;
115
116 int m_repeatFrameMsec;
117 bool m_repeatFrameMsecHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace MediaLive
122} // namespace Aws
void SetInputLossImageColor(Aws::String &&value)
InputLossBehavior & WithInputLossImageSlate(InputLocation &&value)
InputLossBehavior & WithInputLossImageType(const InputLossImageType &value)
void SetInputLossImageSlate(const InputLocation &value)
void SetInputLossImageType(InputLossImageType &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InputLossBehavior & WithInputLossImageSlate(const InputLocation &value)
InputLossBehavior & WithInputLossImageType(InputLossImageType &&value)
InputLossBehavior & WithBlackFrameMsec(int value)
InputLossBehavior & WithInputLossImageColor(const char *value)
const InputLossImageType & GetInputLossImageType() const
void SetInputLossImageColor(const Aws::String &value)
void SetInputLossImageSlate(InputLocation &&value)
AWS_MEDIALIVE_API InputLossBehavior & operator=(Aws::Utils::Json::JsonView jsonValue)
InputLossBehavior & WithInputLossImageColor(const Aws::String &value)
const InputLocation & GetInputLossImageSlate() const
const Aws::String & GetInputLossImageColor() const
void SetInputLossImageType(const InputLossImageType &value)
InputLossBehavior & WithRepeatFrameMsec(int value)
InputLossBehavior & WithInputLossImageColor(Aws::String &&value)
AWS_MEDIALIVE_API InputLossBehavior(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue