AWS SDK for C++  1.9.106
AWS SDK for C++
CreateJobPlaylist.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace ElasticTranscoder
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
55  inline const Aws::String& GetName() const{ return m_name; }
56 
69  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
70 
83  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
84 
97  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
98 
111  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
112 
125  inline CreateJobPlaylist& WithName(const Aws::String& value) { SetName(value); return *this;}
126 
139  inline CreateJobPlaylist& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
140 
153  inline CreateJobPlaylist& WithName(const char* value) { SetName(value); return *this;}
154 
155 
160  inline const Aws::String& GetFormat() const{ return m_format; }
161 
166  inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
167 
172  inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; }
173 
178  inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
179 
184  inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); }
185 
190  inline CreateJobPlaylist& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
191 
196  inline CreateJobPlaylist& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;}
197 
202  inline CreateJobPlaylist& WithFormat(const char* value) { SetFormat(value); return *this;}
203 
204 
234  inline const Aws::Vector<Aws::String>& GetOutputKeys() const{ return m_outputKeys; }
235 
265  inline bool OutputKeysHasBeenSet() const { return m_outputKeysHasBeenSet; }
266 
296  inline void SetOutputKeys(const Aws::Vector<Aws::String>& value) { m_outputKeysHasBeenSet = true; m_outputKeys = value; }
297 
327  inline void SetOutputKeys(Aws::Vector<Aws::String>&& value) { m_outputKeysHasBeenSet = true; m_outputKeys = std::move(value); }
328 
358  inline CreateJobPlaylist& WithOutputKeys(const Aws::Vector<Aws::String>& value) { SetOutputKeys(value); return *this;}
359 
389  inline CreateJobPlaylist& WithOutputKeys(Aws::Vector<Aws::String>&& value) { SetOutputKeys(std::move(value)); return *this;}
390 
420  inline CreateJobPlaylist& AddOutputKeys(const Aws::String& value) { m_outputKeysHasBeenSet = true; m_outputKeys.push_back(value); return *this; }
421 
451  inline CreateJobPlaylist& AddOutputKeys(Aws::String&& value) { m_outputKeysHasBeenSet = true; m_outputKeys.push_back(std::move(value)); return *this; }
452 
482  inline CreateJobPlaylist& AddOutputKeys(const char* value) { m_outputKeysHasBeenSet = true; m_outputKeys.push_back(value); return *this; }
483 
484 
489  inline const HlsContentProtection& GetHlsContentProtection() const{ return m_hlsContentProtection; }
490 
495  inline bool HlsContentProtectionHasBeenSet() const { return m_hlsContentProtectionHasBeenSet; }
496 
501  inline void SetHlsContentProtection(const HlsContentProtection& value) { m_hlsContentProtectionHasBeenSet = true; m_hlsContentProtection = value; }
502 
507  inline void SetHlsContentProtection(HlsContentProtection&& value) { m_hlsContentProtectionHasBeenSet = true; m_hlsContentProtection = std::move(value); }
508 
513  inline CreateJobPlaylist& WithHlsContentProtection(const HlsContentProtection& value) { SetHlsContentProtection(value); return *this;}
514 
519  inline CreateJobPlaylist& WithHlsContentProtection(HlsContentProtection&& value) { SetHlsContentProtection(std::move(value)); return *this;}
520 
521 
526  inline const PlayReadyDrm& GetPlayReadyDrm() const{ return m_playReadyDrm; }
527 
532  inline bool PlayReadyDrmHasBeenSet() const { return m_playReadyDrmHasBeenSet; }
533 
538  inline void SetPlayReadyDrm(const PlayReadyDrm& value) { m_playReadyDrmHasBeenSet = true; m_playReadyDrm = value; }
539 
544  inline void SetPlayReadyDrm(PlayReadyDrm&& value) { m_playReadyDrmHasBeenSet = true; m_playReadyDrm = std::move(value); }
545 
550  inline CreateJobPlaylist& WithPlayReadyDrm(const PlayReadyDrm& value) { SetPlayReadyDrm(value); return *this;}
551 
556  inline CreateJobPlaylist& WithPlayReadyDrm(PlayReadyDrm&& value) { SetPlayReadyDrm(std::move(value)); return *this;}
557 
558  private:
559 
560  Aws::String m_name;
561  bool m_nameHasBeenSet;
562 
563  Aws::String m_format;
564  bool m_formatHasBeenSet;
565 
566  Aws::Vector<Aws::String> m_outputKeys;
567  bool m_outputKeysHasBeenSet;
568 
569  HlsContentProtection m_hlsContentProtection;
570  bool m_hlsContentProtectionHasBeenSet;
571 
572  PlayReadyDrm m_playReadyDrm;
573  bool m_playReadyDrmHasBeenSet;
574  };
575 
576 } // namespace Model
577 } // namespace ElasticTranscoder
578 } // namespace Aws
Aws::ElasticTranscoder::Model::CreateJobPlaylist::AddOutputKeys
CreateJobPlaylist & AddOutputKeys(const char *value)
Definition: CreateJobPlaylist.h:482
Aws::ElasticTranscoder::Model::CreateJobPlaylist::SetHlsContentProtection
void SetHlsContentProtection(HlsContentProtection &&value)
Definition: CreateJobPlaylist.h:507
Aws::ElasticTranscoder::Model::CreateJobPlaylist::WithName
CreateJobPlaylist & WithName(const Aws::String &value)
Definition: CreateJobPlaylist.h:125
Aws::ElasticTranscoder::Model::CreateJobPlaylist::SetName
void SetName(Aws::String &&value)
Definition: CreateJobPlaylist.h:97
Aws::ElasticTranscoder::Model::CreateJobPlaylist::WithOutputKeys
CreateJobPlaylist & WithOutputKeys(Aws::Vector< Aws::String > &&value)
Definition: CreateJobPlaylist.h:389
Aws::ElasticTranscoder::Model::CreateJobPlaylist::SetHlsContentProtection
void SetHlsContentProtection(const HlsContentProtection &value)
Definition: CreateJobPlaylist.h:501
Aws::ElasticTranscoder::Model::CreateJobPlaylist::operator=
CreateJobPlaylist & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticTranscoder::Model::CreateJobPlaylist::WithName
CreateJobPlaylist & WithName(const char *value)
Definition: CreateJobPlaylist.h:153
Aws::ElasticTranscoder::Model::CreateJobPlaylist::CreateJobPlaylist
CreateJobPlaylist()
Aws::ElasticTranscoder::Model::CreateJobPlaylist::WithFormat
CreateJobPlaylist & WithFormat(Aws::String &&value)
Definition: CreateJobPlaylist.h:196
AWS_ELASTICTRANSCODER_API
#define AWS_ELASTICTRANSCODER_API
Definition: ElasticTranscoder_EXPORTS.h:28
Aws::ElasticTranscoder::Model::CreateJobPlaylist::SetFormat
void SetFormat(const char *value)
Definition: CreateJobPlaylist.h:184
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticTranscoder::Model::CreateJobPlaylist::WithFormat
CreateJobPlaylist & WithFormat(const Aws::String &value)
Definition: CreateJobPlaylist.h:190
PlayReadyDrm.h
Aws::ElasticTranscoder::Model::CreateJobPlaylist::SetPlayReadyDrm
void SetPlayReadyDrm(PlayReadyDrm &&value)
Definition: CreateJobPlaylist.h:544
Aws::ElasticTranscoder::Model::CreateJobPlaylist::SetPlayReadyDrm
void SetPlayReadyDrm(const PlayReadyDrm &value)
Definition: CreateJobPlaylist.h:538
AWSVector.h
Aws::ElasticTranscoder::Model::CreateJobPlaylist::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateJobPlaylist.h:69
Aws::ElasticTranscoder::Model::CreateJobPlaylist::GetFormat
const Aws::String & GetFormat() const
Definition: CreateJobPlaylist.h:160
Aws::ElasticTranscoder::Model::CreateJobPlaylist::SetOutputKeys
void SetOutputKeys(const Aws::Vector< Aws::String > &value)
Definition: CreateJobPlaylist.h:296
Aws::ElasticTranscoder::Model::HlsContentProtection
Definition: HlsContentProtection.h:33
Aws::ElasticTranscoder::Model::CreateJobPlaylist::WithPlayReadyDrm
CreateJobPlaylist & WithPlayReadyDrm(const PlayReadyDrm &value)
Definition: CreateJobPlaylist.h:550
Aws::ElasticTranscoder::Model::CreateJobPlaylist
Definition: CreateJobPlaylist.h:35
Aws::ElasticTranscoder::Model::CreateJobPlaylist::CreateJobPlaylist
CreateJobPlaylist(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticTranscoder::Model::CreateJobPlaylist::WithFormat
CreateJobPlaylist & WithFormat(const char *value)
Definition: CreateJobPlaylist.h:202
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ElasticTranscoder::Model::CreateJobPlaylist::AddOutputKeys
CreateJobPlaylist & AddOutputKeys(const Aws::String &value)
Definition: CreateJobPlaylist.h:420
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticTranscoder::Model::CreateJobPlaylist::HlsContentProtectionHasBeenSet
bool HlsContentProtectionHasBeenSet() const
Definition: CreateJobPlaylist.h:495
Aws::ElasticTranscoder::Model::CreateJobPlaylist::SetName
void SetName(const char *value)
Definition: CreateJobPlaylist.h:111
Aws::ElasticTranscoder::Model::CreateJobPlaylist::WithPlayReadyDrm
CreateJobPlaylist & WithPlayReadyDrm(PlayReadyDrm &&value)
Definition: CreateJobPlaylist.h:556
Aws::ElasticTranscoder::Model::CreateJobPlaylist::FormatHasBeenSet
bool FormatHasBeenSet() const
Definition: CreateJobPlaylist.h:166
Aws::ElasticTranscoder::Model::CreateJobPlaylist::PlayReadyDrmHasBeenSet
bool PlayReadyDrmHasBeenSet() const
Definition: CreateJobPlaylist.h:532
Aws::ElasticTranscoder::Model::CreateJobPlaylist::WithName
CreateJobPlaylist & WithName(Aws::String &&value)
Definition: CreateJobPlaylist.h:139
Aws::ElasticTranscoder::Model::CreateJobPlaylist::WithHlsContentProtection
CreateJobPlaylist & WithHlsContentProtection(HlsContentProtection &&value)
Definition: CreateJobPlaylist.h:519
Aws::ElasticTranscoder::Model::CreateJobPlaylist::SetFormat
void SetFormat(Aws::String &&value)
Definition: CreateJobPlaylist.h:178
Aws::ElasticTranscoder::Model::CreateJobPlaylist::SetOutputKeys
void SetOutputKeys(Aws::Vector< Aws::String > &&value)
Definition: CreateJobPlaylist.h:327
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticTranscoder::Model::CreateJobPlaylist::WithHlsContentProtection
CreateJobPlaylist & WithHlsContentProtection(const HlsContentProtection &value)
Definition: CreateJobPlaylist.h:513
Aws::ElasticTranscoder::Model::CreateJobPlaylist::WithOutputKeys
CreateJobPlaylist & WithOutputKeys(const Aws::Vector< Aws::String > &value)
Definition: CreateJobPlaylist.h:358
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticTranscoder::Model::PlayReadyDrm
Definition: PlayReadyDrm.h:36
Aws::ElasticTranscoder::Model::CreateJobPlaylist::GetName
const Aws::String & GetName() const
Definition: CreateJobPlaylist.h:55
Aws::ElasticTranscoder::Model::CreateJobPlaylist::SetName
void SetName(const Aws::String &value)
Definition: CreateJobPlaylist.h:83
Aws::ElasticTranscoder::Model::CreateJobPlaylist::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticTranscoder::Model::CreateJobPlaylist::GetHlsContentProtection
const HlsContentProtection & GetHlsContentProtection() const
Definition: CreateJobPlaylist.h:489
Aws::ElasticTranscoder::Model::CreateJobPlaylist::OutputKeysHasBeenSet
bool OutputKeysHasBeenSet() const
Definition: CreateJobPlaylist.h:265
HlsContentProtection.h
ElasticTranscoder_EXPORTS.h
Aws::ElasticTranscoder::Model::CreateJobPlaylist::SetFormat
void SetFormat(const Aws::String &value)
Definition: CreateJobPlaylist.h:172
Aws::ElasticTranscoder::Model::CreateJobPlaylist::AddOutputKeys
CreateJobPlaylist & AddOutputKeys(Aws::String &&value)
Definition: CreateJobPlaylist.h:451
Aws::ElasticTranscoder::Model::CreateJobPlaylist::GetPlayReadyDrm
const PlayReadyDrm & GetPlayReadyDrm() const
Definition: CreateJobPlaylist.h:526
Aws::ElasticTranscoder::Model::CreateJobPlaylist::GetOutputKeys
const Aws::Vector< Aws::String > & GetOutputKeys() const
Definition: CreateJobPlaylist.h:234