AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
CaptionSelector.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/CaptionSelectorSettings.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 CaptionSelector() = default;
36 AWS_MEDIALIVE_API CaptionSelector(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetLanguageCode() const { return m_languageCode; }
47 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
48 template<typename LanguageCodeT = Aws::String>
49 void SetLanguageCode(LanguageCodeT&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::forward<LanguageCodeT>(value); }
50 template<typename LanguageCodeT = Aws::String>
51 CaptionSelector& WithLanguageCode(LanguageCodeT&& value) { SetLanguageCode(std::forward<LanguageCodeT>(value)); return *this;}
53
55
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template<typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
64 template<typename NameT = Aws::String>
65 CaptionSelector& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
67
69
72 inline const CaptionSelectorSettings& GetSelectorSettings() const { return m_selectorSettings; }
73 inline bool SelectorSettingsHasBeenSet() const { return m_selectorSettingsHasBeenSet; }
74 template<typename SelectorSettingsT = CaptionSelectorSettings>
75 void SetSelectorSettings(SelectorSettingsT&& value) { m_selectorSettingsHasBeenSet = true; m_selectorSettings = std::forward<SelectorSettingsT>(value); }
76 template<typename SelectorSettingsT = CaptionSelectorSettings>
77 CaptionSelector& WithSelectorSettings(SelectorSettingsT&& value) { SetSelectorSettings(std::forward<SelectorSettingsT>(value)); return *this;}
79 private:
80
81 Aws::String m_languageCode;
82 bool m_languageCodeHasBeenSet = false;
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86
87 CaptionSelectorSettings m_selectorSettings;
88 bool m_selectorSettingsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace MediaLive
93} // namespace Aws
CaptionSelector & WithLanguageCode(LanguageCodeT &&value)
CaptionSelector & WithName(NameT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API CaptionSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLanguageCode() const
AWS_MEDIALIVE_API CaptionSelector(Aws::Utils::Json::JsonView jsonValue)
CaptionSelector & WithSelectorSettings(SelectorSettingsT &&value)
void SetSelectorSettings(SelectorSettingsT &&value)
void SetLanguageCode(LanguageCodeT &&value)
AWS_MEDIALIVE_API CaptionSelector()=default
const Aws::String & GetName() const
const CaptionSelectorSettings & GetSelectorSettings() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue