AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
StopMultiplexResult.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 {
35 public:
36 AWS_MEDIALIVE_API StopMultiplexResult() = default;
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 template <typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) {
47 m_arnHasBeenSet = true;
48 m_arn = std::forward<ArnT>(value);
49 }
50 template <typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const { return m_availabilityZones; }
62 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
63 void SetAvailabilityZones(AvailabilityZonesT&& value) {
64 m_availabilityZonesHasBeenSet = true;
65 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
66 }
67 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
68 StopMultiplexResult& WithAvailabilityZones(AvailabilityZonesT&& value) {
69 SetAvailabilityZones(std::forward<AvailabilityZonesT>(value));
70 return *this;
71 }
72 template <typename AvailabilityZonesT = Aws::String>
73 StopMultiplexResult& AddAvailabilityZones(AvailabilityZonesT&& value) {
74 m_availabilityZonesHasBeenSet = true;
75 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::Vector<MultiplexOutputDestination>& GetDestinations() const { return m_destinations; }
85 template <typename DestinationsT = Aws::Vector<MultiplexOutputDestination>>
86 void SetDestinations(DestinationsT&& value) {
87 m_destinationsHasBeenSet = true;
88 m_destinations = std::forward<DestinationsT>(value);
89 }
90 template <typename DestinationsT = Aws::Vector<MultiplexOutputDestination>>
91 StopMultiplexResult& WithDestinations(DestinationsT&& value) {
92 SetDestinations(std::forward<DestinationsT>(value));
93 return *this;
94 }
95 template <typename DestinationsT = MultiplexOutputDestination>
96 StopMultiplexResult& AddDestinations(DestinationsT&& value) {
97 m_destinationsHasBeenSet = true;
98 m_destinations.emplace_back(std::forward<DestinationsT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetId() const { return m_id; }
108 template <typename IdT = Aws::String>
109 void SetId(IdT&& value) {
110 m_idHasBeenSet = true;
111 m_id = std::forward<IdT>(value);
112 }
113 template <typename IdT = Aws::String>
115 SetId(std::forward<IdT>(value));
116 return *this;
117 }
119
121
124 inline const MultiplexSettings& GetMultiplexSettings() const { return m_multiplexSettings; }
125 template <typename MultiplexSettingsT = MultiplexSettings>
126 void SetMultiplexSettings(MultiplexSettingsT&& value) {
127 m_multiplexSettingsHasBeenSet = true;
128 m_multiplexSettings = std::forward<MultiplexSettingsT>(value);
129 }
130 template <typename MultiplexSettingsT = MultiplexSettings>
131 StopMultiplexResult& WithMultiplexSettings(MultiplexSettingsT&& value) {
132 SetMultiplexSettings(std::forward<MultiplexSettingsT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::String& GetName() const { return m_name; }
142 template <typename NameT = Aws::String>
143 void SetName(NameT&& value) {
144 m_nameHasBeenSet = true;
145 m_name = std::forward<NameT>(value);
146 }
147 template <typename NameT = Aws::String>
149 SetName(std::forward<NameT>(value));
150 return *this;
151 }
153
155
158 inline int GetPipelinesRunningCount() const { return m_pipelinesRunningCount; }
159 inline void SetPipelinesRunningCount(int value) {
160 m_pipelinesRunningCountHasBeenSet = true;
161 m_pipelinesRunningCount = value;
162 }
165 return *this;
166 }
168
170
173 inline int GetProgramCount() const { return m_programCount; }
174 inline void SetProgramCount(int value) {
175 m_programCountHasBeenSet = true;
176 m_programCount = value;
177 }
179 SetProgramCount(value);
180 return *this;
181 }
183
185
188 inline MultiplexState GetState() const { return m_state; }
189 inline void SetState(MultiplexState value) {
190 m_stateHasBeenSet = true;
191 m_state = value;
192 }
194 SetState(value);
195 return *this;
196 }
198
200
203 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
204 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
205 void SetTags(TagsT&& value) {
206 m_tagsHasBeenSet = true;
207 m_tags = std::forward<TagsT>(value);
208 }
209 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
211 SetTags(std::forward<TagsT>(value));
212 return *this;
213 }
214 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
215 StopMultiplexResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
216 m_tagsHasBeenSet = true;
217 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
218 return *this;
219 }
221
223
224 inline const Aws::String& GetRequestId() const { return m_requestId; }
225 template <typename RequestIdT = Aws::String>
226 void SetRequestId(RequestIdT&& value) {
227 m_requestIdHasBeenSet = true;
228 m_requestId = std::forward<RequestIdT>(value);
229 }
230 template <typename RequestIdT = Aws::String>
231 StopMultiplexResult& WithRequestId(RequestIdT&& value) {
232 SetRequestId(std::forward<RequestIdT>(value));
233 return *this;
234 }
236 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
237
238 private:
239 Aws::String m_arn;
240
241 Aws::Vector<Aws::String> m_availabilityZones;
242
244
245 Aws::String m_id;
246
247 MultiplexSettings m_multiplexSettings;
248
249 Aws::String m_name;
250
251 int m_pipelinesRunningCount{0};
252
253 int m_programCount{0};
254
256
258
259 Aws::String m_requestId;
260 Aws::Http::HttpResponseCode m_HttpResponseCode;
261 bool m_arnHasBeenSet = false;
262 bool m_availabilityZonesHasBeenSet = false;
263 bool m_destinationsHasBeenSet = false;
264 bool m_idHasBeenSet = false;
265 bool m_multiplexSettingsHasBeenSet = false;
266 bool m_nameHasBeenSet = false;
267 bool m_pipelinesRunningCountHasBeenSet = false;
268 bool m_programCountHasBeenSet = false;
269 bool m_stateHasBeenSet = false;
270 bool m_tagsHasBeenSet = false;
271 bool m_requestIdHasBeenSet = false;
272};
273
274} // namespace Model
275} // namespace MediaLive
276} // namespace Aws
AWS_MEDIALIVE_API StopMultiplexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MEDIALIVE_API StopMultiplexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopMultiplexResult & WithPipelinesRunningCount(int value)
void SetMultiplexSettings(MultiplexSettingsT &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
const MultiplexSettings & GetMultiplexSettings() const
StopMultiplexResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< MultiplexOutputDestination > & GetDestinations() const
StopMultiplexResult & AddAvailabilityZones(AvailabilityZonesT &&value)
AWS_MEDIALIVE_API StopMultiplexResult()=default
StopMultiplexResult & WithAvailabilityZones(AvailabilityZonesT &&value)
StopMultiplexResult & AddDestinations(DestinationsT &&value)
StopMultiplexResult & WithMultiplexSettings(MultiplexSettingsT &&value)
StopMultiplexResult & WithState(MultiplexState value)
StopMultiplexResult & WithProgramCount(int value)
StopMultiplexResult & WithName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetAvailabilityZones(AvailabilityZonesT &&value)
StopMultiplexResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
StopMultiplexResult & WithArn(ArnT &&value)
StopMultiplexResult & WithTags(TagsT &&value)
StopMultiplexResult & WithDestinations(DestinationsT &&value)
StopMultiplexResult & WithId(IdT &&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