AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
WebvttDestinationSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/TextCaptionPositionSettings.h>
9#include <aws/medialive/model/WebvttDestinationStyleControl.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 WebvttDestinationSettings() = default;
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
44 inline WebvttDestinationStyleControl GetStyleControl() const { return m_styleControl; }
45 inline bool StyleControlHasBeenSet() const { return m_styleControlHasBeenSet; }
47 m_styleControlHasBeenSet = true;
48 m_styleControl = value;
49 }
51 SetStyleControl(value);
52 return *this;
53 }
55
57
61 inline const TextCaptionPositionSettings& GetPosition() const { return m_position; }
62 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
63 template <typename PositionT = TextCaptionPositionSettings>
64 void SetPosition(PositionT&& value) {
65 m_positionHasBeenSet = true;
66 m_position = std::forward<PositionT>(value);
67 }
68 template <typename PositionT = TextCaptionPositionSettings>
70 SetPosition(std::forward<PositionT>(value));
71 return *this;
72 }
74 private:
76
77 TextCaptionPositionSettings m_position;
78 bool m_styleControlHasBeenSet = false;
79 bool m_positionHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace MediaLive
84} // namespace Aws
void SetStyleControl(WebvttDestinationStyleControl value)
AWS_MEDIALIVE_API WebvttDestinationSettings(Aws::Utils::Json::JsonView jsonValue)
WebvttDestinationSettings & WithPosition(PositionT &&value)
AWS_MEDIALIVE_API WebvttDestinationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
WebvttDestinationStyleControl GetStyleControl() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const TextCaptionPositionSettings & GetPosition() const
AWS_MEDIALIVE_API WebvttDestinationSettings()=default
WebvttDestinationSettings & WithStyleControl(WebvttDestinationStyleControl value)
Aws::Utils::Json::JsonValue JsonValue