AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateJobPlaylist.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elastictranscoder/model/HlsContentProtection.h>
11#include <aws/elastictranscoder/model/PlayReadyDrm.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ElasticTranscoder
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_ELASTICTRANSCODER_API CreateJobPlaylist() = default;
38 AWS_ELASTICTRANSCODER_API CreateJobPlaylist(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ELASTICTRANSCODER_API CreateJobPlaylist& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template<typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
60 template<typename NameT = Aws::String>
61 CreateJobPlaylist& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
63
65
69 inline const Aws::String& GetFormat() const { return m_format; }
70 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
71 template<typename FormatT = Aws::String>
72 void SetFormat(FormatT&& value) { m_formatHasBeenSet = true; m_format = std::forward<FormatT>(value); }
73 template<typename FormatT = Aws::String>
74 CreateJobPlaylist& WithFormat(FormatT&& value) { SetFormat(std::forward<FormatT>(value)); return *this;}
76
78
107 inline const Aws::Vector<Aws::String>& GetOutputKeys() const { return m_outputKeys; }
108 inline bool OutputKeysHasBeenSet() const { return m_outputKeysHasBeenSet; }
109 template<typename OutputKeysT = Aws::Vector<Aws::String>>
110 void SetOutputKeys(OutputKeysT&& value) { m_outputKeysHasBeenSet = true; m_outputKeys = std::forward<OutputKeysT>(value); }
111 template<typename OutputKeysT = Aws::Vector<Aws::String>>
112 CreateJobPlaylist& WithOutputKeys(OutputKeysT&& value) { SetOutputKeys(std::forward<OutputKeysT>(value)); return *this;}
113 template<typename OutputKeysT = Aws::String>
114 CreateJobPlaylist& AddOutputKeys(OutputKeysT&& value) { m_outputKeysHasBeenSet = true; m_outputKeys.emplace_back(std::forward<OutputKeysT>(value)); return *this; }
116
118
122 inline const HlsContentProtection& GetHlsContentProtection() const { return m_hlsContentProtection; }
123 inline bool HlsContentProtectionHasBeenSet() const { return m_hlsContentProtectionHasBeenSet; }
124 template<typename HlsContentProtectionT = HlsContentProtection>
125 void SetHlsContentProtection(HlsContentProtectionT&& value) { m_hlsContentProtectionHasBeenSet = true; m_hlsContentProtection = std::forward<HlsContentProtectionT>(value); }
126 template<typename HlsContentProtectionT = HlsContentProtection>
127 CreateJobPlaylist& WithHlsContentProtection(HlsContentProtectionT&& value) { SetHlsContentProtection(std::forward<HlsContentProtectionT>(value)); return *this;}
129
131
135 inline const PlayReadyDrm& GetPlayReadyDrm() const { return m_playReadyDrm; }
136 inline bool PlayReadyDrmHasBeenSet() const { return m_playReadyDrmHasBeenSet; }
137 template<typename PlayReadyDrmT = PlayReadyDrm>
138 void SetPlayReadyDrm(PlayReadyDrmT&& value) { m_playReadyDrmHasBeenSet = true; m_playReadyDrm = std::forward<PlayReadyDrmT>(value); }
139 template<typename PlayReadyDrmT = PlayReadyDrm>
140 CreateJobPlaylist& WithPlayReadyDrm(PlayReadyDrmT&& value) { SetPlayReadyDrm(std::forward<PlayReadyDrmT>(value)); return *this;}
142 private:
143
144 Aws::String m_name;
145 bool m_nameHasBeenSet = false;
146
147 Aws::String m_format;
148 bool m_formatHasBeenSet = false;
149
150 Aws::Vector<Aws::String> m_outputKeys;
151 bool m_outputKeysHasBeenSet = false;
152
153 HlsContentProtection m_hlsContentProtection;
154 bool m_hlsContentProtectionHasBeenSet = false;
155
156 PlayReadyDrm m_playReadyDrm;
157 bool m_playReadyDrmHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace ElasticTranscoder
162} // namespace Aws
CreateJobPlaylist & AddOutputKeys(OutputKeysT &&value)
const Aws::Vector< Aws::String > & GetOutputKeys() const
AWS_ELASTICTRANSCODER_API CreateJobPlaylist(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICTRANSCODER_API CreateJobPlaylist & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateJobPlaylist & WithPlayReadyDrm(PlayReadyDrmT &&value)
void SetHlsContentProtection(HlsContentProtectionT &&value)
CreateJobPlaylist & WithName(NameT &&value)
CreateJobPlaylist & WithHlsContentProtection(HlsContentProtectionT &&value)
const HlsContentProtection & GetHlsContentProtection() const
CreateJobPlaylist & WithOutputKeys(OutputKeysT &&value)
AWS_ELASTICTRANSCODER_API CreateJobPlaylist()=default
CreateJobPlaylist & WithFormat(FormatT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue