AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OutputGroup.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/AutomatedEncodingSettings.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediaconvert/model/OutputGroupSettings.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/mediaconvert/model/Output.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaConvert
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_MEDIACONVERT_API OutputGroup();
39 AWS_MEDIACONVERT_API OutputGroup(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIACONVERT_API OutputGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const AutomatedEncodingSettings& GetAutomatedEncodingSettings() const{ return m_automatedEncodingSettings; }
50 inline bool AutomatedEncodingSettingsHasBeenSet() const { return m_automatedEncodingSettingsHasBeenSet; }
51 inline void SetAutomatedEncodingSettings(const AutomatedEncodingSettings& value) { m_automatedEncodingSettingsHasBeenSet = true; m_automatedEncodingSettings = value; }
52 inline void SetAutomatedEncodingSettings(AutomatedEncodingSettings&& value) { m_automatedEncodingSettingsHasBeenSet = true; m_automatedEncodingSettings = std::move(value); }
56
58
64 inline const Aws::String& GetCustomName() const{ return m_customName; }
65 inline bool CustomNameHasBeenSet() const { return m_customNameHasBeenSet; }
66 inline void SetCustomName(const Aws::String& value) { m_customNameHasBeenSet = true; m_customName = value; }
67 inline void SetCustomName(Aws::String&& value) { m_customNameHasBeenSet = true; m_customName = std::move(value); }
68 inline void SetCustomName(const char* value) { m_customNameHasBeenSet = true; m_customName.assign(value); }
69 inline OutputGroup& WithCustomName(const Aws::String& value) { SetCustomName(value); return *this;}
70 inline OutputGroup& WithCustomName(Aws::String&& value) { SetCustomName(std::move(value)); return *this;}
71 inline OutputGroup& WithCustomName(const char* value) { SetCustomName(value); return *this;}
73
75
78 inline const Aws::String& GetName() const{ return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
81 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
82 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
83 inline OutputGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
84 inline OutputGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
85 inline OutputGroup& WithName(const char* value) { SetName(value); return *this;}
87
89
92 inline const OutputGroupSettings& GetOutputGroupSettings() const{ return m_outputGroupSettings; }
93 inline bool OutputGroupSettingsHasBeenSet() const { return m_outputGroupSettingsHasBeenSet; }
94 inline void SetOutputGroupSettings(const OutputGroupSettings& value) { m_outputGroupSettingsHasBeenSet = true; m_outputGroupSettings = value; }
95 inline void SetOutputGroupSettings(OutputGroupSettings&& value) { m_outputGroupSettingsHasBeenSet = true; m_outputGroupSettings = std::move(value); }
97 inline OutputGroup& WithOutputGroupSettings(OutputGroupSettings&& value) { SetOutputGroupSettings(std::move(value)); return *this;}
99
101
104 inline const Aws::Vector<Output>& GetOutputs() const{ return m_outputs; }
105 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
106 inline void SetOutputs(const Aws::Vector<Output>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
107 inline void SetOutputs(Aws::Vector<Output>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
108 inline OutputGroup& WithOutputs(const Aws::Vector<Output>& value) { SetOutputs(value); return *this;}
109 inline OutputGroup& WithOutputs(Aws::Vector<Output>&& value) { SetOutputs(std::move(value)); return *this;}
110 inline OutputGroup& AddOutputs(const Output& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
111 inline OutputGroup& AddOutputs(Output&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
113 private:
114
115 AutomatedEncodingSettings m_automatedEncodingSettings;
116 bool m_automatedEncodingSettingsHasBeenSet = false;
117
118 Aws::String m_customName;
119 bool m_customNameHasBeenSet = false;
120
121 Aws::String m_name;
122 bool m_nameHasBeenSet = false;
123
124 OutputGroupSettings m_outputGroupSettings;
125 bool m_outputGroupSettingsHasBeenSet = false;
126
127 Aws::Vector<Output> m_outputs;
128 bool m_outputsHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace MediaConvert
133} // namespace Aws
OutputGroup & AddOutputs(Output &&value)
void SetOutputs(Aws::Vector< Output > &&value)
OutputGroup & WithOutputs(Aws::Vector< Output > &&value)
OutputGroup & WithOutputGroupSettings(OutputGroupSettings &&value)
Definition OutputGroup.h:97
void SetOutputGroupSettings(OutputGroupSettings &&value)
Definition OutputGroup.h:95
void SetAutomatedEncodingSettings(AutomatedEncodingSettings &&value)
Definition OutputGroup.h:52
const Aws::Vector< Output > & GetOutputs() const
OutputGroup & AddOutputs(const Output &value)
const AutomatedEncodingSettings & GetAutomatedEncodingSettings() const
Definition OutputGroup.h:49
void SetCustomName(const Aws::String &value)
Definition OutputGroup.h:66
AWS_MEDIACONVERT_API OutputGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
OutputGroup & WithAutomatedEncodingSettings(const AutomatedEncodingSettings &value)
Definition OutputGroup.h:53
OutputGroup & WithOutputs(const Aws::Vector< Output > &value)
void SetName(const char *value)
Definition OutputGroup.h:82
void SetName(const Aws::String &value)
Definition OutputGroup.h:80
OutputGroup & WithName(Aws::String &&value)
Definition OutputGroup.h:84
void SetOutputs(const Aws::Vector< Output > &value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
OutputGroup & WithName(const char *value)
Definition OutputGroup.h:85
OutputGroup & WithAutomatedEncodingSettings(AutomatedEncodingSettings &&value)
Definition OutputGroup.h:54
const OutputGroupSettings & GetOutputGroupSettings() const
Definition OutputGroup.h:92
AWS_MEDIACONVERT_API OutputGroup()
void SetCustomName(const char *value)
Definition OutputGroup.h:68
void SetCustomName(Aws::String &&value)
Definition OutputGroup.h:67
const Aws::String & GetCustomName() const
Definition OutputGroup.h:64
OutputGroup & WithName(const Aws::String &value)
Definition OutputGroup.h:83
OutputGroup & WithCustomName(const char *value)
Definition OutputGroup.h:71
void SetName(Aws::String &&value)
Definition OutputGroup.h:81
const Aws::String & GetName() const
Definition OutputGroup.h:78
OutputGroup & WithOutputGroupSettings(const OutputGroupSettings &value)
Definition OutputGroup.h:96
OutputGroup & WithCustomName(Aws::String &&value)
Definition OutputGroup.h:70
void SetAutomatedEncodingSettings(const AutomatedEncodingSettings &value)
Definition OutputGroup.h:51
OutputGroup & WithCustomName(const Aws::String &value)
Definition OutputGroup.h:69
AWS_MEDIACONVERT_API OutputGroup(Aws::Utils::Json::JsonView jsonValue)
void SetOutputGroupSettings(const OutputGroupSettings &value)
Definition OutputGroup.h:94
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue