AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
BlackFrames.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/State.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaConnect {
20namespace Model {
21
29 public:
30 AWS_MEDIACONNECT_API BlackFrames() = default;
31 AWS_MEDIACONNECT_API BlackFrames(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIACONNECT_API BlackFrames& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline State GetState() const { return m_state; }
41 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
42 inline void SetState(State value) {
43 m_stateHasBeenSet = true;
44 m_state = value;
45 }
46 inline BlackFrames& WithState(State value) {
47 SetState(value);
48 return *this;
49 }
51
53
57 inline int GetThresholdSeconds() const { return m_thresholdSeconds; }
58 inline bool ThresholdSecondsHasBeenSet() const { return m_thresholdSecondsHasBeenSet; }
59 inline void SetThresholdSeconds(int value) {
60 m_thresholdSecondsHasBeenSet = true;
61 m_thresholdSeconds = value;
62 }
63 inline BlackFrames& WithThresholdSeconds(int value) {
65 return *this;
66 }
68 private:
69 State m_state{State::NOT_SET};
70
71 int m_thresholdSeconds{0};
72 bool m_stateHasBeenSet = false;
73 bool m_thresholdSecondsHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace MediaConnect
78} // namespace Aws
BlackFrames & WithState(State value)
Definition BlackFrames.h:46
BlackFrames & WithThresholdSeconds(int value)
Definition BlackFrames.h:63
AWS_MEDIACONNECT_API BlackFrames & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONNECT_API BlackFrames()=default
AWS_MEDIACONNECT_API BlackFrames(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue