AWS SDK for C++  1.9.158
AWS SDK for C++
HlsCaptionLanguageMapping.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace MediaConvert
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline int GetCaptionChannel() const{ return m_captionChannel; }
45 
49  inline bool CaptionChannelHasBeenSet() const { return m_captionChannelHasBeenSet; }
50 
54  inline void SetCaptionChannel(int value) { m_captionChannelHasBeenSet = true; m_captionChannel = value; }
55 
59  inline HlsCaptionLanguageMapping& WithCaptionChannel(int value) { SetCaptionChannel(value); return *this;}
60 
61 
66  inline const Aws::String& GetCustomLanguageCode() const{ return m_customLanguageCode; }
67 
72  inline bool CustomLanguageCodeHasBeenSet() const { return m_customLanguageCodeHasBeenSet; }
73 
78  inline void SetCustomLanguageCode(const Aws::String& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = value; }
79 
84  inline void SetCustomLanguageCode(Aws::String&& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = std::move(value); }
85 
90  inline void SetCustomLanguageCode(const char* value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode.assign(value); }
91 
96  inline HlsCaptionLanguageMapping& WithCustomLanguageCode(const Aws::String& value) { SetCustomLanguageCode(value); return *this;}
97 
102  inline HlsCaptionLanguageMapping& WithCustomLanguageCode(Aws::String&& value) { SetCustomLanguageCode(std::move(value)); return *this;}
103 
108  inline HlsCaptionLanguageMapping& WithCustomLanguageCode(const char* value) { SetCustomLanguageCode(value); return *this;}
109 
110 
115  inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
116 
121  inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
122 
127  inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
128 
133  inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
134 
139  inline HlsCaptionLanguageMapping& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
140 
145  inline HlsCaptionLanguageMapping& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
146 
147 
151  inline const Aws::String& GetLanguageDescription() const{ return m_languageDescription; }
152 
156  inline bool LanguageDescriptionHasBeenSet() const { return m_languageDescriptionHasBeenSet; }
157 
161  inline void SetLanguageDescription(const Aws::String& value) { m_languageDescriptionHasBeenSet = true; m_languageDescription = value; }
162 
166  inline void SetLanguageDescription(Aws::String&& value) { m_languageDescriptionHasBeenSet = true; m_languageDescription = std::move(value); }
167 
171  inline void SetLanguageDescription(const char* value) { m_languageDescriptionHasBeenSet = true; m_languageDescription.assign(value); }
172 
176  inline HlsCaptionLanguageMapping& WithLanguageDescription(const Aws::String& value) { SetLanguageDescription(value); return *this;}
177 
181  inline HlsCaptionLanguageMapping& WithLanguageDescription(Aws::String&& value) { SetLanguageDescription(std::move(value)); return *this;}
182 
186  inline HlsCaptionLanguageMapping& WithLanguageDescription(const char* value) { SetLanguageDescription(value); return *this;}
187 
188  private:
189 
190  int m_captionChannel;
191  bool m_captionChannelHasBeenSet;
192 
193  Aws::String m_customLanguageCode;
194  bool m_customLanguageCodeHasBeenSet;
195 
196  LanguageCode m_languageCode;
197  bool m_languageCodeHasBeenSet;
198 
199  Aws::String m_languageDescription;
200  bool m_languageDescriptionHasBeenSet;
201  };
202 
203 } // namespace Model
204 } // namespace MediaConvert
205 } // namespace Aws
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::WithLanguageCode
HlsCaptionLanguageMapping & WithLanguageCode(const LanguageCode &value)
Definition: HlsCaptionLanguageMapping.h:139
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::LanguageDescriptionHasBeenSet
bool LanguageDescriptionHasBeenSet() const
Definition: HlsCaptionLanguageMapping.h:156
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::HlsCaptionLanguageMapping
HlsCaptionLanguageMapping(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::SetCustomLanguageCode
void SetCustomLanguageCode(Aws::String &&value)
Definition: HlsCaptionLanguageMapping.h:84
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::SetCustomLanguageCode
void SetCustomLanguageCode(const Aws::String &value)
Definition: HlsCaptionLanguageMapping.h:78
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::GetLanguageCode
const LanguageCode & GetLanguageCode() const
Definition: HlsCaptionLanguageMapping.h:115
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::SetCaptionChannel
void SetCaptionChannel(int value)
Definition: HlsCaptionLanguageMapping.h:54
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::SetLanguageDescription
void SetLanguageDescription(const char *value)
Definition: HlsCaptionLanguageMapping.h:171
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::SetLanguageDescription
void SetLanguageDescription(const Aws::String &value)
Definition: HlsCaptionLanguageMapping.h:161
LanguageCode.h
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::WithCustomLanguageCode
HlsCaptionLanguageMapping & WithCustomLanguageCode(const char *value)
Definition: HlsCaptionLanguageMapping.h:108
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::GetLanguageDescription
const Aws::String & GetLanguageDescription() const
Definition: HlsCaptionLanguageMapping.h:151
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::SetLanguageDescription
void SetLanguageDescription(Aws::String &&value)
Definition: HlsCaptionLanguageMapping.h:166
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::LanguageCodeHasBeenSet
bool LanguageCodeHasBeenSet() const
Definition: HlsCaptionLanguageMapping.h:121
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::CaptionChannelHasBeenSet
bool CaptionChannelHasBeenSet() const
Definition: HlsCaptionLanguageMapping.h:49
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::WithCustomLanguageCode
HlsCaptionLanguageMapping & WithCustomLanguageCode(Aws::String &&value)
Definition: HlsCaptionLanguageMapping.h:102
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::WithLanguageDescription
HlsCaptionLanguageMapping & WithLanguageDescription(Aws::String &&value)
Definition: HlsCaptionLanguageMapping.h:181
Aws::MediaConvert::Model::HlsCaptionLanguageMapping
Definition: HlsCaptionLanguageMapping.h:33
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::operator=
HlsCaptionLanguageMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::WithLanguageCode
HlsCaptionLanguageMapping & WithLanguageCode(LanguageCode &&value)
Definition: HlsCaptionLanguageMapping.h:145
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::SetCustomLanguageCode
void SetCustomLanguageCode(const char *value)
Definition: HlsCaptionLanguageMapping.h:90
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::WithCaptionChannel
HlsCaptionLanguageMapping & WithCaptionChannel(int value)
Definition: HlsCaptionLanguageMapping.h:59
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::GetCaptionChannel
int GetCaptionChannel() const
Definition: HlsCaptionLanguageMapping.h:44
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::HlsCaptionLanguageMapping
HlsCaptionLanguageMapping()
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::SetLanguageCode
void SetLanguageCode(LanguageCode &&value)
Definition: HlsCaptionLanguageMapping.h:133
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::CustomLanguageCodeHasBeenSet
bool CustomLanguageCodeHasBeenSet() const
Definition: HlsCaptionLanguageMapping.h:72
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::SetLanguageCode
void SetLanguageCode(const LanguageCode &value)
Definition: HlsCaptionLanguageMapping.h:127
Aws::MediaConvert::Model::LanguageCode
LanguageCode
Definition: LanguageCode.h:17
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::WithLanguageDescription
HlsCaptionLanguageMapping & WithLanguageDescription(const Aws::String &value)
Definition: HlsCaptionLanguageMapping.h:176
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::WithLanguageDescription
HlsCaptionLanguageMapping & WithLanguageDescription(const char *value)
Definition: HlsCaptionLanguageMapping.h:186
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::GetCustomLanguageCode
const Aws::String & GetCustomLanguageCode() const
Definition: HlsCaptionLanguageMapping.h:66
Aws::MediaConvert::Model::HlsCaptionLanguageMapping::WithCustomLanguageCode
HlsCaptionLanguageMapping & WithCustomLanguageCode(const Aws::String &value)
Definition: HlsCaptionLanguageMapping.h:96