AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputCaptions.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/CaptionSource.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ElasticTranscoder
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_ELASTICTRANSCODER_API InputCaptions();
37 AWS_ELASTICTRANSCODER_API InputCaptions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICTRANSCODER_API InputCaptions& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
59 inline const Aws::String& GetMergePolicy() const{ return m_mergePolicy; }
60 inline bool MergePolicyHasBeenSet() const { return m_mergePolicyHasBeenSet; }
61 inline void SetMergePolicy(const Aws::String& value) { m_mergePolicyHasBeenSet = true; m_mergePolicy = value; }
62 inline void SetMergePolicy(Aws::String&& value) { m_mergePolicyHasBeenSet = true; m_mergePolicy = std::move(value); }
63 inline void SetMergePolicy(const char* value) { m_mergePolicyHasBeenSet = true; m_mergePolicy.assign(value); }
64 inline InputCaptions& WithMergePolicy(const Aws::String& value) { SetMergePolicy(value); return *this;}
65 inline InputCaptions& WithMergePolicy(Aws::String&& value) { SetMergePolicy(std::move(value)); return *this;}
66 inline InputCaptions& WithMergePolicy(const char* value) { SetMergePolicy(value); return *this;}
68
70
75 inline const Aws::Vector<CaptionSource>& GetCaptionSources() const{ return m_captionSources; }
76 inline bool CaptionSourcesHasBeenSet() const { return m_captionSourcesHasBeenSet; }
77 inline void SetCaptionSources(const Aws::Vector<CaptionSource>& value) { m_captionSourcesHasBeenSet = true; m_captionSources = value; }
78 inline void SetCaptionSources(Aws::Vector<CaptionSource>&& value) { m_captionSourcesHasBeenSet = true; m_captionSources = std::move(value); }
80 inline InputCaptions& WithCaptionSources(Aws::Vector<CaptionSource>&& value) { SetCaptionSources(std::move(value)); return *this;}
81 inline InputCaptions& AddCaptionSources(const CaptionSource& value) { m_captionSourcesHasBeenSet = true; m_captionSources.push_back(value); return *this; }
82 inline InputCaptions& AddCaptionSources(CaptionSource&& value) { m_captionSourcesHasBeenSet = true; m_captionSources.push_back(std::move(value)); return *this; }
84 private:
85
86 Aws::String m_mergePolicy;
87 bool m_mergePolicyHasBeenSet = false;
88
89 Aws::Vector<CaptionSource> m_captionSources;
90 bool m_captionSourcesHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace ElasticTranscoder
95} // namespace Aws
AWS_ELASTICTRANSCODER_API InputCaptions()
AWS_ELASTICTRANSCODER_API InputCaptions(Aws::Utils::Json::JsonView jsonValue)
InputCaptions & WithMergePolicy(const char *value)
InputCaptions & WithMergePolicy(Aws::String &&value)
InputCaptions & WithCaptionSources(Aws::Vector< CaptionSource > &&value)
const Aws::Vector< CaptionSource > & GetCaptionSources() const
InputCaptions & WithCaptionSources(const Aws::Vector< CaptionSource > &value)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMergePolicy(const Aws::String &value)
AWS_ELASTICTRANSCODER_API InputCaptions & operator=(Aws::Utils::Json::JsonView jsonValue)
InputCaptions & AddCaptionSources(CaptionSource &&value)
InputCaptions & AddCaptionSources(const CaptionSource &value)
const Aws::String & GetMergePolicy() const
void SetCaptionSources(const Aws::Vector< CaptionSource > &value)
InputCaptions & WithMergePolicy(const Aws::String &value)
void SetCaptionSources(Aws::Vector< CaptionSource > &&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