AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
StopTimecode.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9#include <aws/medialive/model/LastFrameClippingBehavior.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaLive {
21namespace Model {
22
29 public:
30 AWS_MEDIALIVE_API StopTimecode() = default;
31 AWS_MEDIALIVE_API StopTimecode(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIALIVE_API StopTimecode& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline LastFrameClippingBehavior GetLastFrameClippingBehavior() const { return m_lastFrameClippingBehavior; }
42 inline bool LastFrameClippingBehaviorHasBeenSet() const { return m_lastFrameClippingBehaviorHasBeenSet; }
44 m_lastFrameClippingBehaviorHasBeenSet = true;
45 m_lastFrameClippingBehavior = value;
46 }
49 return *this;
50 }
52
54
59 inline const Aws::String& GetTimecode() const { return m_timecode; }
60 inline bool TimecodeHasBeenSet() const { return m_timecodeHasBeenSet; }
61 template <typename TimecodeT = Aws::String>
62 void SetTimecode(TimecodeT&& value) {
63 m_timecodeHasBeenSet = true;
64 m_timecode = std::forward<TimecodeT>(value);
65 }
66 template <typename TimecodeT = Aws::String>
67 StopTimecode& WithTimecode(TimecodeT&& value) {
68 SetTimecode(std::forward<TimecodeT>(value));
69 return *this;
70 }
72 private:
74
75 Aws::String m_timecode;
76 bool m_lastFrameClippingBehaviorHasBeenSet = false;
77 bool m_timecodeHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace MediaLive
82} // namespace Aws
void SetLastFrameClippingBehavior(LastFrameClippingBehavior value)
const Aws::String & GetTimecode() const
void SetTimecode(TimecodeT &&value)
AWS_MEDIALIVE_API StopTimecode()=default
AWS_MEDIALIVE_API StopTimecode & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API StopTimecode(Aws::Utils::Json::JsonView jsonValue)
LastFrameClippingBehavior GetLastFrameClippingBehavior() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
StopTimecode & WithLastFrameClippingBehavior(LastFrameClippingBehavior value)
StopTimecode & WithTimecode(TimecodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue