AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CaptionDescription.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediaconvert/model/CaptionDestinationSettings.h>
10#include <aws/mediaconvert/model/LanguageCode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaConvert
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_MEDIACONVERT_API CaptionDescription() = default;
39 AWS_MEDIACONVERT_API CaptionDescription(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const Aws::String& GetCaptionSelectorName() const { return m_captionSelectorName; }
52 inline bool CaptionSelectorNameHasBeenSet() const { return m_captionSelectorNameHasBeenSet; }
53 template<typename CaptionSelectorNameT = Aws::String>
54 void SetCaptionSelectorName(CaptionSelectorNameT&& value) { m_captionSelectorNameHasBeenSet = true; m_captionSelectorName = std::forward<CaptionSelectorNameT>(value); }
55 template<typename CaptionSelectorNameT = Aws::String>
56 CaptionDescription& WithCaptionSelectorName(CaptionSelectorNameT&& value) { SetCaptionSelectorName(std::forward<CaptionSelectorNameT>(value)); return *this;}
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) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = std::forward<CustomLanguageCodeT>(value); }
75 template<typename CustomLanguageCodeT = Aws::String>
76 CaptionDescription& WithCustomLanguageCode(CustomLanguageCodeT&& value) { SetCustomLanguageCode(std::forward<CustomLanguageCodeT>(value)); return *this;}
78
80
87 inline const CaptionDestinationSettings& GetDestinationSettings() const { return m_destinationSettings; }
88 inline bool DestinationSettingsHasBeenSet() const { return m_destinationSettingsHasBeenSet; }
89 template<typename DestinationSettingsT = CaptionDestinationSettings>
90 void SetDestinationSettings(DestinationSettingsT&& value) { m_destinationSettingsHasBeenSet = true; m_destinationSettings = std::forward<DestinationSettingsT>(value); }
91 template<typename DestinationSettingsT = CaptionDestinationSettings>
92 CaptionDescription& WithDestinationSettings(DestinationSettingsT&& value) { SetDestinationSettings(std::forward<DestinationSettingsT>(value)); return *this;}
94
96
103 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
104 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
105 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
106 inline CaptionDescription& WithLanguageCode(LanguageCode value) { SetLanguageCode(value); return *this;}
108
110
117 inline const Aws::String& GetLanguageDescription() const { return m_languageDescription; }
118 inline bool LanguageDescriptionHasBeenSet() const { return m_languageDescriptionHasBeenSet; }
119 template<typename LanguageDescriptionT = Aws::String>
120 void SetLanguageDescription(LanguageDescriptionT&& value) { m_languageDescriptionHasBeenSet = true; m_languageDescription = std::forward<LanguageDescriptionT>(value); }
121 template<typename LanguageDescriptionT = Aws::String>
122 CaptionDescription& WithLanguageDescription(LanguageDescriptionT&& value) { SetLanguageDescription(std::forward<LanguageDescriptionT>(value)); return *this;}
124 private:
125
126 Aws::String m_captionSelectorName;
127 bool m_captionSelectorNameHasBeenSet = false;
128
129 Aws::String m_customLanguageCode;
130 bool m_customLanguageCodeHasBeenSet = false;
131
132 CaptionDestinationSettings m_destinationSettings;
133 bool m_destinationSettingsHasBeenSet = false;
134
135 LanguageCode m_languageCode{LanguageCode::NOT_SET};
136 bool m_languageCodeHasBeenSet = false;
137
138 Aws::String m_languageDescription;
139 bool m_languageDescriptionHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace MediaConvert
144} // 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