AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Multiplex.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/medialive/model/MultiplexSettings.h>
11#include <aws/medialive/model/MultiplexState.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/medialive/model/MultiplexOutputDestination.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MediaLive
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_MEDIALIVE_API Multiplex();
40 AWS_MEDIALIVE_API Multiplex(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIALIVE_API Multiplex& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline Multiplex& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline Multiplex& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline Multiplex& WithArn(const char* value) { SetArn(value); return *this;}
58
60
63 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const{ return m_availabilityZones; }
64 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
65 inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
66 inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
68 inline Multiplex& WithAvailabilityZones(Aws::Vector<Aws::String>&& value) { SetAvailabilityZones(std::move(value)); return *this;}
69 inline Multiplex& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
70 inline Multiplex& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
71 inline Multiplex& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
73
75
78 inline const Aws::Vector<MultiplexOutputDestination>& GetDestinations() const{ return m_destinations; }
79 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
80 inline void SetDestinations(const Aws::Vector<MultiplexOutputDestination>& value) { m_destinationsHasBeenSet = true; m_destinations = value; }
81 inline void SetDestinations(Aws::Vector<MultiplexOutputDestination>&& value) { m_destinationsHasBeenSet = true; m_destinations = std::move(value); }
83 inline Multiplex& WithDestinations(Aws::Vector<MultiplexOutputDestination>&& value) { SetDestinations(std::move(value)); return *this;}
84 inline Multiplex& AddDestinations(const MultiplexOutputDestination& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; }
85 inline Multiplex& AddDestinations(MultiplexOutputDestination&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(value)); return *this; }
87
89
92 inline const Aws::String& GetId() const{ return m_id; }
93 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
94 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
95 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
96 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
97 inline Multiplex& WithId(const Aws::String& value) { SetId(value); return *this;}
98 inline Multiplex& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
99 inline Multiplex& WithId(const char* value) { SetId(value); return *this;}
101
103
106 inline const MultiplexSettings& GetMultiplexSettings() const{ return m_multiplexSettings; }
107 inline bool MultiplexSettingsHasBeenSet() const { return m_multiplexSettingsHasBeenSet; }
108 inline void SetMultiplexSettings(const MultiplexSettings& value) { m_multiplexSettingsHasBeenSet = true; m_multiplexSettings = value; }
109 inline void SetMultiplexSettings(MultiplexSettings&& value) { m_multiplexSettingsHasBeenSet = true; m_multiplexSettings = std::move(value); }
110 inline Multiplex& WithMultiplexSettings(const MultiplexSettings& value) { SetMultiplexSettings(value); return *this;}
111 inline Multiplex& WithMultiplexSettings(MultiplexSettings&& value) { SetMultiplexSettings(std::move(value)); return *this;}
113
115
118 inline const Aws::String& GetName() const{ return m_name; }
119 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
120 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
121 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
122 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
123 inline Multiplex& WithName(const Aws::String& value) { SetName(value); return *this;}
124 inline Multiplex& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
125 inline Multiplex& WithName(const char* value) { SetName(value); return *this;}
127
129
132 inline int GetPipelinesRunningCount() const{ return m_pipelinesRunningCount; }
133 inline bool PipelinesRunningCountHasBeenSet() const { return m_pipelinesRunningCountHasBeenSet; }
134 inline void SetPipelinesRunningCount(int value) { m_pipelinesRunningCountHasBeenSet = true; m_pipelinesRunningCount = value; }
135 inline Multiplex& WithPipelinesRunningCount(int value) { SetPipelinesRunningCount(value); return *this;}
137
139
142 inline int GetProgramCount() const{ return m_programCount; }
143 inline bool ProgramCountHasBeenSet() const { return m_programCountHasBeenSet; }
144 inline void SetProgramCount(int value) { m_programCountHasBeenSet = true; m_programCount = value; }
145 inline Multiplex& WithProgramCount(int value) { SetProgramCount(value); return *this;}
147
149
152 inline const MultiplexState& GetState() const{ return m_state; }
153 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
154 inline void SetState(const MultiplexState& value) { m_stateHasBeenSet = true; m_state = value; }
155 inline void SetState(MultiplexState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
156 inline Multiplex& WithState(const MultiplexState& value) { SetState(value); return *this;}
157 inline Multiplex& WithState(MultiplexState&& value) { SetState(std::move(value)); return *this;}
159
161
164 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
165 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
166 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
167 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
168 inline Multiplex& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
169 inline Multiplex& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
170 inline Multiplex& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
171 inline Multiplex& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
172 inline Multiplex& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
173 inline Multiplex& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
174 inline Multiplex& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
175 inline Multiplex& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
176 inline Multiplex& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
178 private:
179
180 Aws::String m_arn;
181 bool m_arnHasBeenSet = false;
182
183 Aws::Vector<Aws::String> m_availabilityZones;
184 bool m_availabilityZonesHasBeenSet = false;
185
187 bool m_destinationsHasBeenSet = false;
188
189 Aws::String m_id;
190 bool m_idHasBeenSet = false;
191
192 MultiplexSettings m_multiplexSettings;
193 bool m_multiplexSettingsHasBeenSet = false;
194
195 Aws::String m_name;
196 bool m_nameHasBeenSet = false;
197
198 int m_pipelinesRunningCount;
199 bool m_pipelinesRunningCountHasBeenSet = false;
200
201 int m_programCount;
202 bool m_programCountHasBeenSet = false;
203
204 MultiplexState m_state;
205 bool m_stateHasBeenSet = false;
206
208 bool m_tagsHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace MediaLive
213} // namespace Aws
Multiplex & AddTags(const Aws::String &key, Aws::String &&value)
Definition Multiplex.h:172
Multiplex & AddTags(const Aws::String &key, const Aws::String &value)
Definition Multiplex.h:170
Multiplex & WithId(const char *value)
Definition Multiplex.h:99
Multiplex & WithId(Aws::String &&value)
Definition Multiplex.h:98
Multiplex & WithDestinations(const Aws::Vector< MultiplexOutputDestination > &value)
Definition Multiplex.h:82
bool PipelinesRunningCountHasBeenSet() const
Definition Multiplex.h:133
void SetId(Aws::String &&value)
Definition Multiplex.h:95
const Aws::String & GetId() const
Definition Multiplex.h:92
Multiplex & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
Definition Multiplex.h:68
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Multiplex.h:167
Multiplex & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
Definition Multiplex.h:67
Multiplex & WithState(MultiplexState &&value)
Definition Multiplex.h:157
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Multiplex.h:166
Multiplex & WithMultiplexSettings(MultiplexSettings &&value)
Definition Multiplex.h:111
Multiplex & AddAvailabilityZones(const char *value)
Definition Multiplex.h:71
const Aws::String & GetArn() const
Definition Multiplex.h:49
Multiplex & AddTags(Aws::String &&key, const Aws::String &value)
Definition Multiplex.h:171
Multiplex & AddAvailabilityZones(const Aws::String &value)
Definition Multiplex.h:69
Multiplex & AddDestinations(MultiplexOutputDestination &&value)
Definition Multiplex.h:85
void SetPipelinesRunningCount(int value)
Definition Multiplex.h:134
const MultiplexSettings & GetMultiplexSettings() const
Definition Multiplex.h:106
AWS_MEDIALIVE_API Multiplex()
Multiplex & AddTags(Aws::String &&key, const char *value)
Definition Multiplex.h:175
void SetDestinations(const Aws::Vector< MultiplexOutputDestination > &value)
Definition Multiplex.h:80
const Aws::String & GetName() const
Definition Multiplex.h:118
Multiplex & WithArn(const Aws::String &value)
Definition Multiplex.h:54
void SetState(const MultiplexState &value)
Definition Multiplex.h:154
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Multiplex.h:164
void SetId(const char *value)
Definition Multiplex.h:96
Multiplex & WithPipelinesRunningCount(int value)
Definition Multiplex.h:135
Multiplex & WithState(const MultiplexState &value)
Definition Multiplex.h:156
void SetDestinations(Aws::Vector< MultiplexOutputDestination > &&value)
Definition Multiplex.h:81
void SetState(MultiplexState &&value)
Definition Multiplex.h:155
void SetId(const Aws::String &value)
Definition Multiplex.h:94
void SetName(const Aws::String &value)
Definition Multiplex.h:120
AWS_MEDIALIVE_API Multiplex(Aws::Utils::Json::JsonView jsonValue)
void SetMultiplexSettings(const MultiplexSettings &value)
Definition Multiplex.h:108
void SetMultiplexSettings(MultiplexSettings &&value)
Definition Multiplex.h:109
Multiplex & WithName(const char *value)
Definition Multiplex.h:125
void SetName(const char *value)
Definition Multiplex.h:122
void SetArn(const char *value)
Definition Multiplex.h:53
Multiplex & AddAvailabilityZones(Aws::String &&value)
Definition Multiplex.h:70
void SetName(Aws::String &&value)
Definition Multiplex.h:121
AWS_MEDIALIVE_API Multiplex & operator=(Aws::Utils::Json::JsonView jsonValue)
Multiplex & WithArn(const char *value)
Definition Multiplex.h:56
bool AvailabilityZonesHasBeenSet() const
Definition Multiplex.h:64
Multiplex & WithProgramCount(int value)
Definition Multiplex.h:145
Multiplex & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Multiplex.h:168
Multiplex & AddTags(Aws::String &&key, Aws::String &&value)
Definition Multiplex.h:173
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
Definition Multiplex.h:65
void SetArn(const Aws::String &value)
Definition Multiplex.h:51
Multiplex & WithMultiplexSettings(const MultiplexSettings &value)
Definition Multiplex.h:110
Multiplex & AddTags(const char *key, Aws::String &&value)
Definition Multiplex.h:174
Multiplex & WithArn(Aws::String &&value)
Definition Multiplex.h:55
Multiplex & WithName(Aws::String &&value)
Definition Multiplex.h:124
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
Multiplex & WithName(const Aws::String &value)
Definition Multiplex.h:123
Multiplex & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Multiplex.h:169
Multiplex & AddTags(const char *key, const char *value)
Definition Multiplex.h:176
bool MultiplexSettingsHasBeenSet() const
Definition Multiplex.h:107
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
Definition Multiplex.h:66
void SetArn(Aws::String &&value)
Definition Multiplex.h:52
Multiplex & AddDestinations(const MultiplexOutputDestination &value)
Definition Multiplex.h:84
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
Definition Multiplex.h:63
Multiplex & WithDestinations(Aws::Vector< MultiplexOutputDestination > &&value)
Definition Multiplex.h:83
const MultiplexState & GetState() const
Definition Multiplex.h:152
Multiplex & WithId(const Aws::String &value)
Definition Multiplex.h:97
const Aws::Vector< MultiplexOutputDestination > & GetDestinations() const
Definition Multiplex.h:78
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue