AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCustomLanguageCode(const Aws::String& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = value; }
57 inline void SetCustomLanguageCode(Aws::String&& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = std::move(value); }
58 inline void SetCustomLanguageCode(const char* value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode.assign(value); }
60 inline CaptionDescriptionPreset& WithCustomLanguageCode(Aws::String&& value) { SetCustomLanguageCode(std::move(value)); return *this;}
61 inline CaptionDescriptionPreset& WithCustomLanguageCode(const char* value) { SetCustomLanguageCode(value); return *this;}
63
65
72 inline const CaptionDestinationSettings& GetDestinationSettings() const{ return m_destinationSettings; }
73 inline bool DestinationSettingsHasBeenSet() const { return m_destinationSettingsHasBeenSet; }
74 inline void SetDestinationSettings(const CaptionDestinationSettings& value) { m_destinationSettingsHasBeenSet = true; m_destinationSettings = value; }
75 inline void SetDestinationSettings(CaptionDestinationSettings&& value) { m_destinationSettingsHasBeenSet = true; m_destinationSettings = std::move(value); }
79
81
88 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
89 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
90 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
91 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
92 inline CaptionDescriptionPreset& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
93 inline CaptionDescriptionPreset& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
95
97
104 inline const Aws::String& GetLanguageDescription() const{ return m_languageDescription; }
105 inline bool LanguageDescriptionHasBeenSet() const { return m_languageDescriptionHasBeenSet; }
106 inline void SetLanguageDescription(const Aws::String& value) { m_languageDescriptionHasBeenSet = true; m_languageDescription = value; }
107 inline void SetLanguageDescription(Aws::String&& value) { m_languageDescriptionHasBeenSet = true; m_languageDescription = std::move(value); }
108 inline void SetLanguageDescription(const char* value) { m_languageDescriptionHasBeenSet = true; m_languageDescription.assign(value); }
110 inline CaptionDescriptionPreset& WithLanguageDescription(Aws::String&& value) { SetLanguageDescription(std::move(value)); return *this;}
111 inline CaptionDescriptionPreset& WithLanguageDescription(const char* value) { SetLanguageDescription(value); return *this;}
113 private:
114
115 Aws::String m_customLanguageCode;
116 bool m_customLanguageCodeHasBeenSet = false;
117
118 CaptionDestinationSettings m_destinationSettings;
119 bool m_destinationSettingsHasBeenSet = false;
120
121 LanguageCode m_languageCode;
122 bool m_languageCodeHasBeenSet = false;
123
124 Aws::String m_languageDescription;
125 bool m_languageDescriptionHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace MediaConvert
130} // namespace Aws
AWS_MEDIACONVERT_API CaptionDescriptionPreset & operator=(Aws::Utils::Json::JsonView jsonValue)
CaptionDescriptionPreset & WithLanguageDescription(const Aws::String &value)
void SetDestinationSettings(CaptionDestinationSettings &&value)
CaptionDescriptionPreset & WithLanguageDescription(Aws::String &&value)
CaptionDescriptionPreset & WithLanguageCode(LanguageCode &&value)
CaptionDescriptionPreset & WithCustomLanguageCode(Aws::String &&value)
CaptionDescriptionPreset & WithLanguageCode(const LanguageCode &value)
void SetDestinationSettings(const CaptionDestinationSettings &value)
CaptionDescriptionPreset & WithDestinationSettings(const CaptionDestinationSettings &value)
CaptionDescriptionPreset & WithCustomLanguageCode(const Aws::String &value)
CaptionDescriptionPreset & WithLanguageDescription(const char *value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
CaptionDescriptionPreset & WithDestinationSettings(CaptionDestinationSettings &&value)
CaptionDescriptionPreset & WithCustomLanguageCode(const char *value)
const CaptionDestinationSettings & GetDestinationSettings() const
AWS_MEDIACONVERT_API CaptionDescriptionPreset(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue