AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
TeletextSourceSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/CaptionRectangle.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaLive
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIALIVE_API TeletextSourceSettings() = default;
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const CaptionRectangle& GetOutputRectangle() const { return m_outputRectangle; }
46 inline bool OutputRectangleHasBeenSet() const { return m_outputRectangleHasBeenSet; }
47 template<typename OutputRectangleT = CaptionRectangle>
48 void SetOutputRectangle(OutputRectangleT&& value) { m_outputRectangleHasBeenSet = true; m_outputRectangle = std::forward<OutputRectangleT>(value); }
49 template<typename OutputRectangleT = CaptionRectangle>
50 TeletextSourceSettings& WithOutputRectangle(OutputRectangleT&& value) { SetOutputRectangle(std::forward<OutputRectangleT>(value)); return *this;}
52
54
59 inline const Aws::String& GetPageNumber() const { return m_pageNumber; }
60 inline bool PageNumberHasBeenSet() const { return m_pageNumberHasBeenSet; }
61 template<typename PageNumberT = Aws::String>
62 void SetPageNumber(PageNumberT&& value) { m_pageNumberHasBeenSet = true; m_pageNumber = std::forward<PageNumberT>(value); }
63 template<typename PageNumberT = Aws::String>
64 TeletextSourceSettings& WithPageNumber(PageNumberT&& value) { SetPageNumber(std::forward<PageNumberT>(value)); return *this;}
66 private:
67
68 CaptionRectangle m_outputRectangle;
69 bool m_outputRectangleHasBeenSet = false;
70
71 Aws::String m_pageNumber;
72 bool m_pageNumberHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace MediaLive
77} // namespace Aws
AWS_MEDIALIVE_API TeletextSourceSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API TeletextSourceSettings()=default
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
TeletextSourceSettings & WithOutputRectangle(OutputRectangleT &&value)
TeletextSourceSettings & WithPageNumber(PageNumberT &&value)
AWS_MEDIALIVE_API TeletextSourceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const CaptionRectangle & GetOutputRectangle() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue