AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
StopMultiplexResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/medialive/MediaLive_EXPORTS.h>
11#include <aws/medialive/model/MultiplexOutputDestination.h>
12#include <aws/medialive/model/MultiplexSettings.h>
13#include <aws/medialive/model/MultiplexState.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace MediaLive {
27namespace Model {
34 public:
35 AWS_MEDIALIVE_API StopMultiplexResult() = default;
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template <typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) {
46 m_arnHasBeenSet = true;
47 m_arn = std::forward<ArnT>(value);
48 }
49 template <typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const { return m_availabilityZones; }
61 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
62 void SetAvailabilityZones(AvailabilityZonesT&& value) {
63 m_availabilityZonesHasBeenSet = true;
64 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
65 }
66 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
67 StopMultiplexResult& WithAvailabilityZones(AvailabilityZonesT&& value) {
68 SetAvailabilityZones(std::forward<AvailabilityZonesT>(value));
69 return *this;
70 }
71 template <typename AvailabilityZonesT = Aws::String>
72 StopMultiplexResult& AddAvailabilityZones(AvailabilityZonesT&& value) {
73 m_availabilityZonesHasBeenSet = true;
74 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::Vector<MultiplexOutputDestination>& GetDestinations() const { return m_destinations; }
84 template <typename DestinationsT = Aws::Vector<MultiplexOutputDestination>>
85 void SetDestinations(DestinationsT&& value) {
86 m_destinationsHasBeenSet = true;
87 m_destinations = std::forward<DestinationsT>(value);
88 }
89 template <typename DestinationsT = Aws::Vector<MultiplexOutputDestination>>
90 StopMultiplexResult& WithDestinations(DestinationsT&& value) {
91 SetDestinations(std::forward<DestinationsT>(value));
92 return *this;
93 }
94 template <typename DestinationsT = MultiplexOutputDestination>
95 StopMultiplexResult& AddDestinations(DestinationsT&& value) {
96 m_destinationsHasBeenSet = true;
97 m_destinations.emplace_back(std::forward<DestinationsT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetId() const { return m_id; }
107 template <typename IdT = Aws::String>
108 void SetId(IdT&& value) {
109 m_idHasBeenSet = true;
110 m_id = std::forward<IdT>(value);
111 }
112 template <typename IdT = Aws::String>
114 SetId(std::forward<IdT>(value));
115 return *this;
116 }
118
120
123 inline const MultiplexSettings& GetMultiplexSettings() const { return m_multiplexSettings; }
124 template <typename MultiplexSettingsT = MultiplexSettings>
125 void SetMultiplexSettings(MultiplexSettingsT&& value) {
126 m_multiplexSettingsHasBeenSet = true;
127 m_multiplexSettings = std::forward<MultiplexSettingsT>(value);
128 }
129 template <typename MultiplexSettingsT = MultiplexSettings>
130 StopMultiplexResult& WithMultiplexSettings(MultiplexSettingsT&& value) {
131 SetMultiplexSettings(std::forward<MultiplexSettingsT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::String& GetName() const { return m_name; }
141 template <typename NameT = Aws::String>
142 void SetName(NameT&& value) {
143 m_nameHasBeenSet = true;
144 m_name = std::forward<NameT>(value);
145 }
146 template <typename NameT = Aws::String>
148 SetName(std::forward<NameT>(value));
149 return *this;
150 }
152
154
157 inline int GetPipelinesRunningCount() const { return m_pipelinesRunningCount; }
158 inline void SetPipelinesRunningCount(int value) {
159 m_pipelinesRunningCountHasBeenSet = true;
160 m_pipelinesRunningCount = value;
161 }
164 return *this;
165 }
167
169
172 inline int GetProgramCount() const { return m_programCount; }
173 inline void SetProgramCount(int value) {
174 m_programCountHasBeenSet = true;
175 m_programCount = value;
176 }
178 SetProgramCount(value);
179 return *this;
180 }
182
184
187 inline MultiplexState GetState() const { return m_state; }
188 inline void SetState(MultiplexState value) {
189 m_stateHasBeenSet = true;
190 m_state = value;
191 }
193 SetState(value);
194 return *this;
195 }
197
199
202 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
203 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
204 void SetTags(TagsT&& value) {
205 m_tagsHasBeenSet = true;
206 m_tags = std::forward<TagsT>(value);
207 }
208 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
210 SetTags(std::forward<TagsT>(value));
211 return *this;
212 }
213 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
214 StopMultiplexResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
215 m_tagsHasBeenSet = true;
216 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
217 return *this;
218 }
220
222
223 inline const Aws::String& GetRequestId() const { return m_requestId; }
224 template <typename RequestIdT = Aws::String>
225 void SetRequestId(RequestIdT&& value) {
226 m_requestIdHasBeenSet = true;
227 m_requestId = std::forward<RequestIdT>(value);
228 }
229 template <typename RequestIdT = Aws::String>
230 StopMultiplexResult& WithRequestId(RequestIdT&& value) {
231 SetRequestId(std::forward<RequestIdT>(value));
232 return *this;
233 }
235 private:
236 Aws::String m_arn;
237
238 Aws::Vector<Aws::String> m_availabilityZones;
239
241
242 Aws::String m_id;
243
244 MultiplexSettings m_multiplexSettings;
245
246 Aws::String m_name;
247
248 int m_pipelinesRunningCount{0};
249
250 int m_programCount{0};
251
253
255
256 Aws::String m_requestId;
257 bool m_arnHasBeenSet = false;
258 bool m_availabilityZonesHasBeenSet = false;
259 bool m_destinationsHasBeenSet = false;
260 bool m_idHasBeenSet = false;
261 bool m_multiplexSettingsHasBeenSet = false;
262 bool m_nameHasBeenSet = false;
263 bool m_pipelinesRunningCountHasBeenSet = false;
264 bool m_programCountHasBeenSet = false;
265 bool m_stateHasBeenSet = false;
266 bool m_tagsHasBeenSet = false;
267 bool m_requestIdHasBeenSet = false;
268};
269
270} // namespace Model
271} // namespace MediaLive
272} // 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)
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