AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
InputClippingSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/InputTimecodeSource.h>
9#include <aws/medialive/model/StartTimecode.h>
10#include <aws/medialive/model/StopTimecode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive {
22namespace Model {
23
31 public:
32 AWS_MEDIALIVE_API InputClippingSettings() = default;
35 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline InputTimecodeSource GetInputTimecodeSource() const { return m_inputTimecodeSource; }
42 inline bool InputTimecodeSourceHasBeenSet() const { return m_inputTimecodeSourceHasBeenSet; }
44 m_inputTimecodeSourceHasBeenSet = true;
45 m_inputTimecodeSource = value;
46 }
49 return *this;
50 }
52
54
57 inline const StartTimecode& GetStartTimecode() const { return m_startTimecode; }
58 inline bool StartTimecodeHasBeenSet() const { return m_startTimecodeHasBeenSet; }
59 template <typename StartTimecodeT = StartTimecode>
60 void SetStartTimecode(StartTimecodeT&& value) {
61 m_startTimecodeHasBeenSet = true;
62 m_startTimecode = std::forward<StartTimecodeT>(value);
63 }
64 template <typename StartTimecodeT = StartTimecode>
65 InputClippingSettings& WithStartTimecode(StartTimecodeT&& value) {
66 SetStartTimecode(std::forward<StartTimecodeT>(value));
67 return *this;
68 }
70
72
75 inline const StopTimecode& GetStopTimecode() const { return m_stopTimecode; }
76 inline bool StopTimecodeHasBeenSet() const { return m_stopTimecodeHasBeenSet; }
77 template <typename StopTimecodeT = StopTimecode>
78 void SetStopTimecode(StopTimecodeT&& value) {
79 m_stopTimecodeHasBeenSet = true;
80 m_stopTimecode = std::forward<StopTimecodeT>(value);
81 }
82 template <typename StopTimecodeT = StopTimecode>
83 InputClippingSettings& WithStopTimecode(StopTimecodeT&& value) {
84 SetStopTimecode(std::forward<StopTimecodeT>(value));
85 return *this;
86 }
88 private:
90
91 StartTimecode m_startTimecode;
92
93 StopTimecode m_stopTimecode;
94 bool m_inputTimecodeSourceHasBeenSet = false;
95 bool m_startTimecodeHasBeenSet = false;
96 bool m_stopTimecodeHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace MediaLive
101} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InputClippingSettings & WithInputTimecodeSource(InputTimecodeSource value)
InputClippingSettings & WithStopTimecode(StopTimecodeT &&value)
InputClippingSettings & WithStartTimecode(StartTimecodeT &&value)
AWS_MEDIALIVE_API InputClippingSettings(Aws::Utils::Json::JsonView jsonValue)
void SetInputTimecodeSource(InputTimecodeSource value)
AWS_MEDIALIVE_API InputClippingSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API InputClippingSettings()=default
Aws::Utils::Json::JsonValue JsonValue