AWS SDK for C++  0.12.9
AWS SDK for C++
CreateJobPlaylist.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
21 
22 namespace Aws
23 {
24 namespace Utils
25 {
26 namespace Json
27 {
28  class JsonValue;
29 } // namespace Json
30 } // namespace Utils
31 namespace ElasticTranscoder
32 {
33 namespace Model
34 {
35 
40  {
41  public:
44  CreateJobPlaylist& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
45  Aws::Utils::Json::JsonValue Jsonize() const;
46 
59  inline const Aws::String& GetName() const{ return m_name; }
60 
73  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
74 
87  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; }
88 
101  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
102 
115  inline CreateJobPlaylist& WithName(const Aws::String& value) { SetName(value); return *this;}
116 
129  inline CreateJobPlaylist& WithName(Aws::String&& value) { SetName(value); return *this;}
130 
143  inline CreateJobPlaylist& WithName(const char* value) { SetName(value); return *this;}
144 
149  inline const Aws::String& GetFormat() const{ return m_format; }
150 
155  inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; }
156 
161  inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = value; }
162 
167  inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); }
168 
173  inline CreateJobPlaylist& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
174 
179  inline CreateJobPlaylist& WithFormat(Aws::String&& value) { SetFormat(value); return *this;}
180 
185  inline CreateJobPlaylist& WithFormat(const char* value) { SetFormat(value); return *this;}
186 
216  inline const Aws::Vector<Aws::String>& GetOutputKeys() const{ return m_outputKeys; }
217 
247  inline void SetOutputKeys(const Aws::Vector<Aws::String>& value) { m_outputKeysHasBeenSet = true; m_outputKeys = value; }
248 
278  inline void SetOutputKeys(Aws::Vector<Aws::String>&& value) { m_outputKeysHasBeenSet = true; m_outputKeys = value; }
279 
309  inline CreateJobPlaylist& WithOutputKeys(const Aws::Vector<Aws::String>& value) { SetOutputKeys(value); return *this;}
310 
340  inline CreateJobPlaylist& WithOutputKeys(Aws::Vector<Aws::String>&& value) { SetOutputKeys(value); return *this;}
341 
371  inline CreateJobPlaylist& AddOutputKeys(const Aws::String& value) { m_outputKeysHasBeenSet = true; m_outputKeys.push_back(value); return *this; }
372 
402  inline CreateJobPlaylist& AddOutputKeys(Aws::String&& value) { m_outputKeysHasBeenSet = true; m_outputKeys.push_back(value); return *this; }
403 
433  inline CreateJobPlaylist& AddOutputKeys(const char* value) { m_outputKeysHasBeenSet = true; m_outputKeys.push_back(value); return *this; }
434 
439  inline const HlsContentProtection& GetHlsContentProtection() const{ return m_hlsContentProtection; }
440 
445  inline void SetHlsContentProtection(const HlsContentProtection& value) { m_hlsContentProtectionHasBeenSet = true; m_hlsContentProtection = value; }
446 
451  inline void SetHlsContentProtection(HlsContentProtection&& value) { m_hlsContentProtectionHasBeenSet = true; m_hlsContentProtection = value; }
452 
457  inline CreateJobPlaylist& WithHlsContentProtection(const HlsContentProtection& value) { SetHlsContentProtection(value); return *this;}
458 
463  inline CreateJobPlaylist& WithHlsContentProtection(HlsContentProtection&& value) { SetHlsContentProtection(value); return *this;}
464 
469  inline const PlayReadyDrm& GetPlayReadyDrm() const{ return m_playReadyDrm; }
470 
475  inline void SetPlayReadyDrm(const PlayReadyDrm& value) { m_playReadyDrmHasBeenSet = true; m_playReadyDrm = value; }
476 
481  inline void SetPlayReadyDrm(PlayReadyDrm&& value) { m_playReadyDrmHasBeenSet = true; m_playReadyDrm = value; }
482 
487  inline CreateJobPlaylist& WithPlayReadyDrm(const PlayReadyDrm& value) { SetPlayReadyDrm(value); return *this;}
488 
493  inline CreateJobPlaylist& WithPlayReadyDrm(PlayReadyDrm&& value) { SetPlayReadyDrm(value); return *this;}
494 
495  private:
496  Aws::String m_name;
497  bool m_nameHasBeenSet;
498  Aws::String m_format;
499  bool m_formatHasBeenSet;
500  Aws::Vector<Aws::String> m_outputKeys;
501  bool m_outputKeysHasBeenSet;
502  HlsContentProtection m_hlsContentProtection;
503  bool m_hlsContentProtectionHasBeenSet;
504  PlayReadyDrm m_playReadyDrm;
505  bool m_playReadyDrmHasBeenSet;
506  };
507 
508 } // namespace Model
509 } // namespace ElasticTranscoder
510 } // namespace Aws
CreateJobPlaylist & WithName(const char *value)
const HlsContentProtection & GetHlsContentProtection() const
CreateJobPlaylist & WithHlsContentProtection(HlsContentProtection &&value)
const Aws::Vector< Aws::String > & GetOutputKeys() const
CreateJobPlaylist & AddOutputKeys(Aws::String &&value)
void SetHlsContentProtection(HlsContentProtection &&value)
CreateJobPlaylist & WithHlsContentProtection(const HlsContentProtection &value)
CreateJobPlaylist & WithPlayReadyDrm(const PlayReadyDrm &value)
CreateJobPlaylist & AddOutputKeys(const char *value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
void SetOutputKeys(const Aws::Vector< Aws::String > &value)
CreateJobPlaylist & WithFormat(Aws::String &&value)
CreateJobPlaylist & WithOutputKeys(const Aws::Vector< Aws::String > &value)
void SetOutputKeys(Aws::Vector< Aws::String > &&value)
void SetHlsContentProtection(const HlsContentProtection &value)
CreateJobPlaylist & WithOutputKeys(Aws::Vector< Aws::String > &&value)
CreateJobPlaylist & WithFormat(const Aws::String &value)
void SetPlayReadyDrm(const PlayReadyDrm &value)
CreateJobPlaylist & WithName(const Aws::String &value)
#define AWS_ELASTICTRANSCODER_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CreateJobPlaylist & WithPlayReadyDrm(PlayReadyDrm &&value)
CreateJobPlaylist & WithName(Aws::String &&value)
CreateJobPlaylist & WithFormat(const char *value)
JSON (JavaScript Object Notation).
CreateJobPlaylist & AddOutputKeys(const Aws::String &value)