AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLanguageCode(const Aws::String& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
49 inline void SetLanguageCode(Aws::String&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
50 inline void SetLanguageCode(const char* value) { m_languageCodeHasBeenSet = true; m_languageCode.assign(value); }
51 inline CaptionSelector& WithLanguageCode(const Aws::String& value) { SetLanguageCode(value); return *this;}
52 inline CaptionSelector& WithLanguageCode(Aws::String&& value) { SetLanguageCode(std::move(value)); return *this;}
53 inline CaptionSelector& WithLanguageCode(const char* value) { SetLanguageCode(value); return *this;}
55
57
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 inline CaptionSelector& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline CaptionSelector& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline CaptionSelector& WithName(const char* value) { SetName(value); return *this;}
71
73
76 inline const CaptionSelectorSettings& GetSelectorSettings() const{ return m_selectorSettings; }
77 inline bool SelectorSettingsHasBeenSet() const { return m_selectorSettingsHasBeenSet; }
78 inline void SetSelectorSettings(const CaptionSelectorSettings& value) { m_selectorSettingsHasBeenSet = true; m_selectorSettings = value; }
79 inline void SetSelectorSettings(CaptionSelectorSettings&& value) { m_selectorSettingsHasBeenSet = true; m_selectorSettings = std::move(value); }
81 inline CaptionSelector& WithSelectorSettings(CaptionSelectorSettings&& value) { SetSelectorSettings(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_languageCode;
86 bool m_languageCodeHasBeenSet = false;
87
88 Aws::String m_name;
89 bool m_nameHasBeenSet = false;
90
91 CaptionSelectorSettings m_selectorSettings;
92 bool m_selectorSettingsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace MediaLive
97} // namespace Aws
void SetLanguageCode(Aws::String &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API CaptionSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
CaptionSelector & WithLanguageCode(const char *value)
void SetName(const Aws::String &value)
void SetSelectorSettings(const CaptionSelectorSettings &value)
CaptionSelector & WithSelectorSettings(CaptionSelectorSettings &&value)
CaptionSelector & WithLanguageCode(Aws::String &&value)
CaptionSelector & WithName(const Aws::String &value)
const Aws::String & GetLanguageCode() const
void SetLanguageCode(const char *value)
void SetLanguageCode(const Aws::String &value)
AWS_MEDIALIVE_API CaptionSelector(Aws::Utils::Json::JsonView jsonValue)
CaptionSelector & WithName(Aws::String &&value)
const Aws::String & GetName() const
void SetSelectorSettings(CaptionSelectorSettings &&value)
const CaptionSelectorSettings & GetSelectorSettings() const
CaptionSelector & WithLanguageCode(const Aws::String &value)
CaptionSelector & WithName(const char *value)
CaptionSelector & WithSelectorSettings(const CaptionSelectorSettings &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue