AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
50 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
51 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
52 inline CaptionSource& WithKey(const Aws::String& value) { SetKey(value); return *this;}
53 inline CaptionSource& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
54 inline CaptionSource& WithKey(const char* value) { SetKey(value); return *this;}
56
58
66 inline const Aws::String& GetLanguage() const{ return m_language; }
67 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
68 inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; }
69 inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
70 inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); }
71 inline CaptionSource& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;}
72 inline CaptionSource& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;}
73 inline CaptionSource& WithLanguage(const char* value) { SetLanguage(value); return *this;}
75
77
83 inline const Aws::String& GetTimeOffset() const{ return m_timeOffset; }
84 inline bool TimeOffsetHasBeenSet() const { return m_timeOffsetHasBeenSet; }
85 inline void SetTimeOffset(const Aws::String& value) { m_timeOffsetHasBeenSet = true; m_timeOffset = value; }
86 inline void SetTimeOffset(Aws::String&& value) { m_timeOffsetHasBeenSet = true; m_timeOffset = std::move(value); }
87 inline void SetTimeOffset(const char* value) { m_timeOffsetHasBeenSet = true; m_timeOffset.assign(value); }
88 inline CaptionSource& WithTimeOffset(const Aws::String& value) { SetTimeOffset(value); return *this;}
89 inline CaptionSource& WithTimeOffset(Aws::String&& value) { SetTimeOffset(std::move(value)); return *this;}
90 inline CaptionSource& WithTimeOffset(const char* value) { SetTimeOffset(value); return *this;}
92
94
99 inline const Aws::String& GetLabel() const{ return m_label; }
100 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
101 inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; }
102 inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); }
103 inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); }
104 inline CaptionSource& WithLabel(const Aws::String& value) { SetLabel(value); return *this;}
105 inline CaptionSource& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;}
106 inline CaptionSource& WithLabel(const char* value) { SetLabel(value); return *this;}
108
110
115 inline const Encryption& GetEncryption() const{ return m_encryption; }
116 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
117 inline void SetEncryption(const Encryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
118 inline void SetEncryption(Encryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
119 inline CaptionSource& WithEncryption(const Encryption& value) { SetEncryption(value); return *this;}
120 inline CaptionSource& WithEncryption(Encryption&& value) { SetEncryption(std::move(value)); return *this;}
122 private:
123
124 Aws::String m_key;
125 bool m_keyHasBeenSet = false;
126
127 Aws::String m_language;
128 bool m_languageHasBeenSet = false;
129
130 Aws::String m_timeOffset;
131 bool m_timeOffsetHasBeenSet = false;
132
133 Aws::String m_label;
134 bool m_labelHasBeenSet = false;
135
136 Encryption m_encryption;
137 bool m_encryptionHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace ElasticTranscoder
142} // namespace Aws
AWS_ELASTICTRANSCODER_API CaptionSource & operator=(Aws::Utils::Json::JsonView jsonValue)
CaptionSource & WithKey(Aws::String &&value)
CaptionSource & WithKey(const Aws::String &value)
CaptionSource & WithEncryption(Encryption &&value)
const Aws::String & GetLanguage() const
CaptionSource & WithTimeOffset(Aws::String &&value)
void SetEncryption(const Encryption &value)
void SetKey(const Aws::String &value)
CaptionSource & WithLabel(Aws::String &&value)
void SetLanguage(const Aws::String &value)
const Aws::String & GetTimeOffset() const
CaptionSource & WithTimeOffset(const Aws::String &value)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimeOffset(const Aws::String &value)
CaptionSource & WithKey(const char *value)
CaptionSource & WithEncryption(const Encryption &value)
CaptionSource & WithLanguage(const Aws::String &value)
AWS_ELASTICTRANSCODER_API CaptionSource(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICTRANSCODER_API CaptionSource()
CaptionSource & WithTimeOffset(const char *value)
CaptionSource & WithLabel(const Aws::String &value)
void SetLabel(const Aws::String &value)
CaptionSource & WithLanguage(const char *value)
CaptionSource & WithLanguage(Aws::String &&value)
CaptionSource & WithLabel(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue