AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
StartMonitorDeploymentResult.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 {
37 public:
38 AWS_MEDIALIVE_API StartMonitorDeploymentResult() = default;
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 template <typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) {
49 m_arnHasBeenSet = true;
50 m_arn = std::forward<ArnT>(value);
51 }
52 template <typename ArnT = Aws::String>
54 SetArn(std::forward<ArnT>(value));
55 return *this;
56 }
58
60
61 inline const Aws::Vector<Aws::String>& GetCloudWatchAlarmTemplateGroupIds() const { return m_cloudWatchAlarmTemplateGroupIds; }
62 template <typename CloudWatchAlarmTemplateGroupIdsT = Aws::Vector<Aws::String>>
63 void SetCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT&& value) {
64 m_cloudWatchAlarmTemplateGroupIdsHasBeenSet = true;
65 m_cloudWatchAlarmTemplateGroupIds = std::forward<CloudWatchAlarmTemplateGroupIdsT>(value);
66 }
67 template <typename CloudWatchAlarmTemplateGroupIdsT = Aws::Vector<Aws::String>>
68 StartMonitorDeploymentResult& WithCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT&& value) {
69 SetCloudWatchAlarmTemplateGroupIds(std::forward<CloudWatchAlarmTemplateGroupIdsT>(value));
70 return *this;
71 }
72 template <typename CloudWatchAlarmTemplateGroupIdsT = Aws::String>
73 StartMonitorDeploymentResult& AddCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT&& value) {
74 m_cloudWatchAlarmTemplateGroupIdsHasBeenSet = true;
75 m_cloudWatchAlarmTemplateGroupIds.emplace_back(std::forward<CloudWatchAlarmTemplateGroupIdsT>(value));
76 return *this;
77 }
79
81
82 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
83 template <typename CreatedAtT = Aws::Utils::DateTime>
84 void SetCreatedAt(CreatedAtT&& value) {
85 m_createdAtHasBeenSet = true;
86 m_createdAt = std::forward<CreatedAtT>(value);
87 }
88 template <typename CreatedAtT = Aws::Utils::DateTime>
90 SetCreatedAt(std::forward<CreatedAtT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetDescription() const { return m_description; }
100 template <typename DescriptionT = Aws::String>
101 void SetDescription(DescriptionT&& value) {
102 m_descriptionHasBeenSet = true;
103 m_description = std::forward<DescriptionT>(value);
104 }
105 template <typename DescriptionT = Aws::String>
107 SetDescription(std::forward<DescriptionT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetDiscoveryEntryPointArn() const { return m_discoveryEntryPointArn; }
117 template <typename DiscoveryEntryPointArnT = Aws::String>
118 void SetDiscoveryEntryPointArn(DiscoveryEntryPointArnT&& value) {
119 m_discoveryEntryPointArnHasBeenSet = true;
120 m_discoveryEntryPointArn = std::forward<DiscoveryEntryPointArnT>(value);
121 }
122 template <typename DiscoveryEntryPointArnT = Aws::String>
124 SetDiscoveryEntryPointArn(std::forward<DiscoveryEntryPointArnT>(value));
125 return *this;
126 }
128
130
134 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
135 template <typename ErrorMessageT = Aws::String>
136 void SetErrorMessage(ErrorMessageT&& value) {
137 m_errorMessageHasBeenSet = true;
138 m_errorMessage = std::forward<ErrorMessageT>(value);
139 }
140 template <typename ErrorMessageT = Aws::String>
142 SetErrorMessage(std::forward<ErrorMessageT>(value));
143 return *this;
144 }
146
148
149 inline const Aws::Vector<Aws::String>& GetEventBridgeRuleTemplateGroupIds() const { return m_eventBridgeRuleTemplateGroupIds; }
150 template <typename EventBridgeRuleTemplateGroupIdsT = Aws::Vector<Aws::String>>
151 void SetEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT&& value) {
152 m_eventBridgeRuleTemplateGroupIdsHasBeenSet = true;
153 m_eventBridgeRuleTemplateGroupIds = std::forward<EventBridgeRuleTemplateGroupIdsT>(value);
154 }
155 template <typename EventBridgeRuleTemplateGroupIdsT = Aws::Vector<Aws::String>>
156 StartMonitorDeploymentResult& WithEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT&& value) {
157 SetEventBridgeRuleTemplateGroupIds(std::forward<EventBridgeRuleTemplateGroupIdsT>(value));
158 return *this;
159 }
160 template <typename EventBridgeRuleTemplateGroupIdsT = Aws::String>
161 StartMonitorDeploymentResult& AddEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT&& value) {
162 m_eventBridgeRuleTemplateGroupIdsHasBeenSet = true;
163 m_eventBridgeRuleTemplateGroupIds.emplace_back(std::forward<EventBridgeRuleTemplateGroupIdsT>(value));
164 return *this;
165 }
167
169
170 inline const Aws::Map<Aws::String, MediaResource>& GetFailedMediaResourceMap() const { return m_failedMediaResourceMap; }
171 template <typename FailedMediaResourceMapT = Aws::Map<Aws::String, MediaResource>>
172 void SetFailedMediaResourceMap(FailedMediaResourceMapT&& value) {
173 m_failedMediaResourceMapHasBeenSet = true;
174 m_failedMediaResourceMap = std::forward<FailedMediaResourceMapT>(value);
175 }
176 template <typename FailedMediaResourceMapT = Aws::Map<Aws::String, MediaResource>>
178 SetFailedMediaResourceMap(std::forward<FailedMediaResourceMapT>(value));
179 return *this;
180 }
181 template <typename FailedMediaResourceMapKeyT = Aws::String, typename FailedMediaResourceMapValueT = MediaResource>
182 StartMonitorDeploymentResult& AddFailedMediaResourceMap(FailedMediaResourceMapKeyT&& key, FailedMediaResourceMapValueT&& value) {
183 m_failedMediaResourceMapHasBeenSet = true;
184 m_failedMediaResourceMap.emplace(std::forward<FailedMediaResourceMapKeyT>(key), std::forward<FailedMediaResourceMapValueT>(value));
185 return *this;
186 }
188
190
193 inline const Aws::String& GetId() const { return m_id; }
194 template <typename IdT = Aws::String>
195 void SetId(IdT&& value) {
196 m_idHasBeenSet = true;
197 m_id = std::forward<IdT>(value);
198 }
199 template <typename IdT = Aws::String>
201 SetId(std::forward<IdT>(value));
202 return *this;
203 }
205
207
208 inline const Aws::Utils::DateTime& GetLastDiscoveredAt() const { return m_lastDiscoveredAt; }
209 template <typename LastDiscoveredAtT = Aws::Utils::DateTime>
210 void SetLastDiscoveredAt(LastDiscoveredAtT&& value) {
211 m_lastDiscoveredAtHasBeenSet = true;
212 m_lastDiscoveredAt = std::forward<LastDiscoveredAtT>(value);
213 }
214 template <typename LastDiscoveredAtT = Aws::Utils::DateTime>
216 SetLastDiscoveredAt(std::forward<LastDiscoveredAtT>(value));
217 return *this;
218 }
220
222
223 inline const SuccessfulMonitorDeployment& GetLastSuccessfulMonitorDeployment() const { return m_lastSuccessfulMonitorDeployment; }
224 template <typename LastSuccessfulMonitorDeploymentT = SuccessfulMonitorDeployment>
225 void SetLastSuccessfulMonitorDeployment(LastSuccessfulMonitorDeploymentT&& value) {
226 m_lastSuccessfulMonitorDeploymentHasBeenSet = true;
227 m_lastSuccessfulMonitorDeployment = std::forward<LastSuccessfulMonitorDeploymentT>(value);
228 }
229 template <typename LastSuccessfulMonitorDeploymentT = SuccessfulMonitorDeployment>
230 StartMonitorDeploymentResult& WithLastSuccessfulMonitorDeployment(LastSuccessfulMonitorDeploymentT&& value) {
231 SetLastSuccessfulMonitorDeployment(std::forward<LastSuccessfulMonitorDeploymentT>(value));
232 return *this;
233 }
235
237
238 inline const Aws::Map<Aws::String, MediaResource>& GetMediaResourceMap() const { return m_mediaResourceMap; }
239 template <typename MediaResourceMapT = Aws::Map<Aws::String, MediaResource>>
240 void SetMediaResourceMap(MediaResourceMapT&& value) {
241 m_mediaResourceMapHasBeenSet = true;
242 m_mediaResourceMap = std::forward<MediaResourceMapT>(value);
243 }
244 template <typename MediaResourceMapT = Aws::Map<Aws::String, MediaResource>>
246 SetMediaResourceMap(std::forward<MediaResourceMapT>(value));
247 return *this;
248 }
249 template <typename MediaResourceMapKeyT = Aws::String, typename MediaResourceMapValueT = MediaResource>
250 StartMonitorDeploymentResult& AddMediaResourceMap(MediaResourceMapKeyT&& key, MediaResourceMapValueT&& value) {
251 m_mediaResourceMapHasBeenSet = true;
252 m_mediaResourceMap.emplace(std::forward<MediaResourceMapKeyT>(key), std::forward<MediaResourceMapValueT>(value));
253 return *this;
254 }
256
258
259 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
260 template <typename ModifiedAtT = Aws::Utils::DateTime>
261 void SetModifiedAt(ModifiedAtT&& value) {
262 m_modifiedAtHasBeenSet = true;
263 m_modifiedAt = std::forward<ModifiedAtT>(value);
264 }
265 template <typename ModifiedAtT = Aws::Utils::DateTime>
267 SetModifiedAt(std::forward<ModifiedAtT>(value));
268 return *this;
269 }
271
273
277 inline bool GetMonitorChangesPendingDeployment() const { return m_monitorChangesPendingDeployment; }
278 inline void SetMonitorChangesPendingDeployment(bool value) {
279 m_monitorChangesPendingDeploymentHasBeenSet = true;
280 m_monitorChangesPendingDeployment = value;
281 }
284 return *this;
285 }
287
289
290 inline const MonitorDeployment& GetMonitorDeployment() const { return m_monitorDeployment; }
291 template <typename MonitorDeploymentT = MonitorDeployment>
292 void SetMonitorDeployment(MonitorDeploymentT&& value) {
293 m_monitorDeploymentHasBeenSet = true;
294 m_monitorDeployment = std::forward<MonitorDeploymentT>(value);
295 }
296 template <typename MonitorDeploymentT = MonitorDeployment>
298 SetMonitorDeployment(std::forward<MonitorDeploymentT>(value));
299 return *this;
300 }
302
304
308 inline const Aws::String& GetName() const { return m_name; }
309 template <typename NameT = Aws::String>
310 void SetName(NameT&& value) {
311 m_nameHasBeenSet = true;
312 m_name = std::forward<NameT>(value);
313 }
314 template <typename NameT = Aws::String>
316 SetName(std::forward<NameT>(value));
317 return *this;
318 }
320
322
323 inline SignalMapStatus GetStatus() const { return m_status; }
324 inline void SetStatus(SignalMapStatus value) {
325 m_statusHasBeenSet = true;
326 m_status = value;
327 }
329 SetStatus(value);
330 return *this;
331 }
333
335
336 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
337 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
338 void SetTags(TagsT&& value) {
339 m_tagsHasBeenSet = true;
340 m_tags = std::forward<TagsT>(value);
341 }
342 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
344 SetTags(std::forward<TagsT>(value));
345 return *this;
346 }
347 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
348 StartMonitorDeploymentResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
349 m_tagsHasBeenSet = true;
350 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
351 return *this;
352 }
354
356
357 inline const Aws::String& GetRequestId() const { return m_requestId; }
358 template <typename RequestIdT = Aws::String>
359 void SetRequestId(RequestIdT&& value) {
360 m_requestIdHasBeenSet = true;
361 m_requestId = std::forward<RequestIdT>(value);
362 }
363 template <typename RequestIdT = Aws::String>
365 SetRequestId(std::forward<RequestIdT>(value));
366 return *this;
367 }
369 private:
370 Aws::String m_arn;
371
372 Aws::Vector<Aws::String> m_cloudWatchAlarmTemplateGroupIds;
373
374 Aws::Utils::DateTime m_createdAt{};
375
376 Aws::String m_description;
377
378 Aws::String m_discoveryEntryPointArn;
379
380 Aws::String m_errorMessage;
381
382 Aws::Vector<Aws::String> m_eventBridgeRuleTemplateGroupIds;
383
384 Aws::Map<Aws::String, MediaResource> m_failedMediaResourceMap;
385
386 Aws::String m_id;
387
388 Aws::Utils::DateTime m_lastDiscoveredAt{};
389
390 SuccessfulMonitorDeployment m_lastSuccessfulMonitorDeployment;
391
392 Aws::Map<Aws::String, MediaResource> m_mediaResourceMap;
393
394 Aws::Utils::DateTime m_modifiedAt{};
395
396 bool m_monitorChangesPendingDeployment{false};
397
398 MonitorDeployment m_monitorDeployment;
399
400 Aws::String m_name;
401
403
405
406 Aws::String m_requestId;
407 bool m_arnHasBeenSet = false;
408 bool m_cloudWatchAlarmTemplateGroupIdsHasBeenSet = false;
409 bool m_createdAtHasBeenSet = false;
410 bool m_descriptionHasBeenSet = false;
411 bool m_discoveryEntryPointArnHasBeenSet = false;
412 bool m_errorMessageHasBeenSet = false;
413 bool m_eventBridgeRuleTemplateGroupIdsHasBeenSet = false;
414 bool m_failedMediaResourceMapHasBeenSet = false;
415 bool m_idHasBeenSet = false;
416 bool m_lastDiscoveredAtHasBeenSet = false;
417 bool m_lastSuccessfulMonitorDeploymentHasBeenSet = false;
418 bool m_mediaResourceMapHasBeenSet = false;
419 bool m_modifiedAtHasBeenSet = false;
420 bool m_monitorChangesPendingDeploymentHasBeenSet = false;
421 bool m_monitorDeploymentHasBeenSet = false;
422 bool m_nameHasBeenSet = false;
423 bool m_statusHasBeenSet = false;
424 bool m_tagsHasBeenSet = false;
425 bool m_requestIdHasBeenSet = false;
426};
427
428} // namespace Model
429} // namespace MediaLive
430} // namespace Aws
StartMonitorDeploymentResult & WithFailedMediaResourceMap(FailedMediaResourceMapT &&value)
StartMonitorDeploymentResult & WithMonitorDeployment(MonitorDeploymentT &&value)
void SetLastSuccessfulMonitorDeployment(LastSuccessfulMonitorDeploymentT &&value)
StartMonitorDeploymentResult & AddFailedMediaResourceMap(FailedMediaResourceMapKeyT &&key, FailedMediaResourceMapValueT &&value)
StartMonitorDeploymentResult & AddMediaResourceMap(MediaResourceMapKeyT &&key, MediaResourceMapValueT &&value)
StartMonitorDeploymentResult & WithDiscoveryEntryPointArn(DiscoveryEntryPointArnT &&value)
StartMonitorDeploymentResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetEventBridgeRuleTemplateGroupIds() const
StartMonitorDeploymentResult & WithCreatedAt(CreatedAtT &&value)
StartMonitorDeploymentResult & WithCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT &&value)
const Aws::Map< Aws::String, MediaResource > & GetFailedMediaResourceMap() const
StartMonitorDeploymentResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
StartMonitorDeploymentResult & WithTags(TagsT &&value)
StartMonitorDeploymentResult & WithName(NameT &&value)
StartMonitorDeploymentResult & WithModifiedAt(ModifiedAtT &&value)
AWS_MEDIALIVE_API StartMonitorDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT &&value)
StartMonitorDeploymentResult & WithMediaResourceMap(MediaResourceMapT &&value)
const SuccessfulMonitorDeployment & GetLastSuccessfulMonitorDeployment() const
const Aws::Map< Aws::String, MediaResource > & GetMediaResourceMap() const
StartMonitorDeploymentResult & WithLastDiscoveredAt(LastDiscoveredAtT &&value)
StartMonitorDeploymentResult & WithEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT &&value)
AWS_MEDIALIVE_API StartMonitorDeploymentResult()=default
const Aws::Vector< Aws::String > & GetCloudWatchAlarmTemplateGroupIds() const
StartMonitorDeploymentResult & WithMonitorChangesPendingDeployment(bool value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StartMonitorDeploymentResult & WithStatus(SignalMapStatus value)
StartMonitorDeploymentResult & WithErrorMessage(ErrorMessageT &&value)
StartMonitorDeploymentResult & WithArn(ArnT &&value)
AWS_MEDIALIVE_API StartMonitorDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartMonitorDeploymentResult & WithLastSuccessfulMonitorDeployment(LastSuccessfulMonitorDeploymentT &&value)
StartMonitorDeploymentResult & AddEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT &&value)
StartMonitorDeploymentResult & WithDescription(DescriptionT &&value)
StartMonitorDeploymentResult & AddCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT &&value)
void SetCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT &&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