AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
StartUpdateSignalMapResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/medialive/MediaLive_EXPORTS.h>
13#include <aws/medialive/model/MediaResource.h>
14#include <aws/medialive/model/MonitorDeployment.h>
15#include <aws/medialive/model/SignalMapStatus.h>
16#include <aws/medialive/model/SuccessfulMonitorDeployment.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace MediaLive {
30namespace Model {
38 public:
39 AWS_MEDIALIVE_API StartUpdateSignalMapResult() = default;
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 template <typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) {
50 m_arnHasBeenSet = true;
51 m_arn = std::forward<ArnT>(value);
52 }
53 template <typename ArnT = Aws::String>
55 SetArn(std::forward<ArnT>(value));
56 return *this;
57 }
59
61
62 inline const Aws::Vector<Aws::String>& GetCloudWatchAlarmTemplateGroupIds() const { return m_cloudWatchAlarmTemplateGroupIds; }
63 template <typename CloudWatchAlarmTemplateGroupIdsT = Aws::Vector<Aws::String>>
64 void SetCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT&& value) {
65 m_cloudWatchAlarmTemplateGroupIdsHasBeenSet = true;
66 m_cloudWatchAlarmTemplateGroupIds = std::forward<CloudWatchAlarmTemplateGroupIdsT>(value);
67 }
68 template <typename CloudWatchAlarmTemplateGroupIdsT = Aws::Vector<Aws::String>>
69 StartUpdateSignalMapResult& WithCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT&& value) {
70 SetCloudWatchAlarmTemplateGroupIds(std::forward<CloudWatchAlarmTemplateGroupIdsT>(value));
71 return *this;
72 }
73 template <typename CloudWatchAlarmTemplateGroupIdsT = Aws::String>
74 StartUpdateSignalMapResult& AddCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT&& value) {
75 m_cloudWatchAlarmTemplateGroupIdsHasBeenSet = true;
76 m_cloudWatchAlarmTemplateGroupIds.emplace_back(std::forward<CloudWatchAlarmTemplateGroupIdsT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
84 template <typename CreatedAtT = Aws::Utils::DateTime>
85 void SetCreatedAt(CreatedAtT&& value) {
86 m_createdAtHasBeenSet = true;
87 m_createdAt = std::forward<CreatedAtT>(value);
88 }
89 template <typename CreatedAtT = Aws::Utils::DateTime>
91 SetCreatedAt(std::forward<CreatedAtT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::String& GetDescription() const { return m_description; }
101 template <typename DescriptionT = Aws::String>
102 void SetDescription(DescriptionT&& value) {
103 m_descriptionHasBeenSet = true;
104 m_description = std::forward<DescriptionT>(value);
105 }
106 template <typename DescriptionT = Aws::String>
108 SetDescription(std::forward<DescriptionT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetDiscoveryEntryPointArn() const { return m_discoveryEntryPointArn; }
118 template <typename DiscoveryEntryPointArnT = Aws::String>
119 void SetDiscoveryEntryPointArn(DiscoveryEntryPointArnT&& value) {
120 m_discoveryEntryPointArnHasBeenSet = true;
121 m_discoveryEntryPointArn = std::forward<DiscoveryEntryPointArnT>(value);
122 }
123 template <typename DiscoveryEntryPointArnT = Aws::String>
124 StartUpdateSignalMapResult& WithDiscoveryEntryPointArn(DiscoveryEntryPointArnT&& value) {
125 SetDiscoveryEntryPointArn(std::forward<DiscoveryEntryPointArnT>(value));
126 return *this;
127 }
129
131
135 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
136 template <typename ErrorMessageT = Aws::String>
137 void SetErrorMessage(ErrorMessageT&& value) {
138 m_errorMessageHasBeenSet = true;
139 m_errorMessage = std::forward<ErrorMessageT>(value);
140 }
141 template <typename ErrorMessageT = Aws::String>
143 SetErrorMessage(std::forward<ErrorMessageT>(value));
144 return *this;
145 }
147
149
150 inline const Aws::Vector<Aws::String>& GetEventBridgeRuleTemplateGroupIds() const { return m_eventBridgeRuleTemplateGroupIds; }
151 template <typename EventBridgeRuleTemplateGroupIdsT = Aws::Vector<Aws::String>>
152 void SetEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT&& value) {
153 m_eventBridgeRuleTemplateGroupIdsHasBeenSet = true;
154 m_eventBridgeRuleTemplateGroupIds = std::forward<EventBridgeRuleTemplateGroupIdsT>(value);
155 }
156 template <typename EventBridgeRuleTemplateGroupIdsT = Aws::Vector<Aws::String>>
157 StartUpdateSignalMapResult& WithEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT&& value) {
158 SetEventBridgeRuleTemplateGroupIds(std::forward<EventBridgeRuleTemplateGroupIdsT>(value));
159 return *this;
160 }
161 template <typename EventBridgeRuleTemplateGroupIdsT = Aws::String>
162 StartUpdateSignalMapResult& AddEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT&& value) {
163 m_eventBridgeRuleTemplateGroupIdsHasBeenSet = true;
164 m_eventBridgeRuleTemplateGroupIds.emplace_back(std::forward<EventBridgeRuleTemplateGroupIdsT>(value));
165 return *this;
166 }
168
170
171 inline const Aws::Map<Aws::String, MediaResource>& GetFailedMediaResourceMap() const { return m_failedMediaResourceMap; }
172 template <typename FailedMediaResourceMapT = Aws::Map<Aws::String, MediaResource>>
173 void SetFailedMediaResourceMap(FailedMediaResourceMapT&& value) {
174 m_failedMediaResourceMapHasBeenSet = true;
175 m_failedMediaResourceMap = std::forward<FailedMediaResourceMapT>(value);
176 }
177 template <typename FailedMediaResourceMapT = Aws::Map<Aws::String, MediaResource>>
178 StartUpdateSignalMapResult& WithFailedMediaResourceMap(FailedMediaResourceMapT&& value) {
179 SetFailedMediaResourceMap(std::forward<FailedMediaResourceMapT>(value));
180 return *this;
181 }
182 template <typename FailedMediaResourceMapKeyT = Aws::String, typename FailedMediaResourceMapValueT = MediaResource>
183 StartUpdateSignalMapResult& AddFailedMediaResourceMap(FailedMediaResourceMapKeyT&& key, FailedMediaResourceMapValueT&& value) {
184 m_failedMediaResourceMapHasBeenSet = true;
185 m_failedMediaResourceMap.emplace(std::forward<FailedMediaResourceMapKeyT>(key), std::forward<FailedMediaResourceMapValueT>(value));
186 return *this;
187 }
189
191
194 inline const Aws::String& GetId() const { return m_id; }
195 template <typename IdT = Aws::String>
196 void SetId(IdT&& value) {
197 m_idHasBeenSet = true;
198 m_id = std::forward<IdT>(value);
199 }
200 template <typename IdT = Aws::String>
202 SetId(std::forward<IdT>(value));
203 return *this;
204 }
206
208
209 inline const Aws::Utils::DateTime& GetLastDiscoveredAt() const { return m_lastDiscoveredAt; }
210 template <typename LastDiscoveredAtT = Aws::Utils::DateTime>
211 void SetLastDiscoveredAt(LastDiscoveredAtT&& value) {
212 m_lastDiscoveredAtHasBeenSet = true;
213 m_lastDiscoveredAt = std::forward<LastDiscoveredAtT>(value);
214 }
215 template <typename LastDiscoveredAtT = Aws::Utils::DateTime>
217 SetLastDiscoveredAt(std::forward<LastDiscoveredAtT>(value));
218 return *this;
219 }
221
223
224 inline const SuccessfulMonitorDeployment& GetLastSuccessfulMonitorDeployment() const { return m_lastSuccessfulMonitorDeployment; }
225 template <typename LastSuccessfulMonitorDeploymentT = SuccessfulMonitorDeployment>
226 void SetLastSuccessfulMonitorDeployment(LastSuccessfulMonitorDeploymentT&& value) {
227 m_lastSuccessfulMonitorDeploymentHasBeenSet = true;
228 m_lastSuccessfulMonitorDeployment = std::forward<LastSuccessfulMonitorDeploymentT>(value);
229 }
230 template <typename LastSuccessfulMonitorDeploymentT = SuccessfulMonitorDeployment>
231 StartUpdateSignalMapResult& WithLastSuccessfulMonitorDeployment(LastSuccessfulMonitorDeploymentT&& value) {
232 SetLastSuccessfulMonitorDeployment(std::forward<LastSuccessfulMonitorDeploymentT>(value));
233 return *this;
234 }
236
238
239 inline const Aws::Map<Aws::String, MediaResource>& GetMediaResourceMap() const { return m_mediaResourceMap; }
240 template <typename MediaResourceMapT = Aws::Map<Aws::String, MediaResource>>
241 void SetMediaResourceMap(MediaResourceMapT&& value) {
242 m_mediaResourceMapHasBeenSet = true;
243 m_mediaResourceMap = std::forward<MediaResourceMapT>(value);
244 }
245 template <typename MediaResourceMapT = Aws::Map<Aws::String, MediaResource>>
247 SetMediaResourceMap(std::forward<MediaResourceMapT>(value));
248 return *this;
249 }
250 template <typename MediaResourceMapKeyT = Aws::String, typename MediaResourceMapValueT = MediaResource>
251 StartUpdateSignalMapResult& AddMediaResourceMap(MediaResourceMapKeyT&& key, MediaResourceMapValueT&& value) {
252 m_mediaResourceMapHasBeenSet = true;
253 m_mediaResourceMap.emplace(std::forward<MediaResourceMapKeyT>(key), std::forward<MediaResourceMapValueT>(value));
254 return *this;
255 }
257
259
260 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
261 template <typename ModifiedAtT = Aws::Utils::DateTime>
262 void SetModifiedAt(ModifiedAtT&& value) {
263 m_modifiedAtHasBeenSet = true;
264 m_modifiedAt = std::forward<ModifiedAtT>(value);
265 }
266 template <typename ModifiedAtT = Aws::Utils::DateTime>
268 SetModifiedAt(std::forward<ModifiedAtT>(value));
269 return *this;
270 }
272
274
278 inline bool GetMonitorChangesPendingDeployment() const { return m_monitorChangesPendingDeployment; }
279 inline void SetMonitorChangesPendingDeployment(bool value) {
280 m_monitorChangesPendingDeploymentHasBeenSet = true;
281 m_monitorChangesPendingDeployment = value;
282 }
285 return *this;
286 }
288
290
291 inline const MonitorDeployment& GetMonitorDeployment() const { return m_monitorDeployment; }
292 template <typename MonitorDeploymentT = MonitorDeployment>
293 void SetMonitorDeployment(MonitorDeploymentT&& value) {
294 m_monitorDeploymentHasBeenSet = true;
295 m_monitorDeployment = std::forward<MonitorDeploymentT>(value);
296 }
297 template <typename MonitorDeploymentT = MonitorDeployment>
299 SetMonitorDeployment(std::forward<MonitorDeploymentT>(value));
300 return *this;
301 }
303
305
309 inline const Aws::String& GetName() const { return m_name; }
310 template <typename NameT = Aws::String>
311 void SetName(NameT&& value) {
312 m_nameHasBeenSet = true;
313 m_name = std::forward<NameT>(value);
314 }
315 template <typename NameT = Aws::String>
317 SetName(std::forward<NameT>(value));
318 return *this;
319 }
321
323
324 inline SignalMapStatus GetStatus() const { return m_status; }
325 inline void SetStatus(SignalMapStatus value) {
326 m_statusHasBeenSet = true;
327 m_status = value;
328 }
330 SetStatus(value);
331 return *this;
332 }
334
336
337 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
338 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
339 void SetTags(TagsT&& value) {
340 m_tagsHasBeenSet = true;
341 m_tags = std::forward<TagsT>(value);
342 }
343 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
345 SetTags(std::forward<TagsT>(value));
346 return *this;
347 }
348 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
349 StartUpdateSignalMapResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
350 m_tagsHasBeenSet = true;
351 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
352 return *this;
353 }
355
357
358 inline const Aws::String& GetRequestId() const { return m_requestId; }
359 template <typename RequestIdT = Aws::String>
360 void SetRequestId(RequestIdT&& value) {
361 m_requestIdHasBeenSet = true;
362 m_requestId = std::forward<RequestIdT>(value);
363 }
364 template <typename RequestIdT = Aws::String>
366 SetRequestId(std::forward<RequestIdT>(value));
367 return *this;
368 }
370 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
371
372 private:
373 Aws::String m_arn;
374
375 Aws::Vector<Aws::String> m_cloudWatchAlarmTemplateGroupIds;
376
377 Aws::Utils::DateTime m_createdAt{};
378
379 Aws::String m_description;
380
381 Aws::String m_discoveryEntryPointArn;
382
383 Aws::String m_errorMessage;
384
385 Aws::Vector<Aws::String> m_eventBridgeRuleTemplateGroupIds;
386
387 Aws::Map<Aws::String, MediaResource> m_failedMediaResourceMap;
388
389 Aws::String m_id;
390
391 Aws::Utils::DateTime m_lastDiscoveredAt{};
392
393 SuccessfulMonitorDeployment m_lastSuccessfulMonitorDeployment;
394
395 Aws::Map<Aws::String, MediaResource> m_mediaResourceMap;
396
397 Aws::Utils::DateTime m_modifiedAt{};
398
399 bool m_monitorChangesPendingDeployment{false};
400
401 MonitorDeployment m_monitorDeployment;
402
403 Aws::String m_name;
404
406
408
409 Aws::String m_requestId;
410 Aws::Http::HttpResponseCode m_HttpResponseCode;
411 bool m_arnHasBeenSet = false;
412 bool m_cloudWatchAlarmTemplateGroupIdsHasBeenSet = false;
413 bool m_createdAtHasBeenSet = false;
414 bool m_descriptionHasBeenSet = false;
415 bool m_discoveryEntryPointArnHasBeenSet = false;
416 bool m_errorMessageHasBeenSet = false;
417 bool m_eventBridgeRuleTemplateGroupIdsHasBeenSet = false;
418 bool m_failedMediaResourceMapHasBeenSet = false;
419 bool m_idHasBeenSet = false;
420 bool m_lastDiscoveredAtHasBeenSet = false;
421 bool m_lastSuccessfulMonitorDeploymentHasBeenSet = false;
422 bool m_mediaResourceMapHasBeenSet = false;
423 bool m_modifiedAtHasBeenSet = false;
424 bool m_monitorChangesPendingDeploymentHasBeenSet = false;
425 bool m_monitorDeploymentHasBeenSet = false;
426 bool m_nameHasBeenSet = false;
427 bool m_statusHasBeenSet = false;
428 bool m_tagsHasBeenSet = false;
429 bool m_requestIdHasBeenSet = false;
430};
431
432} // namespace Model
433} // namespace MediaLive
434} // namespace Aws
StartUpdateSignalMapResult & WithCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT &&value)
StartUpdateSignalMapResult & WithMonitorChangesPendingDeployment(bool value)
void SetFailedMediaResourceMap(FailedMediaResourceMapT &&value)
const SuccessfulMonitorDeployment & GetLastSuccessfulMonitorDeployment() const
StartUpdateSignalMapResult & WithEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT &&value)
StartUpdateSignalMapResult & WithRequestId(RequestIdT &&value)
StartUpdateSignalMapResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
StartUpdateSignalMapResult & WithTags(TagsT &&value)
StartUpdateSignalMapResult & WithArn(ArnT &&value)
StartUpdateSignalMapResult & WithFailedMediaResourceMap(FailedMediaResourceMapT &&value)
void SetEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetEventBridgeRuleTemplateGroupIds() const
StartUpdateSignalMapResult & WithErrorMessage(ErrorMessageT &&value)
const Aws::Map< Aws::String, MediaResource > & GetFailedMediaResourceMap() const
StartUpdateSignalMapResult & AddFailedMediaResourceMap(FailedMediaResourceMapKeyT &&key, FailedMediaResourceMapValueT &&value)
StartUpdateSignalMapResult & WithDescription(DescriptionT &&value)
StartUpdateSignalMapResult & WithName(NameT &&value)
StartUpdateSignalMapResult & WithLastSuccessfulMonitorDeployment(LastSuccessfulMonitorDeploymentT &&value)
void SetLastSuccessfulMonitorDeployment(LastSuccessfulMonitorDeploymentT &&value)
AWS_MEDIALIVE_API StartUpdateSignalMapResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartUpdateSignalMapResult & WithMediaResourceMap(MediaResourceMapT &&value)
StartUpdateSignalMapResult & WithStatus(SignalMapStatus value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StartUpdateSignalMapResult & AddCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT &&value)
StartUpdateSignalMapResult & WithDiscoveryEntryPointArn(DiscoveryEntryPointArnT &&value)
StartUpdateSignalMapResult & WithLastDiscoveredAt(LastDiscoveredAtT &&value)
const Aws::Map< Aws::String, MediaResource > & GetMediaResourceMap() const
StartUpdateSignalMapResult & WithCreatedAt(CreatedAtT &&value)
StartUpdateSignalMapResult & WithMonitorDeployment(MonitorDeploymentT &&value)
void SetDiscoveryEntryPointArn(DiscoveryEntryPointArnT &&value)
const Aws::Vector< Aws::String > & GetCloudWatchAlarmTemplateGroupIds() const
StartUpdateSignalMapResult & WithModifiedAt(ModifiedAtT &&value)
void SetCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT &&value)
AWS_MEDIALIVE_API StartUpdateSignalMapResult()=default
StartUpdateSignalMapResult & AddMediaResourceMap(MediaResourceMapKeyT &&key, MediaResourceMapValueT &&value)
AWS_MEDIALIVE_API StartUpdateSignalMapResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartUpdateSignalMapResult & AddEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT &&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