AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AutomationExecutionMetadata.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/AutomationExecutionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/ssm/model/ExecutionMode.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ssm/model/ResolvedTargets.h>
15#include <aws/ssm/model/AutomationType.h>
16#include <aws/ssm/model/AlarmConfiguration.h>
17#include <aws/ssm/model/AutomationSubtype.h>
18#include <aws/ssm/model/Target.h>
19#include <aws/ssm/model/AlarmStateInformation.h>
20#include <aws/ssm/model/Runbook.h>
21#include <utility>
22
23namespace Aws
24{
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30 class JsonView;
31} // namespace Json
32} // namespace Utils
33namespace SSM
34{
35namespace Model
36{
37
44 {
45 public:
46 AWS_SSM_API AutomationExecutionMetadata() = default;
50
51
53
56 inline const Aws::String& GetAutomationExecutionId() const { return m_automationExecutionId; }
57 inline bool AutomationExecutionIdHasBeenSet() const { return m_automationExecutionIdHasBeenSet; }
58 template<typename AutomationExecutionIdT = Aws::String>
59 void SetAutomationExecutionId(AutomationExecutionIdT&& value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId = std::forward<AutomationExecutionIdT>(value); }
60 template<typename AutomationExecutionIdT = Aws::String>
61 AutomationExecutionMetadata& WithAutomationExecutionId(AutomationExecutionIdT&& value) { SetAutomationExecutionId(std::forward<AutomationExecutionIdT>(value)); return *this;}
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) { m_documentNameHasBeenSet = true; m_documentName = std::forward<DocumentNameT>(value); }
72 template<typename DocumentNameT = Aws::String>
73 AutomationExecutionMetadata& WithDocumentName(DocumentNameT&& value) { SetDocumentName(std::forward<DocumentNameT>(value)); return *this;}
75
77
80 inline const Aws::String& GetDocumentVersion() const { return m_documentVersion; }
81 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
82 template<typename DocumentVersionT = Aws::String>
83 void SetDocumentVersion(DocumentVersionT&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::forward<DocumentVersionT>(value); }
84 template<typename DocumentVersionT = Aws::String>
85 AutomationExecutionMetadata& WithDocumentVersion(DocumentVersionT&& value) { SetDocumentVersion(std::forward<DocumentVersionT>(value)); return *this;}
87
89
92 inline AutomationExecutionStatus GetAutomationExecutionStatus() const { return m_automationExecutionStatus; }
93 inline bool AutomationExecutionStatusHasBeenSet() const { return m_automationExecutionStatusHasBeenSet; }
94 inline void SetAutomationExecutionStatus(AutomationExecutionStatus value) { m_automationExecutionStatusHasBeenSet = true; m_automationExecutionStatus = value; }
97
99
102 inline const Aws::Utils::DateTime& GetExecutionStartTime() const { return m_executionStartTime; }
103 inline bool ExecutionStartTimeHasBeenSet() const { return m_executionStartTimeHasBeenSet; }
104 template<typename ExecutionStartTimeT = Aws::Utils::DateTime>
105 void SetExecutionStartTime(ExecutionStartTimeT&& value) { m_executionStartTimeHasBeenSet = true; m_executionStartTime = std::forward<ExecutionStartTimeT>(value); }
106 template<typename ExecutionStartTimeT = Aws::Utils::DateTime>
107 AutomationExecutionMetadata& WithExecutionStartTime(ExecutionStartTimeT&& value) { SetExecutionStartTime(std::forward<ExecutionStartTimeT>(value)); return *this;}
109
111
115 inline const Aws::Utils::DateTime& GetExecutionEndTime() const { return m_executionEndTime; }
116 inline bool ExecutionEndTimeHasBeenSet() const { return m_executionEndTimeHasBeenSet; }
117 template<typename ExecutionEndTimeT = Aws::Utils::DateTime>
118 void SetExecutionEndTime(ExecutionEndTimeT&& value) { m_executionEndTimeHasBeenSet = true; m_executionEndTime = std::forward<ExecutionEndTimeT>(value); }
119 template<typename ExecutionEndTimeT = Aws::Utils::DateTime>
120 AutomationExecutionMetadata& WithExecutionEndTime(ExecutionEndTimeT&& value) { SetExecutionEndTime(std::forward<ExecutionEndTimeT>(value)); return *this;}
122
124
127 inline const Aws::String& GetExecutedBy() const { return m_executedBy; }
128 inline bool ExecutedByHasBeenSet() const { return m_executedByHasBeenSet; }
129 template<typename ExecutedByT = Aws::String>
130 void SetExecutedBy(ExecutedByT&& value) { m_executedByHasBeenSet = true; m_executedBy = std::forward<ExecutedByT>(value); }
131 template<typename ExecutedByT = Aws::String>
132 AutomationExecutionMetadata& WithExecutedBy(ExecutedByT&& value) { SetExecutedBy(std::forward<ExecutedByT>(value)); return *this;}
134
136
139 inline const Aws::String& GetLogFile() const { return m_logFile; }
140 inline bool LogFileHasBeenSet() const { return m_logFileHasBeenSet; }
141 template<typename LogFileT = Aws::String>
142 void SetLogFile(LogFileT&& value) { m_logFileHasBeenSet = true; m_logFile = std::forward<LogFileT>(value); }
143 template<typename LogFileT = Aws::String>
144 AutomationExecutionMetadata& WithLogFile(LogFileT&& value) { SetLogFile(std::forward<LogFileT>(value)); return *this;}
146
148
151 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetOutputs() const { return m_outputs; }
152 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
153 template<typename OutputsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
154 void SetOutputs(OutputsT&& value) { m_outputsHasBeenSet = true; m_outputs = std::forward<OutputsT>(value); }
155 template<typename OutputsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
156 AutomationExecutionMetadata& WithOutputs(OutputsT&& value) { SetOutputs(std::forward<OutputsT>(value)); return *this;}
157 template<typename OutputsKeyT = Aws::String, typename OutputsValueT = Aws::Vector<Aws::String>>
158 AutomationExecutionMetadata& AddOutputs(OutputsKeyT&& key, OutputsValueT&& value) {
159 m_outputsHasBeenSet = true; m_outputs.emplace(std::forward<OutputsKeyT>(key), std::forward<OutputsValueT>(value)); return *this;
160 }
162
164
167 inline ExecutionMode GetMode() const { return m_mode; }
168 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
169 inline void SetMode(ExecutionMode value) { m_modeHasBeenSet = true; m_mode = value; }
170 inline AutomationExecutionMetadata& WithMode(ExecutionMode value) { SetMode(value); return *this;}
172
174
177 inline const Aws::String& GetParentAutomationExecutionId() const { return m_parentAutomationExecutionId; }
178 inline bool ParentAutomationExecutionIdHasBeenSet() const { return m_parentAutomationExecutionIdHasBeenSet; }
179 template<typename ParentAutomationExecutionIdT = Aws::String>
180 void SetParentAutomationExecutionId(ParentAutomationExecutionIdT&& value) { m_parentAutomationExecutionIdHasBeenSet = true; m_parentAutomationExecutionId = std::forward<ParentAutomationExecutionIdT>(value); }
181 template<typename ParentAutomationExecutionIdT = Aws::String>
182 AutomationExecutionMetadata& WithParentAutomationExecutionId(ParentAutomationExecutionIdT&& value) { SetParentAutomationExecutionId(std::forward<ParentAutomationExecutionIdT>(value)); return *this;}
184
186
189 inline const Aws::String& GetCurrentStepName() const { return m_currentStepName; }
190 inline bool CurrentStepNameHasBeenSet() const { return m_currentStepNameHasBeenSet; }
191 template<typename CurrentStepNameT = Aws::String>
192 void SetCurrentStepName(CurrentStepNameT&& value) { m_currentStepNameHasBeenSet = true; m_currentStepName = std::forward<CurrentStepNameT>(value); }
193 template<typename CurrentStepNameT = Aws::String>
194 AutomationExecutionMetadata& WithCurrentStepName(CurrentStepNameT&& value) { SetCurrentStepName(std::forward<CurrentStepNameT>(value)); return *this;}
196
198
201 inline const Aws::String& GetCurrentAction() const { return m_currentAction; }
202 inline bool CurrentActionHasBeenSet() const { return m_currentActionHasBeenSet; }
203 template<typename CurrentActionT = Aws::String>
204 void SetCurrentAction(CurrentActionT&& value) { m_currentActionHasBeenSet = true; m_currentAction = std::forward<CurrentActionT>(value); }
205 template<typename CurrentActionT = Aws::String>
206 AutomationExecutionMetadata& WithCurrentAction(CurrentActionT&& value) { SetCurrentAction(std::forward<CurrentActionT>(value)); return *this;}
208
210
213 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
214 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
215 template<typename FailureMessageT = Aws::String>
216 void SetFailureMessage(FailureMessageT&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::forward<FailureMessageT>(value); }
217 template<typename FailureMessageT = Aws::String>
218 AutomationExecutionMetadata& WithFailureMessage(FailureMessageT&& value) { SetFailureMessage(std::forward<FailureMessageT>(value)); return *this;}
220
222
225 inline const Aws::String& GetTargetParameterName() const { return m_targetParameterName; }
226 inline bool TargetParameterNameHasBeenSet() const { return m_targetParameterNameHasBeenSet; }
227 template<typename TargetParameterNameT = Aws::String>
228 void SetTargetParameterName(TargetParameterNameT&& value) { m_targetParameterNameHasBeenSet = true; m_targetParameterName = std::forward<TargetParameterNameT>(value); }
229 template<typename TargetParameterNameT = Aws::String>
230 AutomationExecutionMetadata& WithTargetParameterName(TargetParameterNameT&& value) { SetTargetParameterName(std::forward<TargetParameterNameT>(value)); return *this;}
232
234
237 inline const Aws::Vector<Target>& GetTargets() const { return m_targets; }
238 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
239 template<typename TargetsT = Aws::Vector<Target>>
240 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet = true; m_targets = std::forward<TargetsT>(value); }
241 template<typename TargetsT = Aws::Vector<Target>>
242 AutomationExecutionMetadata& WithTargets(TargetsT&& value) { SetTargets(std::forward<TargetsT>(value)); return *this;}
243 template<typename TargetsT = Target>
244 AutomationExecutionMetadata& AddTargets(TargetsT&& value) { m_targetsHasBeenSet = true; m_targets.emplace_back(std::forward<TargetsT>(value)); return *this; }
246
248
252 inline const Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>& GetTargetMaps() const { return m_targetMaps; }
253 inline bool TargetMapsHasBeenSet() const { return m_targetMapsHasBeenSet; }
254 template<typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
255 void SetTargetMaps(TargetMapsT&& value) { m_targetMapsHasBeenSet = true; m_targetMaps = std::forward<TargetMapsT>(value); }
256 template<typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
257 AutomationExecutionMetadata& WithTargetMaps(TargetMapsT&& value) { SetTargetMaps(std::forward<TargetMapsT>(value)); return *this;}
258 template<typename TargetMapsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
259 AutomationExecutionMetadata& AddTargetMaps(TargetMapsT&& value) { m_targetMapsHasBeenSet = true; m_targetMaps.emplace_back(std::forward<TargetMapsT>(value)); return *this; }
261
263
266 inline const ResolvedTargets& GetResolvedTargets() const { return m_resolvedTargets; }
267 inline bool ResolvedTargetsHasBeenSet() const { return m_resolvedTargetsHasBeenSet; }
268 template<typename ResolvedTargetsT = ResolvedTargets>
269 void SetResolvedTargets(ResolvedTargetsT&& value) { m_resolvedTargetsHasBeenSet = true; m_resolvedTargets = std::forward<ResolvedTargetsT>(value); }
270 template<typename ResolvedTargetsT = ResolvedTargets>
271 AutomationExecutionMetadata& WithResolvedTargets(ResolvedTargetsT&& value) { SetResolvedTargets(std::forward<ResolvedTargetsT>(value)); return *this;}
273
275
279 inline const Aws::String& GetMaxConcurrency() const { return m_maxConcurrency; }
280 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
281 template<typename MaxConcurrencyT = Aws::String>
282 void SetMaxConcurrency(MaxConcurrencyT&& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = std::forward<MaxConcurrencyT>(value); }
283 template<typename MaxConcurrencyT = Aws::String>
284 AutomationExecutionMetadata& WithMaxConcurrency(MaxConcurrencyT&& value) { SetMaxConcurrency(std::forward<MaxConcurrencyT>(value)); return *this;}
286
288
292 inline const Aws::String& GetMaxErrors() const { return m_maxErrors; }
293 inline bool MaxErrorsHasBeenSet() const { return m_maxErrorsHasBeenSet; }
294 template<typename MaxErrorsT = Aws::String>
295 void SetMaxErrors(MaxErrorsT&& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = std::forward<MaxErrorsT>(value); }
296 template<typename MaxErrorsT = Aws::String>
297 AutomationExecutionMetadata& WithMaxErrors(MaxErrorsT&& value) { SetMaxErrors(std::forward<MaxErrorsT>(value)); return *this;}
299
301
304 inline const Aws::String& GetTarget() const { return m_target; }
305 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
306 template<typename TargetT = Aws::String>
307 void SetTarget(TargetT&& value) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
308 template<typename TargetT = Aws::String>
309 AutomationExecutionMetadata& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
311
313
322 inline AutomationType GetAutomationType() const { return m_automationType; }
323 inline bool AutomationTypeHasBeenSet() const { return m_automationTypeHasBeenSet; }
324 inline void SetAutomationType(AutomationType value) { m_automationTypeHasBeenSet = true; m_automationType = value; }
327
329
332 inline const AlarmConfiguration& GetAlarmConfiguration() const { return m_alarmConfiguration; }
333 inline bool AlarmConfigurationHasBeenSet() const { return m_alarmConfigurationHasBeenSet; }
334 template<typename AlarmConfigurationT = AlarmConfiguration>
335 void SetAlarmConfiguration(AlarmConfigurationT&& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = std::forward<AlarmConfigurationT>(value); }
336 template<typename AlarmConfigurationT = AlarmConfiguration>
337 AutomationExecutionMetadata& WithAlarmConfiguration(AlarmConfigurationT&& value) { SetAlarmConfiguration(std::forward<AlarmConfigurationT>(value)); return *this;}
339
341
344 inline const Aws::Vector<AlarmStateInformation>& GetTriggeredAlarms() const { return m_triggeredAlarms; }
345 inline bool TriggeredAlarmsHasBeenSet() const { return m_triggeredAlarmsHasBeenSet; }
346 template<typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
347 void SetTriggeredAlarms(TriggeredAlarmsT&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms = std::forward<TriggeredAlarmsT>(value); }
348 template<typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
349 AutomationExecutionMetadata& WithTriggeredAlarms(TriggeredAlarmsT&& value) { SetTriggeredAlarms(std::forward<TriggeredAlarmsT>(value)); return *this;}
350 template<typename TriggeredAlarmsT = AlarmStateInformation>
351 AutomationExecutionMetadata& AddTriggeredAlarms(TriggeredAlarmsT&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms.emplace_back(std::forward<TriggeredAlarmsT>(value)); return *this; }
353
355
360 inline const Aws::String& GetTargetLocationsURL() const { return m_targetLocationsURL; }
361 inline bool TargetLocationsURLHasBeenSet() const { return m_targetLocationsURLHasBeenSet; }
362 template<typename TargetLocationsURLT = Aws::String>
363 void SetTargetLocationsURL(TargetLocationsURLT&& value) { m_targetLocationsURLHasBeenSet = true; m_targetLocationsURL = std::forward<TargetLocationsURLT>(value); }
364 template<typename TargetLocationsURLT = Aws::String>
365 AutomationExecutionMetadata& WithTargetLocationsURL(TargetLocationsURLT&& value) { SetTargetLocationsURL(std::forward<TargetLocationsURLT>(value)); return *this;}
367
369
373 inline AutomationSubtype GetAutomationSubtype() const { return m_automationSubtype; }
374 inline bool AutomationSubtypeHasBeenSet() const { return m_automationSubtypeHasBeenSet; }
375 inline void SetAutomationSubtype(AutomationSubtype value) { m_automationSubtypeHasBeenSet = true; m_automationSubtype = value; }
378
380
383 inline const Aws::Utils::DateTime& GetScheduledTime() const { return m_scheduledTime; }
384 inline bool ScheduledTimeHasBeenSet() const { return m_scheduledTimeHasBeenSet; }
385 template<typename ScheduledTimeT = Aws::Utils::DateTime>
386 void SetScheduledTime(ScheduledTimeT&& value) { m_scheduledTimeHasBeenSet = true; m_scheduledTime = std::forward<ScheduledTimeT>(value); }
387 template<typename ScheduledTimeT = Aws::Utils::DateTime>
388 AutomationExecutionMetadata& WithScheduledTime(ScheduledTimeT&& value) { SetScheduledTime(std::forward<ScheduledTimeT>(value)); return *this;}
390
392
398 inline const Aws::Vector<Runbook>& GetRunbooks() const { return m_runbooks; }
399 inline bool RunbooksHasBeenSet() const { return m_runbooksHasBeenSet; }
400 template<typename RunbooksT = Aws::Vector<Runbook>>
401 void SetRunbooks(RunbooksT&& value) { m_runbooksHasBeenSet = true; m_runbooks = std::forward<RunbooksT>(value); }
402 template<typename RunbooksT = Aws::Vector<Runbook>>
403 AutomationExecutionMetadata& WithRunbooks(RunbooksT&& value) { SetRunbooks(std::forward<RunbooksT>(value)); return *this;}
404 template<typename RunbooksT = Runbook>
405 AutomationExecutionMetadata& AddRunbooks(RunbooksT&& value) { m_runbooksHasBeenSet = true; m_runbooks.emplace_back(std::forward<RunbooksT>(value)); return *this; }
407
409
413 inline const Aws::String& GetOpsItemId() const { return m_opsItemId; }
414 inline bool OpsItemIdHasBeenSet() const { return m_opsItemIdHasBeenSet; }
415 template<typename OpsItemIdT = Aws::String>
416 void SetOpsItemId(OpsItemIdT&& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = std::forward<OpsItemIdT>(value); }
417 template<typename OpsItemIdT = Aws::String>
418 AutomationExecutionMetadata& WithOpsItemId(OpsItemIdT&& value) { SetOpsItemId(std::forward<OpsItemIdT>(value)); return *this;}
420
422
425 inline const Aws::String& GetAssociationId() const { return m_associationId; }
426 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
427 template<typename AssociationIdT = Aws::String>
428 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet = true; m_associationId = std::forward<AssociationIdT>(value); }
429 template<typename AssociationIdT = Aws::String>
430 AutomationExecutionMetadata& WithAssociationId(AssociationIdT&& value) { SetAssociationId(std::forward<AssociationIdT>(value)); return *this;}
432
434
437 inline const Aws::String& GetChangeRequestName() const { return m_changeRequestName; }
438 inline bool ChangeRequestNameHasBeenSet() const { return m_changeRequestNameHasBeenSet; }
439 template<typename ChangeRequestNameT = Aws::String>
440 void SetChangeRequestName(ChangeRequestNameT&& value) { m_changeRequestNameHasBeenSet = true; m_changeRequestName = std::forward<ChangeRequestNameT>(value); }
441 template<typename ChangeRequestNameT = Aws::String>
442 AutomationExecutionMetadata& WithChangeRequestName(ChangeRequestNameT&& value) { SetChangeRequestName(std::forward<ChangeRequestNameT>(value)); return *this;}
444 private:
445
446 Aws::String m_automationExecutionId;
447 bool m_automationExecutionIdHasBeenSet = false;
448
449 Aws::String m_documentName;
450 bool m_documentNameHasBeenSet = false;
451
452 Aws::String m_documentVersion;
453 bool m_documentVersionHasBeenSet = false;
454
456 bool m_automationExecutionStatusHasBeenSet = false;
457
458 Aws::Utils::DateTime m_executionStartTime{};
459 bool m_executionStartTimeHasBeenSet = false;
460
461 Aws::Utils::DateTime m_executionEndTime{};
462 bool m_executionEndTimeHasBeenSet = false;
463
464 Aws::String m_executedBy;
465 bool m_executedByHasBeenSet = false;
466
467 Aws::String m_logFile;
468 bool m_logFileHasBeenSet = false;
469
471 bool m_outputsHasBeenSet = false;
472
474 bool m_modeHasBeenSet = false;
475
476 Aws::String m_parentAutomationExecutionId;
477 bool m_parentAutomationExecutionIdHasBeenSet = false;
478
479 Aws::String m_currentStepName;
480 bool m_currentStepNameHasBeenSet = false;
481
482 Aws::String m_currentAction;
483 bool m_currentActionHasBeenSet = false;
484
485 Aws::String m_failureMessage;
486 bool m_failureMessageHasBeenSet = false;
487
488 Aws::String m_targetParameterName;
489 bool m_targetParameterNameHasBeenSet = false;
490
491 Aws::Vector<Target> m_targets;
492 bool m_targetsHasBeenSet = false;
493
495 bool m_targetMapsHasBeenSet = false;
496
497 ResolvedTargets m_resolvedTargets;
498 bool m_resolvedTargetsHasBeenSet = false;
499
500 Aws::String m_maxConcurrency;
501 bool m_maxConcurrencyHasBeenSet = false;
502
503 Aws::String m_maxErrors;
504 bool m_maxErrorsHasBeenSet = false;
505
506 Aws::String m_target;
507 bool m_targetHasBeenSet = false;
508
509 AutomationType m_automationType{AutomationType::NOT_SET};
510 bool m_automationTypeHasBeenSet = false;
511
512 AlarmConfiguration m_alarmConfiguration;
513 bool m_alarmConfigurationHasBeenSet = false;
514
515 Aws::Vector<AlarmStateInformation> m_triggeredAlarms;
516 bool m_triggeredAlarmsHasBeenSet = false;
517
518 Aws::String m_targetLocationsURL;
519 bool m_targetLocationsURLHasBeenSet = false;
520
522 bool m_automationSubtypeHasBeenSet = false;
523
524 Aws::Utils::DateTime m_scheduledTime{};
525 bool m_scheduledTimeHasBeenSet = false;
526
527 Aws::Vector<Runbook> m_runbooks;
528 bool m_runbooksHasBeenSet = false;
529
530 Aws::String m_opsItemId;
531 bool m_opsItemIdHasBeenSet = false;
532
533 Aws::String m_associationId;
534 bool m_associationIdHasBeenSet = false;
535
536 Aws::String m_changeRequestName;
537 bool m_changeRequestNameHasBeenSet = false;
538 };
539
540} // namespace Model
541} // namespace SSM
542} // 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