AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaConnect {
21namespace Model {
22
30 public:
31 AWS_MEDIACONNECT_API VideoMonitoringSetting() = default;
32 AWS_MEDIACONNECT_API VideoMonitoringSetting(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const BlackFrames& GetBlackFrames() const { return m_blackFrames; }
41 inline bool BlackFramesHasBeenSet() const { return m_blackFramesHasBeenSet; }
42 template <typename BlackFramesT = BlackFrames>
43 void SetBlackFrames(BlackFramesT&& value) {
44 m_blackFramesHasBeenSet = true;
45 m_blackFrames = std::forward<BlackFramesT>(value);
46 }
47 template <typename BlackFramesT = BlackFrames>
48 VideoMonitoringSetting& WithBlackFrames(BlackFramesT&& value) {
49 SetBlackFrames(std::forward<BlackFramesT>(value));
50 return *this;
51 }
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) {
62 m_frozenFramesHasBeenSet = true;
63 m_frozenFrames = std::forward<FrozenFramesT>(value);
64 }
65 template <typename FrozenFramesT = FrozenFrames>
66 VideoMonitoringSetting& WithFrozenFrames(FrozenFramesT&& value) {
67 SetFrozenFrames(std::forward<FrozenFramesT>(value));
68 return *this;
69 }
71 private:
72 BlackFrames m_blackFrames;
73
74 FrozenFrames m_frozenFrames;
75 bool m_blackFramesHasBeenSet = false;
76 bool m_frozenFramesHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace MediaConnect
81} // 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