AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociationDescription.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/AssociationStatus.h>
11#include <aws/ssm/model/AssociationOverview.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ssm/model/InstanceAssociationOutputLocation.h>
15#include <aws/ssm/model/AssociationComplianceSeverity.h>
16#include <aws/ssm/model/AssociationSyncCompliance.h>
17#include <aws/ssm/model/AlarmConfiguration.h>
18#include <aws/ssm/model/Target.h>
19#include <aws/ssm/model/TargetLocation.h>
20#include <aws/ssm/model/AlarmStateInformation.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& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline AssociationDescription& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline AssociationDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline AssociationDescription& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
71 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
72 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
73 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
74 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
75 inline AssociationDescription& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
76 inline AssociationDescription& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
77 inline AssociationDescription& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
79
81
84 inline const Aws::String& GetAssociationVersion() const{ return m_associationVersion; }
85 inline bool AssociationVersionHasBeenSet() const { return m_associationVersionHasBeenSet; }
86 inline void SetAssociationVersion(const Aws::String& value) { m_associationVersionHasBeenSet = true; m_associationVersion = value; }
87 inline void SetAssociationVersion(Aws::String&& value) { m_associationVersionHasBeenSet = true; m_associationVersion = std::move(value); }
88 inline void SetAssociationVersion(const char* value) { m_associationVersionHasBeenSet = true; m_associationVersion.assign(value); }
90 inline AssociationDescription& WithAssociationVersion(Aws::String&& value) { SetAssociationVersion(std::move(value)); return *this;}
91 inline AssociationDescription& WithAssociationVersion(const char* value) { SetAssociationVersion(value); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetDate() const{ return m_date; }
99 inline bool DateHasBeenSet() const { return m_dateHasBeenSet; }
100 inline void SetDate(const Aws::Utils::DateTime& value) { m_dateHasBeenSet = true; m_date = value; }
101 inline void SetDate(Aws::Utils::DateTime&& value) { m_dateHasBeenSet = true; m_date = std::move(value); }
102 inline AssociationDescription& WithDate(const Aws::Utils::DateTime& value) { SetDate(value); return *this;}
103 inline AssociationDescription& WithDate(Aws::Utils::DateTime&& value) { SetDate(std::move(value)); return *this;}
105
107
110 inline const Aws::Utils::DateTime& GetLastUpdateAssociationDate() const{ return m_lastUpdateAssociationDate; }
111 inline bool LastUpdateAssociationDateHasBeenSet() const { return m_lastUpdateAssociationDateHasBeenSet; }
112 inline void SetLastUpdateAssociationDate(const Aws::Utils::DateTime& value) { m_lastUpdateAssociationDateHasBeenSet = true; m_lastUpdateAssociationDate = value; }
113 inline void SetLastUpdateAssociationDate(Aws::Utils::DateTime&& value) { m_lastUpdateAssociationDateHasBeenSet = true; m_lastUpdateAssociationDate = std::move(value); }
117
119
122 inline const AssociationStatus& GetStatus() const{ return m_status; }
123 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
124 inline void SetStatus(const AssociationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
125 inline void SetStatus(AssociationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
126 inline AssociationDescription& WithStatus(const AssociationStatus& value) { SetStatus(value); return *this;}
127 inline AssociationDescription& WithStatus(AssociationStatus&& value) { SetStatus(std::move(value)); return *this;}
129
131
134 inline const AssociationOverview& GetOverview() const{ return m_overview; }
135 inline bool OverviewHasBeenSet() const { return m_overviewHasBeenSet; }
136 inline void SetOverview(const AssociationOverview& value) { m_overviewHasBeenSet = true; m_overview = value; }
137 inline void SetOverview(AssociationOverview&& value) { m_overviewHasBeenSet = true; m_overview = std::move(value); }
138 inline AssociationDescription& WithOverview(const AssociationOverview& value) { SetOverview(value); return *this;}
139 inline AssociationDescription& WithOverview(AssociationOverview&& value) { SetOverview(std::move(value)); return *this;}
141
143
146 inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; }
147 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
148 inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; }
149 inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); }
150 inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); }
151 inline AssociationDescription& WithDocumentVersion(const Aws::String& value) { SetDocumentVersion(value); return *this;}
152 inline AssociationDescription& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;}
153 inline AssociationDescription& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;}
155
157
163 inline const Aws::String& GetAutomationTargetParameterName() const{ return m_automationTargetParameterName; }
164 inline bool AutomationTargetParameterNameHasBeenSet() const { return m_automationTargetParameterNameHasBeenSet; }
165 inline void SetAutomationTargetParameterName(const Aws::String& value) { m_automationTargetParameterNameHasBeenSet = true; m_automationTargetParameterName = value; }
166 inline void SetAutomationTargetParameterName(Aws::String&& value) { m_automationTargetParameterNameHasBeenSet = true; m_automationTargetParameterName = std::move(value); }
167 inline void SetAutomationTargetParameterName(const char* value) { m_automationTargetParameterNameHasBeenSet = true; m_automationTargetParameterName.assign(value); }
172
174
177 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetParameters() const{ return m_parameters; }
178 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
179 inline void SetParameters(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
180 inline void SetParameters(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
183 inline AssociationDescription& AddParameters(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
184 inline AssociationDescription& AddParameters(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
185 inline AssociationDescription& AddParameters(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
186 inline AssociationDescription& AddParameters(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
187 inline AssociationDescription& AddParameters(const char* key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
188 inline AssociationDescription& AddParameters(const char* key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
190
192
195 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
196 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
197 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
198 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
199 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
200 inline AssociationDescription& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
201 inline AssociationDescription& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
202 inline AssociationDescription& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
204
206
209 inline const Aws::Vector<Target>& GetTargets() const{ return m_targets; }
210 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
211 inline void SetTargets(const Aws::Vector<Target>& value) { m_targetsHasBeenSet = true; m_targets = value; }
212 inline void SetTargets(Aws::Vector<Target>&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
213 inline AssociationDescription& WithTargets(const Aws::Vector<Target>& value) { SetTargets(value); return *this;}
214 inline AssociationDescription& WithTargets(Aws::Vector<Target>&& value) { SetTargets(std::move(value)); return *this;}
215 inline AssociationDescription& AddTargets(const Target& value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; }
216 inline AssociationDescription& AddTargets(Target&& value) { m_targetsHasBeenSet = true; m_targets.push_back(std::move(value)); return *this; }
218
220
223 inline const Aws::String& GetScheduleExpression() const{ return m_scheduleExpression; }
224 inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; }
225 inline void SetScheduleExpression(const Aws::String& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = value; }
226 inline void SetScheduleExpression(Aws::String&& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = std::move(value); }
227 inline void SetScheduleExpression(const char* value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression.assign(value); }
229 inline AssociationDescription& WithScheduleExpression(Aws::String&& value) { SetScheduleExpression(std::move(value)); return *this;}
230 inline AssociationDescription& WithScheduleExpression(const char* value) { SetScheduleExpression(value); return *this;}
232
234
237 inline const InstanceAssociationOutputLocation& GetOutputLocation() const{ return m_outputLocation; }
238 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
239 inline void SetOutputLocation(const InstanceAssociationOutputLocation& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; }
240 inline void SetOutputLocation(InstanceAssociationOutputLocation&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); }
244
246
249 inline const Aws::Utils::DateTime& GetLastExecutionDate() const{ return m_lastExecutionDate; }
250 inline bool LastExecutionDateHasBeenSet() const { return m_lastExecutionDateHasBeenSet; }
251 inline void SetLastExecutionDate(const Aws::Utils::DateTime& value) { m_lastExecutionDateHasBeenSet = true; m_lastExecutionDate = value; }
252 inline void SetLastExecutionDate(Aws::Utils::DateTime&& value) { m_lastExecutionDateHasBeenSet = true; m_lastExecutionDate = std::move(value); }
256
258
261 inline const Aws::Utils::DateTime& GetLastSuccessfulExecutionDate() const{ return m_lastSuccessfulExecutionDate; }
262 inline bool LastSuccessfulExecutionDateHasBeenSet() const { return m_lastSuccessfulExecutionDateHasBeenSet; }
263 inline void SetLastSuccessfulExecutionDate(const Aws::Utils::DateTime& value) { m_lastSuccessfulExecutionDateHasBeenSet = true; m_lastSuccessfulExecutionDate = value; }
264 inline void SetLastSuccessfulExecutionDate(Aws::Utils::DateTime&& value) { m_lastSuccessfulExecutionDateHasBeenSet = true; m_lastSuccessfulExecutionDate = std::move(value); }
268
270
273 inline const Aws::String& GetAssociationName() const{ return m_associationName; }
274 inline bool AssociationNameHasBeenSet() const { return m_associationNameHasBeenSet; }
275 inline void SetAssociationName(const Aws::String& value) { m_associationNameHasBeenSet = true; m_associationName = value; }
276 inline void SetAssociationName(Aws::String&& value) { m_associationNameHasBeenSet = true; m_associationName = std::move(value); }
277 inline void SetAssociationName(const char* value) { m_associationNameHasBeenSet = true; m_associationName.assign(value); }
278 inline AssociationDescription& WithAssociationName(const Aws::String& value) { SetAssociationName(value); return *this;}
279 inline AssociationDescription& WithAssociationName(Aws::String&& value) { SetAssociationName(std::move(value)); return *this;}
280 inline AssociationDescription& WithAssociationName(const char* value) { SetAssociationName(value); return *this;}
282
284
299 inline const Aws::String& GetMaxErrors() const{ return m_maxErrors; }
300 inline bool MaxErrorsHasBeenSet() const { return m_maxErrorsHasBeenSet; }
301 inline void SetMaxErrors(const Aws::String& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = value; }
302 inline void SetMaxErrors(Aws::String&& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = std::move(value); }
303 inline void SetMaxErrors(const char* value) { m_maxErrorsHasBeenSet = true; m_maxErrors.assign(value); }
304 inline AssociationDescription& WithMaxErrors(const Aws::String& value) { SetMaxErrors(value); return *this;}
305 inline AssociationDescription& WithMaxErrors(Aws::String&& value) { SetMaxErrors(std::move(value)); return *this;}
306 inline AssociationDescription& WithMaxErrors(const char* value) { SetMaxErrors(value); return *this;}
308
310
320 inline const Aws::String& GetMaxConcurrency() const{ return m_maxConcurrency; }
321 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
322 inline void SetMaxConcurrency(const Aws::String& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = value; }
323 inline void SetMaxConcurrency(Aws::String&& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = std::move(value); }
324 inline void SetMaxConcurrency(const char* value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency.assign(value); }
325 inline AssociationDescription& WithMaxConcurrency(const Aws::String& value) { SetMaxConcurrency(value); return *this;}
326 inline AssociationDescription& WithMaxConcurrency(Aws::String&& value) { SetMaxConcurrency(std::move(value)); return *this;}
327 inline AssociationDescription& WithMaxConcurrency(const char* value) { SetMaxConcurrency(value); return *this;}
329
331
334 inline const AssociationComplianceSeverity& GetComplianceSeverity() const{ return m_complianceSeverity; }
335 inline bool ComplianceSeverityHasBeenSet() const { return m_complianceSeverityHasBeenSet; }
336 inline void SetComplianceSeverity(const AssociationComplianceSeverity& value) { m_complianceSeverityHasBeenSet = true; m_complianceSeverity = value; }
337 inline void SetComplianceSeverity(AssociationComplianceSeverity&& value) { m_complianceSeverityHasBeenSet = true; m_complianceSeverity = std::move(value); }
341
343
356 inline const AssociationSyncCompliance& GetSyncCompliance() const{ return m_syncCompliance; }
357 inline bool SyncComplianceHasBeenSet() const { return m_syncComplianceHasBeenSet; }
358 inline void SetSyncCompliance(const AssociationSyncCompliance& value) { m_syncComplianceHasBeenSet = true; m_syncCompliance = value; }
359 inline void SetSyncCompliance(AssociationSyncCompliance&& value) { m_syncComplianceHasBeenSet = true; m_syncCompliance = std::move(value); }
363
365
372 inline bool GetApplyOnlyAtCronInterval() const{ return m_applyOnlyAtCronInterval; }
373 inline bool ApplyOnlyAtCronIntervalHasBeenSet() const { return m_applyOnlyAtCronIntervalHasBeenSet; }
374 inline void SetApplyOnlyAtCronInterval(bool value) { m_applyOnlyAtCronIntervalHasBeenSet = true; m_applyOnlyAtCronInterval = value; }
377
379
386 inline const Aws::Vector<Aws::String>& GetCalendarNames() const{ return m_calendarNames; }
387 inline bool CalendarNamesHasBeenSet() const { return m_calendarNamesHasBeenSet; }
388 inline void SetCalendarNames(const Aws::Vector<Aws::String>& value) { m_calendarNamesHasBeenSet = true; m_calendarNames = value; }
389 inline void SetCalendarNames(Aws::Vector<Aws::String>&& value) { m_calendarNamesHasBeenSet = true; m_calendarNames = std::move(value); }
391 inline AssociationDescription& WithCalendarNames(Aws::Vector<Aws::String>&& value) { SetCalendarNames(std::move(value)); return *this;}
392 inline AssociationDescription& AddCalendarNames(const Aws::String& value) { m_calendarNamesHasBeenSet = true; m_calendarNames.push_back(value); return *this; }
393 inline AssociationDescription& AddCalendarNames(Aws::String&& value) { m_calendarNamesHasBeenSet = true; m_calendarNames.push_back(std::move(value)); return *this; }
394 inline AssociationDescription& AddCalendarNames(const char* value) { m_calendarNamesHasBeenSet = true; m_calendarNames.push_back(value); return *this; }
396
398
402 inline const Aws::Vector<TargetLocation>& GetTargetLocations() const{ return m_targetLocations; }
403 inline bool TargetLocationsHasBeenSet() const { return m_targetLocationsHasBeenSet; }
404 inline void SetTargetLocations(const Aws::Vector<TargetLocation>& value) { m_targetLocationsHasBeenSet = true; m_targetLocations = value; }
405 inline void SetTargetLocations(Aws::Vector<TargetLocation>&& value) { m_targetLocationsHasBeenSet = true; m_targetLocations = std::move(value); }
408 inline AssociationDescription& AddTargetLocations(const TargetLocation& value) { m_targetLocationsHasBeenSet = true; m_targetLocations.push_back(value); return *this; }
409 inline AssociationDescription& AddTargetLocations(TargetLocation&& value) { m_targetLocationsHasBeenSet = true; m_targetLocations.push_back(std::move(value)); return *this; }
411
413
416 inline int GetScheduleOffset() const{ return m_scheduleOffset; }
417 inline bool ScheduleOffsetHasBeenSet() const { return m_scheduleOffsetHasBeenSet; }
418 inline void SetScheduleOffset(int value) { m_scheduleOffsetHasBeenSet = true; m_scheduleOffset = value; }
419 inline AssociationDescription& WithScheduleOffset(int value) { SetScheduleOffset(value); return *this;}
421
423
428 inline int GetDuration() const{ return m_duration; }
429 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
430 inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; }
431 inline AssociationDescription& WithDuration(int value) { SetDuration(value); return *this;}
433
435
439 inline const Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>& GetTargetMaps() const{ return m_targetMaps; }
440 inline bool TargetMapsHasBeenSet() const { return m_targetMapsHasBeenSet; }
441 inline void SetTargetMaps(const Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>& value) { m_targetMapsHasBeenSet = true; m_targetMaps = value; }
442 inline void SetTargetMaps(Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>&& value) { m_targetMapsHasBeenSet = true; m_targetMaps = std::move(value); }
445 inline AssociationDescription& AddTargetMaps(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_targetMapsHasBeenSet = true; m_targetMaps.push_back(value); return *this; }
446 inline AssociationDescription& AddTargetMaps(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_targetMapsHasBeenSet = true; m_targetMaps.push_back(std::move(value)); return *this; }
448
450
451 inline const AlarmConfiguration& GetAlarmConfiguration() const{ return m_alarmConfiguration; }
452 inline bool AlarmConfigurationHasBeenSet() const { return m_alarmConfigurationHasBeenSet; }
453 inline void SetAlarmConfiguration(const AlarmConfiguration& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = value; }
454 inline void SetAlarmConfiguration(AlarmConfiguration&& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = std::move(value); }
458
460
463 inline const Aws::Vector<AlarmStateInformation>& GetTriggeredAlarms() const{ return m_triggeredAlarms; }
464 inline bool TriggeredAlarmsHasBeenSet() const { return m_triggeredAlarmsHasBeenSet; }
465 inline void SetTriggeredAlarms(const Aws::Vector<AlarmStateInformation>& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms = value; }
466 inline void SetTriggeredAlarms(Aws::Vector<AlarmStateInformation>&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms = std::move(value); }
469 inline AssociationDescription& AddTriggeredAlarms(const AlarmStateInformation& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms.push_back(value); return *this; }
470 inline AssociationDescription& AddTriggeredAlarms(AlarmStateInformation&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms.push_back(std::move(value)); return *this; }
472 private:
473
474 Aws::String m_name;
475 bool m_nameHasBeenSet = false;
476
477 Aws::String m_instanceId;
478 bool m_instanceIdHasBeenSet = false;
479
480 Aws::String m_associationVersion;
481 bool m_associationVersionHasBeenSet = false;
482
484 bool m_dateHasBeenSet = false;
485
486 Aws::Utils::DateTime m_lastUpdateAssociationDate;
487 bool m_lastUpdateAssociationDateHasBeenSet = false;
488
489 AssociationStatus m_status;
490 bool m_statusHasBeenSet = false;
491
492 AssociationOverview m_overview;
493 bool m_overviewHasBeenSet = false;
494
495 Aws::String m_documentVersion;
496 bool m_documentVersionHasBeenSet = false;
497
498 Aws::String m_automationTargetParameterName;
499 bool m_automationTargetParameterNameHasBeenSet = false;
500
502 bool m_parametersHasBeenSet = false;
503
504 Aws::String m_associationId;
505 bool m_associationIdHasBeenSet = false;
506
507 Aws::Vector<Target> m_targets;
508 bool m_targetsHasBeenSet = false;
509
510 Aws::String m_scheduleExpression;
511 bool m_scheduleExpressionHasBeenSet = false;
512
513 InstanceAssociationOutputLocation m_outputLocation;
514 bool m_outputLocationHasBeenSet = false;
515
516 Aws::Utils::DateTime m_lastExecutionDate;
517 bool m_lastExecutionDateHasBeenSet = false;
518
519 Aws::Utils::DateTime m_lastSuccessfulExecutionDate;
520 bool m_lastSuccessfulExecutionDateHasBeenSet = false;
521
522 Aws::String m_associationName;
523 bool m_associationNameHasBeenSet = false;
524
525 Aws::String m_maxErrors;
526 bool m_maxErrorsHasBeenSet = false;
527
528 Aws::String m_maxConcurrency;
529 bool m_maxConcurrencyHasBeenSet = false;
530
531 AssociationComplianceSeverity m_complianceSeverity;
532 bool m_complianceSeverityHasBeenSet = false;
533
534 AssociationSyncCompliance m_syncCompliance;
535 bool m_syncComplianceHasBeenSet = false;
536
537 bool m_applyOnlyAtCronInterval;
538 bool m_applyOnlyAtCronIntervalHasBeenSet = false;
539
540 Aws::Vector<Aws::String> m_calendarNames;
541 bool m_calendarNamesHasBeenSet = false;
542
543 Aws::Vector<TargetLocation> m_targetLocations;
544 bool m_targetLocationsHasBeenSet = false;
545
546 int m_scheduleOffset;
547 bool m_scheduleOffsetHasBeenSet = false;
548
549 int m_duration;
550 bool m_durationHasBeenSet = false;
551
553 bool m_targetMapsHasBeenSet = false;
554
555 AlarmConfiguration m_alarmConfiguration;
556 bool m_alarmConfigurationHasBeenSet = false;
557
558 Aws::Vector<AlarmStateInformation> m_triggeredAlarms;
559 bool m_triggeredAlarmsHasBeenSet = false;
560 };
561
562} // namespace Model
563} // namespace SSM
564} // namespace Aws
AssociationDescription & AddParameters(Aws::String &&key, Aws::Vector< Aws::String > &&value)
void SetParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AssociationDescription & WithAutomationTargetParameterName(const Aws::String &value)
const AlarmConfiguration & GetAlarmConfiguration() const
void SetStatus(const AssociationStatus &value)
void SetTargets(Aws::Vector< Target > &&value)
AssociationDescription & WithAlarmConfiguration(const AlarmConfiguration &value)
AssociationDescription & WithInstanceId(Aws::String &&value)
void SetMaxErrors(const Aws::String &value)
AssociationDescription & AddTargetMaps(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AssociationDescription & WithLastSuccessfulExecutionDate(Aws::Utils::DateTime &&value)
AssociationDescription & WithMaxErrors(const Aws::String &value)
const AssociationComplianceSeverity & GetComplianceSeverity() const
AssociationDescription & WithAssociationId(const char *value)
AssociationDescription & WithDocumentVersion(Aws::String &&value)
void SetTargetLocations(Aws::Vector< TargetLocation > &&value)
AssociationDescription & WithInstanceId(const char *value)
AssociationDescription & WithApplyOnlyAtCronInterval(bool value)
const Aws::String & GetScheduleExpression() const
AssociationDescription & WithMaxErrors(const char *value)
AssociationDescription & WithMaxConcurrency(const char *value)
AssociationDescription & WithTargets(Aws::Vector< Target > &&value)
AssociationDescription & WithStatus(AssociationStatus &&value)
AssociationDescription & WithLastSuccessfulExecutionDate(const Aws::Utils::DateTime &value)
void SetMaxConcurrency(const Aws::String &value)
void SetLastExecutionDate(Aws::Utils::DateTime &&value)
void SetComplianceSeverity(const AssociationComplianceSeverity &value)
AWS_SSM_API AssociationDescription(Aws::Utils::Json::JsonView jsonValue)
void SetTriggeredAlarms(const Aws::Vector< AlarmStateInformation > &value)
AssociationDescription & WithMaxConcurrency(const Aws::String &value)
AssociationDescription & WithTargetLocations(const Aws::Vector< TargetLocation > &value)
AssociationDescription & WithDuration(int value)
void SetScheduleExpression(const Aws::String &value)
AssociationDescription & AddTargetMaps(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetLastSuccessfulExecutionDate(Aws::Utils::DateTime &&value)
void SetTargets(const Aws::Vector< Target > &value)
void SetAssociationVersion(const Aws::String &value)
AssociationDescription & WithTargets(const Aws::Vector< Target > &value)
AssociationDescription & WithSyncCompliance(const AssociationSyncCompliance &value)
void SetLastUpdateAssociationDate(Aws::Utils::DateTime &&value)
AssociationDescription & WithTriggeredAlarms(Aws::Vector< AlarmStateInformation > &&value)
AssociationDescription & WithOutputLocation(const InstanceAssociationOutputLocation &value)
AssociationDescription & WithAssociationVersion(const char *value)
AssociationDescription & WithAssociationId(const Aws::String &value)
const Aws::Vector< Target > & GetTargets() const
const AssociationOverview & GetOverview() const
AssociationDescription & AddParameters(const Aws::String &key, const Aws::Vector< Aws::String > &value)
AssociationDescription & WithLastUpdateAssociationDate(const Aws::Utils::DateTime &value)
AssociationDescription & WithName(const Aws::String &value)
void SetAlarmConfiguration(AlarmConfiguration &&value)
void SetAutomationTargetParameterName(Aws::String &&value)
AWS_SSM_API AssociationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AssociationDescription & WithDocumentVersion(const char *value)
AssociationDescription & WithStatus(const AssociationStatus &value)
AssociationDescription & WithDate(const Aws::Utils::DateTime &value)
AssociationDescription & WithName(Aws::String &&value)
void SetTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
AssociationDescription & WithAssociationId(Aws::String &&value)
AssociationDescription & WithOutputLocation(InstanceAssociationOutputLocation &&value)
AssociationDescription & AddTargets(const Target &value)
AssociationDescription & WithLastExecutionDate(const Aws::Utils::DateTime &value)
AssociationDescription & WithLastUpdateAssociationDate(Aws::Utils::DateTime &&value)
AssociationDescription & WithMaxConcurrency(Aws::String &&value)
AssociationDescription & WithName(const char *value)
void SetAssociationId(const Aws::String &value)
const Aws::Utils::DateTime & GetLastSuccessfulExecutionDate() const
AssociationDescription & AddParameters(const char *key, Aws::Vector< Aws::String > &&value)
const Aws::Utils::DateTime & GetLastExecutionDate() const
AssociationDescription & AddParameters(Aws::String &&key, const Aws::Vector< Aws::String > &value)
void SetSyncCompliance(const AssociationSyncCompliance &value)
void SetAlarmConfiguration(const AlarmConfiguration &value)
void SetOverview(AssociationOverview &&value)
const Aws::String & GetAutomationTargetParameterName() const
AssociationDescription & WithAssociationName(const Aws::String &value)
void SetTargetLocations(const Aws::Vector< TargetLocation > &value)
AssociationDescription & WithTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
const Aws::Vector< Aws::String > & GetCalendarNames() const
AssociationDescription & AddTargetLocations(TargetLocation &&value)
void SetOutputLocation(InstanceAssociationOutputLocation &&value)
AssociationDescription & WithScheduleExpression(const Aws::String &value)
void SetCalendarNames(Aws::Vector< Aws::String > &&value)
void SetDate(Aws::Utils::DateTime &&value)
const AssociationSyncCompliance & GetSyncCompliance() const
AssociationDescription & WithSyncCompliance(AssociationSyncCompliance &&value)
AssociationDescription & WithInstanceId(const Aws::String &value)
AssociationDescription & WithOverview(AssociationOverview &&value)
AssociationDescription & WithCalendarNames(const Aws::Vector< Aws::String > &value)
AssociationDescription & WithDocumentVersion(const Aws::String &value)
void SetLastUpdateAssociationDate(const Aws::Utils::DateTime &value)
void SetLastSuccessfulExecutionDate(const Aws::Utils::DateTime &value)
AssociationDescription & WithMaxErrors(Aws::String &&value)
AssociationDescription & WithAssociationVersion(const Aws::String &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
AssociationDescription & AddTargetLocations(const TargetLocation &value)
void SetAssociationName(const Aws::String &value)
AssociationDescription & WithAssociationName(const char *value)
void SetDate(const Aws::Utils::DateTime &value)
AssociationDescription & WithParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
const AssociationStatus & GetStatus() const
AssociationDescription & WithComplianceSeverity(AssociationComplianceSeverity &&value)
AssociationDescription & WithTriggeredAlarms(const Aws::Vector< AlarmStateInformation > &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AssociationDescription & WithScheduleOffset(int value)
void SetOutputLocation(const InstanceAssociationOutputLocation &value)
AssociationDescription & WithDate(Aws::Utils::DateTime &&value)
void SetTriggeredAlarms(Aws::Vector< AlarmStateInformation > &&value)
AssociationDescription & WithAssociationVersion(Aws::String &&value)
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
void SetAutomationTargetParameterName(const Aws::String &value)
void SetComplianceSeverity(AssociationComplianceSeverity &&value)
const Aws::Utils::DateTime & GetDate() const
AssociationDescription & AddTriggeredAlarms(const AlarmStateInformation &value)
void SetTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
const Aws::Vector< TargetLocation > & GetTargetLocations() const
AssociationDescription & AddTargets(Target &&value)
AssociationDescription & WithAutomationTargetParameterName(const char *value)
const InstanceAssociationOutputLocation & GetOutputLocation() const
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
AssociationDescription & WithParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
AssociationDescription & WithTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
AssociationDescription & WithTargetLocations(Aws::Vector< TargetLocation > &&value)
void SetInstanceId(const Aws::String &value)
void SetLastExecutionDate(const Aws::Utils::DateTime &value)
void SetSyncCompliance(AssociationSyncCompliance &&value)
AssociationDescription & WithOverview(const AssociationOverview &value)
AssociationDescription & WithAlarmConfiguration(AlarmConfiguration &&value)
AssociationDescription & WithLastExecutionDate(Aws::Utils::DateTime &&value)
const Aws::Vector< AlarmStateInformation > & GetTriggeredAlarms() const
AssociationDescription & WithScheduleExpression(Aws::String &&value)
void SetCalendarNames(const Aws::Vector< Aws::String > &value)
AssociationDescription & AddTriggeredAlarms(AlarmStateInformation &&value)
void SetOverview(const AssociationOverview &value)
const Aws::String & GetAssociationVersion() const
AssociationDescription & AddCalendarNames(Aws::String &&value)
void SetStatus(AssociationStatus &&value)
AssociationDescription & WithCalendarNames(Aws::Vector< Aws::String > &&value)
AssociationDescription & AddParameters(const Aws::String &key, Aws::Vector< Aws::String > &&value)
void SetDocumentVersion(const Aws::String &value)
AssociationDescription & WithComplianceSeverity(const AssociationComplianceSeverity &value)
const Aws::Utils::DateTime & GetLastUpdateAssociationDate() const
AssociationDescription & AddCalendarNames(const char *value)
AssociationDescription & WithAutomationTargetParameterName(Aws::String &&value)
AssociationDescription & WithScheduleExpression(const char *value)
AssociationDescription & AddCalendarNames(const Aws::String &value)
AssociationDescription & WithAssociationName(Aws::String &&value)
AssociationDescription & AddParameters(const char *key, const Aws::Vector< 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