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/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/OutputGroupSettings.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/medialive/model/Output.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaLive
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_MEDIALIVE_API OutputGroup();
39 AWS_MEDIALIVE_API OutputGroup(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIALIVE_API OutputGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline OutputGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline OutputGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline OutputGroup& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const OutputGroupSettings& GetOutputGroupSettings() const{ return m_outputGroupSettings; }
63 inline bool OutputGroupSettingsHasBeenSet() const { return m_outputGroupSettingsHasBeenSet; }
64 inline void SetOutputGroupSettings(const OutputGroupSettings& value) { m_outputGroupSettingsHasBeenSet = true; m_outputGroupSettings = value; }
65 inline void SetOutputGroupSettings(OutputGroupSettings&& value) { m_outputGroupSettingsHasBeenSet = true; m_outputGroupSettings = std::move(value); }
67 inline OutputGroup& WithOutputGroupSettings(OutputGroupSettings&& value) { SetOutputGroupSettings(std::move(value)); return *this;}
69
71
72 inline const Aws::Vector<Output>& GetOutputs() const{ return m_outputs; }
73 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
74 inline void SetOutputs(const Aws::Vector<Output>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
75 inline void SetOutputs(Aws::Vector<Output>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
76 inline OutputGroup& WithOutputs(const Aws::Vector<Output>& value) { SetOutputs(value); return *this;}
77 inline OutputGroup& WithOutputs(Aws::Vector<Output>&& value) { SetOutputs(std::move(value)); return *this;}
78 inline OutputGroup& AddOutputs(const Output& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
79 inline OutputGroup& AddOutputs(Output&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
81 private:
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
86 OutputGroupSettings m_outputGroupSettings;
87 bool m_outputGroupSettingsHasBeenSet = false;
88
89 Aws::Vector<Output> m_outputs;
90 bool m_outputsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace MediaLive
95} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API OutputGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
OutputGroup & WithName(Aws::String &&value)
Definition OutputGroup.h:54
const Aws::String & GetName() const
Definition OutputGroup.h:48
OutputGroup & AddOutputs(Output &&value)
Definition OutputGroup.h:79
const OutputGroupSettings & GetOutputGroupSettings() const
Definition OutputGroup.h:62
OutputGroup & WithOutputs(Aws::Vector< Output > &&value)
Definition OutputGroup.h:77
void SetName(const char *value)
Definition OutputGroup.h:52
void SetName(Aws::String &&value)
Definition OutputGroup.h:51
OutputGroup & WithOutputGroupSettings(OutputGroupSettings &&value)
Definition OutputGroup.h:67
void SetOutputs(const Aws::Vector< Output > &value)
Definition OutputGroup.h:74
OutputGroup & WithOutputGroupSettings(const OutputGroupSettings &value)
Definition OutputGroup.h:66
void SetOutputGroupSettings(const OutputGroupSettings &value)
Definition OutputGroup.h:64
const Aws::Vector< Output > & GetOutputs() const
Definition OutputGroup.h:72
void SetOutputs(Aws::Vector< Output > &&value)
Definition OutputGroup.h:75
OutputGroup & WithOutputs(const Aws::Vector< Output > &value)
Definition OutputGroup.h:76
void SetName(const Aws::String &value)
Definition OutputGroup.h:50
OutputGroup & WithName(const char *value)
Definition OutputGroup.h:55
void SetOutputGroupSettings(OutputGroupSettings &&value)
Definition OutputGroup.h:65
AWS_MEDIALIVE_API OutputGroup(Aws::Utils::Json::JsonView jsonValue)
OutputGroup & AddOutputs(const Output &value)
Definition OutputGroup.h:78
OutputGroup & WithName(const Aws::String &value)
Definition OutputGroup.h:53
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue