AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline CreateJobPlaylist& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline CreateJobPlaylist& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline CreateJobPlaylist& WithName(const char* value) { SetName(value); return *this;}
65
67
71 inline const Aws::String& GetFormat() const{ return m_format; }
72 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
73 inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; }
74 inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
75 inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); }
76 inline CreateJobPlaylist& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
77 inline CreateJobPlaylist& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;}
78 inline CreateJobPlaylist& WithFormat(const char* value) { SetFormat(value); return *this;}
80
82
111 inline const Aws::Vector<Aws::String>& GetOutputKeys() const{ return m_outputKeys; }
112 inline bool OutputKeysHasBeenSet() const { return m_outputKeysHasBeenSet; }
113 inline void SetOutputKeys(const Aws::Vector<Aws::String>& value) { m_outputKeysHasBeenSet = true; m_outputKeys = value; }
114 inline void SetOutputKeys(Aws::Vector<Aws::String>&& value) { m_outputKeysHasBeenSet = true; m_outputKeys = std::move(value); }
115 inline CreateJobPlaylist& WithOutputKeys(const Aws::Vector<Aws::String>& value) { SetOutputKeys(value); return *this;}
116 inline CreateJobPlaylist& WithOutputKeys(Aws::Vector<Aws::String>&& value) { SetOutputKeys(std::move(value)); return *this;}
117 inline CreateJobPlaylist& AddOutputKeys(const Aws::String& value) { m_outputKeysHasBeenSet = true; m_outputKeys.push_back(value); return *this; }
118 inline CreateJobPlaylist& AddOutputKeys(Aws::String&& value) { m_outputKeysHasBeenSet = true; m_outputKeys.push_back(std::move(value)); return *this; }
119 inline CreateJobPlaylist& AddOutputKeys(const char* value) { m_outputKeysHasBeenSet = true; m_outputKeys.push_back(value); return *this; }
121
123
127 inline const HlsContentProtection& GetHlsContentProtection() const{ return m_hlsContentProtection; }
128 inline bool HlsContentProtectionHasBeenSet() const { return m_hlsContentProtectionHasBeenSet; }
129 inline void SetHlsContentProtection(const HlsContentProtection& value) { m_hlsContentProtectionHasBeenSet = true; m_hlsContentProtection = value; }
130 inline void SetHlsContentProtection(HlsContentProtection&& value) { m_hlsContentProtectionHasBeenSet = true; m_hlsContentProtection = std::move(value); }
134
136
140 inline const PlayReadyDrm& GetPlayReadyDrm() const{ return m_playReadyDrm; }
141 inline bool PlayReadyDrmHasBeenSet() const { return m_playReadyDrmHasBeenSet; }
142 inline void SetPlayReadyDrm(const PlayReadyDrm& value) { m_playReadyDrmHasBeenSet = true; m_playReadyDrm = value; }
143 inline void SetPlayReadyDrm(PlayReadyDrm&& value) { m_playReadyDrmHasBeenSet = true; m_playReadyDrm = std::move(value); }
144 inline CreateJobPlaylist& WithPlayReadyDrm(const PlayReadyDrm& value) { SetPlayReadyDrm(value); return *this;}
145 inline CreateJobPlaylist& WithPlayReadyDrm(PlayReadyDrm&& value) { SetPlayReadyDrm(std::move(value)); return *this;}
147 private:
148
149 Aws::String m_name;
150 bool m_nameHasBeenSet = false;
151
152 Aws::String m_format;
153 bool m_formatHasBeenSet = false;
154
155 Aws::Vector<Aws::String> m_outputKeys;
156 bool m_outputKeysHasBeenSet = false;
157
158 HlsContentProtection m_hlsContentProtection;
159 bool m_hlsContentProtectionHasBeenSet = false;
160
161 PlayReadyDrm m_playReadyDrm;
162 bool m_playReadyDrmHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace ElasticTranscoder
167} // namespace Aws
void SetHlsContentProtection(HlsContentProtection &&value)
CreateJobPlaylist & AddOutputKeys(const Aws::String &value)
const Aws::Vector< Aws::String > & GetOutputKeys() const
CreateJobPlaylist & WithHlsContentProtection(HlsContentProtection &&value)
AWS_ELASTICTRANSCODER_API CreateJobPlaylist(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
CreateJobPlaylist & WithOutputKeys(Aws::Vector< Aws::String > &&value)
AWS_ELASTICTRANSCODER_API CreateJobPlaylist & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateJobPlaylist & WithName(const Aws::String &value)
CreateJobPlaylist & WithFormat(const char *value)
AWS_ELASTICTRANSCODER_API CreateJobPlaylist()
CreateJobPlaylist & WithOutputKeys(const Aws::Vector< Aws::String > &value)
CreateJobPlaylist & WithFormat(Aws::String &&value)
CreateJobPlaylist & WithName(Aws::String &&value)
const HlsContentProtection & GetHlsContentProtection() const
CreateJobPlaylist & AddOutputKeys(Aws::String &&value)
CreateJobPlaylist & WithPlayReadyDrm(const PlayReadyDrm &value)
void SetHlsContentProtection(const HlsContentProtection &value)
CreateJobPlaylist & AddOutputKeys(const char *value)
CreateJobPlaylist & WithName(const char *value)
CreateJobPlaylist & WithPlayReadyDrm(PlayReadyDrm &&value)
CreateJobPlaylist & WithHlsContentProtection(const HlsContentProtection &value)
void SetOutputKeys(const Aws::Vector< Aws::String > &value)
CreateJobPlaylist & WithFormat(const Aws::String &value)
void SetOutputKeys(Aws::Vector< Aws::String > &&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