AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CaptionDescriptionPreset.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
30 public:
31 AWS_MEDIACONVERT_API CaptionDescriptionPreset() = default;
34 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
48 inline const Aws::String& GetCustomLanguageCode() const { return m_customLanguageCode; }
49 inline bool CustomLanguageCodeHasBeenSet() const { return m_customLanguageCodeHasBeenSet; }
50 template <typename CustomLanguageCodeT = Aws::String>
51 void SetCustomLanguageCode(CustomLanguageCodeT&& value) {
52 m_customLanguageCodeHasBeenSet = true;
53 m_customLanguageCode = std::forward<CustomLanguageCodeT>(value);
54 }
55 template <typename CustomLanguageCodeT = Aws::String>
56 CaptionDescriptionPreset& WithCustomLanguageCode(CustomLanguageCodeT&& value) {
57 SetCustomLanguageCode(std::forward<CustomLanguageCodeT>(value));
58 return *this;
59 }
61
63
70 inline const CaptionDestinationSettings& GetDestinationSettings() const { return m_destinationSettings; }
71 inline bool DestinationSettingsHasBeenSet() const { return m_destinationSettingsHasBeenSet; }
72 template <typename DestinationSettingsT = CaptionDestinationSettings>
73 void SetDestinationSettings(DestinationSettingsT&& value) {
74 m_destinationSettingsHasBeenSet = true;
75 m_destinationSettings = std::forward<DestinationSettingsT>(value);
76 }
77 template <typename DestinationSettingsT = CaptionDestinationSettings>
78 CaptionDescriptionPreset& WithDestinationSettings(DestinationSettingsT&& value) {
79 SetDestinationSettings(std::forward<DestinationSettingsT>(value));
80 return *this;
81 }
83
85
92 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
93 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
94 inline void SetLanguageCode(LanguageCode value) {
95 m_languageCodeHasBeenSet = true;
96 m_languageCode = value;
97 }
99 SetLanguageCode(value);
100 return *this;
101 }
103
105
112 inline const Aws::String& GetLanguageDescription() const { return m_languageDescription; }
113 inline bool LanguageDescriptionHasBeenSet() const { return m_languageDescriptionHasBeenSet; }
114 template <typename LanguageDescriptionT = Aws::String>
115 void SetLanguageDescription(LanguageDescriptionT&& value) {
116 m_languageDescriptionHasBeenSet = true;
117 m_languageDescription = std::forward<LanguageDescriptionT>(value);
118 }
119 template <typename LanguageDescriptionT = Aws::String>
120 CaptionDescriptionPreset& WithLanguageDescription(LanguageDescriptionT&& value) {
121 SetLanguageDescription(std::forward<LanguageDescriptionT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_customLanguageCode;
127
128 CaptionDestinationSettings m_destinationSettings;
129
130 LanguageCode m_languageCode{LanguageCode::NOT_SET};
131
132 Aws::String m_languageDescription;
133 bool m_customLanguageCodeHasBeenSet = false;
134 bool m_destinationSettingsHasBeenSet = false;
135 bool m_languageCodeHasBeenSet = false;
136 bool m_languageDescriptionHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace MediaConvert
141} // namespace Aws
AWS_MEDIACONVERT_API CaptionDescriptionPreset & operator=(Aws::Utils::Json::JsonView jsonValue)
CaptionDescriptionPreset & WithDestinationSettings(DestinationSettingsT &&value)
AWS_MEDIACONVERT_API CaptionDescriptionPreset()=default
CaptionDescriptionPreset & WithLanguageCode(LanguageCode value)
CaptionDescriptionPreset & WithLanguageDescription(LanguageDescriptionT &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
const CaptionDestinationSettings & GetDestinationSettings() const
AWS_MEDIACONVERT_API CaptionDescriptionPreset(Aws::Utils::Json::JsonView jsonValue)
CaptionDescriptionPreset & WithCustomLanguageCode(CustomLanguageCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue