AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Output.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/medialive/model/OutputSettings.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 MediaLive
24{
25namespace Model
26{
27
34 class Output
35 {
36 public:
37 AWS_MEDIALIVE_API Output();
38 AWS_MEDIALIVE_API Output(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIALIVE_API Output& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<Aws::String>& GetAudioDescriptionNames() const{ return m_audioDescriptionNames; }
48 inline bool AudioDescriptionNamesHasBeenSet() const { return m_audioDescriptionNamesHasBeenSet; }
49 inline void SetAudioDescriptionNames(const Aws::Vector<Aws::String>& value) { m_audioDescriptionNamesHasBeenSet = true; m_audioDescriptionNames = value; }
50 inline void SetAudioDescriptionNames(Aws::Vector<Aws::String>&& value) { m_audioDescriptionNamesHasBeenSet = true; m_audioDescriptionNames = std::move(value); }
52 inline Output& WithAudioDescriptionNames(Aws::Vector<Aws::String>&& value) { SetAudioDescriptionNames(std::move(value)); return *this;}
53 inline Output& AddAudioDescriptionNames(const Aws::String& value) { m_audioDescriptionNamesHasBeenSet = true; m_audioDescriptionNames.push_back(value); return *this; }
54 inline Output& AddAudioDescriptionNames(Aws::String&& value) { m_audioDescriptionNamesHasBeenSet = true; m_audioDescriptionNames.push_back(std::move(value)); return *this; }
55 inline Output& AddAudioDescriptionNames(const char* value) { m_audioDescriptionNamesHasBeenSet = true; m_audioDescriptionNames.push_back(value); return *this; }
57
59
62 inline const Aws::Vector<Aws::String>& GetCaptionDescriptionNames() const{ return m_captionDescriptionNames; }
63 inline bool CaptionDescriptionNamesHasBeenSet() const { return m_captionDescriptionNamesHasBeenSet; }
64 inline void SetCaptionDescriptionNames(const Aws::Vector<Aws::String>& value) { m_captionDescriptionNamesHasBeenSet = true; m_captionDescriptionNames = value; }
65 inline void SetCaptionDescriptionNames(Aws::Vector<Aws::String>&& value) { m_captionDescriptionNamesHasBeenSet = true; m_captionDescriptionNames = std::move(value); }
68 inline Output& AddCaptionDescriptionNames(const Aws::String& value) { m_captionDescriptionNamesHasBeenSet = true; m_captionDescriptionNames.push_back(value); return *this; }
69 inline Output& AddCaptionDescriptionNames(Aws::String&& value) { m_captionDescriptionNamesHasBeenSet = true; m_captionDescriptionNames.push_back(std::move(value)); return *this; }
70 inline Output& AddCaptionDescriptionNames(const char* value) { m_captionDescriptionNamesHasBeenSet = true; m_captionDescriptionNames.push_back(value); return *this; }
72
74
77 inline const Aws::String& GetOutputName() const{ return m_outputName; }
78 inline bool OutputNameHasBeenSet() const { return m_outputNameHasBeenSet; }
79 inline void SetOutputName(const Aws::String& value) { m_outputNameHasBeenSet = true; m_outputName = value; }
80 inline void SetOutputName(Aws::String&& value) { m_outputNameHasBeenSet = true; m_outputName = std::move(value); }
81 inline void SetOutputName(const char* value) { m_outputNameHasBeenSet = true; m_outputName.assign(value); }
82 inline Output& WithOutputName(const Aws::String& value) { SetOutputName(value); return *this;}
83 inline Output& WithOutputName(Aws::String&& value) { SetOutputName(std::move(value)); return *this;}
84 inline Output& WithOutputName(const char* value) { SetOutputName(value); return *this;}
86
88
91 inline const OutputSettings& GetOutputSettings() const{ return m_outputSettings; }
92 inline bool OutputSettingsHasBeenSet() const { return m_outputSettingsHasBeenSet; }
93 inline void SetOutputSettings(const OutputSettings& value) { m_outputSettingsHasBeenSet = true; m_outputSettings = value; }
94 inline void SetOutputSettings(OutputSettings&& value) { m_outputSettingsHasBeenSet = true; m_outputSettings = std::move(value); }
95 inline Output& WithOutputSettings(const OutputSettings& value) { SetOutputSettings(value); return *this;}
96 inline Output& WithOutputSettings(OutputSettings&& value) { SetOutputSettings(std::move(value)); return *this;}
98
100
103 inline const Aws::String& GetVideoDescriptionName() const{ return m_videoDescriptionName; }
104 inline bool VideoDescriptionNameHasBeenSet() const { return m_videoDescriptionNameHasBeenSet; }
105 inline void SetVideoDescriptionName(const Aws::String& value) { m_videoDescriptionNameHasBeenSet = true; m_videoDescriptionName = value; }
106 inline void SetVideoDescriptionName(Aws::String&& value) { m_videoDescriptionNameHasBeenSet = true; m_videoDescriptionName = std::move(value); }
107 inline void SetVideoDescriptionName(const char* value) { m_videoDescriptionNameHasBeenSet = true; m_videoDescriptionName.assign(value); }
108 inline Output& WithVideoDescriptionName(const Aws::String& value) { SetVideoDescriptionName(value); return *this;}
109 inline Output& WithVideoDescriptionName(Aws::String&& value) { SetVideoDescriptionName(std::move(value)); return *this;}
110 inline Output& WithVideoDescriptionName(const char* value) { SetVideoDescriptionName(value); return *this;}
112 private:
113
114 Aws::Vector<Aws::String> m_audioDescriptionNames;
115 bool m_audioDescriptionNamesHasBeenSet = false;
116
117 Aws::Vector<Aws::String> m_captionDescriptionNames;
118 bool m_captionDescriptionNamesHasBeenSet = false;
119
120 Aws::String m_outputName;
121 bool m_outputNameHasBeenSet = false;
122
123 OutputSettings m_outputSettings;
124 bool m_outputSettingsHasBeenSet = false;
125
126 Aws::String m_videoDescriptionName;
127 bool m_videoDescriptionNameHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace MediaLive
132} // namespace Aws
bool OutputSettingsHasBeenSet() const
Definition Output.h:92
void SetCaptionDescriptionNames(const Aws::Vector< Aws::String > &value)
Definition Output.h:64
void SetOutputSettings(OutputSettings &&value)
Definition Output.h:94
void SetOutputSettings(const OutputSettings &value)
Definition Output.h:93
const OutputSettings & GetOutputSettings() const
Definition Output.h:91
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetOutputName() const
Definition Output.h:77
void SetAudioDescriptionNames(const Aws::Vector< Aws::String > &value)
Definition Output.h:49
Output & AddAudioDescriptionNames(const Aws::String &value)
Definition Output.h:53
bool OutputNameHasBeenSet() const
Definition Output.h:78
Output & AddAudioDescriptionNames(Aws::String &&value)
Definition Output.h:54
bool CaptionDescriptionNamesHasBeenSet() const
Definition Output.h:63
Output & WithAudioDescriptionNames(Aws::Vector< Aws::String > &&value)
Definition Output.h:52
Output & WithCaptionDescriptionNames(Aws::Vector< Aws::String > &&value)
Definition Output.h:67
void SetVideoDescriptionName(Aws::String &&value)
Definition Output.h:106
Output & WithOutputName(const Aws::String &value)
Definition Output.h:82
AWS_MEDIALIVE_API Output & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetCaptionDescriptionNames() const
Definition Output.h:62
void SetOutputName(Aws::String &&value)
Definition Output.h:80
Output & WithVideoDescriptionName(const Aws::String &value)
Definition Output.h:108
AWS_MEDIALIVE_API Output()
Output & AddCaptionDescriptionNames(Aws::String &&value)
Definition Output.h:69
void SetVideoDescriptionName(const Aws::String &value)
Definition Output.h:105
const Aws::String & GetVideoDescriptionName() const
Definition Output.h:103
const Aws::Vector< Aws::String > & GetAudioDescriptionNames() const
Definition Output.h:47
void SetOutputName(const Aws::String &value)
Definition Output.h:79
bool AudioDescriptionNamesHasBeenSet() const
Definition Output.h:48
Output & WithOutputSettings(const OutputSettings &value)
Definition Output.h:95
void SetCaptionDescriptionNames(Aws::Vector< Aws::String > &&value)
Definition Output.h:65
Output & WithVideoDescriptionName(const char *value)
Definition Output.h:110
Output & WithVideoDescriptionName(Aws::String &&value)
Definition Output.h:109
Output & WithOutputSettings(OutputSettings &&value)
Definition Output.h:96
Output & WithOutputName(const char *value)
Definition Output.h:84
void SetOutputName(const char *value)
Definition Output.h:81
Output & WithCaptionDescriptionNames(const Aws::Vector< Aws::String > &value)
Definition Output.h:66
AWS_MEDIALIVE_API Output(Aws::Utils::Json::JsonView jsonValue)
Output & WithOutputName(Aws::String &&value)
Definition Output.h:83
Output & AddCaptionDescriptionNames(const Aws::String &value)
Definition Output.h:68
void SetAudioDescriptionNames(Aws::Vector< Aws::String > &&value)
Definition Output.h:50
bool VideoDescriptionNameHasBeenSet() const
Definition Output.h:104
Output & AddCaptionDescriptionNames(const char *value)
Definition Output.h:70
Output & WithAudioDescriptionNames(const Aws::Vector< Aws::String > &value)
Definition Output.h:51
Output & AddAudioDescriptionNames(const char *value)
Definition Output.h:55
void SetVideoDescriptionName(const char *value)
Definition Output.h:107
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue