AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
50
51
53
56 inline const Aws::String& GetAutomationExecutionId() const{ return m_automationExecutionId; }
57 inline bool AutomationExecutionIdHasBeenSet() const { return m_automationExecutionIdHasBeenSet; }
58 inline void SetAutomationExecutionId(const Aws::String& value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId = value; }
59 inline void SetAutomationExecutionId(Aws::String&& value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId = std::move(value); }
60 inline void SetAutomationExecutionId(const char* value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId.assign(value); }
63 inline AutomationExecutionMetadata& WithAutomationExecutionId(const char* value) { SetAutomationExecutionId(value); return *this;}
65
67
70 inline const Aws::String& GetDocumentName() const{ return m_documentName; }
71 inline bool DocumentNameHasBeenSet() const { return m_documentNameHasBeenSet; }
72 inline void SetDocumentName(const Aws::String& value) { m_documentNameHasBeenSet = true; m_documentName = value; }
73 inline void SetDocumentName(Aws::String&& value) { m_documentNameHasBeenSet = true; m_documentName = std::move(value); }
74 inline void SetDocumentName(const char* value) { m_documentNameHasBeenSet = true; m_documentName.assign(value); }
75 inline AutomationExecutionMetadata& WithDocumentName(const Aws::String& value) { SetDocumentName(value); return *this;}
76 inline AutomationExecutionMetadata& WithDocumentName(Aws::String&& value) { SetDocumentName(std::move(value)); return *this;}
77 inline AutomationExecutionMetadata& WithDocumentName(const char* value) { SetDocumentName(value); return *this;}
79
81
84 inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; }
85 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
86 inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; }
87 inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); }
88 inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); }
90 inline AutomationExecutionMetadata& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;}
91 inline AutomationExecutionMetadata& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;}
93
95
98 inline const AutomationExecutionStatus& GetAutomationExecutionStatus() const{ return m_automationExecutionStatus; }
99 inline bool AutomationExecutionStatusHasBeenSet() const { return m_automationExecutionStatusHasBeenSet; }
100 inline void SetAutomationExecutionStatus(const AutomationExecutionStatus& value) { m_automationExecutionStatusHasBeenSet = true; m_automationExecutionStatus = value; }
101 inline void SetAutomationExecutionStatus(AutomationExecutionStatus&& value) { m_automationExecutionStatusHasBeenSet = true; m_automationExecutionStatus = std::move(value); }
105
107
110 inline const Aws::Utils::DateTime& GetExecutionStartTime() const{ return m_executionStartTime; }
111 inline bool ExecutionStartTimeHasBeenSet() const { return m_executionStartTimeHasBeenSet; }
112 inline void SetExecutionStartTime(const Aws::Utils::DateTime& value) { m_executionStartTimeHasBeenSet = true; m_executionStartTime = value; }
113 inline void SetExecutionStartTime(Aws::Utils::DateTime&& value) { m_executionStartTimeHasBeenSet = true; m_executionStartTime = std::move(value); }
117
119
123 inline const Aws::Utils::DateTime& GetExecutionEndTime() const{ return m_executionEndTime; }
124 inline bool ExecutionEndTimeHasBeenSet() const { return m_executionEndTimeHasBeenSet; }
125 inline void SetExecutionEndTime(const Aws::Utils::DateTime& value) { m_executionEndTimeHasBeenSet = true; m_executionEndTime = value; }
126 inline void SetExecutionEndTime(Aws::Utils::DateTime&& value) { m_executionEndTimeHasBeenSet = true; m_executionEndTime = std::move(value); }
130
132
135 inline const Aws::String& GetExecutedBy() const{ return m_executedBy; }
136 inline bool ExecutedByHasBeenSet() const { return m_executedByHasBeenSet; }
137 inline void SetExecutedBy(const Aws::String& value) { m_executedByHasBeenSet = true; m_executedBy = value; }
138 inline void SetExecutedBy(Aws::String&& value) { m_executedByHasBeenSet = true; m_executedBy = std::move(value); }
139 inline void SetExecutedBy(const char* value) { m_executedByHasBeenSet = true; m_executedBy.assign(value); }
140 inline AutomationExecutionMetadata& WithExecutedBy(const Aws::String& value) { SetExecutedBy(value); return *this;}
141 inline AutomationExecutionMetadata& WithExecutedBy(Aws::String&& value) { SetExecutedBy(std::move(value)); return *this;}
142 inline AutomationExecutionMetadata& WithExecutedBy(const char* value) { SetExecutedBy(value); return *this;}
144
146
149 inline const Aws::String& GetLogFile() const{ return m_logFile; }
150 inline bool LogFileHasBeenSet() const { return m_logFileHasBeenSet; }
151 inline void SetLogFile(const Aws::String& value) { m_logFileHasBeenSet = true; m_logFile = value; }
152 inline void SetLogFile(Aws::String&& value) { m_logFileHasBeenSet = true; m_logFile = std::move(value); }
153 inline void SetLogFile(const char* value) { m_logFileHasBeenSet = true; m_logFile.assign(value); }
154 inline AutomationExecutionMetadata& WithLogFile(const Aws::String& value) { SetLogFile(value); return *this;}
155 inline AutomationExecutionMetadata& WithLogFile(Aws::String&& value) { SetLogFile(std::move(value)); return *this;}
156 inline AutomationExecutionMetadata& WithLogFile(const char* value) { SetLogFile(value); return *this;}
158
160
163 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetOutputs() const{ return m_outputs; }
164 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
165 inline void SetOutputs(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
166 inline void SetOutputs(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
169 inline AutomationExecutionMetadata& AddOutputs(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, value); return *this; }
170 inline AutomationExecutionMetadata& AddOutputs(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_outputsHasBeenSet = true; m_outputs.emplace(std::move(key), value); return *this; }
171 inline AutomationExecutionMetadata& AddOutputs(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, std::move(value)); return *this; }
172 inline AutomationExecutionMetadata& AddOutputs(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_outputsHasBeenSet = true; m_outputs.emplace(std::move(key), std::move(value)); return *this; }
173 inline AutomationExecutionMetadata& AddOutputs(const char* key, Aws::Vector<Aws::String>&& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, std::move(value)); return *this; }
174 inline AutomationExecutionMetadata& AddOutputs(const char* key, const Aws::Vector<Aws::String>& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, value); return *this; }
176
178
181 inline const ExecutionMode& GetMode() const{ return m_mode; }
182 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
183 inline void SetMode(const ExecutionMode& value) { m_modeHasBeenSet = true; m_mode = value; }
184 inline void SetMode(ExecutionMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
185 inline AutomationExecutionMetadata& WithMode(const ExecutionMode& value) { SetMode(value); return *this;}
186 inline AutomationExecutionMetadata& WithMode(ExecutionMode&& value) { SetMode(std::move(value)); return *this;}
188
190
193 inline const Aws::String& GetParentAutomationExecutionId() const{ return m_parentAutomationExecutionId; }
194 inline bool ParentAutomationExecutionIdHasBeenSet() const { return m_parentAutomationExecutionIdHasBeenSet; }
195 inline void SetParentAutomationExecutionId(const Aws::String& value) { m_parentAutomationExecutionIdHasBeenSet = true; m_parentAutomationExecutionId = value; }
196 inline void SetParentAutomationExecutionId(Aws::String&& value) { m_parentAutomationExecutionIdHasBeenSet = true; m_parentAutomationExecutionId = std::move(value); }
197 inline void SetParentAutomationExecutionId(const char* value) { m_parentAutomationExecutionIdHasBeenSet = true; m_parentAutomationExecutionId.assign(value); }
202
204
207 inline const Aws::String& GetCurrentStepName() const{ return m_currentStepName; }
208 inline bool CurrentStepNameHasBeenSet() const { return m_currentStepNameHasBeenSet; }
209 inline void SetCurrentStepName(const Aws::String& value) { m_currentStepNameHasBeenSet = true; m_currentStepName = value; }
210 inline void SetCurrentStepName(Aws::String&& value) { m_currentStepNameHasBeenSet = true; m_currentStepName = std::move(value); }
211 inline void SetCurrentStepName(const char* value) { m_currentStepNameHasBeenSet = true; m_currentStepName.assign(value); }
213 inline AutomationExecutionMetadata& WithCurrentStepName(Aws::String&& value) { SetCurrentStepName(std::move(value)); return *this;}
214 inline AutomationExecutionMetadata& WithCurrentStepName(const char* value) { SetCurrentStepName(value); return *this;}
216
218
221 inline const Aws::String& GetCurrentAction() const{ return m_currentAction; }
222 inline bool CurrentActionHasBeenSet() const { return m_currentActionHasBeenSet; }
223 inline void SetCurrentAction(const Aws::String& value) { m_currentActionHasBeenSet = true; m_currentAction = value; }
224 inline void SetCurrentAction(Aws::String&& value) { m_currentActionHasBeenSet = true; m_currentAction = std::move(value); }
225 inline void SetCurrentAction(const char* value) { m_currentActionHasBeenSet = true; m_currentAction.assign(value); }
226 inline AutomationExecutionMetadata& WithCurrentAction(const Aws::String& value) { SetCurrentAction(value); return *this;}
227 inline AutomationExecutionMetadata& WithCurrentAction(Aws::String&& value) { SetCurrentAction(std::move(value)); return *this;}
228 inline AutomationExecutionMetadata& WithCurrentAction(const char* value) { SetCurrentAction(value); return *this;}
230
232
235 inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
236 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
237 inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; }
238 inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); }
239 inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); }
241 inline AutomationExecutionMetadata& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
242 inline AutomationExecutionMetadata& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
244
246
249 inline const Aws::String& GetTargetParameterName() const{ return m_targetParameterName; }
250 inline bool TargetParameterNameHasBeenSet() const { return m_targetParameterNameHasBeenSet; }
251 inline void SetTargetParameterName(const Aws::String& value) { m_targetParameterNameHasBeenSet = true; m_targetParameterName = value; }
252 inline void SetTargetParameterName(Aws::String&& value) { m_targetParameterNameHasBeenSet = true; m_targetParameterName = std::move(value); }
253 inline void SetTargetParameterName(const char* value) { m_targetParameterNameHasBeenSet = true; m_targetParameterName.assign(value); }
256 inline AutomationExecutionMetadata& WithTargetParameterName(const char* value) { SetTargetParameterName(value); return *this;}
258
260
263 inline const Aws::Vector<Target>& GetTargets() const{ return m_targets; }
264 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
265 inline void SetTargets(const Aws::Vector<Target>& value) { m_targetsHasBeenSet = true; m_targets = value; }
266 inline void SetTargets(Aws::Vector<Target>&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
267 inline AutomationExecutionMetadata& WithTargets(const Aws::Vector<Target>& value) { SetTargets(value); return *this;}
268 inline AutomationExecutionMetadata& WithTargets(Aws::Vector<Target>&& value) { SetTargets(std::move(value)); return *this;}
269 inline AutomationExecutionMetadata& AddTargets(const Target& value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; }
270 inline AutomationExecutionMetadata& AddTargets(Target&& value) { m_targetsHasBeenSet = true; m_targets.push_back(std::move(value)); return *this; }
272
274
278 inline const Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>& GetTargetMaps() const{ return m_targetMaps; }
279 inline bool TargetMapsHasBeenSet() const { return m_targetMapsHasBeenSet; }
280 inline void SetTargetMaps(const Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>& value) { m_targetMapsHasBeenSet = true; m_targetMaps = value; }
281 inline void SetTargetMaps(Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>&& value) { m_targetMapsHasBeenSet = true; m_targetMaps = std::move(value); }
284 inline AutomationExecutionMetadata& AddTargetMaps(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_targetMapsHasBeenSet = true; m_targetMaps.push_back(value); return *this; }
285 inline AutomationExecutionMetadata& AddTargetMaps(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_targetMapsHasBeenSet = true; m_targetMaps.push_back(std::move(value)); return *this; }
287
289
292 inline const ResolvedTargets& GetResolvedTargets() const{ return m_resolvedTargets; }
293 inline bool ResolvedTargetsHasBeenSet() const { return m_resolvedTargetsHasBeenSet; }
294 inline void SetResolvedTargets(const ResolvedTargets& value) { m_resolvedTargetsHasBeenSet = true; m_resolvedTargets = value; }
295 inline void SetResolvedTargets(ResolvedTargets&& value) { m_resolvedTargetsHasBeenSet = true; m_resolvedTargets = std::move(value); }
297 inline AutomationExecutionMetadata& WithResolvedTargets(ResolvedTargets&& value) { SetResolvedTargets(std::move(value)); return *this;}
299
301
305 inline const Aws::String& GetMaxConcurrency() const{ return m_maxConcurrency; }
306 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
307 inline void SetMaxConcurrency(const Aws::String& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = value; }
308 inline void SetMaxConcurrency(Aws::String&& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = std::move(value); }
309 inline void SetMaxConcurrency(const char* value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency.assign(value); }
311 inline AutomationExecutionMetadata& WithMaxConcurrency(Aws::String&& value) { SetMaxConcurrency(std::move(value)); return *this;}
312 inline AutomationExecutionMetadata& WithMaxConcurrency(const char* value) { SetMaxConcurrency(value); return *this;}
314
316
320 inline const Aws::String& GetMaxErrors() const{ return m_maxErrors; }
321 inline bool MaxErrorsHasBeenSet() const { return m_maxErrorsHasBeenSet; }
322 inline void SetMaxErrors(const Aws::String& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = value; }
323 inline void SetMaxErrors(Aws::String&& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = std::move(value); }
324 inline void SetMaxErrors(const char* value) { m_maxErrorsHasBeenSet = true; m_maxErrors.assign(value); }
325 inline AutomationExecutionMetadata& WithMaxErrors(const Aws::String& value) { SetMaxErrors(value); return *this;}
326 inline AutomationExecutionMetadata& WithMaxErrors(Aws::String&& value) { SetMaxErrors(std::move(value)); return *this;}
327 inline AutomationExecutionMetadata& WithMaxErrors(const char* value) { SetMaxErrors(value); return *this;}
329
331
334 inline const Aws::String& GetTarget() const{ return m_target; }
335 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
336 inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
337 inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
338 inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
339 inline AutomationExecutionMetadata& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
340 inline AutomationExecutionMetadata& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
341 inline AutomationExecutionMetadata& WithTarget(const char* value) { SetTarget(value); return *this;}
343
345
354 inline const AutomationType& GetAutomationType() const{ return m_automationType; }
355 inline bool AutomationTypeHasBeenSet() const { return m_automationTypeHasBeenSet; }
356 inline void SetAutomationType(const AutomationType& value) { m_automationTypeHasBeenSet = true; m_automationType = value; }
357 inline void SetAutomationType(AutomationType&& value) { m_automationTypeHasBeenSet = true; m_automationType = std::move(value); }
359 inline AutomationExecutionMetadata& WithAutomationType(AutomationType&& value) { SetAutomationType(std::move(value)); return *this;}
361
363
366 inline const AlarmConfiguration& GetAlarmConfiguration() const{ return m_alarmConfiguration; }
367 inline bool AlarmConfigurationHasBeenSet() const { return m_alarmConfigurationHasBeenSet; }
368 inline void SetAlarmConfiguration(const AlarmConfiguration& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = value; }
369 inline void SetAlarmConfiguration(AlarmConfiguration&& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = std::move(value); }
373
375
378 inline const Aws::Vector<AlarmStateInformation>& GetTriggeredAlarms() const{ return m_triggeredAlarms; }
379 inline bool TriggeredAlarmsHasBeenSet() const { return m_triggeredAlarmsHasBeenSet; }
380 inline void SetTriggeredAlarms(const Aws::Vector<AlarmStateInformation>& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms = value; }
381 inline void SetTriggeredAlarms(Aws::Vector<AlarmStateInformation>&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms = std::move(value); }
384 inline AutomationExecutionMetadata& AddTriggeredAlarms(const AlarmStateInformation& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms.push_back(value); return *this; }
385 inline AutomationExecutionMetadata& AddTriggeredAlarms(AlarmStateInformation&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms.push_back(std::move(value)); return *this; }
387
389
394 inline const Aws::String& GetTargetLocationsURL() const{ return m_targetLocationsURL; }
395 inline bool TargetLocationsURLHasBeenSet() const { return m_targetLocationsURLHasBeenSet; }
396 inline void SetTargetLocationsURL(const Aws::String& value) { m_targetLocationsURLHasBeenSet = true; m_targetLocationsURL = value; }
397 inline void SetTargetLocationsURL(Aws::String&& value) { m_targetLocationsURLHasBeenSet = true; m_targetLocationsURL = std::move(value); }
398 inline void SetTargetLocationsURL(const char* value) { m_targetLocationsURLHasBeenSet = true; m_targetLocationsURL.assign(value); }
400 inline AutomationExecutionMetadata& WithTargetLocationsURL(Aws::String&& value) { SetTargetLocationsURL(std::move(value)); return *this;}
401 inline AutomationExecutionMetadata& WithTargetLocationsURL(const char* value) { SetTargetLocationsURL(value); return *this;}
403
405
409 inline const AutomationSubtype& GetAutomationSubtype() const{ return m_automationSubtype; }
410 inline bool AutomationSubtypeHasBeenSet() const { return m_automationSubtypeHasBeenSet; }
411 inline void SetAutomationSubtype(const AutomationSubtype& value) { m_automationSubtypeHasBeenSet = true; m_automationSubtype = value; }
412 inline void SetAutomationSubtype(AutomationSubtype&& value) { m_automationSubtypeHasBeenSet = true; m_automationSubtype = std::move(value); }
416
418
421 inline const Aws::Utils::DateTime& GetScheduledTime() const{ return m_scheduledTime; }
422 inline bool ScheduledTimeHasBeenSet() const { return m_scheduledTimeHasBeenSet; }
423 inline void SetScheduledTime(const Aws::Utils::DateTime& value) { m_scheduledTimeHasBeenSet = true; m_scheduledTime = value; }
424 inline void SetScheduledTime(Aws::Utils::DateTime&& value) { m_scheduledTimeHasBeenSet = true; m_scheduledTime = std::move(value); }
426 inline AutomationExecutionMetadata& WithScheduledTime(Aws::Utils::DateTime&& value) { SetScheduledTime(std::move(value)); return *this;}
428
430
436 inline const Aws::Vector<Runbook>& GetRunbooks() const{ return m_runbooks; }
437 inline bool RunbooksHasBeenSet() const { return m_runbooksHasBeenSet; }
438 inline void SetRunbooks(const Aws::Vector<Runbook>& value) { m_runbooksHasBeenSet = true; m_runbooks = value; }
439 inline void SetRunbooks(Aws::Vector<Runbook>&& value) { m_runbooksHasBeenSet = true; m_runbooks = std::move(value); }
440 inline AutomationExecutionMetadata& WithRunbooks(const Aws::Vector<Runbook>& value) { SetRunbooks(value); return *this;}
441 inline AutomationExecutionMetadata& WithRunbooks(Aws::Vector<Runbook>&& value) { SetRunbooks(std::move(value)); return *this;}
442 inline AutomationExecutionMetadata& AddRunbooks(const Runbook& value) { m_runbooksHasBeenSet = true; m_runbooks.push_back(value); return *this; }
443 inline AutomationExecutionMetadata& AddRunbooks(Runbook&& value) { m_runbooksHasBeenSet = true; m_runbooks.push_back(std::move(value)); return *this; }
445
447
451 inline const Aws::String& GetOpsItemId() const{ return m_opsItemId; }
452 inline bool OpsItemIdHasBeenSet() const { return m_opsItemIdHasBeenSet; }
453 inline void SetOpsItemId(const Aws::String& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = value; }
454 inline void SetOpsItemId(Aws::String&& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = std::move(value); }
455 inline void SetOpsItemId(const char* value) { m_opsItemIdHasBeenSet = true; m_opsItemId.assign(value); }
456 inline AutomationExecutionMetadata& WithOpsItemId(const Aws::String& value) { SetOpsItemId(value); return *this;}
457 inline AutomationExecutionMetadata& WithOpsItemId(Aws::String&& value) { SetOpsItemId(std::move(value)); return *this;}
458 inline AutomationExecutionMetadata& WithOpsItemId(const char* value) { SetOpsItemId(value); return *this;}
460
462
465 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
466 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
467 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
468 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
469 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
470 inline AutomationExecutionMetadata& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
471 inline AutomationExecutionMetadata& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
472 inline AutomationExecutionMetadata& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
474
476
479 inline const Aws::String& GetChangeRequestName() const{ return m_changeRequestName; }
480 inline bool ChangeRequestNameHasBeenSet() const { return m_changeRequestNameHasBeenSet; }
481 inline void SetChangeRequestName(const Aws::String& value) { m_changeRequestNameHasBeenSet = true; m_changeRequestName = value; }
482 inline void SetChangeRequestName(Aws::String&& value) { m_changeRequestNameHasBeenSet = true; m_changeRequestName = std::move(value); }
483 inline void SetChangeRequestName(const char* value) { m_changeRequestNameHasBeenSet = true; m_changeRequestName.assign(value); }
485 inline AutomationExecutionMetadata& WithChangeRequestName(Aws::String&& value) { SetChangeRequestName(std::move(value)); return *this;}
486 inline AutomationExecutionMetadata& WithChangeRequestName(const char* value) { SetChangeRequestName(value); return *this;}
488 private:
489
490 Aws::String m_automationExecutionId;
491 bool m_automationExecutionIdHasBeenSet = false;
492
493 Aws::String m_documentName;
494 bool m_documentNameHasBeenSet = false;
495
496 Aws::String m_documentVersion;
497 bool m_documentVersionHasBeenSet = false;
498
499 AutomationExecutionStatus m_automationExecutionStatus;
500 bool m_automationExecutionStatusHasBeenSet = false;
501
502 Aws::Utils::DateTime m_executionStartTime;
503 bool m_executionStartTimeHasBeenSet = false;
504
505 Aws::Utils::DateTime m_executionEndTime;
506 bool m_executionEndTimeHasBeenSet = false;
507
508 Aws::String m_executedBy;
509 bool m_executedByHasBeenSet = false;
510
511 Aws::String m_logFile;
512 bool m_logFileHasBeenSet = false;
513
515 bool m_outputsHasBeenSet = false;
516
517 ExecutionMode m_mode;
518 bool m_modeHasBeenSet = false;
519
520 Aws::String m_parentAutomationExecutionId;
521 bool m_parentAutomationExecutionIdHasBeenSet = false;
522
523 Aws::String m_currentStepName;
524 bool m_currentStepNameHasBeenSet = false;
525
526 Aws::String m_currentAction;
527 bool m_currentActionHasBeenSet = false;
528
529 Aws::String m_failureMessage;
530 bool m_failureMessageHasBeenSet = false;
531
532 Aws::String m_targetParameterName;
533 bool m_targetParameterNameHasBeenSet = false;
534
535 Aws::Vector<Target> m_targets;
536 bool m_targetsHasBeenSet = false;
537
539 bool m_targetMapsHasBeenSet = false;
540
541 ResolvedTargets m_resolvedTargets;
542 bool m_resolvedTargetsHasBeenSet = false;
543
544 Aws::String m_maxConcurrency;
545 bool m_maxConcurrencyHasBeenSet = false;
546
547 Aws::String m_maxErrors;
548 bool m_maxErrorsHasBeenSet = false;
549
550 Aws::String m_target;
551 bool m_targetHasBeenSet = false;
552
553 AutomationType m_automationType;
554 bool m_automationTypeHasBeenSet = false;
555
556 AlarmConfiguration m_alarmConfiguration;
557 bool m_alarmConfigurationHasBeenSet = false;
558
559 Aws::Vector<AlarmStateInformation> m_triggeredAlarms;
560 bool m_triggeredAlarmsHasBeenSet = false;
561
562 Aws::String m_targetLocationsURL;
563 bool m_targetLocationsURLHasBeenSet = false;
564
565 AutomationSubtype m_automationSubtype;
566 bool m_automationSubtypeHasBeenSet = false;
567
568 Aws::Utils::DateTime m_scheduledTime;
569 bool m_scheduledTimeHasBeenSet = false;
570
571 Aws::Vector<Runbook> m_runbooks;
572 bool m_runbooksHasBeenSet = false;
573
574 Aws::String m_opsItemId;
575 bool m_opsItemIdHasBeenSet = false;
576
577 Aws::String m_associationId;
578 bool m_associationIdHasBeenSet = false;
579
580 Aws::String m_changeRequestName;
581 bool m_changeRequestNameHasBeenSet = false;
582 };
583
584} // namespace Model
585} // namespace SSM
586} // namespace Aws
AutomationExecutionMetadata & WithExecutionStartTime(Aws::Utils::DateTime &&value)
AutomationExecutionMetadata & WithMaxConcurrency(const Aws::String &value)
AutomationExecutionMetadata & WithOpsItemId(const Aws::String &value)
AutomationExecutionMetadata & WithLogFile(const Aws::String &value)
void SetExecutionEndTime(const Aws::Utils::DateTime &value)
AutomationExecutionMetadata & WithFailureMessage(const char *value)
const Aws::Vector< AlarmStateInformation > & GetTriggeredAlarms() const
AutomationExecutionMetadata & WithOpsItemId(Aws::String &&value)
AutomationExecutionMetadata & WithAutomationType(AutomationType &&value)
AutomationExecutionMetadata & AddTriggeredAlarms(AlarmStateInformation &&value)
AutomationExecutionMetadata & AddOutputs(const Aws::String &key, const Aws::Vector< Aws::String > &value)
AutomationExecutionMetadata & WithAutomationExecutionStatus(AutomationExecutionStatus &&value)
const AlarmConfiguration & GetAlarmConfiguration() const
void SetAlarmConfiguration(const AlarmConfiguration &value)
AutomationExecutionMetadata & WithOutputs(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
AutomationExecutionMetadata & WithCurrentStepName(const char *value)
AutomationExecutionMetadata & WithMaxConcurrency(Aws::String &&value)
AutomationExecutionMetadata & WithFailureMessage(const Aws::String &value)
AutomationExecutionMetadata & WithTargetParameterName(const char *value)
AutomationExecutionMetadata & WithFailureMessage(Aws::String &&value)
AutomationExecutionMetadata & WithAlarmConfiguration(AlarmConfiguration &&value)
AutomationExecutionMetadata & WithMaxConcurrency(const char *value)
AutomationExecutionMetadata & WithExecutedBy(Aws::String &&value)
void SetAutomationExecutionStatus(AutomationExecutionStatus &&value)
AutomationExecutionMetadata & WithTargetLocationsURL(const Aws::String &value)
AutomationExecutionMetadata & WithExecutionStartTime(const Aws::Utils::DateTime &value)
const AutomationExecutionStatus & GetAutomationExecutionStatus() const
void SetScheduledTime(const Aws::Utils::DateTime &value)
AutomationExecutionMetadata & WithAutomationExecutionId(const char *value)
AutomationExecutionMetadata & AddRunbooks(Runbook &&value)
AutomationExecutionMetadata & WithCurrentStepName(Aws::String &&value)
AutomationExecutionMetadata & WithExecutionEndTime(const Aws::Utils::DateTime &value)
void SetTargets(const Aws::Vector< Target > &value)
AutomationExecutionMetadata & AddTargetMaps(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
AutomationExecutionMetadata & WithParentAutomationExecutionId(const char *value)
AutomationExecutionMetadata & AddTargets(const Target &value)
AutomationExecutionMetadata & WithResolvedTargets(ResolvedTargets &&value)
AutomationExecutionMetadata & WithTargetLocationsURL(const char *value)
AutomationExecutionMetadata & WithTriggeredAlarms(Aws::Vector< AlarmStateInformation > &&value)
AutomationExecutionMetadata & WithMaxErrors(Aws::String &&value)
AutomationExecutionMetadata & WithAssociationId(const Aws::String &value)
AutomationExecutionMetadata & WithResolvedTargets(const ResolvedTargets &value)
void SetAutomationExecutionStatus(const AutomationExecutionStatus &value)
AutomationExecutionMetadata & WithTargetLocationsURL(Aws::String &&value)
AutomationExecutionMetadata & WithCurrentStepName(const Aws::String &value)
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
AutomationExecutionMetadata & WithMaxErrors(const Aws::String &value)
AutomationExecutionMetadata & WithMode(const ExecutionMode &value)
AutomationExecutionMetadata & AddOutputs(Aws::String &&key, const Aws::Vector< Aws::String > &value)
AutomationExecutionMetadata & WithTargetParameterName(const Aws::String &value)
void SetExecutionStartTime(const Aws::Utils::DateTime &value)
AutomationExecutionMetadata & WithAutomationExecutionId(Aws::String &&value)
AutomationExecutionMetadata & WithTargets(Aws::Vector< Target > &&value)
AutomationExecutionMetadata & WithTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
AutomationExecutionMetadata & AddOutputs(const char *key, Aws::Vector< Aws::String > &&value)
AutomationExecutionMetadata & WithTarget(const Aws::String &value)
void SetExecutionStartTime(Aws::Utils::DateTime &&value)
AutomationExecutionMetadata & WithAlarmConfiguration(const AlarmConfiguration &value)
void SetTriggeredAlarms(Aws::Vector< AlarmStateInformation > &&value)
AutomationExecutionMetadata & WithExecutedBy(const char *value)
AutomationExecutionMetadata & WithTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
AutomationExecutionMetadata & WithChangeRequestName(const char *value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetOutputs() const
AutomationExecutionMetadata & WithDocumentVersion(const char *value)
const Aws::Vector< Runbook > & GetRunbooks() const
AutomationExecutionMetadata & AddOutputs(Aws::String &&key, Aws::Vector< Aws::String > &&value)
AutomationExecutionMetadata & WithScheduledTime(const Aws::Utils::DateTime &value)
AutomationExecutionMetadata & WithDocumentName(Aws::String &&value)
AutomationExecutionMetadata & WithExecutionEndTime(Aws::Utils::DateTime &&value)
AutomationExecutionMetadata & WithTargets(const Aws::Vector< Target > &value)
void SetTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
AutomationExecutionMetadata & WithParentAutomationExecutionId(const Aws::String &value)
AutomationExecutionMetadata & AddTargets(Target &&value)
AutomationExecutionMetadata & WithOpsItemId(const char *value)
AWS_SSM_API AutomationExecutionMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetOutputs(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AutomationExecutionMetadata & WithTarget(const char *value)
AutomationExecutionMetadata & AddOutputs(const char *key, const Aws::Vector< Aws::String > &value)
void SetRunbooks(const Aws::Vector< Runbook > &value)
AutomationExecutionMetadata & WithTriggeredAlarms(const Aws::Vector< AlarmStateInformation > &value)
AutomationExecutionMetadata & AddTargetMaps(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AutomationExecutionMetadata & WithLogFile(Aws::String &&value)
AutomationExecutionMetadata & WithAssociationId(const char *value)
AutomationExecutionMetadata & WithDocumentName(const Aws::String &value)
AutomationExecutionMetadata & WithLogFile(const char *value)
const Aws::Utils::DateTime & GetExecutionEndTime() const
AutomationExecutionMetadata & WithRunbooks(Aws::Vector< Runbook > &&value)
AutomationExecutionMetadata & WithAutomationType(const AutomationType &value)
void SetTriggeredAlarms(const Aws::Vector< AlarmStateInformation > &value)
AWS_SSM_API AutomationExecutionMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomationExecutionMetadata & WithDocumentVersion(const Aws::String &value)
AutomationExecutionMetadata & AddRunbooks(const Runbook &value)
AutomationExecutionMetadata & WithCurrentAction(const Aws::String &value)
void SetOutputs(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
AutomationExecutionMetadata & WithDocumentVersion(Aws::String &&value)
AutomationExecutionMetadata & WithOutputs(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AutomationExecutionMetadata & WithChangeRequestName(const Aws::String &value)
AutomationExecutionMetadata & AddTriggeredAlarms(const AlarmStateInformation &value)
AutomationExecutionMetadata & WithAutomationSubtype(AutomationSubtype &&value)
AutomationExecutionMetadata & AddOutputs(const Aws::String &key, Aws::Vector< Aws::String > &&value)
AutomationExecutionMetadata & WithCurrentAction(const char *value)
void SetAutomationSubtype(const AutomationSubtype &value)
void SetTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
AutomationExecutionMetadata & WithChangeRequestName(Aws::String &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AutomationExecutionMetadata & WithMaxErrors(const char *value)
const Aws::Utils::DateTime & GetScheduledTime() const
AutomationExecutionMetadata & WithExecutedBy(const Aws::String &value)
AutomationExecutionMetadata & WithMode(ExecutionMode &&value)
AutomationExecutionMetadata & WithScheduledTime(Aws::Utils::DateTime &&value)
AutomationExecutionMetadata & WithParentAutomationExecutionId(Aws::String &&value)
AutomationExecutionMetadata & WithTarget(Aws::String &&value)
AutomationExecutionMetadata & WithRunbooks(const Aws::Vector< Runbook > &value)
AutomationExecutionMetadata & WithTargetParameterName(Aws::String &&value)
AutomationExecutionMetadata & WithAutomationExecutionStatus(const AutomationExecutionStatus &value)
AutomationExecutionMetadata & WithDocumentName(const char *value)
const Aws::Utils::DateTime & GetExecutionStartTime() const
AutomationExecutionMetadata & WithAutomationSubtype(const AutomationSubtype &value)
AutomationExecutionMetadata & WithCurrentAction(Aws::String &&value)
AutomationExecutionMetadata & WithAssociationId(Aws::String &&value)
AutomationExecutionMetadata & WithAutomationExecutionId(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