AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
DescribeMultiplexResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/medialive/MediaLive_EXPORTS.h>
12#include <aws/medialive/model/MultiplexOutputDestination.h>
13#include <aws/medialive/model/MultiplexSettings.h>
14#include <aws/medialive/model/MultiplexState.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace MediaLive {
28namespace Model {
36 public:
37 AWS_MEDIALIVE_API DescribeMultiplexResult() = default;
40
42
45 inline const Aws::String& GetArn() const { return m_arn; }
46 template <typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) {
48 m_arnHasBeenSet = true;
49 m_arn = std::forward<ArnT>(value);
50 }
51 template <typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const { return m_availabilityZones; }
63 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
64 void SetAvailabilityZones(AvailabilityZonesT&& value) {
65 m_availabilityZonesHasBeenSet = true;
66 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
67 }
68 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
69 DescribeMultiplexResult& WithAvailabilityZones(AvailabilityZonesT&& value) {
70 SetAvailabilityZones(std::forward<AvailabilityZonesT>(value));
71 return *this;
72 }
73 template <typename AvailabilityZonesT = Aws::String>
74 DescribeMultiplexResult& AddAvailabilityZones(AvailabilityZonesT&& value) {
75 m_availabilityZonesHasBeenSet = true;
76 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::Vector<MultiplexOutputDestination>& GetDestinations() const { return m_destinations; }
86 template <typename DestinationsT = Aws::Vector<MultiplexOutputDestination>>
87 void SetDestinations(DestinationsT&& value) {
88 m_destinationsHasBeenSet = true;
89 m_destinations = std::forward<DestinationsT>(value);
90 }
91 template <typename DestinationsT = Aws::Vector<MultiplexOutputDestination>>
92 DescribeMultiplexResult& WithDestinations(DestinationsT&& value) {
93 SetDestinations(std::forward<DestinationsT>(value));
94 return *this;
95 }
96 template <typename DestinationsT = MultiplexOutputDestination>
97 DescribeMultiplexResult& AddDestinations(DestinationsT&& value) {
98 m_destinationsHasBeenSet = true;
99 m_destinations.emplace_back(std::forward<DestinationsT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetId() const { return m_id; }
109 template <typename IdT = Aws::String>
110 void SetId(IdT&& value) {
111 m_idHasBeenSet = true;
112 m_id = std::forward<IdT>(value);
113 }
114 template <typename IdT = Aws::String>
116 SetId(std::forward<IdT>(value));
117 return *this;
118 }
120
122
125 inline const MultiplexSettings& GetMultiplexSettings() const { return m_multiplexSettings; }
126 template <typename MultiplexSettingsT = MultiplexSettings>
127 void SetMultiplexSettings(MultiplexSettingsT&& value) {
128 m_multiplexSettingsHasBeenSet = true;
129 m_multiplexSettings = std::forward<MultiplexSettingsT>(value);
130 }
131 template <typename MultiplexSettingsT = MultiplexSettings>
132 DescribeMultiplexResult& WithMultiplexSettings(MultiplexSettingsT&& value) {
133 SetMultiplexSettings(std::forward<MultiplexSettingsT>(value));
134 return *this;
135 }
137
139
142 inline const Aws::String& GetName() const { return m_name; }
143 template <typename NameT = Aws::String>
144 void SetName(NameT&& value) {
145 m_nameHasBeenSet = true;
146 m_name = std::forward<NameT>(value);
147 }
148 template <typename NameT = Aws::String>
150 SetName(std::forward<NameT>(value));
151 return *this;
152 }
154
156
159 inline int GetPipelinesRunningCount() const { return m_pipelinesRunningCount; }
160 inline void SetPipelinesRunningCount(int value) {
161 m_pipelinesRunningCountHasBeenSet = true;
162 m_pipelinesRunningCount = value;
163 }
166 return *this;
167 }
169
171
174 inline int GetProgramCount() const { return m_programCount; }
175 inline void SetProgramCount(int value) {
176 m_programCountHasBeenSet = true;
177 m_programCount = value;
178 }
180 SetProgramCount(value);
181 return *this;
182 }
184
186
189 inline MultiplexState GetState() const { return m_state; }
190 inline void SetState(MultiplexState value) {
191 m_stateHasBeenSet = true;
192 m_state = value;
193 }
195 SetState(value);
196 return *this;
197 }
199
201
204 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
205 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
206 void SetTags(TagsT&& value) {
207 m_tagsHasBeenSet = true;
208 m_tags = std::forward<TagsT>(value);
209 }
210 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
212 SetTags(std::forward<TagsT>(value));
213 return *this;
214 }
215 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
216 DescribeMultiplexResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
217 m_tagsHasBeenSet = true;
218 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
219 return *this;
220 }
222
224
225 inline const Aws::String& GetRequestId() const { return m_requestId; }
226 template <typename RequestIdT = Aws::String>
227 void SetRequestId(RequestIdT&& value) {
228 m_requestIdHasBeenSet = true;
229 m_requestId = std::forward<RequestIdT>(value);
230 }
231 template <typename RequestIdT = Aws::String>
233 SetRequestId(std::forward<RequestIdT>(value));
234 return *this;
235 }
237 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
238
239 private:
240 Aws::String m_arn;
241
242 Aws::Vector<Aws::String> m_availabilityZones;
243
245
246 Aws::String m_id;
247
248 MultiplexSettings m_multiplexSettings;
249
250 Aws::String m_name;
251
252 int m_pipelinesRunningCount{0};
253
254 int m_programCount{0};
255
257
259
260 Aws::String m_requestId;
261 Aws::Http::HttpResponseCode m_HttpResponseCode;
262 bool m_arnHasBeenSet = false;
263 bool m_availabilityZonesHasBeenSet = false;
264 bool m_destinationsHasBeenSet = false;
265 bool m_idHasBeenSet = false;
266 bool m_multiplexSettingsHasBeenSet = false;
267 bool m_nameHasBeenSet = false;
268 bool m_pipelinesRunningCountHasBeenSet = false;
269 bool m_programCountHasBeenSet = false;
270 bool m_stateHasBeenSet = false;
271 bool m_tagsHasBeenSet = false;
272 bool m_requestIdHasBeenSet = false;
273};
274
275} // namespace Model
276} // namespace MediaLive
277} // namespace Aws
DescribeMultiplexResult & WithPipelinesRunningCount(int value)
DescribeMultiplexResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeMultiplexResult & WithName(NameT &&value)
DescribeMultiplexResult & AddAvailabilityZones(AvailabilityZonesT &&value)
const MultiplexSettings & GetMultiplexSettings() const
DescribeMultiplexResult & WithAvailabilityZones(AvailabilityZonesT &&value)
DescribeMultiplexResult & WithArn(ArnT &&value)
DescribeMultiplexResult & WithState(MultiplexState value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_MEDIALIVE_API DescribeMultiplexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MEDIALIVE_API DescribeMultiplexResult()=default
DescribeMultiplexResult & WithId(IdT &&value)
DescribeMultiplexResult & WithTags(TagsT &&value)
DescribeMultiplexResult & WithProgramCount(int value)
DescribeMultiplexResult & WithMultiplexSettings(MultiplexSettingsT &&value)
const Aws::Vector< MultiplexOutputDestination > & GetDestinations() const
AWS_MEDIALIVE_API DescribeMultiplexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMultiplexResult & AddDestinations(DestinationsT &&value)
void SetAvailabilityZones(AvailabilityZonesT &&value)
DescribeMultiplexResult & WithDestinations(DestinationsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
DescribeMultiplexResult & WithRequestId(RequestIdT &&value)
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