AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaConnect
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MEDIACONNECT_API BlackFrames() = default;
36 AWS_MEDIACONNECT_API BlackFrames(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIACONNECT_API BlackFrames& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline State GetState() const { return m_state; }
47 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
48 inline void SetState(State value) { m_stateHasBeenSet = true; m_state = value; }
49 inline BlackFrames& WithState(State value) { SetState(value); return *this;}
51
53
57 inline int GetThresholdSeconds() const { return m_thresholdSeconds; }
58 inline bool ThresholdSecondsHasBeenSet() const { return m_thresholdSecondsHasBeenSet; }
59 inline void SetThresholdSeconds(int value) { m_thresholdSecondsHasBeenSet = true; m_thresholdSeconds = value; }
60 inline BlackFrames& WithThresholdSeconds(int value) { SetThresholdSeconds(value); return *this;}
62 private:
63
64 State m_state{State::NOT_SET};
65 bool m_stateHasBeenSet = false;
66
67 int m_thresholdSeconds{0};
68 bool m_thresholdSecondsHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace MediaConnect
73} // namespace Aws
BlackFrames & WithState(State value)
Definition BlackFrames.h:49
BlackFrames & WithThresholdSeconds(int value)
Definition BlackFrames.h:60
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