AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
TeletextSourceSettings.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/CaptionRectangle.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 TeletextSourceSettings() = default;
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const CaptionRectangle& GetOutputRectangle() const { return m_outputRectangle; }
40 inline bool OutputRectangleHasBeenSet() const { return m_outputRectangleHasBeenSet; }
41 template <typename OutputRectangleT = CaptionRectangle>
42 void SetOutputRectangle(OutputRectangleT&& value) {
43 m_outputRectangleHasBeenSet = true;
44 m_outputRectangle = std::forward<OutputRectangleT>(value);
45 }
46 template <typename OutputRectangleT = CaptionRectangle>
47 TeletextSourceSettings& WithOutputRectangle(OutputRectangleT&& value) {
48 SetOutputRectangle(std::forward<OutputRectangleT>(value));
49 return *this;
50 }
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) {
63 m_pageNumberHasBeenSet = true;
64 m_pageNumber = std::forward<PageNumberT>(value);
65 }
66 template <typename PageNumberT = Aws::String>
67 TeletextSourceSettings& WithPageNumber(PageNumberT&& value) {
68 SetPageNumber(std::forward<PageNumberT>(value));
69 return *this;
70 }
72 private:
73 CaptionRectangle m_outputRectangle;
74
75 Aws::String m_pageNumber;
76 bool m_outputRectangleHasBeenSet = false;
77 bool m_pageNumberHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace MediaLive
82} // 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