AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Captions.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elastictranscoder/model/CaptionFormat.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
33 {
34 public:
35 AWS_ELASTICTRANSCODER_API Captions();
36 AWS_ELASTICTRANSCODER_API Captions(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ELASTICTRANSCODER_API Captions& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Vector<CaptionFormat>& GetCaptionFormats() const{ return m_captionFormats; }
47 inline bool CaptionFormatsHasBeenSet() const { return m_captionFormatsHasBeenSet; }
48 inline void SetCaptionFormats(const Aws::Vector<CaptionFormat>& value) { m_captionFormatsHasBeenSet = true; m_captionFormats = value; }
49 inline void SetCaptionFormats(Aws::Vector<CaptionFormat>&& value) { m_captionFormatsHasBeenSet = true; m_captionFormats = std::move(value); }
50 inline Captions& WithCaptionFormats(const Aws::Vector<CaptionFormat>& value) { SetCaptionFormats(value); return *this;}
51 inline Captions& WithCaptionFormats(Aws::Vector<CaptionFormat>&& value) { SetCaptionFormats(std::move(value)); return *this;}
52 inline Captions& AddCaptionFormats(const CaptionFormat& value) { m_captionFormatsHasBeenSet = true; m_captionFormats.push_back(value); return *this; }
53 inline Captions& AddCaptionFormats(CaptionFormat&& value) { m_captionFormatsHasBeenSet = true; m_captionFormats.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<CaptionFormat> m_captionFormats;
58 bool m_captionFormatsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace ElasticTranscoder
63} // namespace Aws
void SetCaptionFormats(Aws::Vector< CaptionFormat > &&value)
Definition Captions.h:49
void SetCaptionFormats(const Aws::Vector< CaptionFormat > &value)
Definition Captions.h:48
AWS_ELASTICTRANSCODER_API Captions & operator=(Aws::Utils::Json::JsonView jsonValue)
Captions & WithCaptionFormats(const Aws::Vector< CaptionFormat > &value)
Definition Captions.h:50
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
Captions & AddCaptionFormats(const CaptionFormat &value)
Definition Captions.h:52
AWS_ELASTICTRANSCODER_API Captions(Aws::Utils::Json::JsonView jsonValue)
Captions & WithCaptionFormats(Aws::Vector< CaptionFormat > &&value)
Definition Captions.h:51
Captions & AddCaptionFormats(CaptionFormat &&value)
Definition Captions.h:53
AWS_ELASTICTRANSCODER_API Captions()
const Aws::Vector< CaptionFormat > & GetCaptionFormats() const
Definition Captions.h:46
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue