AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
46 AWS_SSM_API AssociationDescription() = default;
50
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template<typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
60 template<typename NameT = Aws::String>
61 AssociationDescription& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
69 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
70 template<typename InstanceIdT = Aws::String>
71 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
72 template<typename InstanceIdT = Aws::String>
73 AssociationDescription& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
75
77
80 inline const Aws::String& GetAssociationVersion() const { return m_associationVersion; }
81 inline bool AssociationVersionHasBeenSet() const { return m_associationVersionHasBeenSet; }
82 template<typename AssociationVersionT = Aws::String>
83 void SetAssociationVersion(AssociationVersionT&& value) { m_associationVersionHasBeenSet = true; m_associationVersion = std::forward<AssociationVersionT>(value); }
84 template<typename AssociationVersionT = Aws::String>
85 AssociationDescription& WithAssociationVersion(AssociationVersionT&& value) { SetAssociationVersion(std::forward<AssociationVersionT>(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetDate() const { return m_date; }
93 inline bool DateHasBeenSet() const { return m_dateHasBeenSet; }
94 template<typename DateT = Aws::Utils::DateTime>
95 void SetDate(DateT&& value) { m_dateHasBeenSet = true; m_date = std::forward<DateT>(value); }
96 template<typename DateT = Aws::Utils::DateTime>
97 AssociationDescription& WithDate(DateT&& value) { SetDate(std::forward<DateT>(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetLastUpdateAssociationDate() const { return m_lastUpdateAssociationDate; }
105 inline bool LastUpdateAssociationDateHasBeenSet() const { return m_lastUpdateAssociationDateHasBeenSet; }
106 template<typename LastUpdateAssociationDateT = Aws::Utils::DateTime>
107 void SetLastUpdateAssociationDate(LastUpdateAssociationDateT&& value) { m_lastUpdateAssociationDateHasBeenSet = true; m_lastUpdateAssociationDate = std::forward<LastUpdateAssociationDateT>(value); }
108 template<typename LastUpdateAssociationDateT = Aws::Utils::DateTime>
109 AssociationDescription& WithLastUpdateAssociationDate(LastUpdateAssociationDateT&& value) { SetLastUpdateAssociationDate(std::forward<LastUpdateAssociationDateT>(value)); return *this;}
111
113
116 inline const AssociationStatus& GetStatus() const { return m_status; }
117 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
118 template<typename StatusT = AssociationStatus>
119 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
120 template<typename StatusT = AssociationStatus>
121 AssociationDescription& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
123
125
128 inline const AssociationOverview& GetOverview() const { return m_overview; }
129 inline bool OverviewHasBeenSet() const { return m_overviewHasBeenSet; }
130 template<typename OverviewT = AssociationOverview>
131 void SetOverview(OverviewT&& value) { m_overviewHasBeenSet = true; m_overview = std::forward<OverviewT>(value); }
132 template<typename OverviewT = AssociationOverview>
133 AssociationDescription& WithOverview(OverviewT&& value) { SetOverview(std::forward<OverviewT>(value)); return *this;}
135
137
140 inline const Aws::String& GetDocumentVersion() const { return m_documentVersion; }
141 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
142 template<typename DocumentVersionT = Aws::String>
143 void SetDocumentVersion(DocumentVersionT&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::forward<DocumentVersionT>(value); }
144 template<typename DocumentVersionT = Aws::String>
145 AssociationDescription& WithDocumentVersion(DocumentVersionT&& value) { SetDocumentVersion(std::forward<DocumentVersionT>(value)); return *this;}
147
149
155 inline const Aws::String& GetAutomationTargetParameterName() const { return m_automationTargetParameterName; }
156 inline bool AutomationTargetParameterNameHasBeenSet() const { return m_automationTargetParameterNameHasBeenSet; }
157 template<typename AutomationTargetParameterNameT = Aws::String>
158 void SetAutomationTargetParameterName(AutomationTargetParameterNameT&& value) { m_automationTargetParameterNameHasBeenSet = true; m_automationTargetParameterName = std::forward<AutomationTargetParameterNameT>(value); }
159 template<typename AutomationTargetParameterNameT = Aws::String>
160 AssociationDescription& WithAutomationTargetParameterName(AutomationTargetParameterNameT&& value) { SetAutomationTargetParameterName(std::forward<AutomationTargetParameterNameT>(value)); return *this;}
162
164
167 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetParameters() const { return m_parameters; }
168 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
169 template<typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
170 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
171 template<typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
172 AssociationDescription& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
173 template<typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::Vector<Aws::String>>
174 AssociationDescription& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
175 m_parametersHasBeenSet = true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value)); return *this;
176 }
178
180
183 inline const Aws::String& GetAssociationId() const { return m_associationId; }
184 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
185 template<typename AssociationIdT = Aws::String>
186 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet = true; m_associationId = std::forward<AssociationIdT>(value); }
187 template<typename AssociationIdT = Aws::String>
188 AssociationDescription& WithAssociationId(AssociationIdT&& value) { SetAssociationId(std::forward<AssociationIdT>(value)); return *this;}
190
192
195 inline const Aws::Vector<Target>& GetTargets() const { return m_targets; }
196 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
197 template<typename TargetsT = Aws::Vector<Target>>
198 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet = true; m_targets = std::forward<TargetsT>(value); }
199 template<typename TargetsT = Aws::Vector<Target>>
200 AssociationDescription& WithTargets(TargetsT&& value) { SetTargets(std::forward<TargetsT>(value)); return *this;}
201 template<typename TargetsT = Target>
202 AssociationDescription& AddTargets(TargetsT&& value) { m_targetsHasBeenSet = true; m_targets.emplace_back(std::forward<TargetsT>(value)); return *this; }
204
206
209 inline const Aws::String& GetScheduleExpression() const { return m_scheduleExpression; }
210 inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; }
211 template<typename ScheduleExpressionT = Aws::String>
212 void SetScheduleExpression(ScheduleExpressionT&& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = std::forward<ScheduleExpressionT>(value); }
213 template<typename ScheduleExpressionT = Aws::String>
214 AssociationDescription& WithScheduleExpression(ScheduleExpressionT&& value) { SetScheduleExpression(std::forward<ScheduleExpressionT>(value)); return *this;}
216
218
221 inline const InstanceAssociationOutputLocation& GetOutputLocation() const { return m_outputLocation; }
222 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
223 template<typename OutputLocationT = InstanceAssociationOutputLocation>
224 void SetOutputLocation(OutputLocationT&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::forward<OutputLocationT>(value); }
225 template<typename OutputLocationT = InstanceAssociationOutputLocation>
226 AssociationDescription& WithOutputLocation(OutputLocationT&& value) { SetOutputLocation(std::forward<OutputLocationT>(value)); return *this;}
228
230
233 inline const Aws::Utils::DateTime& GetLastExecutionDate() const { return m_lastExecutionDate; }
234 inline bool LastExecutionDateHasBeenSet() const { return m_lastExecutionDateHasBeenSet; }
235 template<typename LastExecutionDateT = Aws::Utils::DateTime>
236 void SetLastExecutionDate(LastExecutionDateT&& value) { m_lastExecutionDateHasBeenSet = true; m_lastExecutionDate = std::forward<LastExecutionDateT>(value); }
237 template<typename LastExecutionDateT = Aws::Utils::DateTime>
238 AssociationDescription& WithLastExecutionDate(LastExecutionDateT&& value) { SetLastExecutionDate(std::forward<LastExecutionDateT>(value)); return *this;}
240
242
245 inline const Aws::Utils::DateTime& GetLastSuccessfulExecutionDate() const { return m_lastSuccessfulExecutionDate; }
246 inline bool LastSuccessfulExecutionDateHasBeenSet() const { return m_lastSuccessfulExecutionDateHasBeenSet; }
247 template<typename LastSuccessfulExecutionDateT = Aws::Utils::DateTime>
248 void SetLastSuccessfulExecutionDate(LastSuccessfulExecutionDateT&& value) { m_lastSuccessfulExecutionDateHasBeenSet = true; m_lastSuccessfulExecutionDate = std::forward<LastSuccessfulExecutionDateT>(value); }
249 template<typename LastSuccessfulExecutionDateT = Aws::Utils::DateTime>
250 AssociationDescription& WithLastSuccessfulExecutionDate(LastSuccessfulExecutionDateT&& value) { SetLastSuccessfulExecutionDate(std::forward<LastSuccessfulExecutionDateT>(value)); return *this;}
252
254
257 inline const Aws::String& GetAssociationName() const { return m_associationName; }
258 inline bool AssociationNameHasBeenSet() const { return m_associationNameHasBeenSet; }
259 template<typename AssociationNameT = Aws::String>
260 void SetAssociationName(AssociationNameT&& value) { m_associationNameHasBeenSet = true; m_associationName = std::forward<AssociationNameT>(value); }
261 template<typename AssociationNameT = Aws::String>
262 AssociationDescription& WithAssociationName(AssociationNameT&& value) { SetAssociationName(std::forward<AssociationNameT>(value)); return *this;}
264
266
281 inline const Aws::String& GetMaxErrors() const { return m_maxErrors; }
282 inline bool MaxErrorsHasBeenSet() const { return m_maxErrorsHasBeenSet; }
283 template<typename MaxErrorsT = Aws::String>
284 void SetMaxErrors(MaxErrorsT&& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = std::forward<MaxErrorsT>(value); }
285 template<typename MaxErrorsT = Aws::String>
286 AssociationDescription& WithMaxErrors(MaxErrorsT&& value) { SetMaxErrors(std::forward<MaxErrorsT>(value)); return *this;}
288
290
300 inline const Aws::String& GetMaxConcurrency() const { return m_maxConcurrency; }
301 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
302 template<typename MaxConcurrencyT = Aws::String>
303 void SetMaxConcurrency(MaxConcurrencyT&& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = std::forward<MaxConcurrencyT>(value); }
304 template<typename MaxConcurrencyT = Aws::String>
305 AssociationDescription& WithMaxConcurrency(MaxConcurrencyT&& value) { SetMaxConcurrency(std::forward<MaxConcurrencyT>(value)); return *this;}
307
309
312 inline AssociationComplianceSeverity GetComplianceSeverity() const { return m_complianceSeverity; }
313 inline bool ComplianceSeverityHasBeenSet() const { return m_complianceSeverityHasBeenSet; }
314 inline void SetComplianceSeverity(AssociationComplianceSeverity value) { m_complianceSeverityHasBeenSet = true; m_complianceSeverity = value; }
317
319
332 inline AssociationSyncCompliance GetSyncCompliance() const { return m_syncCompliance; }
333 inline bool SyncComplianceHasBeenSet() const { return m_syncComplianceHasBeenSet; }
334 inline void SetSyncCompliance(AssociationSyncCompliance value) { m_syncComplianceHasBeenSet = true; m_syncCompliance = value; }
337
339
346 inline bool GetApplyOnlyAtCronInterval() const { return m_applyOnlyAtCronInterval; }
347 inline bool ApplyOnlyAtCronIntervalHasBeenSet() const { return m_applyOnlyAtCronIntervalHasBeenSet; }
348 inline void SetApplyOnlyAtCronInterval(bool value) { m_applyOnlyAtCronIntervalHasBeenSet = true; m_applyOnlyAtCronInterval = value; }
351
353
361 inline const Aws::Vector<Aws::String>& GetCalendarNames() const { return m_calendarNames; }
362 inline bool CalendarNamesHasBeenSet() const { return m_calendarNamesHasBeenSet; }
363 template<typename CalendarNamesT = Aws::Vector<Aws::String>>
364 void SetCalendarNames(CalendarNamesT&& value) { m_calendarNamesHasBeenSet = true; m_calendarNames = std::forward<CalendarNamesT>(value); }
365 template<typename CalendarNamesT = Aws::Vector<Aws::String>>
366 AssociationDescription& WithCalendarNames(CalendarNamesT&& value) { SetCalendarNames(std::forward<CalendarNamesT>(value)); return *this;}
367 template<typename CalendarNamesT = Aws::String>
368 AssociationDescription& AddCalendarNames(CalendarNamesT&& value) { m_calendarNamesHasBeenSet = true; m_calendarNames.emplace_back(std::forward<CalendarNamesT>(value)); return *this; }
370
372
376 inline const Aws::Vector<TargetLocation>& GetTargetLocations() const { return m_targetLocations; }
377 inline bool TargetLocationsHasBeenSet() const { return m_targetLocationsHasBeenSet; }
378 template<typename TargetLocationsT = Aws::Vector<TargetLocation>>
379 void SetTargetLocations(TargetLocationsT&& value) { m_targetLocationsHasBeenSet = true; m_targetLocations = std::forward<TargetLocationsT>(value); }
380 template<typename TargetLocationsT = Aws::Vector<TargetLocation>>
381 AssociationDescription& WithTargetLocations(TargetLocationsT&& value) { SetTargetLocations(std::forward<TargetLocationsT>(value)); return *this;}
382 template<typename TargetLocationsT = TargetLocation>
383 AssociationDescription& AddTargetLocations(TargetLocationsT&& value) { m_targetLocationsHasBeenSet = true; m_targetLocations.emplace_back(std::forward<TargetLocationsT>(value)); return *this; }
385
387
390 inline int GetScheduleOffset() const { return m_scheduleOffset; }
391 inline bool ScheduleOffsetHasBeenSet() const { return m_scheduleOffsetHasBeenSet; }
392 inline void SetScheduleOffset(int value) { m_scheduleOffsetHasBeenSet = true; m_scheduleOffset = value; }
393 inline AssociationDescription& WithScheduleOffset(int value) { SetScheduleOffset(value); return *this;}
395
397
402 inline int GetDuration() const { return m_duration; }
403 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
404 inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; }
405 inline AssociationDescription& WithDuration(int value) { SetDuration(value); return *this;}
407
409
413 inline const Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>& GetTargetMaps() const { return m_targetMaps; }
414 inline bool TargetMapsHasBeenSet() const { return m_targetMapsHasBeenSet; }
415 template<typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
416 void SetTargetMaps(TargetMapsT&& value) { m_targetMapsHasBeenSet = true; m_targetMaps = std::forward<TargetMapsT>(value); }
417 template<typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
418 AssociationDescription& WithTargetMaps(TargetMapsT&& value) { SetTargetMaps(std::forward<TargetMapsT>(value)); return *this;}
419 template<typename TargetMapsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
420 AssociationDescription& AddTargetMaps(TargetMapsT&& value) { m_targetMapsHasBeenSet = true; m_targetMaps.emplace_back(std::forward<TargetMapsT>(value)); return *this; }
422
424
425 inline const AlarmConfiguration& GetAlarmConfiguration() const { return m_alarmConfiguration; }
426 inline bool AlarmConfigurationHasBeenSet() const { return m_alarmConfigurationHasBeenSet; }
427 template<typename AlarmConfigurationT = AlarmConfiguration>
428 void SetAlarmConfiguration(AlarmConfigurationT&& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = std::forward<AlarmConfigurationT>(value); }
429 template<typename AlarmConfigurationT = AlarmConfiguration>
430 AssociationDescription& WithAlarmConfiguration(AlarmConfigurationT&& value) { SetAlarmConfiguration(std::forward<AlarmConfigurationT>(value)); return *this;}
432
434
437 inline const Aws::Vector<AlarmStateInformation>& GetTriggeredAlarms() const { return m_triggeredAlarms; }
438 inline bool TriggeredAlarmsHasBeenSet() const { return m_triggeredAlarmsHasBeenSet; }
439 template<typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
440 void SetTriggeredAlarms(TriggeredAlarmsT&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms = std::forward<TriggeredAlarmsT>(value); }
441 template<typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
442 AssociationDescription& WithTriggeredAlarms(TriggeredAlarmsT&& value) { SetTriggeredAlarms(std::forward<TriggeredAlarmsT>(value)); return *this;}
443 template<typename TriggeredAlarmsT = AlarmStateInformation>
444 AssociationDescription& AddTriggeredAlarms(TriggeredAlarmsT&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms.emplace_back(std::forward<TriggeredAlarmsT>(value)); return *this; }
446 private:
447
448 Aws::String m_name;
449 bool m_nameHasBeenSet = false;
450
451 Aws::String m_instanceId;
452 bool m_instanceIdHasBeenSet = false;
453
454 Aws::String m_associationVersion;
455 bool m_associationVersionHasBeenSet = false;
456
457 Aws::Utils::DateTime m_date{};
458 bool m_dateHasBeenSet = false;
459
460 Aws::Utils::DateTime m_lastUpdateAssociationDate{};
461 bool m_lastUpdateAssociationDateHasBeenSet = false;
462
463 AssociationStatus m_status;
464 bool m_statusHasBeenSet = false;
465
466 AssociationOverview m_overview;
467 bool m_overviewHasBeenSet = false;
468
469 Aws::String m_documentVersion;
470 bool m_documentVersionHasBeenSet = false;
471
472 Aws::String m_automationTargetParameterName;
473 bool m_automationTargetParameterNameHasBeenSet = false;
474
476 bool m_parametersHasBeenSet = false;
477
478 Aws::String m_associationId;
479 bool m_associationIdHasBeenSet = false;
480
481 Aws::Vector<Target> m_targets;
482 bool m_targetsHasBeenSet = false;
483
484 Aws::String m_scheduleExpression;
485 bool m_scheduleExpressionHasBeenSet = false;
486
487 InstanceAssociationOutputLocation m_outputLocation;
488 bool m_outputLocationHasBeenSet = false;
489
490 Aws::Utils::DateTime m_lastExecutionDate{};
491 bool m_lastExecutionDateHasBeenSet = false;
492
493 Aws::Utils::DateTime m_lastSuccessfulExecutionDate{};
494 bool m_lastSuccessfulExecutionDateHasBeenSet = false;
495
496 Aws::String m_associationName;
497 bool m_associationNameHasBeenSet = false;
498
499 Aws::String m_maxErrors;
500 bool m_maxErrorsHasBeenSet = false;
501
502 Aws::String m_maxConcurrency;
503 bool m_maxConcurrencyHasBeenSet = false;
504
506 bool m_complianceSeverityHasBeenSet = false;
507
509 bool m_syncComplianceHasBeenSet = false;
510
511 bool m_applyOnlyAtCronInterval{false};
512 bool m_applyOnlyAtCronIntervalHasBeenSet = false;
513
514 Aws::Vector<Aws::String> m_calendarNames;
515 bool m_calendarNamesHasBeenSet = false;
516
517 Aws::Vector<TargetLocation> m_targetLocations;
518 bool m_targetLocationsHasBeenSet = false;
519
520 int m_scheduleOffset{0};
521 bool m_scheduleOffsetHasBeenSet = false;
522
523 int m_duration{0};
524 bool m_durationHasBeenSet = false;
525
527 bool m_targetMapsHasBeenSet = false;
528
529 AlarmConfiguration m_alarmConfiguration;
530 bool m_alarmConfigurationHasBeenSet = false;
531
532 Aws::Vector<AlarmStateInformation> m_triggeredAlarms;
533 bool m_triggeredAlarmsHasBeenSet = false;
534 };
535
536} // namespace Model
537} // namespace SSM
538} // namespace Aws
const AlarmConfiguration & GetAlarmConfiguration() const
AssociationDescription & WithParameters(ParametersT &&value)
AssociationDescription & WithAssociationVersion(AssociationVersionT &&value)
AssociationDescription & WithAlarmConfiguration(AlarmConfigurationT &&value)
AssociationDescription & WithTargetLocations(TargetLocationsT &&value)
void SetLastUpdateAssociationDate(LastUpdateAssociationDateT &&value)
AssociationDescription & WithApplyOnlyAtCronInterval(bool value)
const Aws::String & GetScheduleExpression() const
void SetTargetLocations(TargetLocationsT &&value)
AssociationDescription & WithTargetMaps(TargetMapsT &&value)
AWS_SSM_API AssociationDescription(Aws::Utils::Json::JsonView jsonValue)
AssociationDescription & WithOutputLocation(OutputLocationT &&value)
AssociationDescription & WithDuration(int value)
void SetAssociationName(AssociationNameT &&value)
void SetAssociationVersion(AssociationVersionT &&value)
AssociationDescription & WithCalendarNames(CalendarNamesT &&value)
AssociationDescription & AddCalendarNames(CalendarNamesT &&value)
AssociationDescription & WithMaxErrors(MaxErrorsT &&value)
AssociationDescription & WithMaxConcurrency(MaxConcurrencyT &&value)
void SetMaxConcurrency(MaxConcurrencyT &&value)
AssociationDescription & WithName(NameT &&value)
AssociationDescription & WithStatus(StatusT &&value)
AssociationDescription & WithTargets(TargetsT &&value)
void SetAlarmConfiguration(AlarmConfigurationT &&value)
const Aws::Vector< Target > & GetTargets() const
AssociationDescription & WithDocumentVersion(DocumentVersionT &&value)
const AssociationOverview & GetOverview() const
AssociationDescription & WithLastExecutionDate(LastExecutionDateT &&value)
void SetDocumentVersion(DocumentVersionT &&value)
AWS_SSM_API AssociationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastExecutionDate(LastExecutionDateT &&value)
AssociationDescription & WithInstanceId(InstanceIdT &&value)
void SetComplianceSeverity(AssociationComplianceSeverity value)
AssociationComplianceSeverity GetComplianceSeverity() const
AssociationDescription & AddTriggeredAlarms(TriggeredAlarmsT &&value)
const Aws::Utils::DateTime & GetLastSuccessfulExecutionDate() const
const Aws::Utils::DateTime & GetLastExecutionDate() const
AssociationDescription & AddTargetLocations(TargetLocationsT &&value)
const Aws::String & GetAutomationTargetParameterName() const
AssociationSyncCompliance GetSyncCompliance() const
AssociationDescription & WithScheduleExpression(ScheduleExpressionT &&value)
void SetOutputLocation(OutputLocationT &&value)
const Aws::Vector< Aws::String > & GetCalendarNames() const
AssociationDescription & WithDate(DateT &&value)
AssociationDescription & AddTargets(TargetsT &&value)
AWS_SSM_API AssociationDescription()=default
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
AssociationDescription & WithSyncCompliance(AssociationSyncCompliance value)
AssociationDescription & WithTriggeredAlarms(TriggeredAlarmsT &&value)
void SetSyncCompliance(AssociationSyncCompliance value)
AssociationDescription & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
AssociationDescription & WithOverview(OverviewT &&value)
AssociationDescription & AddTargetMaps(TargetMapsT &&value)
const AssociationStatus & GetStatus() const
void SetScheduleExpression(ScheduleExpressionT &&value)
void SetTriggeredAlarms(TriggeredAlarmsT &&value)
AssociationDescription & WithLastSuccessfulExecutionDate(LastSuccessfulExecutionDateT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AssociationDescription & WithScheduleOffset(int value)
AssociationDescription & WithAssociationName(AssociationNameT &&value)
AssociationDescription & WithAssociationId(AssociationIdT &&value)
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
void SetLastSuccessfulExecutionDate(LastSuccessfulExecutionDateT &&value)
const Aws::Utils::DateTime & GetDate() const
const Aws::Vector< TargetLocation > & GetTargetLocations() const
const InstanceAssociationOutputLocation & GetOutputLocation() const
void SetAutomationTargetParameterName(AutomationTargetParameterNameT &&value)
AssociationDescription & WithAutomationTargetParameterName(AutomationTargetParameterNameT &&value)
const Aws::Vector< AlarmStateInformation > & GetTriggeredAlarms() const
AssociationDescription & WithLastUpdateAssociationDate(LastUpdateAssociationDateT &&value)
const Aws::String & GetAssociationVersion() const
const Aws::Utils::DateTime & GetLastUpdateAssociationDate() const
AssociationDescription & WithComplianceSeverity(AssociationComplianceSeverity 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