AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CaptionDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
9#include <aws/mediaconvert/model/CaptionDestinationSettings.h>
10#include <aws/mediaconvert/model/LanguageCode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaConvert {
22namespace Model {
23
32 public:
33 AWS_MEDIACONVERT_API CaptionDescription() = default;
34 AWS_MEDIACONVERT_API CaptionDescription(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
45 inline const Aws::String& GetCaptionSelectorName() const { return m_captionSelectorName; }
46 inline bool CaptionSelectorNameHasBeenSet() const { return m_captionSelectorNameHasBeenSet; }
47 template <typename CaptionSelectorNameT = Aws::String>
48 void SetCaptionSelectorName(CaptionSelectorNameT&& value) {
49 m_captionSelectorNameHasBeenSet = true;
50 m_captionSelectorName = std::forward<CaptionSelectorNameT>(value);
51 }
52 template <typename CaptionSelectorNameT = Aws::String>
53 CaptionDescription& WithCaptionSelectorName(CaptionSelectorNameT&& value) {
54 SetCaptionSelectorName(std::forward<CaptionSelectorNameT>(value));
55 return *this;
56 }
58
60
71 inline const Aws::String& GetCustomLanguageCode() const { return m_customLanguageCode; }
72 inline bool CustomLanguageCodeHasBeenSet() const { return m_customLanguageCodeHasBeenSet; }
73 template <typename CustomLanguageCodeT = Aws::String>
74 void SetCustomLanguageCode(CustomLanguageCodeT&& value) {
75 m_customLanguageCodeHasBeenSet = true;
76 m_customLanguageCode = std::forward<CustomLanguageCodeT>(value);
77 }
78 template <typename CustomLanguageCodeT = Aws::String>
79 CaptionDescription& WithCustomLanguageCode(CustomLanguageCodeT&& value) {
80 SetCustomLanguageCode(std::forward<CustomLanguageCodeT>(value));
81 return *this;
82 }
84
86
93 inline const CaptionDestinationSettings& GetDestinationSettings() const { return m_destinationSettings; }
94 inline bool DestinationSettingsHasBeenSet() const { return m_destinationSettingsHasBeenSet; }
95 template <typename DestinationSettingsT = CaptionDestinationSettings>
96 void SetDestinationSettings(DestinationSettingsT&& value) {
97 m_destinationSettingsHasBeenSet = true;
98 m_destinationSettings = std::forward<DestinationSettingsT>(value);
99 }
100 template <typename DestinationSettingsT = CaptionDestinationSettings>
101 CaptionDescription& WithDestinationSettings(DestinationSettingsT&& value) {
102 SetDestinationSettings(std::forward<DestinationSettingsT>(value));
103 return *this;
104 }
106
108
115 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
116 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
117 inline void SetLanguageCode(LanguageCode value) {
118 m_languageCodeHasBeenSet = true;
119 m_languageCode = value;
120 }
122 SetLanguageCode(value);
123 return *this;
124 }
126
128
135 inline const Aws::String& GetLanguageDescription() const { return m_languageDescription; }
136 inline bool LanguageDescriptionHasBeenSet() const { return m_languageDescriptionHasBeenSet; }
137 template <typename LanguageDescriptionT = Aws::String>
138 void SetLanguageDescription(LanguageDescriptionT&& value) {
139 m_languageDescriptionHasBeenSet = true;
140 m_languageDescription = std::forward<LanguageDescriptionT>(value);
141 }
142 template <typename LanguageDescriptionT = Aws::String>
143 CaptionDescription& WithLanguageDescription(LanguageDescriptionT&& value) {
144 SetLanguageDescription(std::forward<LanguageDescriptionT>(value));
145 return *this;
146 }
148 private:
149 Aws::String m_captionSelectorName;
150
151 Aws::String m_customLanguageCode;
152
153 CaptionDestinationSettings m_destinationSettings;
154
155 LanguageCode m_languageCode{LanguageCode::NOT_SET};
156
157 Aws::String m_languageDescription;
158 bool m_captionSelectorNameHasBeenSet = false;
159 bool m_customLanguageCodeHasBeenSet = false;
160 bool m_destinationSettingsHasBeenSet = false;
161 bool m_languageCodeHasBeenSet = false;
162 bool m_languageDescriptionHasBeenSet = false;
163};
164
165} // namespace Model
166} // namespace MediaConvert
167} // namespace Aws
void SetLanguageDescription(LanguageDescriptionT &&value)
AWS_MEDIACONVERT_API CaptionDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API CaptionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCustomLanguageCode(CustomLanguageCodeT &&value)
void SetDestinationSettings(DestinationSettingsT &&value)
void SetCaptionSelectorName(CaptionSelectorNameT &&value)
const Aws::String & GetCustomLanguageCode() const
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
CaptionDescription & WithLanguageDescription(LanguageDescriptionT &&value)
const CaptionDestinationSettings & GetDestinationSettings() const
const Aws::String & GetCaptionSelectorName() const
AWS_MEDIACONVERT_API CaptionDescription()=default
CaptionDescription & WithCaptionSelectorName(CaptionSelectorNameT &&value)
CaptionDescription & WithLanguageCode(LanguageCode value)
CaptionDescription & WithCustomLanguageCode(CustomLanguageCodeT &&value)
CaptionDescription & WithDestinationSettings(DestinationSettingsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue