AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
GetSignalMapResult.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/medialive/model/SuccessfulMonitorDeployment.h>
13#include <aws/medialive/model/MonitorDeployment.h>
14#include <aws/medialive/model/SignalMapStatus.h>
15#include <aws/medialive/model/MediaResource.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace MediaLive
31{
32namespace Model
33{
40 {
41 public:
42 AWS_MEDIALIVE_API GetSignalMapResult() = default;
45
46
48
51 inline const Aws::String& GetArn() const { return m_arn; }
52 template<typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
54 template<typename ArnT = Aws::String>
55 GetSignalMapResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_cloudWatchAlarmTemplateGroupIdsHasBeenSet = true; m_cloudWatchAlarmTemplateGroupIds = std::forward<CloudWatchAlarmTemplateGroupIdsT>(value); }
63 template<typename CloudWatchAlarmTemplateGroupIdsT = Aws::Vector<Aws::String>>
64 GetSignalMapResult& WithCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT&& value) { SetCloudWatchAlarmTemplateGroupIds(std::forward<CloudWatchAlarmTemplateGroupIdsT>(value)); return *this;}
65 template<typename CloudWatchAlarmTemplateGroupIdsT = Aws::String>
66 GetSignalMapResult& AddCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT&& value) { m_cloudWatchAlarmTemplateGroupIdsHasBeenSet = true; m_cloudWatchAlarmTemplateGroupIds.emplace_back(std::forward<CloudWatchAlarmTemplateGroupIdsT>(value)); return *this; }
68
70
71 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
72 template<typename CreatedAtT = Aws::Utils::DateTime>
73 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
74 template<typename CreatedAtT = Aws::Utils::DateTime>
75 GetSignalMapResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
77
79
82 inline const Aws::String& GetDescription() const { return m_description; }
83 template<typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
85 template<typename DescriptionT = Aws::String>
86 GetSignalMapResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
88
90
93 inline const Aws::String& GetDiscoveryEntryPointArn() const { return m_discoveryEntryPointArn; }
94 template<typename DiscoveryEntryPointArnT = Aws::String>
95 void SetDiscoveryEntryPointArn(DiscoveryEntryPointArnT&& value) { m_discoveryEntryPointArnHasBeenSet = true; m_discoveryEntryPointArn = std::forward<DiscoveryEntryPointArnT>(value); }
96 template<typename DiscoveryEntryPointArnT = Aws::String>
97 GetSignalMapResult& WithDiscoveryEntryPointArn(DiscoveryEntryPointArnT&& value) { SetDiscoveryEntryPointArn(std::forward<DiscoveryEntryPointArnT>(value)); return *this;}
99
101
105 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
106 template<typename ErrorMessageT = Aws::String>
107 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
108 template<typename ErrorMessageT = Aws::String>
109 GetSignalMapResult& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
111
113
114 inline const Aws::Vector<Aws::String>& GetEventBridgeRuleTemplateGroupIds() const { return m_eventBridgeRuleTemplateGroupIds; }
115 template<typename EventBridgeRuleTemplateGroupIdsT = Aws::Vector<Aws::String>>
116 void SetEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT&& value) { m_eventBridgeRuleTemplateGroupIdsHasBeenSet = true; m_eventBridgeRuleTemplateGroupIds = std::forward<EventBridgeRuleTemplateGroupIdsT>(value); }
117 template<typename EventBridgeRuleTemplateGroupIdsT = Aws::Vector<Aws::String>>
118 GetSignalMapResult& WithEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT&& value) { SetEventBridgeRuleTemplateGroupIds(std::forward<EventBridgeRuleTemplateGroupIdsT>(value)); return *this;}
119 template<typename EventBridgeRuleTemplateGroupIdsT = Aws::String>
120 GetSignalMapResult& AddEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT&& value) { m_eventBridgeRuleTemplateGroupIdsHasBeenSet = true; m_eventBridgeRuleTemplateGroupIds.emplace_back(std::forward<EventBridgeRuleTemplateGroupIdsT>(value)); return *this; }
122
124
125 inline const Aws::Map<Aws::String, MediaResource>& GetFailedMediaResourceMap() const { return m_failedMediaResourceMap; }
126 template<typename FailedMediaResourceMapT = Aws::Map<Aws::String, MediaResource>>
127 void SetFailedMediaResourceMap(FailedMediaResourceMapT&& value) { m_failedMediaResourceMapHasBeenSet = true; m_failedMediaResourceMap = std::forward<FailedMediaResourceMapT>(value); }
128 template<typename FailedMediaResourceMapT = Aws::Map<Aws::String, MediaResource>>
129 GetSignalMapResult& WithFailedMediaResourceMap(FailedMediaResourceMapT&& value) { SetFailedMediaResourceMap(std::forward<FailedMediaResourceMapT>(value)); return *this;}
130 template<typename FailedMediaResourceMapKeyT = Aws::String, typename FailedMediaResourceMapValueT = MediaResource>
131 GetSignalMapResult& AddFailedMediaResourceMap(FailedMediaResourceMapKeyT&& key, FailedMediaResourceMapValueT&& value) {
132 m_failedMediaResourceMapHasBeenSet = true; m_failedMediaResourceMap.emplace(std::forward<FailedMediaResourceMapKeyT>(key), std::forward<FailedMediaResourceMapValueT>(value)); return *this;
133 }
135
137
140 inline const Aws::String& GetId() const { return m_id; }
141 template<typename IdT = Aws::String>
142 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
143 template<typename IdT = Aws::String>
144 GetSignalMapResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
146
148
149 inline const Aws::Utils::DateTime& GetLastDiscoveredAt() const { return m_lastDiscoveredAt; }
150 template<typename LastDiscoveredAtT = Aws::Utils::DateTime>
151 void SetLastDiscoveredAt(LastDiscoveredAtT&& value) { m_lastDiscoveredAtHasBeenSet = true; m_lastDiscoveredAt = std::forward<LastDiscoveredAtT>(value); }
152 template<typename LastDiscoveredAtT = Aws::Utils::DateTime>
153 GetSignalMapResult& WithLastDiscoveredAt(LastDiscoveredAtT&& value) { SetLastDiscoveredAt(std::forward<LastDiscoveredAtT>(value)); return *this;}
155
157
158 inline const SuccessfulMonitorDeployment& GetLastSuccessfulMonitorDeployment() const { return m_lastSuccessfulMonitorDeployment; }
159 template<typename LastSuccessfulMonitorDeploymentT = SuccessfulMonitorDeployment>
160 void SetLastSuccessfulMonitorDeployment(LastSuccessfulMonitorDeploymentT&& value) { m_lastSuccessfulMonitorDeploymentHasBeenSet = true; m_lastSuccessfulMonitorDeployment = std::forward<LastSuccessfulMonitorDeploymentT>(value); }
161 template<typename LastSuccessfulMonitorDeploymentT = SuccessfulMonitorDeployment>
162 GetSignalMapResult& WithLastSuccessfulMonitorDeployment(LastSuccessfulMonitorDeploymentT&& value) { SetLastSuccessfulMonitorDeployment(std::forward<LastSuccessfulMonitorDeploymentT>(value)); return *this;}
164
166
167 inline const Aws::Map<Aws::String, MediaResource>& GetMediaResourceMap() const { return m_mediaResourceMap; }
168 template<typename MediaResourceMapT = Aws::Map<Aws::String, MediaResource>>
169 void SetMediaResourceMap(MediaResourceMapT&& value) { m_mediaResourceMapHasBeenSet = true; m_mediaResourceMap = std::forward<MediaResourceMapT>(value); }
170 template<typename MediaResourceMapT = Aws::Map<Aws::String, MediaResource>>
171 GetSignalMapResult& WithMediaResourceMap(MediaResourceMapT&& value) { SetMediaResourceMap(std::forward<MediaResourceMapT>(value)); return *this;}
172 template<typename MediaResourceMapKeyT = Aws::String, typename MediaResourceMapValueT = MediaResource>
173 GetSignalMapResult& AddMediaResourceMap(MediaResourceMapKeyT&& key, MediaResourceMapValueT&& value) {
174 m_mediaResourceMapHasBeenSet = true; m_mediaResourceMap.emplace(std::forward<MediaResourceMapKeyT>(key), std::forward<MediaResourceMapValueT>(value)); return *this;
175 }
177
179
180 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
181 template<typename ModifiedAtT = Aws::Utils::DateTime>
182 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
183 template<typename ModifiedAtT = Aws::Utils::DateTime>
184 GetSignalMapResult& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
186
188
192 inline bool GetMonitorChangesPendingDeployment() const { return m_monitorChangesPendingDeployment; }
193 inline void SetMonitorChangesPendingDeployment(bool value) { m_monitorChangesPendingDeploymentHasBeenSet = true; m_monitorChangesPendingDeployment = value; }
196
198
199 inline const MonitorDeployment& GetMonitorDeployment() const { return m_monitorDeployment; }
200 template<typename MonitorDeploymentT = MonitorDeployment>
201 void SetMonitorDeployment(MonitorDeploymentT&& value) { m_monitorDeploymentHasBeenSet = true; m_monitorDeployment = std::forward<MonitorDeploymentT>(value); }
202 template<typename MonitorDeploymentT = MonitorDeployment>
203 GetSignalMapResult& WithMonitorDeployment(MonitorDeploymentT&& value) { SetMonitorDeployment(std::forward<MonitorDeploymentT>(value)); return *this;}
205
207
211 inline const Aws::String& GetName() const { return m_name; }
212 template<typename NameT = Aws::String>
213 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
214 template<typename NameT = Aws::String>
215 GetSignalMapResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
217
219
220 inline SignalMapStatus GetStatus() const { return m_status; }
221 inline void SetStatus(SignalMapStatus value) { m_statusHasBeenSet = true; m_status = value; }
222 inline GetSignalMapResult& WithStatus(SignalMapStatus value) { SetStatus(value); return *this;}
224
226
227 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
228 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
229 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
230 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
231 GetSignalMapResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
232 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
233 GetSignalMapResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
234 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
235 }
237
239
240 inline const Aws::String& GetRequestId() const { return m_requestId; }
241 template<typename RequestIdT = Aws::String>
242 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
243 template<typename RequestIdT = Aws::String>
244 GetSignalMapResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
246 private:
247
248 Aws::String m_arn;
249 bool m_arnHasBeenSet = false;
250
251 Aws::Vector<Aws::String> m_cloudWatchAlarmTemplateGroupIds;
252 bool m_cloudWatchAlarmTemplateGroupIdsHasBeenSet = false;
253
254 Aws::Utils::DateTime m_createdAt{};
255 bool m_createdAtHasBeenSet = false;
256
257 Aws::String m_description;
258 bool m_descriptionHasBeenSet = false;
259
260 Aws::String m_discoveryEntryPointArn;
261 bool m_discoveryEntryPointArnHasBeenSet = false;
262
263 Aws::String m_errorMessage;
264 bool m_errorMessageHasBeenSet = false;
265
266 Aws::Vector<Aws::String> m_eventBridgeRuleTemplateGroupIds;
267 bool m_eventBridgeRuleTemplateGroupIdsHasBeenSet = false;
268
269 Aws::Map<Aws::String, MediaResource> m_failedMediaResourceMap;
270 bool m_failedMediaResourceMapHasBeenSet = false;
271
272 Aws::String m_id;
273 bool m_idHasBeenSet = false;
274
275 Aws::Utils::DateTime m_lastDiscoveredAt{};
276 bool m_lastDiscoveredAtHasBeenSet = false;
277
278 SuccessfulMonitorDeployment m_lastSuccessfulMonitorDeployment;
279 bool m_lastSuccessfulMonitorDeploymentHasBeenSet = false;
280
281 Aws::Map<Aws::String, MediaResource> m_mediaResourceMap;
282 bool m_mediaResourceMapHasBeenSet = false;
283
284 Aws::Utils::DateTime m_modifiedAt{};
285 bool m_modifiedAtHasBeenSet = false;
286
287 bool m_monitorChangesPendingDeployment{false};
288 bool m_monitorChangesPendingDeploymentHasBeenSet = false;
289
290 MonitorDeployment m_monitorDeployment;
291 bool m_monitorDeploymentHasBeenSet = false;
292
293 Aws::String m_name;
294 bool m_nameHasBeenSet = false;
295
297 bool m_statusHasBeenSet = false;
298
300 bool m_tagsHasBeenSet = false;
301
302 Aws::String m_requestId;
303 bool m_requestIdHasBeenSet = false;
304 };
305
306} // namespace Model
307} // namespace MediaLive
308} // namespace Aws
GetSignalMapResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetDiscoveryEntryPointArn() const
const Aws::Utils::DateTime & GetModifiedAt() const
GetSignalMapResult & WithDiscoveryEntryPointArn(DiscoveryEntryPointArnT &&value)
AWS_MEDIALIVE_API GetSignalMapResult()=default
GetSignalMapResult & WithStatus(SignalMapStatus value)
GetSignalMapResult & WithArn(ArnT &&value)
GetSignalMapResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetSignalMapResult & WithMonitorDeployment(MonitorDeploymentT &&value)
GetSignalMapResult & AddFailedMediaResourceMap(FailedMediaResourceMapKeyT &&key, FailedMediaResourceMapValueT &&value)
void SetEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetEventBridgeRuleTemplateGroupIds() const
AWS_MEDIALIVE_API GetSignalMapResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSignalMapResult & WithEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT &&value)
const MonitorDeployment & GetMonitorDeployment() const
GetSignalMapResult & WithCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT &&value)
const Aws::Map< Aws::String, MediaResource > & GetMediaResourceMap() const
const SuccessfulMonitorDeployment & GetLastSuccessfulMonitorDeployment() const
GetSignalMapResult & WithModifiedAt(ModifiedAtT &&value)
GetSignalMapResult & WithDescription(DescriptionT &&value)
GetSignalMapResult & WithId(IdT &&value)
GetSignalMapResult & WithFailedMediaResourceMap(FailedMediaResourceMapT &&value)
GetSignalMapResult & WithTags(TagsT &&value)
GetSignalMapResult & WithLastDiscoveredAt(LastDiscoveredAtT &&value)
GetSignalMapResult & WithMediaResourceMap(MediaResourceMapT &&value)
void SetLastSuccessfulMonitorDeployment(LastSuccessfulMonitorDeploymentT &&value)
GetSignalMapResult & AddMediaResourceMap(MediaResourceMapKeyT &&key, MediaResourceMapValueT &&value)
AWS_MEDIALIVE_API GetSignalMapResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSignalMapResult & WithRequestId(RequestIdT &&value)
GetSignalMapResult & AddEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT &&value)
void SetMonitorDeployment(MonitorDeploymentT &&value)
void SetDiscoveryEntryPointArn(DiscoveryEntryPointArnT &&value)
const Aws::Utils::DateTime & GetLastDiscoveredAt() const
void SetCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetSignalMapResult & WithErrorMessage(ErrorMessageT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetSignalMapResult & WithName(NameT &&value)
void SetFailedMediaResourceMap(FailedMediaResourceMapT &&value)
GetSignalMapResult & WithMonitorChangesPendingDeployment(bool value)
void SetLastDiscoveredAt(LastDiscoveredAtT &&value)
void SetMediaResourceMap(MediaResourceMapT &&value)
const Aws::Vector< Aws::String > & GetCloudWatchAlarmTemplateGroupIds() const
GetSignalMapResult & AddCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT &&value)
const Aws::Map< Aws::String, MediaResource > & GetFailedMediaResourceMap() const
GetSignalMapResult & WithLastSuccessfulMonitorDeployment(LastSuccessfulMonitorDeploymentT &&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