AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CaptionDescriptionPreset.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
34 {
35 public:
36 AWS_MEDIACONVERT_API CaptionDescriptionPreset() = default;
39 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
54 inline const Aws::String& GetCustomLanguageCode() const { return m_customLanguageCode; }
55 inline bool CustomLanguageCodeHasBeenSet() const { return m_customLanguageCodeHasBeenSet; }
56 template<typename CustomLanguageCodeT = Aws::String>
57 void SetCustomLanguageCode(CustomLanguageCodeT&& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = std::forward<CustomLanguageCodeT>(value); }
58 template<typename CustomLanguageCodeT = Aws::String>
59 CaptionDescriptionPreset& WithCustomLanguageCode(CustomLanguageCodeT&& value) { SetCustomLanguageCode(std::forward<CustomLanguageCodeT>(value)); return *this;}
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) { m_destinationSettingsHasBeenSet = true; m_destinationSettings = std::forward<DestinationSettingsT>(value); }
74 template<typename DestinationSettingsT = CaptionDestinationSettings>
75 CaptionDescriptionPreset& WithDestinationSettings(DestinationSettingsT&& value) { SetDestinationSettings(std::forward<DestinationSettingsT>(value)); return *this;}
77
79
86 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
87 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
88 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
91
93
100 inline const Aws::String& GetLanguageDescription() const { return m_languageDescription; }
101 inline bool LanguageDescriptionHasBeenSet() const { return m_languageDescriptionHasBeenSet; }
102 template<typename LanguageDescriptionT = Aws::String>
103 void SetLanguageDescription(LanguageDescriptionT&& value) { m_languageDescriptionHasBeenSet = true; m_languageDescription = std::forward<LanguageDescriptionT>(value); }
104 template<typename LanguageDescriptionT = Aws::String>
105 CaptionDescriptionPreset& WithLanguageDescription(LanguageDescriptionT&& value) { SetLanguageDescription(std::forward<LanguageDescriptionT>(value)); return *this;}
107 private:
108
109 Aws::String m_customLanguageCode;
110 bool m_customLanguageCodeHasBeenSet = false;
111
112 CaptionDestinationSettings m_destinationSettings;
113 bool m_destinationSettingsHasBeenSet = false;
114
115 LanguageCode m_languageCode{LanguageCode::NOT_SET};
116 bool m_languageCodeHasBeenSet = false;
117
118 Aws::String m_languageDescription;
119 bool m_languageDescriptionHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace MediaConvert
124} // 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