AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VideoMonitoringSetting.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/BlackFrames.h>
9#include <aws/mediaconnect/model/FrozenFrames.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaConnect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MEDIACONNECT_API VideoMonitoringSetting() = default;
37 AWS_MEDIACONNECT_API VideoMonitoringSetting(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const BlackFrames& GetBlackFrames() const { return m_blackFrames; }
47 inline bool BlackFramesHasBeenSet() const { return m_blackFramesHasBeenSet; }
48 template<typename BlackFramesT = BlackFrames>
49 void SetBlackFrames(BlackFramesT&& value) { m_blackFramesHasBeenSet = true; m_blackFrames = std::forward<BlackFramesT>(value); }
50 template<typename BlackFramesT = BlackFrames>
51 VideoMonitoringSetting& WithBlackFrames(BlackFramesT&& value) { SetBlackFrames(std::forward<BlackFramesT>(value)); return *this;}
53
55
58 inline const FrozenFrames& GetFrozenFrames() const { return m_frozenFrames; }
59 inline bool FrozenFramesHasBeenSet() const { return m_frozenFramesHasBeenSet; }
60 template<typename FrozenFramesT = FrozenFrames>
61 void SetFrozenFrames(FrozenFramesT&& value) { m_frozenFramesHasBeenSet = true; m_frozenFrames = std::forward<FrozenFramesT>(value); }
62 template<typename FrozenFramesT = FrozenFrames>
63 VideoMonitoringSetting& WithFrozenFrames(FrozenFramesT&& value) { SetFrozenFrames(std::forward<FrozenFramesT>(value)); return *this;}
65 private:
66
67 BlackFrames m_blackFrames;
68 bool m_blackFramesHasBeenSet = false;
69
70 FrozenFrames m_frozenFrames;
71 bool m_frozenFramesHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace MediaConnect
76} // namespace Aws
VideoMonitoringSetting & WithFrozenFrames(FrozenFramesT &&value)
VideoMonitoringSetting & WithBlackFrames(BlackFramesT &&value)
AWS_MEDIACONNECT_API VideoMonitoringSetting()=default
AWS_MEDIACONNECT_API VideoMonitoringSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONNECT_API VideoMonitoringSetting(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue