AWS SDK for C++

AWS SDK for C++ Version 1.11.609

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#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaLive
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MEDIALIVE_API InputClippingSettings() = default;
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline InputTimecodeSource GetInputTimecodeSource() const { return m_inputTimecodeSource; }
48 inline bool InputTimecodeSourceHasBeenSet() const { return m_inputTimecodeSourceHasBeenSet; }
49 inline void SetInputTimecodeSource(InputTimecodeSource value) { m_inputTimecodeSourceHasBeenSet = true; m_inputTimecodeSource = value; }
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) { m_startTimecodeHasBeenSet = true; m_startTimecode = std::forward<StartTimecodeT>(value); }
61 template<typename StartTimecodeT = StartTimecode>
62 InputClippingSettings& WithStartTimecode(StartTimecodeT&& value) { SetStartTimecode(std::forward<StartTimecodeT>(value)); return *this;}
64
66
69 inline const StopTimecode& GetStopTimecode() const { return m_stopTimecode; }
70 inline bool StopTimecodeHasBeenSet() const { return m_stopTimecodeHasBeenSet; }
71 template<typename StopTimecodeT = StopTimecode>
72 void SetStopTimecode(StopTimecodeT&& value) { m_stopTimecodeHasBeenSet = true; m_stopTimecode = std::forward<StopTimecodeT>(value); }
73 template<typename StopTimecodeT = StopTimecode>
74 InputClippingSettings& WithStopTimecode(StopTimecodeT&& value) { SetStopTimecode(std::forward<StopTimecodeT>(value)); return *this;}
76 private:
77
79 bool m_inputTimecodeSourceHasBeenSet = false;
80
81 StartTimecode m_startTimecode;
82 bool m_startTimecodeHasBeenSet = false;
83
84 StopTimecode m_stopTimecode;
85 bool m_stopTimecodeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace MediaLive
90} // 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