AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutomationExecution.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ssm/model/AutomationExecutionStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/ssm/model/ExecutionMode.h>
14#include <aws/ssm/model/ResolvedTargets.h>
15#include <aws/ssm/model/ProgressCounters.h>
16#include <aws/ssm/model/AlarmConfiguration.h>
17#include <aws/ssm/model/AutomationSubtype.h>
18#include <aws/ssm/model/StepExecution.h>
19#include <aws/ssm/model/Target.h>
20#include <aws/ssm/model/TargetLocation.h>
21#include <aws/ssm/model/AlarmStateInformation.h>
22#include <aws/ssm/model/Runbook.h>
23#include <utility>
24
25namespace Aws
26{
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32 class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace SSM
36{
37namespace Model
38{
39
47 {
48 public:
49 AWS_SSM_API AutomationExecution();
53
54
56
59 inline const Aws::String& GetAutomationExecutionId() const{ return m_automationExecutionId; }
60 inline bool AutomationExecutionIdHasBeenSet() const { return m_automationExecutionIdHasBeenSet; }
61 inline void SetAutomationExecutionId(const Aws::String& value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId = value; }
62 inline void SetAutomationExecutionId(Aws::String&& value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId = std::move(value); }
63 inline void SetAutomationExecutionId(const char* value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId.assign(value); }
65 inline AutomationExecution& WithAutomationExecutionId(Aws::String&& value) { SetAutomationExecutionId(std::move(value)); return *this;}
66 inline AutomationExecution& WithAutomationExecutionId(const char* value) { SetAutomationExecutionId(value); return *this;}
68
70
73 inline const Aws::String& GetDocumentName() const{ return m_documentName; }
74 inline bool DocumentNameHasBeenSet() const { return m_documentNameHasBeenSet; }
75 inline void SetDocumentName(const Aws::String& value) { m_documentNameHasBeenSet = true; m_documentName = value; }
76 inline void SetDocumentName(Aws::String&& value) { m_documentNameHasBeenSet = true; m_documentName = std::move(value); }
77 inline void SetDocumentName(const char* value) { m_documentNameHasBeenSet = true; m_documentName.assign(value); }
78 inline AutomationExecution& WithDocumentName(const Aws::String& value) { SetDocumentName(value); return *this;}
79 inline AutomationExecution& WithDocumentName(Aws::String&& value) { SetDocumentName(std::move(value)); return *this;}
80 inline AutomationExecution& WithDocumentName(const char* value) { SetDocumentName(value); return *this;}
82
84
87 inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; }
88 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
89 inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; }
90 inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); }
91 inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); }
92 inline AutomationExecution& WithDocumentVersion(const Aws::String& value) { SetDocumentVersion(value); return *this;}
93 inline AutomationExecution& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;}
94 inline AutomationExecution& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetExecutionStartTime() const{ return m_executionStartTime; }
102 inline bool ExecutionStartTimeHasBeenSet() const { return m_executionStartTimeHasBeenSet; }
103 inline void SetExecutionStartTime(const Aws::Utils::DateTime& value) { m_executionStartTimeHasBeenSet = true; m_executionStartTime = value; }
104 inline void SetExecutionStartTime(Aws::Utils::DateTime&& value) { m_executionStartTimeHasBeenSet = true; m_executionStartTime = std::move(value); }
108
110
113 inline const Aws::Utils::DateTime& GetExecutionEndTime() const{ return m_executionEndTime; }
114 inline bool ExecutionEndTimeHasBeenSet() const { return m_executionEndTimeHasBeenSet; }
115 inline void SetExecutionEndTime(const Aws::Utils::DateTime& value) { m_executionEndTimeHasBeenSet = true; m_executionEndTime = value; }
116 inline void SetExecutionEndTime(Aws::Utils::DateTime&& value) { m_executionEndTimeHasBeenSet = true; m_executionEndTime = std::move(value); }
118 inline AutomationExecution& WithExecutionEndTime(Aws::Utils::DateTime&& value) { SetExecutionEndTime(std::move(value)); return *this;}
120
122
125 inline const AutomationExecutionStatus& GetAutomationExecutionStatus() const{ return m_automationExecutionStatus; }
126 inline bool AutomationExecutionStatusHasBeenSet() const { return m_automationExecutionStatusHasBeenSet; }
127 inline void SetAutomationExecutionStatus(const AutomationExecutionStatus& value) { m_automationExecutionStatusHasBeenSet = true; m_automationExecutionStatus = value; }
128 inline void SetAutomationExecutionStatus(AutomationExecutionStatus&& value) { m_automationExecutionStatusHasBeenSet = true; m_automationExecutionStatus = std::move(value); }
132
134
139 inline const Aws::Vector<StepExecution>& GetStepExecutions() const{ return m_stepExecutions; }
140 inline bool StepExecutionsHasBeenSet() const { return m_stepExecutionsHasBeenSet; }
141 inline void SetStepExecutions(const Aws::Vector<StepExecution>& value) { m_stepExecutionsHasBeenSet = true; m_stepExecutions = value; }
142 inline void SetStepExecutions(Aws::Vector<StepExecution>&& value) { m_stepExecutionsHasBeenSet = true; m_stepExecutions = std::move(value); }
144 inline AutomationExecution& WithStepExecutions(Aws::Vector<StepExecution>&& value) { SetStepExecutions(std::move(value)); return *this;}
145 inline AutomationExecution& AddStepExecutions(const StepExecution& value) { m_stepExecutionsHasBeenSet = true; m_stepExecutions.push_back(value); return *this; }
146 inline AutomationExecution& AddStepExecutions(StepExecution&& value) { m_stepExecutionsHasBeenSet = true; m_stepExecutions.push_back(std::move(value)); return *this; }
148
150
155 inline bool GetStepExecutionsTruncated() const{ return m_stepExecutionsTruncated; }
156 inline bool StepExecutionsTruncatedHasBeenSet() const { return m_stepExecutionsTruncatedHasBeenSet; }
157 inline void SetStepExecutionsTruncated(bool value) { m_stepExecutionsTruncatedHasBeenSet = true; m_stepExecutionsTruncated = value; }
160
162
166 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetParameters() const{ return m_parameters; }
167 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
168 inline void SetParameters(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
169 inline void SetParameters(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
172 inline AutomationExecution& AddParameters(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
173 inline AutomationExecution& AddParameters(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
174 inline AutomationExecution& AddParameters(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
175 inline AutomationExecution& AddParameters(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
176 inline AutomationExecution& AddParameters(const char* key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
177 inline AutomationExecution& AddParameters(const char* key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
179
181
184 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetOutputs() const{ return m_outputs; }
185 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
186 inline void SetOutputs(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
187 inline void SetOutputs(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
189 inline AutomationExecution& WithOutputs(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { SetOutputs(std::move(value)); return *this;}
190 inline AutomationExecution& AddOutputs(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, value); return *this; }
191 inline AutomationExecution& AddOutputs(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_outputsHasBeenSet = true; m_outputs.emplace(std::move(key), value); return *this; }
192 inline AutomationExecution& AddOutputs(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, std::move(value)); return *this; }
193 inline AutomationExecution& AddOutputs(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_outputsHasBeenSet = true; m_outputs.emplace(std::move(key), std::move(value)); return *this; }
194 inline AutomationExecution& AddOutputs(const char* key, Aws::Vector<Aws::String>&& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, std::move(value)); return *this; }
195 inline AutomationExecution& AddOutputs(const char* key, const Aws::Vector<Aws::String>& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, value); return *this; }
197
199
203 inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
204 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
205 inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; }
206 inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); }
207 inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); }
208 inline AutomationExecution& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;}
209 inline AutomationExecution& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
210 inline AutomationExecution& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
212
214
217 inline const ExecutionMode& GetMode() const{ return m_mode; }
218 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
219 inline void SetMode(const ExecutionMode& value) { m_modeHasBeenSet = true; m_mode = value; }
220 inline void SetMode(ExecutionMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
221 inline AutomationExecution& WithMode(const ExecutionMode& value) { SetMode(value); return *this;}
222 inline AutomationExecution& WithMode(ExecutionMode&& value) { SetMode(std::move(value)); return *this;}
224
226
229 inline const Aws::String& GetParentAutomationExecutionId() const{ return m_parentAutomationExecutionId; }
230 inline bool ParentAutomationExecutionIdHasBeenSet() const { return m_parentAutomationExecutionIdHasBeenSet; }
231 inline void SetParentAutomationExecutionId(const Aws::String& value) { m_parentAutomationExecutionIdHasBeenSet = true; m_parentAutomationExecutionId = value; }
232 inline void SetParentAutomationExecutionId(Aws::String&& value) { m_parentAutomationExecutionIdHasBeenSet = true; m_parentAutomationExecutionId = std::move(value); }
233 inline void SetParentAutomationExecutionId(const char* value) { m_parentAutomationExecutionIdHasBeenSet = true; m_parentAutomationExecutionId.assign(value); }
238
240
243 inline const Aws::String& GetExecutedBy() const{ return m_executedBy; }
244 inline bool ExecutedByHasBeenSet() const { return m_executedByHasBeenSet; }
245 inline void SetExecutedBy(const Aws::String& value) { m_executedByHasBeenSet = true; m_executedBy = value; }
246 inline void SetExecutedBy(Aws::String&& value) { m_executedByHasBeenSet = true; m_executedBy = std::move(value); }
247 inline void SetExecutedBy(const char* value) { m_executedByHasBeenSet = true; m_executedBy.assign(value); }
248 inline AutomationExecution& WithExecutedBy(const Aws::String& value) { SetExecutedBy(value); return *this;}
249 inline AutomationExecution& WithExecutedBy(Aws::String&& value) { SetExecutedBy(std::move(value)); return *this;}
250 inline AutomationExecution& WithExecutedBy(const char* value) { SetExecutedBy(value); return *this;}
252
254
257 inline const Aws::String& GetCurrentStepName() const{ return m_currentStepName; }
258 inline bool CurrentStepNameHasBeenSet() const { return m_currentStepNameHasBeenSet; }
259 inline void SetCurrentStepName(const Aws::String& value) { m_currentStepNameHasBeenSet = true; m_currentStepName = value; }
260 inline void SetCurrentStepName(Aws::String&& value) { m_currentStepNameHasBeenSet = true; m_currentStepName = std::move(value); }
261 inline void SetCurrentStepName(const char* value) { m_currentStepNameHasBeenSet = true; m_currentStepName.assign(value); }
262 inline AutomationExecution& WithCurrentStepName(const Aws::String& value) { SetCurrentStepName(value); return *this;}
263 inline AutomationExecution& WithCurrentStepName(Aws::String&& value) { SetCurrentStepName(std::move(value)); return *this;}
264 inline AutomationExecution& WithCurrentStepName(const char* value) { SetCurrentStepName(value); return *this;}
266
268
271 inline const Aws::String& GetCurrentAction() const{ return m_currentAction; }
272 inline bool CurrentActionHasBeenSet() const { return m_currentActionHasBeenSet; }
273 inline void SetCurrentAction(const Aws::String& value) { m_currentActionHasBeenSet = true; m_currentAction = value; }
274 inline void SetCurrentAction(Aws::String&& value) { m_currentActionHasBeenSet = true; m_currentAction = std::move(value); }
275 inline void SetCurrentAction(const char* value) { m_currentActionHasBeenSet = true; m_currentAction.assign(value); }
276 inline AutomationExecution& WithCurrentAction(const Aws::String& value) { SetCurrentAction(value); return *this;}
277 inline AutomationExecution& WithCurrentAction(Aws::String&& value) { SetCurrentAction(std::move(value)); return *this;}
278 inline AutomationExecution& WithCurrentAction(const char* value) { SetCurrentAction(value); return *this;}
280
282
285 inline const Aws::String& GetTargetParameterName() const{ return m_targetParameterName; }
286 inline bool TargetParameterNameHasBeenSet() const { return m_targetParameterNameHasBeenSet; }
287 inline void SetTargetParameterName(const Aws::String& value) { m_targetParameterNameHasBeenSet = true; m_targetParameterName = value; }
288 inline void SetTargetParameterName(Aws::String&& value) { m_targetParameterNameHasBeenSet = true; m_targetParameterName = std::move(value); }
289 inline void SetTargetParameterName(const char* value) { m_targetParameterNameHasBeenSet = true; m_targetParameterName.assign(value); }
291 inline AutomationExecution& WithTargetParameterName(Aws::String&& value) { SetTargetParameterName(std::move(value)); return *this;}
292 inline AutomationExecution& WithTargetParameterName(const char* value) { SetTargetParameterName(value); return *this;}
294
296
299 inline const Aws::Vector<Target>& GetTargets() const{ return m_targets; }
300 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
301 inline void SetTargets(const Aws::Vector<Target>& value) { m_targetsHasBeenSet = true; m_targets = value; }
302 inline void SetTargets(Aws::Vector<Target>&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
303 inline AutomationExecution& WithTargets(const Aws::Vector<Target>& value) { SetTargets(value); return *this;}
304 inline AutomationExecution& WithTargets(Aws::Vector<Target>&& value) { SetTargets(std::move(value)); return *this;}
305 inline AutomationExecution& AddTargets(const Target& value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; }
306 inline AutomationExecution& AddTargets(Target&& value) { m_targetsHasBeenSet = true; m_targets.push_back(std::move(value)); return *this; }
308
310
314 inline const Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>& GetTargetMaps() const{ return m_targetMaps; }
315 inline bool TargetMapsHasBeenSet() const { return m_targetMapsHasBeenSet; }
316 inline void SetTargetMaps(const Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>& value) { m_targetMapsHasBeenSet = true; m_targetMaps = value; }
317 inline void SetTargetMaps(Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>&& value) { m_targetMapsHasBeenSet = true; m_targetMaps = std::move(value); }
320 inline AutomationExecution& AddTargetMaps(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_targetMapsHasBeenSet = true; m_targetMaps.push_back(value); return *this; }
321 inline AutomationExecution& AddTargetMaps(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_targetMapsHasBeenSet = true; m_targetMaps.push_back(std::move(value)); return *this; }
323
325
328 inline const ResolvedTargets& GetResolvedTargets() const{ return m_resolvedTargets; }
329 inline bool ResolvedTargetsHasBeenSet() const { return m_resolvedTargetsHasBeenSet; }
330 inline void SetResolvedTargets(const ResolvedTargets& value) { m_resolvedTargetsHasBeenSet = true; m_resolvedTargets = value; }
331 inline void SetResolvedTargets(ResolvedTargets&& value) { m_resolvedTargetsHasBeenSet = true; m_resolvedTargets = std::move(value); }
332 inline AutomationExecution& WithResolvedTargets(const ResolvedTargets& value) { SetResolvedTargets(value); return *this;}
333 inline AutomationExecution& WithResolvedTargets(ResolvedTargets&& value) { SetResolvedTargets(std::move(value)); return *this;}
335
337
341 inline const Aws::String& GetMaxConcurrency() const{ return m_maxConcurrency; }
342 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
343 inline void SetMaxConcurrency(const Aws::String& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = value; }
344 inline void SetMaxConcurrency(Aws::String&& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = std::move(value); }
345 inline void SetMaxConcurrency(const char* value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency.assign(value); }
346 inline AutomationExecution& WithMaxConcurrency(const Aws::String& value) { SetMaxConcurrency(value); return *this;}
347 inline AutomationExecution& WithMaxConcurrency(Aws::String&& value) { SetMaxConcurrency(std::move(value)); return *this;}
348 inline AutomationExecution& WithMaxConcurrency(const char* value) { SetMaxConcurrency(value); return *this;}
350
352
355 inline const Aws::String& GetMaxErrors() const{ return m_maxErrors; }
356 inline bool MaxErrorsHasBeenSet() const { return m_maxErrorsHasBeenSet; }
357 inline void SetMaxErrors(const Aws::String& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = value; }
358 inline void SetMaxErrors(Aws::String&& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = std::move(value); }
359 inline void SetMaxErrors(const char* value) { m_maxErrorsHasBeenSet = true; m_maxErrors.assign(value); }
360 inline AutomationExecution& WithMaxErrors(const Aws::String& value) { SetMaxErrors(value); return *this;}
361 inline AutomationExecution& WithMaxErrors(Aws::String&& value) { SetMaxErrors(std::move(value)); return *this;}
362 inline AutomationExecution& WithMaxErrors(const char* value) { SetMaxErrors(value); return *this;}
364
366
369 inline const Aws::String& GetTarget() const{ return m_target; }
370 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
371 inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
372 inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
373 inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
374 inline AutomationExecution& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
375 inline AutomationExecution& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
376 inline AutomationExecution& WithTarget(const char* value) { SetTarget(value); return *this;}
378
380
384 inline const Aws::Vector<TargetLocation>& GetTargetLocations() const{ return m_targetLocations; }
385 inline bool TargetLocationsHasBeenSet() const { return m_targetLocationsHasBeenSet; }
386 inline void SetTargetLocations(const Aws::Vector<TargetLocation>& value) { m_targetLocationsHasBeenSet = true; m_targetLocations = value; }
387 inline void SetTargetLocations(Aws::Vector<TargetLocation>&& value) { m_targetLocationsHasBeenSet = true; m_targetLocations = std::move(value); }
390 inline AutomationExecution& AddTargetLocations(const TargetLocation& value) { m_targetLocationsHasBeenSet = true; m_targetLocations.push_back(value); return *this; }
391 inline AutomationExecution& AddTargetLocations(TargetLocation&& value) { m_targetLocationsHasBeenSet = true; m_targetLocations.push_back(std::move(value)); return *this; }
393
395
400 inline const ProgressCounters& GetProgressCounters() const{ return m_progressCounters; }
401 inline bool ProgressCountersHasBeenSet() const { return m_progressCountersHasBeenSet; }
402 inline void SetProgressCounters(const ProgressCounters& value) { m_progressCountersHasBeenSet = true; m_progressCounters = value; }
403 inline void SetProgressCounters(ProgressCounters&& value) { m_progressCountersHasBeenSet = true; m_progressCounters = std::move(value); }
405 inline AutomationExecution& WithProgressCounters(ProgressCounters&& value) { SetProgressCounters(std::move(value)); return *this;}
407
409
412 inline const AlarmConfiguration& GetAlarmConfiguration() const{ return m_alarmConfiguration; }
413 inline bool AlarmConfigurationHasBeenSet() const { return m_alarmConfigurationHasBeenSet; }
414 inline void SetAlarmConfiguration(const AlarmConfiguration& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = value; }
415 inline void SetAlarmConfiguration(AlarmConfiguration&& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = std::move(value); }
417 inline AutomationExecution& WithAlarmConfiguration(AlarmConfiguration&& value) { SetAlarmConfiguration(std::move(value)); return *this;}
419
421
424 inline const Aws::Vector<AlarmStateInformation>& GetTriggeredAlarms() const{ return m_triggeredAlarms; }
425 inline bool TriggeredAlarmsHasBeenSet() const { return m_triggeredAlarmsHasBeenSet; }
426 inline void SetTriggeredAlarms(const Aws::Vector<AlarmStateInformation>& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms = value; }
427 inline void SetTriggeredAlarms(Aws::Vector<AlarmStateInformation>&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms = std::move(value); }
430 inline AutomationExecution& AddTriggeredAlarms(const AlarmStateInformation& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms.push_back(value); return *this; }
431 inline AutomationExecution& AddTriggeredAlarms(AlarmStateInformation&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms.push_back(std::move(value)); return *this; }
433
435
440 inline const Aws::String& GetTargetLocationsURL() const{ return m_targetLocationsURL; }
441 inline bool TargetLocationsURLHasBeenSet() const { return m_targetLocationsURLHasBeenSet; }
442 inline void SetTargetLocationsURL(const Aws::String& value) { m_targetLocationsURLHasBeenSet = true; m_targetLocationsURL = value; }
443 inline void SetTargetLocationsURL(Aws::String&& value) { m_targetLocationsURLHasBeenSet = true; m_targetLocationsURL = std::move(value); }
444 inline void SetTargetLocationsURL(const char* value) { m_targetLocationsURLHasBeenSet = true; m_targetLocationsURL.assign(value); }
446 inline AutomationExecution& WithTargetLocationsURL(Aws::String&& value) { SetTargetLocationsURL(std::move(value)); return *this;}
447 inline AutomationExecution& WithTargetLocationsURL(const char* value) { SetTargetLocationsURL(value); return *this;}
449
451
455 inline const AutomationSubtype& GetAutomationSubtype() const{ return m_automationSubtype; }
456 inline bool AutomationSubtypeHasBeenSet() const { return m_automationSubtypeHasBeenSet; }
457 inline void SetAutomationSubtype(const AutomationSubtype& value) { m_automationSubtypeHasBeenSet = true; m_automationSubtype = value; }
458 inline void SetAutomationSubtype(AutomationSubtype&& value) { m_automationSubtypeHasBeenSet = true; m_automationSubtype = std::move(value); }
460 inline AutomationExecution& WithAutomationSubtype(AutomationSubtype&& value) { SetAutomationSubtype(std::move(value)); return *this;}
462
464
467 inline const Aws::Utils::DateTime& GetScheduledTime() const{ return m_scheduledTime; }
468 inline bool ScheduledTimeHasBeenSet() const { return m_scheduledTimeHasBeenSet; }
469 inline void SetScheduledTime(const Aws::Utils::DateTime& value) { m_scheduledTimeHasBeenSet = true; m_scheduledTime = value; }
470 inline void SetScheduledTime(Aws::Utils::DateTime&& value) { m_scheduledTimeHasBeenSet = true; m_scheduledTime = std::move(value); }
471 inline AutomationExecution& WithScheduledTime(const Aws::Utils::DateTime& value) { SetScheduledTime(value); return *this;}
472 inline AutomationExecution& WithScheduledTime(Aws::Utils::DateTime&& value) { SetScheduledTime(std::move(value)); return *this;}
474
476
482 inline const Aws::Vector<Runbook>& GetRunbooks() const{ return m_runbooks; }
483 inline bool RunbooksHasBeenSet() const { return m_runbooksHasBeenSet; }
484 inline void SetRunbooks(const Aws::Vector<Runbook>& value) { m_runbooksHasBeenSet = true; m_runbooks = value; }
485 inline void SetRunbooks(Aws::Vector<Runbook>&& value) { m_runbooksHasBeenSet = true; m_runbooks = std::move(value); }
486 inline AutomationExecution& WithRunbooks(const Aws::Vector<Runbook>& value) { SetRunbooks(value); return *this;}
487 inline AutomationExecution& WithRunbooks(Aws::Vector<Runbook>&& value) { SetRunbooks(std::move(value)); return *this;}
488 inline AutomationExecution& AddRunbooks(const Runbook& value) { m_runbooksHasBeenSet = true; m_runbooks.push_back(value); return *this; }
489 inline AutomationExecution& AddRunbooks(Runbook&& value) { m_runbooksHasBeenSet = true; m_runbooks.push_back(std::move(value)); return *this; }
491
493
497 inline const Aws::String& GetOpsItemId() const{ return m_opsItemId; }
498 inline bool OpsItemIdHasBeenSet() const { return m_opsItemIdHasBeenSet; }
499 inline void SetOpsItemId(const Aws::String& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = value; }
500 inline void SetOpsItemId(Aws::String&& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = std::move(value); }
501 inline void SetOpsItemId(const char* value) { m_opsItemIdHasBeenSet = true; m_opsItemId.assign(value); }
502 inline AutomationExecution& WithOpsItemId(const Aws::String& value) { SetOpsItemId(value); return *this;}
503 inline AutomationExecution& WithOpsItemId(Aws::String&& value) { SetOpsItemId(std::move(value)); return *this;}
504 inline AutomationExecution& WithOpsItemId(const char* value) { SetOpsItemId(value); return *this;}
506
508
511 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
512 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
513 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
514 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
515 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
516 inline AutomationExecution& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
517 inline AutomationExecution& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
518 inline AutomationExecution& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
520
522
525 inline const Aws::String& GetChangeRequestName() const{ return m_changeRequestName; }
526 inline bool ChangeRequestNameHasBeenSet() const { return m_changeRequestNameHasBeenSet; }
527 inline void SetChangeRequestName(const Aws::String& value) { m_changeRequestNameHasBeenSet = true; m_changeRequestName = value; }
528 inline void SetChangeRequestName(Aws::String&& value) { m_changeRequestNameHasBeenSet = true; m_changeRequestName = std::move(value); }
529 inline void SetChangeRequestName(const char* value) { m_changeRequestNameHasBeenSet = true; m_changeRequestName.assign(value); }
530 inline AutomationExecution& WithChangeRequestName(const Aws::String& value) { SetChangeRequestName(value); return *this;}
531 inline AutomationExecution& WithChangeRequestName(Aws::String&& value) { SetChangeRequestName(std::move(value)); return *this;}
532 inline AutomationExecution& WithChangeRequestName(const char* value) { SetChangeRequestName(value); return *this;}
534
536
539 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetVariables() const{ return m_variables; }
540 inline bool VariablesHasBeenSet() const { return m_variablesHasBeenSet; }
541 inline void SetVariables(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_variablesHasBeenSet = true; m_variables = value; }
542 inline void SetVariables(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_variablesHasBeenSet = true; m_variables = std::move(value); }
544 inline AutomationExecution& WithVariables(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { SetVariables(std::move(value)); return *this;}
545 inline AutomationExecution& AddVariables(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, value); return *this; }
546 inline AutomationExecution& AddVariables(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_variablesHasBeenSet = true; m_variables.emplace(std::move(key), value); return *this; }
547 inline AutomationExecution& AddVariables(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, std::move(value)); return *this; }
548 inline AutomationExecution& AddVariables(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_variablesHasBeenSet = true; m_variables.emplace(std::move(key), std::move(value)); return *this; }
549 inline AutomationExecution& AddVariables(const char* key, Aws::Vector<Aws::String>&& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, std::move(value)); return *this; }
550 inline AutomationExecution& AddVariables(const char* key, const Aws::Vector<Aws::String>& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, value); return *this; }
552 private:
553
554 Aws::String m_automationExecutionId;
555 bool m_automationExecutionIdHasBeenSet = false;
556
557 Aws::String m_documentName;
558 bool m_documentNameHasBeenSet = false;
559
560 Aws::String m_documentVersion;
561 bool m_documentVersionHasBeenSet = false;
562
563 Aws::Utils::DateTime m_executionStartTime;
564 bool m_executionStartTimeHasBeenSet = false;
565
566 Aws::Utils::DateTime m_executionEndTime;
567 bool m_executionEndTimeHasBeenSet = false;
568
569 AutomationExecutionStatus m_automationExecutionStatus;
570 bool m_automationExecutionStatusHasBeenSet = false;
571
572 Aws::Vector<StepExecution> m_stepExecutions;
573 bool m_stepExecutionsHasBeenSet = false;
574
575 bool m_stepExecutionsTruncated;
576 bool m_stepExecutionsTruncatedHasBeenSet = false;
577
579 bool m_parametersHasBeenSet = false;
580
582 bool m_outputsHasBeenSet = false;
583
584 Aws::String m_failureMessage;
585 bool m_failureMessageHasBeenSet = false;
586
587 ExecutionMode m_mode;
588 bool m_modeHasBeenSet = false;
589
590 Aws::String m_parentAutomationExecutionId;
591 bool m_parentAutomationExecutionIdHasBeenSet = false;
592
593 Aws::String m_executedBy;
594 bool m_executedByHasBeenSet = false;
595
596 Aws::String m_currentStepName;
597 bool m_currentStepNameHasBeenSet = false;
598
599 Aws::String m_currentAction;
600 bool m_currentActionHasBeenSet = false;
601
602 Aws::String m_targetParameterName;
603 bool m_targetParameterNameHasBeenSet = false;
604
605 Aws::Vector<Target> m_targets;
606 bool m_targetsHasBeenSet = false;
607
609 bool m_targetMapsHasBeenSet = false;
610
611 ResolvedTargets m_resolvedTargets;
612 bool m_resolvedTargetsHasBeenSet = false;
613
614 Aws::String m_maxConcurrency;
615 bool m_maxConcurrencyHasBeenSet = false;
616
617 Aws::String m_maxErrors;
618 bool m_maxErrorsHasBeenSet = false;
619
620 Aws::String m_target;
621 bool m_targetHasBeenSet = false;
622
623 Aws::Vector<TargetLocation> m_targetLocations;
624 bool m_targetLocationsHasBeenSet = false;
625
626 ProgressCounters m_progressCounters;
627 bool m_progressCountersHasBeenSet = false;
628
629 AlarmConfiguration m_alarmConfiguration;
630 bool m_alarmConfigurationHasBeenSet = false;
631
632 Aws::Vector<AlarmStateInformation> m_triggeredAlarms;
633 bool m_triggeredAlarmsHasBeenSet = false;
634
635 Aws::String m_targetLocationsURL;
636 bool m_targetLocationsURLHasBeenSet = false;
637
638 AutomationSubtype m_automationSubtype;
639 bool m_automationSubtypeHasBeenSet = false;
640
641 Aws::Utils::DateTime m_scheduledTime;
642 bool m_scheduledTimeHasBeenSet = false;
643
644 Aws::Vector<Runbook> m_runbooks;
645 bool m_runbooksHasBeenSet = false;
646
647 Aws::String m_opsItemId;
648 bool m_opsItemIdHasBeenSet = false;
649
650 Aws::String m_associationId;
651 bool m_associationIdHasBeenSet = false;
652
653 Aws::String m_changeRequestName;
654 bool m_changeRequestNameHasBeenSet = false;
655
657 bool m_variablesHasBeenSet = false;
658 };
659
660} // namespace Model
661} // namespace SSM
662} // namespace Aws
void SetVariables(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
const Aws::Vector< StepExecution > & GetStepExecutions() const
AutomationExecution & WithStepExecutions(Aws::Vector< StepExecution > &&value)
AutomationExecution & WithAutomationSubtype(AutomationSubtype &&value)
void SetParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
AutomationExecution & WithAutomationExecutionStatus(const AutomationExecutionStatus &value)
void SetTargetLocations(const Aws::Vector< TargetLocation > &value)
AutomationExecution & AddParameters(const Aws::String &key, Aws::Vector< Aws::String > &&value)
void SetAlarmConfiguration(const AlarmConfiguration &value)
AutomationExecution & AddVariables(const Aws::String &key, const Aws::Vector< Aws::String > &value)
void SetTargets(const Aws::Vector< Target > &value)
AutomationExecution & WithChangeRequestName(const Aws::String &value)
const Aws::String & GetAssociationId() const
void SetTargetLocationsURL(Aws::String &&value)
const Aws::Utils::DateTime & GetExecutionStartTime() const
AutomationExecution & WithResolvedTargets(const ResolvedTargets &value)
AutomationExecution & AddVariables(Aws::String &&key, Aws::Vector< Aws::String > &&value)
void SetTarget(const Aws::String &value)
const Aws::String & GetParentAutomationExecutionId() const
AutomationExecution & AddOutputs(const char *key, Aws::Vector< Aws::String > &&value)
const AlarmConfiguration & GetAlarmConfiguration() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetVariables() const
void SetRunbooks(const Aws::Vector< Runbook > &value)
AutomationExecution & WithExecutedBy(Aws::String &&value)
void SetExecutionEndTime(Aws::Utils::DateTime &&value)
void SetAutomationExecutionId(const char *value)
AutomationExecution & AddOutputs(Aws::String &&key, const Aws::Vector< Aws::String > &value)
AutomationExecution & AddStepExecutions(StepExecution &&value)
AutomationExecution & WithMaxErrors(Aws::String &&value)
AutomationExecution & AddOutputs(const Aws::String &key, Aws::Vector< Aws::String > &&value)
const Aws::String & GetTargetParameterName() const
const Aws::Utils::DateTime & GetExecutionEndTime() const
AutomationExecution & WithRunbooks(const Aws::Vector< Runbook > &value)
void SetStepExecutions(const Aws::Vector< StepExecution > &value)
const ResolvedTargets & GetResolvedTargets() const
void SetCurrentStepName(Aws::String &&value)
AutomationExecution & WithTriggeredAlarms(Aws::Vector< AlarmStateInformation > &&value)
void SetParentAutomationExecutionId(Aws::String &&value)
AutomationExecution & WithRunbooks(Aws::Vector< Runbook > &&value)
void SetChangeRequestName(Aws::String &&value)
AutomationExecution & AddTargetMaps(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
AutomationExecution & WithResolvedTargets(ResolvedTargets &&value)
AutomationExecution & WithProgressCounters(ProgressCounters &&value)
AutomationExecution & WithMode(ExecutionMode &&value)
void SetProgressCounters(ProgressCounters &&value)
void SetExecutedBy(const Aws::String &value)
AutomationExecution & WithTargetParameterName(const Aws::String &value)
const ExecutionMode & GetMode() const
void SetAlarmConfiguration(AlarmConfiguration &&value)
void SetFailureMessage(Aws::String &&value)
AutomationExecution & WithTargetLocationsURL(const char *value)
const AutomationSubtype & GetAutomationSubtype() const
void SetTargetParameterName(const Aws::String &value)
AutomationExecution & WithScheduledTime(Aws::Utils::DateTime &&value)
AutomationExecution & WithParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AutomationExecution & WithTargetLocations(const Aws::Vector< TargetLocation > &value)
void SetDocumentName(const Aws::String &value)
AutomationExecution & WithDocumentName(const char *value)
AutomationExecution & WithMaxConcurrency(const Aws::String &value)
void SetTargetLocationsURL(const char *value)
AutomationExecution & AddTargetLocations(const TargetLocation &value)
const Aws::String & GetCurrentAction() const
AutomationExecution & AddParameters(Aws::String &&key, Aws::Vector< Aws::String > &&value)
AutomationExecution & WithParentAutomationExecutionId(const Aws::String &value)
void SetAutomationExecutionStatus(AutomationExecutionStatus &&value)
void SetFailureMessage(const Aws::String &value)
AutomationExecution & WithTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
AutomationExecution & WithTriggeredAlarms(const Aws::Vector< AlarmStateInformation > &value)
AutomationExecution & AddVariables(Aws::String &&key, const Aws::Vector< Aws::String > &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AutomationExecution & WithTarget(Aws::String &&value)
AutomationExecution & WithProgressCounters(const ProgressCounters &value)
void SetExecutionStartTime(Aws::Utils::DateTime &&value)
AutomationExecution & AddVariables(const Aws::String &key, Aws::Vector< Aws::String > &&value)
void SetAutomationSubtype(AutomationSubtype &&value)
const Aws::String & GetOpsItemId() const
void SetDocumentName(Aws::String &&value)
void SetTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
AutomationExecution & AddVariables(const char *key, const Aws::Vector< Aws::String > &value)
AutomationExecution & WithTargets(const Aws::Vector< Target > &value)
AutomationExecution & AddTargets(const Target &value)
AWS_SSM_API AutomationExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomationExecution & WithAssociationId(Aws::String &&value)
AutomationExecution & WithVariables(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AutomationExecution & AddParameters(const char *key, const Aws::Vector< Aws::String > &value)
void SetAutomationExecutionId(const Aws::String &value)
void SetTriggeredAlarms(const Aws::Vector< AlarmStateInformation > &value)
const Aws::String & GetMaxConcurrency() const
const Aws::String & GetChangeRequestName() const
AutomationExecution & WithCurrentStepName(const char *value)
AutomationExecution & WithParentAutomationExecutionId(const char *value)
AutomationExecution & WithTargetParameterName(const char *value)
void SetOutputs(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
AutomationExecution & WithMaxErrors(const Aws::String &value)
AutomationExecution & WithDocumentVersion(const char *value)
AutomationExecution & WithScheduledTime(const Aws::Utils::DateTime &value)
void SetAssociationId(Aws::String &&value)
AutomationExecution & AddParameters(const Aws::String &key, const Aws::Vector< Aws::String > &value)
AutomationExecution & WithOutputs(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const Aws::Utils::DateTime & GetScheduledTime() const
void SetTargetParameterName(Aws::String &&value)
void SetTargets(Aws::Vector< Target > &&value)
AutomationExecution & WithMaxConcurrency(const char *value)
AutomationExecution & AddStepExecutions(const StepExecution &value)
AutomationExecution & WithDocumentName(Aws::String &&value)
AutomationExecution & WithExecutionEndTime(const Aws::Utils::DateTime &value)
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetTargetParameterName(const char *value)
const Aws::Vector< Target > & GetTargets() const
AutomationExecution & AddTargets(Target &&value)
void SetAutomationExecutionId(Aws::String &&value)
void SetTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
void SetOutputs(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AutomationExecution & WithAutomationSubtype(const AutomationSubtype &value)
AutomationExecution & AddRunbooks(Runbook &&value)
void SetResolvedTargets(const ResolvedTargets &value)
void SetMaxErrors(const Aws::String &value)
AutomationExecution & AddTargetLocations(TargetLocation &&value)
AutomationExecution & WithCurrentAction(const Aws::String &value)
AutomationExecution & WithCurrentAction(Aws::String &&value)
AutomationExecution & AddParameters(Aws::String &&key, const Aws::Vector< Aws::String > &value)
const Aws::String & GetExecutedBy() const
void SetDocumentVersion(Aws::String &&value)
AutomationExecution & WithStepExecutionsTruncated(bool value)
AutomationExecution & WithCurrentAction(const char *value)
AutomationExecution & AddRunbooks(const Runbook &value)
AutomationExecution & WithTargets(Aws::Vector< Target > &&value)
void SetChangeRequestName(const Aws::String &value)
AutomationExecution & WithTargetParameterName(Aws::String &&value)
AutomationExecution & WithTargetLocationsURL(const Aws::String &value)
AutomationExecution & WithMode(const ExecutionMode &value)
const Aws::String & GetCurrentStepName() const
void SetStepExecutions(Aws::Vector< StepExecution > &&value)
void SetCurrentAction(const Aws::String &value)
void SetProgressCounters(const ProgressCounters &value)
AutomationExecution & AddOutputs(const char *key, const Aws::Vector< Aws::String > &value)
AutomationExecution & WithOpsItemId(const Aws::String &value)
AutomationExecution & WithAutomationExecutionId(Aws::String &&value)
AutomationExecution & WithTarget(const char *value)
const Aws::String & GetTarget() const
void SetAutomationSubtype(const AutomationSubtype &value)
const AutomationExecutionStatus & GetAutomationExecutionStatus() const
void SetScheduledTime(Aws::Utils::DateTime &&value)
const ProgressCounters & GetProgressCounters() const
void SetAutomationExecutionStatus(const AutomationExecutionStatus &value)
AutomationExecution & WithChangeRequestName(const char *value)
AutomationExecution & WithAlarmConfiguration(AlarmConfiguration &&value)
AutomationExecution & WithMaxErrors(const char *value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetOutputs() const
AutomationExecution & WithExecutedBy(const char *value)
void SetMaxConcurrency(const Aws::String &value)
AutomationExecution & AddTargetMaps(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AutomationExecution & WithDocumentVersion(const Aws::String &value)
const Aws::Vector< Runbook > & GetRunbooks() const
AutomationExecution & AddTriggeredAlarms(const AlarmStateInformation &value)
const Aws::String & GetMaxErrors() const
void SetMaxConcurrency(Aws::String &&value)
AutomationExecution & WithAutomationExecutionId(const char *value)
AutomationExecution & WithFailureMessage(const char *value)
AutomationExecution & AddVariables(const char *key, Aws::Vector< Aws::String > &&value)
void SetTargetLocationsURL(const Aws::String &value)
AutomationExecution & WithParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const Aws::String & GetTargetLocationsURL() const
AutomationExecution & WithTargetLocations(Aws::Vector< TargetLocation > &&value)
void SetDocumentVersion(const Aws::String &value)
AutomationExecution & WithFailureMessage(const Aws::String &value)
AutomationExecution & WithCurrentStepName(Aws::String &&value)
AutomationExecution & WithDocumentVersion(Aws::String &&value)
void SetScheduledTime(const Aws::Utils::DateTime &value)
AutomationExecution & WithTargetLocationsURL(Aws::String &&value)
const Aws::Vector< TargetLocation > & GetTargetLocations() const
void SetTriggeredAlarms(Aws::Vector< AlarmStateInformation > &&value)
AutomationExecution & AddParameters(const char *key, Aws::Vector< Aws::String > &&value)
void SetCurrentAction(Aws::String &&value)
void SetParentAutomationExecutionId(const Aws::String &value)
void SetAssociationId(const Aws::String &value)
AutomationExecution & WithExecutionStartTime(const Aws::Utils::DateTime &value)
AutomationExecution & WithAssociationId(const Aws::String &value)
void SetResolvedTargets(ResolvedTargets &&value)
AutomationExecution & WithAutomationExecutionId(const Aws::String &value)
AutomationExecution & WithCurrentStepName(const Aws::String &value)
void SetRunbooks(Aws::Vector< Runbook > &&value)
AutomationExecution & WithVariables(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const Aws::String & GetAutomationExecutionId() const
AutomationExecution & WithDocumentName(const Aws::String &value)
AutomationExecution & WithChangeRequestName(Aws::String &&value)
AutomationExecution & WithFailureMessage(Aws::String &&value)
void SetOpsItemId(const Aws::String &value)
AWS_SSM_API AutomationExecution(Aws::Utils::Json::JsonView jsonValue)
void SetVariables(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
AutomationExecution & WithAssociationId(const char *value)
const Aws::Vector< AlarmStateInformation > & GetTriggeredAlarms() const
AutomationExecution & WithExecutionStartTime(Aws::Utils::DateTime &&value)
void SetExecutionEndTime(const Aws::Utils::DateTime &value)
const Aws::String & GetDocumentVersion() const
AutomationExecution & WithAlarmConfiguration(const AlarmConfiguration &value)
AutomationExecution & WithExecutionEndTime(Aws::Utils::DateTime &&value)
AutomationExecution & WithStepExecutions(const Aws::Vector< StepExecution > &value)
void SetTargetLocations(Aws::Vector< TargetLocation > &&value)
const Aws::String & GetDocumentName() const
AutomationExecution & WithOutputs(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AutomationExecution & WithTarget(const Aws::String &value)
AutomationExecution & AddOutputs(Aws::String &&key, Aws::Vector< Aws::String > &&value)
AutomationExecution & AddTriggeredAlarms(AlarmStateInformation &&value)
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
void SetExecutionStartTime(const Aws::Utils::DateTime &value)
AutomationExecution & WithParentAutomationExecutionId(Aws::String &&value)
void SetCurrentStepName(const Aws::String &value)
AutomationExecution & WithOpsItemId(Aws::String &&value)
AutomationExecution & WithMaxConcurrency(Aws::String &&value)
AutomationExecution & WithAutomationExecutionStatus(AutomationExecutionStatus &&value)
const Aws::String & GetFailureMessage() const
AutomationExecution & WithOpsItemId(const char *value)
AutomationExecution & AddOutputs(const Aws::String &key, const Aws::Vector< Aws::String > &value)
void SetMode(const ExecutionMode &value)
void SetParentAutomationExecutionId(const char *value)
AutomationExecution & WithTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
AutomationExecution & WithExecutedBy(const Aws::String &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