AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCaptionSelectorName(const Aws::String& value) { m_captionSelectorNameHasBeenSet = true; m_captionSelectorName = value; }
54 inline void SetCaptionSelectorName(Aws::String&& value) { m_captionSelectorNameHasBeenSet = true; m_captionSelectorName = std::move(value); }
55 inline void SetCaptionSelectorName(const char* value) { m_captionSelectorNameHasBeenSet = true; m_captionSelectorName.assign(value); }
57 inline CaptionDescription& WithCaptionSelectorName(Aws::String&& value) { SetCaptionSelectorName(std::move(value)); return *this;}
58 inline CaptionDescription& WithCaptionSelectorName(const char* value) { SetCaptionSelectorName(value); return *this;}
60
62
73 inline const Aws::String& GetCustomLanguageCode() const{ return m_customLanguageCode; }
74 inline bool CustomLanguageCodeHasBeenSet() const { return m_customLanguageCodeHasBeenSet; }
75 inline void SetCustomLanguageCode(const Aws::String& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = value; }
76 inline void SetCustomLanguageCode(Aws::String&& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = std::move(value); }
77 inline void SetCustomLanguageCode(const char* value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode.assign(value); }
78 inline CaptionDescription& WithCustomLanguageCode(const Aws::String& value) { SetCustomLanguageCode(value); return *this;}
79 inline CaptionDescription& WithCustomLanguageCode(Aws::String&& value) { SetCustomLanguageCode(std::move(value)); return *this;}
80 inline CaptionDescription& WithCustomLanguageCode(const char* value) { SetCustomLanguageCode(value); return *this;}
82
84
91 inline const CaptionDestinationSettings& GetDestinationSettings() const{ return m_destinationSettings; }
92 inline bool DestinationSettingsHasBeenSet() const { return m_destinationSettingsHasBeenSet; }
93 inline void SetDestinationSettings(const CaptionDestinationSettings& value) { m_destinationSettingsHasBeenSet = true; m_destinationSettings = value; }
94 inline void SetDestinationSettings(CaptionDestinationSettings&& value) { m_destinationSettingsHasBeenSet = true; m_destinationSettings = std::move(value); }
98
100
107 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
108 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
109 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
110 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
111 inline CaptionDescription& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
112 inline CaptionDescription& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
114
116
123 inline const Aws::String& GetLanguageDescription() const{ return m_languageDescription; }
124 inline bool LanguageDescriptionHasBeenSet() const { return m_languageDescriptionHasBeenSet; }
125 inline void SetLanguageDescription(const Aws::String& value) { m_languageDescriptionHasBeenSet = true; m_languageDescription = value; }
126 inline void SetLanguageDescription(Aws::String&& value) { m_languageDescriptionHasBeenSet = true; m_languageDescription = std::move(value); }
127 inline void SetLanguageDescription(const char* value) { m_languageDescriptionHasBeenSet = true; m_languageDescription.assign(value); }
129 inline CaptionDescription& WithLanguageDescription(Aws::String&& value) { SetLanguageDescription(std::move(value)); return *this;}
130 inline CaptionDescription& WithLanguageDescription(const char* value) { SetLanguageDescription(value); return *this;}
132 private:
133
134 Aws::String m_captionSelectorName;
135 bool m_captionSelectorNameHasBeenSet = false;
136
137 Aws::String m_customLanguageCode;
138 bool m_customLanguageCodeHasBeenSet = false;
139
140 CaptionDestinationSettings m_destinationSettings;
141 bool m_destinationSettingsHasBeenSet = false;
142
143 LanguageCode m_languageCode;
144 bool m_languageCodeHasBeenSet = false;
145
146 Aws::String m_languageDescription;
147 bool m_languageDescriptionHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace MediaConvert
152} // namespace Aws
CaptionDescription & WithDestinationSettings(CaptionDestinationSettings &&value)
CaptionDescription & WithLanguageCode(const LanguageCode &value)
CaptionDescription & WithCaptionSelectorName(const Aws::String &value)
AWS_MEDIACONVERT_API CaptionDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API CaptionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLanguageDescription(const Aws::String &value)
void SetLanguageCode(const LanguageCode &value)
CaptionDescription & WithLanguageDescription(Aws::String &&value)
CaptionDescription & WithDestinationSettings(const CaptionDestinationSettings &value)
const Aws::String & GetCustomLanguageCode() const
CaptionDescription & WithLanguageCode(LanguageCode &&value)
CaptionDescription & WithCustomLanguageCode(const char *value)
void SetDestinationSettings(CaptionDestinationSettings &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDestinationSettings(const CaptionDestinationSettings &value)
const CaptionDestinationSettings & GetDestinationSettings() const
CaptionDescription & WithCaptionSelectorName(const char *value)
const Aws::String & GetCaptionSelectorName() const
void SetCustomLanguageCode(const Aws::String &value)
CaptionDescription & WithLanguageDescription(const Aws::String &value)
CaptionDescription & WithCustomLanguageCode(Aws::String &&value)
CaptionDescription & WithLanguageDescription(const char *value)
CaptionDescription & WithCustomLanguageCode(const Aws::String &value)
CaptionDescription & WithCaptionSelectorName(Aws::String &&value)
void SetCaptionSelectorName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue