AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AutomationExecutionMetadata.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/ssm/SSM_EXPORTS.h>
12#include <aws/ssm/model/AlarmConfiguration.h>
13#include <aws/ssm/model/AlarmStateInformation.h>
14#include <aws/ssm/model/AutomationExecutionStatus.h>
15#include <aws/ssm/model/AutomationSubtype.h>
16#include <aws/ssm/model/AutomationType.h>
17#include <aws/ssm/model/ExecutionMode.h>
18#include <aws/ssm/model/ResolvedTargets.h>
19#include <aws/ssm/model/Runbook.h>
20#include <aws/ssm/model/Target.h>
21
22#include <utility>
23
24namespace Aws {
25namespace Utils {
26namespace Json {
27class JsonValue;
28class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace SSM {
32namespace Model {
33
40 public:
41 AWS_SSM_API AutomationExecutionMetadata() = default;
45
47
50 inline const Aws::String& GetAutomationExecutionId() const { return m_automationExecutionId; }
51 inline bool AutomationExecutionIdHasBeenSet() const { return m_automationExecutionIdHasBeenSet; }
52 template <typename AutomationExecutionIdT = Aws::String>
53 void SetAutomationExecutionId(AutomationExecutionIdT&& value) {
54 m_automationExecutionIdHasBeenSet = true;
55 m_automationExecutionId = std::forward<AutomationExecutionIdT>(value);
56 }
57 template <typename AutomationExecutionIdT = Aws::String>
58 AutomationExecutionMetadata& WithAutomationExecutionId(AutomationExecutionIdT&& value) {
59 SetAutomationExecutionId(std::forward<AutomationExecutionIdT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetDocumentName() const { return m_documentName; }
69 inline bool DocumentNameHasBeenSet() const { return m_documentNameHasBeenSet; }
70 template <typename DocumentNameT = Aws::String>
71 void SetDocumentName(DocumentNameT&& value) {
72 m_documentNameHasBeenSet = true;
73 m_documentName = std::forward<DocumentNameT>(value);
74 }
75 template <typename DocumentNameT = Aws::String>
77 SetDocumentName(std::forward<DocumentNameT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetDocumentVersion() const { return m_documentVersion; }
87 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
88 template <typename DocumentVersionT = Aws::String>
89 void SetDocumentVersion(DocumentVersionT&& value) {
90 m_documentVersionHasBeenSet = true;
91 m_documentVersion = std::forward<DocumentVersionT>(value);
92 }
93 template <typename DocumentVersionT = Aws::String>
95 SetDocumentVersion(std::forward<DocumentVersionT>(value));
96 return *this;
97 }
99
101
104 inline AutomationExecutionStatus GetAutomationExecutionStatus() const { return m_automationExecutionStatus; }
105 inline bool AutomationExecutionStatusHasBeenSet() const { return m_automationExecutionStatusHasBeenSet; }
107 m_automationExecutionStatusHasBeenSet = true;
108 m_automationExecutionStatus = value;
109 }
112 return *this;
113 }
115
117
120 inline const Aws::Utils::DateTime& GetExecutionStartTime() const { return m_executionStartTime; }
121 inline bool ExecutionStartTimeHasBeenSet() const { return m_executionStartTimeHasBeenSet; }
122 template <typename ExecutionStartTimeT = Aws::Utils::DateTime>
123 void SetExecutionStartTime(ExecutionStartTimeT&& value) {
124 m_executionStartTimeHasBeenSet = true;
125 m_executionStartTime = std::forward<ExecutionStartTimeT>(value);
126 }
127 template <typename ExecutionStartTimeT = Aws::Utils::DateTime>
129 SetExecutionStartTime(std::forward<ExecutionStartTimeT>(value));
130 return *this;
131 }
133
135
139 inline const Aws::Utils::DateTime& GetExecutionEndTime() const { return m_executionEndTime; }
140 inline bool ExecutionEndTimeHasBeenSet() const { return m_executionEndTimeHasBeenSet; }
141 template <typename ExecutionEndTimeT = Aws::Utils::DateTime>
142 void SetExecutionEndTime(ExecutionEndTimeT&& value) {
143 m_executionEndTimeHasBeenSet = true;
144 m_executionEndTime = std::forward<ExecutionEndTimeT>(value);
145 }
146 template <typename ExecutionEndTimeT = Aws::Utils::DateTime>
148 SetExecutionEndTime(std::forward<ExecutionEndTimeT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::String& GetExecutedBy() const { return m_executedBy; }
158 inline bool ExecutedByHasBeenSet() const { return m_executedByHasBeenSet; }
159 template <typename ExecutedByT = Aws::String>
160 void SetExecutedBy(ExecutedByT&& value) {
161 m_executedByHasBeenSet = true;
162 m_executedBy = std::forward<ExecutedByT>(value);
163 }
164 template <typename ExecutedByT = Aws::String>
166 SetExecutedBy(std::forward<ExecutedByT>(value));
167 return *this;
168 }
170
172
175 inline const Aws::String& GetLogFile() const { return m_logFile; }
176 inline bool LogFileHasBeenSet() const { return m_logFileHasBeenSet; }
177 template <typename LogFileT = Aws::String>
178 void SetLogFile(LogFileT&& value) {
179 m_logFileHasBeenSet = true;
180 m_logFile = std::forward<LogFileT>(value);
181 }
182 template <typename LogFileT = Aws::String>
184 SetLogFile(std::forward<LogFileT>(value));
185 return *this;
186 }
188
190
193 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetOutputs() const { return m_outputs; }
194 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
195 template <typename OutputsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
196 void SetOutputs(OutputsT&& value) {
197 m_outputsHasBeenSet = true;
198 m_outputs = std::forward<OutputsT>(value);
199 }
200 template <typename OutputsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
202 SetOutputs(std::forward<OutputsT>(value));
203 return *this;
204 }
205 template <typename OutputsKeyT = Aws::String, typename OutputsValueT = Aws::Vector<Aws::String>>
206 AutomationExecutionMetadata& AddOutputs(OutputsKeyT&& key, OutputsValueT&& value) {
207 m_outputsHasBeenSet = true;
208 m_outputs.emplace(std::forward<OutputsKeyT>(key), std::forward<OutputsValueT>(value));
209 return *this;
210 }
212
214
217 inline ExecutionMode GetMode() const { return m_mode; }
218 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
219 inline void SetMode(ExecutionMode value) {
220 m_modeHasBeenSet = true;
221 m_mode = value;
222 }
224 SetMode(value);
225 return *this;
226 }
228
230
233 inline const Aws::String& GetParentAutomationExecutionId() const { return m_parentAutomationExecutionId; }
234 inline bool ParentAutomationExecutionIdHasBeenSet() const { return m_parentAutomationExecutionIdHasBeenSet; }
235 template <typename ParentAutomationExecutionIdT = Aws::String>
236 void SetParentAutomationExecutionId(ParentAutomationExecutionIdT&& value) {
237 m_parentAutomationExecutionIdHasBeenSet = true;
238 m_parentAutomationExecutionId = std::forward<ParentAutomationExecutionIdT>(value);
239 }
240 template <typename ParentAutomationExecutionIdT = Aws::String>
241 AutomationExecutionMetadata& WithParentAutomationExecutionId(ParentAutomationExecutionIdT&& value) {
242 SetParentAutomationExecutionId(std::forward<ParentAutomationExecutionIdT>(value));
243 return *this;
244 }
246
248
251 inline const Aws::String& GetCurrentStepName() const { return m_currentStepName; }
252 inline bool CurrentStepNameHasBeenSet() const { return m_currentStepNameHasBeenSet; }
253 template <typename CurrentStepNameT = Aws::String>
254 void SetCurrentStepName(CurrentStepNameT&& value) {
255 m_currentStepNameHasBeenSet = true;
256 m_currentStepName = std::forward<CurrentStepNameT>(value);
257 }
258 template <typename CurrentStepNameT = Aws::String>
260 SetCurrentStepName(std::forward<CurrentStepNameT>(value));
261 return *this;
262 }
264
266
269 inline const Aws::String& GetCurrentAction() const { return m_currentAction; }
270 inline bool CurrentActionHasBeenSet() const { return m_currentActionHasBeenSet; }
271 template <typename CurrentActionT = Aws::String>
272 void SetCurrentAction(CurrentActionT&& value) {
273 m_currentActionHasBeenSet = true;
274 m_currentAction = std::forward<CurrentActionT>(value);
275 }
276 template <typename CurrentActionT = Aws::String>
278 SetCurrentAction(std::forward<CurrentActionT>(value));
279 return *this;
280 }
282
284
287 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
288 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
289 template <typename FailureMessageT = Aws::String>
290 void SetFailureMessage(FailureMessageT&& value) {
291 m_failureMessageHasBeenSet = true;
292 m_failureMessage = std::forward<FailureMessageT>(value);
293 }
294 template <typename FailureMessageT = Aws::String>
296 SetFailureMessage(std::forward<FailureMessageT>(value));
297 return *this;
298 }
300
302
305 inline const Aws::String& GetTargetParameterName() const { return m_targetParameterName; }
306 inline bool TargetParameterNameHasBeenSet() const { return m_targetParameterNameHasBeenSet; }
307 template <typename TargetParameterNameT = Aws::String>
308 void SetTargetParameterName(TargetParameterNameT&& value) {
309 m_targetParameterNameHasBeenSet = true;
310 m_targetParameterName = std::forward<TargetParameterNameT>(value);
311 }
312 template <typename TargetParameterNameT = Aws::String>
314 SetTargetParameterName(std::forward<TargetParameterNameT>(value));
315 return *this;
316 }
318
320
323 inline const Aws::Vector<Target>& GetTargets() const { return m_targets; }
324 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
325 template <typename TargetsT = Aws::Vector<Target>>
326 void SetTargets(TargetsT&& value) {
327 m_targetsHasBeenSet = true;
328 m_targets = std::forward<TargetsT>(value);
329 }
330 template <typename TargetsT = Aws::Vector<Target>>
332 SetTargets(std::forward<TargetsT>(value));
333 return *this;
334 }
335 template <typename TargetsT = Target>
337 m_targetsHasBeenSet = true;
338 m_targets.emplace_back(std::forward<TargetsT>(value));
339 return *this;
340 }
342
344
348 inline const Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>& GetTargetMaps() const { return m_targetMaps; }
349 inline bool TargetMapsHasBeenSet() const { return m_targetMapsHasBeenSet; }
350 template <typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
351 void SetTargetMaps(TargetMapsT&& value) {
352 m_targetMapsHasBeenSet = true;
353 m_targetMaps = std::forward<TargetMapsT>(value);
354 }
355 template <typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
357 SetTargetMaps(std::forward<TargetMapsT>(value));
358 return *this;
359 }
360 template <typename TargetMapsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
362 m_targetMapsHasBeenSet = true;
363 m_targetMaps.emplace_back(std::forward<TargetMapsT>(value));
364 return *this;
365 }
367
369
372 inline const ResolvedTargets& GetResolvedTargets() const { return m_resolvedTargets; }
373 inline bool ResolvedTargetsHasBeenSet() const { return m_resolvedTargetsHasBeenSet; }
374 template <typename ResolvedTargetsT = ResolvedTargets>
375 void SetResolvedTargets(ResolvedTargetsT&& value) {
376 m_resolvedTargetsHasBeenSet = true;
377 m_resolvedTargets = std::forward<ResolvedTargetsT>(value);
378 }
379 template <typename ResolvedTargetsT = ResolvedTargets>
381 SetResolvedTargets(std::forward<ResolvedTargetsT>(value));
382 return *this;
383 }
385
387
391 inline const Aws::String& GetMaxConcurrency() const { return m_maxConcurrency; }
392 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
393 template <typename MaxConcurrencyT = Aws::String>
394 void SetMaxConcurrency(MaxConcurrencyT&& value) {
395 m_maxConcurrencyHasBeenSet = true;
396 m_maxConcurrency = std::forward<MaxConcurrencyT>(value);
397 }
398 template <typename MaxConcurrencyT = Aws::String>
400 SetMaxConcurrency(std::forward<MaxConcurrencyT>(value));
401 return *this;
402 }
404
406
410 inline const Aws::String& GetMaxErrors() const { return m_maxErrors; }
411 inline bool MaxErrorsHasBeenSet() const { return m_maxErrorsHasBeenSet; }
412 template <typename MaxErrorsT = Aws::String>
413 void SetMaxErrors(MaxErrorsT&& value) {
414 m_maxErrorsHasBeenSet = true;
415 m_maxErrors = std::forward<MaxErrorsT>(value);
416 }
417 template <typename MaxErrorsT = Aws::String>
419 SetMaxErrors(std::forward<MaxErrorsT>(value));
420 return *this;
421 }
423
425
428 inline const Aws::String& GetTarget() const { return m_target; }
429 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
430 template <typename TargetT = Aws::String>
431 void SetTarget(TargetT&& value) {
432 m_targetHasBeenSet = true;
433 m_target = std::forward<TargetT>(value);
434 }
435 template <typename TargetT = Aws::String>
437 SetTarget(std::forward<TargetT>(value));
438 return *this;
439 }
441
443
452 inline AutomationType GetAutomationType() const { return m_automationType; }
453 inline bool AutomationTypeHasBeenSet() const { return m_automationTypeHasBeenSet; }
455 m_automationTypeHasBeenSet = true;
456 m_automationType = value;
457 }
459 SetAutomationType(value);
460 return *this;
461 }
463
465
468 inline const AlarmConfiguration& GetAlarmConfiguration() const { return m_alarmConfiguration; }
469 inline bool AlarmConfigurationHasBeenSet() const { return m_alarmConfigurationHasBeenSet; }
470 template <typename AlarmConfigurationT = AlarmConfiguration>
471 void SetAlarmConfiguration(AlarmConfigurationT&& value) {
472 m_alarmConfigurationHasBeenSet = true;
473 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
474 }
475 template <typename AlarmConfigurationT = AlarmConfiguration>
477 SetAlarmConfiguration(std::forward<AlarmConfigurationT>(value));
478 return *this;
479 }
481
483
486 inline const Aws::Vector<AlarmStateInformation>& GetTriggeredAlarms() const { return m_triggeredAlarms; }
487 inline bool TriggeredAlarmsHasBeenSet() const { return m_triggeredAlarmsHasBeenSet; }
488 template <typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
489 void SetTriggeredAlarms(TriggeredAlarmsT&& value) {
490 m_triggeredAlarmsHasBeenSet = true;
491 m_triggeredAlarms = std::forward<TriggeredAlarmsT>(value);
492 }
493 template <typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
495 SetTriggeredAlarms(std::forward<TriggeredAlarmsT>(value));
496 return *this;
497 }
498 template <typename TriggeredAlarmsT = AlarmStateInformation>
500 m_triggeredAlarmsHasBeenSet = true;
501 m_triggeredAlarms.emplace_back(std::forward<TriggeredAlarmsT>(value));
502 return *this;
503 }
505
507
512 inline const Aws::String& GetTargetLocationsURL() const { return m_targetLocationsURL; }
513 inline bool TargetLocationsURLHasBeenSet() const { return m_targetLocationsURLHasBeenSet; }
514 template <typename TargetLocationsURLT = Aws::String>
515 void SetTargetLocationsURL(TargetLocationsURLT&& value) {
516 m_targetLocationsURLHasBeenSet = true;
517 m_targetLocationsURL = std::forward<TargetLocationsURLT>(value);
518 }
519 template <typename TargetLocationsURLT = Aws::String>
521 SetTargetLocationsURL(std::forward<TargetLocationsURLT>(value));
522 return *this;
523 }
525
527
531 inline AutomationSubtype GetAutomationSubtype() const { return m_automationSubtype; }
532 inline bool AutomationSubtypeHasBeenSet() const { return m_automationSubtypeHasBeenSet; }
534 m_automationSubtypeHasBeenSet = true;
535 m_automationSubtype = value;
536 }
539 return *this;
540 }
542
544
547 inline const Aws::Utils::DateTime& GetScheduledTime() const { return m_scheduledTime; }
548 inline bool ScheduledTimeHasBeenSet() const { return m_scheduledTimeHasBeenSet; }
549 template <typename ScheduledTimeT = Aws::Utils::DateTime>
550 void SetScheduledTime(ScheduledTimeT&& value) {
551 m_scheduledTimeHasBeenSet = true;
552 m_scheduledTime = std::forward<ScheduledTimeT>(value);
553 }
554 template <typename ScheduledTimeT = Aws::Utils::DateTime>
556 SetScheduledTime(std::forward<ScheduledTimeT>(value));
557 return *this;
558 }
560
562
568 inline const Aws::Vector<Runbook>& GetRunbooks() const { return m_runbooks; }
569 inline bool RunbooksHasBeenSet() const { return m_runbooksHasBeenSet; }
570 template <typename RunbooksT = Aws::Vector<Runbook>>
571 void SetRunbooks(RunbooksT&& value) {
572 m_runbooksHasBeenSet = true;
573 m_runbooks = std::forward<RunbooksT>(value);
574 }
575 template <typename RunbooksT = Aws::Vector<Runbook>>
577 SetRunbooks(std::forward<RunbooksT>(value));
578 return *this;
579 }
580 template <typename RunbooksT = Runbook>
582 m_runbooksHasBeenSet = true;
583 m_runbooks.emplace_back(std::forward<RunbooksT>(value));
584 return *this;
585 }
587
589
593 inline const Aws::String& GetOpsItemId() const { return m_opsItemId; }
594 inline bool OpsItemIdHasBeenSet() const { return m_opsItemIdHasBeenSet; }
595 template <typename OpsItemIdT = Aws::String>
596 void SetOpsItemId(OpsItemIdT&& value) {
597 m_opsItemIdHasBeenSet = true;
598 m_opsItemId = std::forward<OpsItemIdT>(value);
599 }
600 template <typename OpsItemIdT = Aws::String>
602 SetOpsItemId(std::forward<OpsItemIdT>(value));
603 return *this;
604 }
606
608
611 inline const Aws::String& GetAssociationId() const { return m_associationId; }
612 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
613 template <typename AssociationIdT = Aws::String>
614 void SetAssociationId(AssociationIdT&& value) {
615 m_associationIdHasBeenSet = true;
616 m_associationId = std::forward<AssociationIdT>(value);
617 }
618 template <typename AssociationIdT = Aws::String>
620 SetAssociationId(std::forward<AssociationIdT>(value));
621 return *this;
622 }
624
626
629 inline const Aws::String& GetChangeRequestName() const { return m_changeRequestName; }
630 inline bool ChangeRequestNameHasBeenSet() const { return m_changeRequestNameHasBeenSet; }
631 template <typename ChangeRequestNameT = Aws::String>
632 void SetChangeRequestName(ChangeRequestNameT&& value) {
633 m_changeRequestNameHasBeenSet = true;
634 m_changeRequestName = std::forward<ChangeRequestNameT>(value);
635 }
636 template <typename ChangeRequestNameT = Aws::String>
638 SetChangeRequestName(std::forward<ChangeRequestNameT>(value));
639 return *this;
640 }
642 private:
643 Aws::String m_automationExecutionId;
644
645 Aws::String m_documentName;
646
647 Aws::String m_documentVersion;
648
650
651 Aws::Utils::DateTime m_executionStartTime{};
652
653 Aws::Utils::DateTime m_executionEndTime{};
654
655 Aws::String m_executedBy;
656
657 Aws::String m_logFile;
658
660
662
663 Aws::String m_parentAutomationExecutionId;
664
665 Aws::String m_currentStepName;
666
667 Aws::String m_currentAction;
668
669 Aws::String m_failureMessage;
670
671 Aws::String m_targetParameterName;
672
673 Aws::Vector<Target> m_targets;
674
676
677 ResolvedTargets m_resolvedTargets;
678
679 Aws::String m_maxConcurrency;
680
681 Aws::String m_maxErrors;
682
683 Aws::String m_target;
684
685 AutomationType m_automationType{AutomationType::NOT_SET};
686
687 AlarmConfiguration m_alarmConfiguration;
688
689 Aws::Vector<AlarmStateInformation> m_triggeredAlarms;
690
691 Aws::String m_targetLocationsURL;
692
694
695 Aws::Utils::DateTime m_scheduledTime{};
696
697 Aws::Vector<Runbook> m_runbooks;
698
699 Aws::String m_opsItemId;
700
701 Aws::String m_associationId;
702
703 Aws::String m_changeRequestName;
704 bool m_automationExecutionIdHasBeenSet = false;
705 bool m_documentNameHasBeenSet = false;
706 bool m_documentVersionHasBeenSet = false;
707 bool m_automationExecutionStatusHasBeenSet = false;
708 bool m_executionStartTimeHasBeenSet = false;
709 bool m_executionEndTimeHasBeenSet = false;
710 bool m_executedByHasBeenSet = false;
711 bool m_logFileHasBeenSet = false;
712 bool m_outputsHasBeenSet = false;
713 bool m_modeHasBeenSet = false;
714 bool m_parentAutomationExecutionIdHasBeenSet = false;
715 bool m_currentStepNameHasBeenSet = false;
716 bool m_currentActionHasBeenSet = false;
717 bool m_failureMessageHasBeenSet = false;
718 bool m_targetParameterNameHasBeenSet = false;
719 bool m_targetsHasBeenSet = false;
720 bool m_targetMapsHasBeenSet = false;
721 bool m_resolvedTargetsHasBeenSet = false;
722 bool m_maxConcurrencyHasBeenSet = false;
723 bool m_maxErrorsHasBeenSet = false;
724 bool m_targetHasBeenSet = false;
725 bool m_automationTypeHasBeenSet = false;
726 bool m_alarmConfigurationHasBeenSet = false;
727 bool m_triggeredAlarmsHasBeenSet = false;
728 bool m_targetLocationsURLHasBeenSet = false;
729 bool m_automationSubtypeHasBeenSet = false;
730 bool m_scheduledTimeHasBeenSet = false;
731 bool m_runbooksHasBeenSet = false;
732 bool m_opsItemIdHasBeenSet = false;
733 bool m_associationIdHasBeenSet = false;
734 bool m_changeRequestNameHasBeenSet = false;
735};
736
737} // namespace Model
738} // namespace SSM
739} // namespace Aws
const Aws::Vector< AlarmStateInformation > & GetTriggeredAlarms() const
AutomationExecutionMetadata & WithExecutionEndTime(ExecutionEndTimeT &&value)
AutomationExecutionMetadata & WithResolvedTargets(ResolvedTargetsT &&value)
AutomationExecutionMetadata & WithAutomationSubtype(AutomationSubtype value)
AutomationExecutionMetadata & WithRunbooks(RunbooksT &&value)
const AlarmConfiguration & GetAlarmConfiguration() const
AutomationExecutionMetadata & WithAutomationType(AutomationType value)
AutomationExecutionMetadata & WithMaxErrors(MaxErrorsT &&value)
AutomationExecutionMetadata & WithTarget(TargetT &&value)
AutomationExecutionMetadata & AddTargetMaps(TargetMapsT &&value)
AutomationExecutionMetadata & WithChangeRequestName(ChangeRequestNameT &&value)
AutomationExecutionMetadata & AddOutputs(OutputsKeyT &&key, OutputsValueT &&value)
AutomationExecutionMetadata & WithDocumentVersion(DocumentVersionT &&value)
AutomationExecutionMetadata & WithScheduledTime(ScheduledTimeT &&value)
void SetTargetParameterName(TargetParameterNameT &&value)
AutomationExecutionMetadata & WithMaxConcurrency(MaxConcurrencyT &&value)
AutomationExecutionMetadata & WithTriggeredAlarms(TriggeredAlarmsT &&value)
AutomationExecutionMetadata & AddTriggeredAlarms(TriggeredAlarmsT &&value)
AutomationExecutionMetadata & WithAssociationId(AssociationIdT &&value)
AutomationExecutionMetadata & WithTargetParameterName(TargetParameterNameT &&value)
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
AutomationExecutionMetadata & WithTargetLocationsURL(TargetLocationsURLT &&value)
AutomationExecutionMetadata & WithDocumentName(DocumentNameT &&value)
AutomationExecutionMetadata & WithParentAutomationExecutionId(ParentAutomationExecutionIdT &&value)
AutomationExecutionMetadata & WithExecutedBy(ExecutedByT &&value)
AWS_SSM_API AutomationExecutionMetadata()=default
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetOutputs() const
AutomationExecutionMetadata & WithMode(ExecutionMode value)
const Aws::Vector< Runbook > & GetRunbooks() const
AutomationExecutionMetadata & AddTargets(TargetsT &&value)
AutomationExecutionMetadata & WithFailureMessage(FailureMessageT &&value)
AutomationExecutionMetadata & WithLogFile(LogFileT &&value)
AWS_SSM_API AutomationExecutionMetadata(Aws::Utils::Json::JsonView jsonValue)
AutomationExecutionMetadata & WithAlarmConfiguration(AlarmConfigurationT &&value)
AutomationExecutionMetadata & WithExecutionStartTime(ExecutionStartTimeT &&value)
AutomationExecutionMetadata & WithOpsItemId(OpsItemIdT &&value)
const Aws::Utils::DateTime & GetExecutionEndTime() const
AutomationExecutionStatus GetAutomationExecutionStatus() const
AutomationExecutionMetadata & WithTargets(TargetsT &&value)
AWS_SSM_API AutomationExecutionMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomationExecutionMetadata & WithCurrentAction(CurrentActionT &&value)
AutomationExecutionMetadata & WithOutputs(OutputsT &&value)
AutomationExecutionMetadata & WithCurrentStepName(CurrentStepNameT &&value)
void SetAutomationExecutionId(AutomationExecutionIdT &&value)
AutomationExecutionMetadata & AddRunbooks(RunbooksT &&value)
void SetParentAutomationExecutionId(ParentAutomationExecutionIdT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetScheduledTime() const
AutomationExecutionMetadata & WithTargetMaps(TargetMapsT &&value)
AutomationExecutionMetadata & WithAutomationExecutionStatus(AutomationExecutionStatus value)
void SetAutomationExecutionStatus(AutomationExecutionStatus value)
AutomationExecutionMetadata & WithAutomationExecutionId(AutomationExecutionIdT &&value)
const Aws::Utils::DateTime & GetExecutionStartTime() const
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