AWS SDK for C++

AWS SDK for C++ Version 1.11.756

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