AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CaptionSource.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elastictranscoder/model/Encryption.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ElasticTranscoder
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ELASTICTRANSCODER_API CaptionSource() = default;
37 AWS_ELASTICTRANSCODER_API CaptionSource(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICTRANSCODER_API CaptionSource& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetKey() const { return m_key; }
48 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
49 template<typename KeyT = Aws::String>
50 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
51 template<typename KeyT = Aws::String>
52 CaptionSource& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
54
56
64 inline const Aws::String& GetLanguage() const { return m_language; }
65 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
66 template<typename LanguageT = Aws::String>
67 void SetLanguage(LanguageT&& value) { m_languageHasBeenSet = true; m_language = std::forward<LanguageT>(value); }
68 template<typename LanguageT = Aws::String>
69 CaptionSource& WithLanguage(LanguageT&& value) { SetLanguage(std::forward<LanguageT>(value)); return *this;}
71
73
79 inline const Aws::String& GetTimeOffset() const { return m_timeOffset; }
80 inline bool TimeOffsetHasBeenSet() const { return m_timeOffsetHasBeenSet; }
81 template<typename TimeOffsetT = Aws::String>
82 void SetTimeOffset(TimeOffsetT&& value) { m_timeOffsetHasBeenSet = true; m_timeOffset = std::forward<TimeOffsetT>(value); }
83 template<typename TimeOffsetT = Aws::String>
84 CaptionSource& WithTimeOffset(TimeOffsetT&& value) { SetTimeOffset(std::forward<TimeOffsetT>(value)); return *this;}
86
88
93 inline const Aws::String& GetLabel() const { return m_label; }
94 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
95 template<typename LabelT = Aws::String>
96 void SetLabel(LabelT&& value) { m_labelHasBeenSet = true; m_label = std::forward<LabelT>(value); }
97 template<typename LabelT = Aws::String>
98 CaptionSource& WithLabel(LabelT&& value) { SetLabel(std::forward<LabelT>(value)); return *this;}
100
102
107 inline const Encryption& GetEncryption() const { return m_encryption; }
108 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
109 template<typename EncryptionT = Encryption>
110 void SetEncryption(EncryptionT&& value) { m_encryptionHasBeenSet = true; m_encryption = std::forward<EncryptionT>(value); }
111 template<typename EncryptionT = Encryption>
112 CaptionSource& WithEncryption(EncryptionT&& value) { SetEncryption(std::forward<EncryptionT>(value)); return *this;}
114 private:
115
116 Aws::String m_key;
117 bool m_keyHasBeenSet = false;
118
119 Aws::String m_language;
120 bool m_languageHasBeenSet = false;
121
122 Aws::String m_timeOffset;
123 bool m_timeOffsetHasBeenSet = false;
124
125 Aws::String m_label;
126 bool m_labelHasBeenSet = false;
127
128 Encryption m_encryption;
129 bool m_encryptionHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace ElasticTranscoder
134} // namespace Aws
AWS_ELASTICTRANSCODER_API CaptionSource()=default
AWS_ELASTICTRANSCODER_API CaptionSource & operator=(Aws::Utils::Json::JsonView jsonValue)
CaptionSource & WithLanguage(LanguageT &&value)
const Aws::String & GetLanguage() const
CaptionSource & WithKey(KeyT &&value)
const Aws::String & GetTimeOffset() const
CaptionSource & WithEncryption(EncryptionT &&value)
CaptionSource & WithTimeOffset(TimeOffsetT &&value)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICTRANSCODER_API CaptionSource(Aws::Utils::Json::JsonView jsonValue)
CaptionSource & WithLabel(LabelT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue