AWS SDK for C++

AWS SDK for C++ Version 1.11.891

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