AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AssociationDescription.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/SSM_EXPORTS.h>
12#include <aws/ssm/model/AlarmConfiguration.h>
13#include <aws/ssm/model/AlarmStateInformation.h>
14#include <aws/ssm/model/AssociationComplianceSeverity.h>
15#include <aws/ssm/model/AssociationOverview.h>
16#include <aws/ssm/model/AssociationStatus.h>
17#include <aws/ssm/model/AssociationSyncCompliance.h>
18#include <aws/ssm/model/InstanceAssociationOutputLocation.h>
19#include <aws/ssm/model/Target.h>
20#include <aws/ssm/model/TargetLocation.h>
21
22#include <utility>
23
24namespace Aws {
25namespace Utils {
26namespace Json {
27class JsonValue;
28class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace SSM {
32namespace Model {
33
40 public:
41 AWS_SSM_API AssociationDescription() = default;
45
47
50 inline const Aws::String& GetName() const { return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 template <typename NameT = Aws::String>
53 void SetName(NameT&& value) {
54 m_nameHasBeenSet = true;
55 m_name = std::forward<NameT>(value);
56 }
57 template <typename NameT = Aws::String>
59 SetName(std::forward<NameT>(value));
60 return *this;
61 }
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) {
72 m_instanceIdHasBeenSet = true;
73 m_instanceId = std::forward<InstanceIdT>(value);
74 }
75 template <typename InstanceIdT = Aws::String>
76 AssociationDescription& WithInstanceId(InstanceIdT&& value) {
77 SetInstanceId(std::forward<InstanceIdT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetAssociationVersion() const { return m_associationVersion; }
87 inline bool AssociationVersionHasBeenSet() const { return m_associationVersionHasBeenSet; }
88 template <typename AssociationVersionT = Aws::String>
89 void SetAssociationVersion(AssociationVersionT&& value) {
90 m_associationVersionHasBeenSet = true;
91 m_associationVersion = std::forward<AssociationVersionT>(value);
92 }
93 template <typename AssociationVersionT = Aws::String>
94 AssociationDescription& WithAssociationVersion(AssociationVersionT&& value) {
95 SetAssociationVersion(std::forward<AssociationVersionT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::Utils::DateTime& GetDate() const { return m_date; }
105 inline bool DateHasBeenSet() const { return m_dateHasBeenSet; }
106 template <typename DateT = Aws::Utils::DateTime>
107 void SetDate(DateT&& value) {
108 m_dateHasBeenSet = true;
109 m_date = std::forward<DateT>(value);
110 }
111 template <typename DateT = Aws::Utils::DateTime>
113 SetDate(std::forward<DateT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::Utils::DateTime& GetLastUpdateAssociationDate() const { return m_lastUpdateAssociationDate; }
123 inline bool LastUpdateAssociationDateHasBeenSet() const { return m_lastUpdateAssociationDateHasBeenSet; }
124 template <typename LastUpdateAssociationDateT = Aws::Utils::DateTime>
125 void SetLastUpdateAssociationDate(LastUpdateAssociationDateT&& value) {
126 m_lastUpdateAssociationDateHasBeenSet = true;
127 m_lastUpdateAssociationDate = std::forward<LastUpdateAssociationDateT>(value);
128 }
129 template <typename LastUpdateAssociationDateT = Aws::Utils::DateTime>
130 AssociationDescription& WithLastUpdateAssociationDate(LastUpdateAssociationDateT&& value) {
131 SetLastUpdateAssociationDate(std::forward<LastUpdateAssociationDateT>(value));
132 return *this;
133 }
135
137
140 inline const AssociationStatus& GetStatus() const { return m_status; }
141 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
142 template <typename StatusT = AssociationStatus>
143 void SetStatus(StatusT&& value) {
144 m_statusHasBeenSet = true;
145 m_status = std::forward<StatusT>(value);
146 }
147 template <typename StatusT = AssociationStatus>
149 SetStatus(std::forward<StatusT>(value));
150 return *this;
151 }
153
155
158 inline const AssociationOverview& GetOverview() const { return m_overview; }
159 inline bool OverviewHasBeenSet() const { return m_overviewHasBeenSet; }
160 template <typename OverviewT = AssociationOverview>
161 void SetOverview(OverviewT&& value) {
162 m_overviewHasBeenSet = true;
163 m_overview = std::forward<OverviewT>(value);
164 }
165 template <typename OverviewT = AssociationOverview>
167 SetOverview(std::forward<OverviewT>(value));
168 return *this;
169 }
171
173
176 inline const Aws::String& GetDocumentVersion() const { return m_documentVersion; }
177 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
178 template <typename DocumentVersionT = Aws::String>
179 void SetDocumentVersion(DocumentVersionT&& value) {
180 m_documentVersionHasBeenSet = true;
181 m_documentVersion = std::forward<DocumentVersionT>(value);
182 }
183 template <typename DocumentVersionT = Aws::String>
184 AssociationDescription& WithDocumentVersion(DocumentVersionT&& value) {
185 SetDocumentVersion(std::forward<DocumentVersionT>(value));
186 return *this;
187 }
189
191
197 inline const Aws::String& GetAutomationTargetParameterName() const { return m_automationTargetParameterName; }
198 inline bool AutomationTargetParameterNameHasBeenSet() const { return m_automationTargetParameterNameHasBeenSet; }
199 template <typename AutomationTargetParameterNameT = Aws::String>
200 void SetAutomationTargetParameterName(AutomationTargetParameterNameT&& value) {
201 m_automationTargetParameterNameHasBeenSet = true;
202 m_automationTargetParameterName = std::forward<AutomationTargetParameterNameT>(value);
203 }
204 template <typename AutomationTargetParameterNameT = Aws::String>
205 AssociationDescription& WithAutomationTargetParameterName(AutomationTargetParameterNameT&& value) {
206 SetAutomationTargetParameterName(std::forward<AutomationTargetParameterNameT>(value));
207 return *this;
208 }
210
212
215 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetParameters() const { return m_parameters; }
216 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
217 template <typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
218 void SetParameters(ParametersT&& value) {
219 m_parametersHasBeenSet = true;
220 m_parameters = std::forward<ParametersT>(value);
221 }
222 template <typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
224 SetParameters(std::forward<ParametersT>(value));
225 return *this;
226 }
227 template <typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::Vector<Aws::String>>
228 AssociationDescription& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
229 m_parametersHasBeenSet = true;
230 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
231 return *this;
232 }
234
236
239 inline const Aws::String& GetAssociationId() const { return m_associationId; }
240 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
241 template <typename AssociationIdT = Aws::String>
242 void SetAssociationId(AssociationIdT&& value) {
243 m_associationIdHasBeenSet = true;
244 m_associationId = std::forward<AssociationIdT>(value);
245 }
246 template <typename AssociationIdT = Aws::String>
247 AssociationDescription& WithAssociationId(AssociationIdT&& value) {
248 SetAssociationId(std::forward<AssociationIdT>(value));
249 return *this;
250 }
252
254
257 inline const Aws::Vector<Target>& GetTargets() const { return m_targets; }
258 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
259 template <typename TargetsT = Aws::Vector<Target>>
260 void SetTargets(TargetsT&& value) {
261 m_targetsHasBeenSet = true;
262 m_targets = std::forward<TargetsT>(value);
263 }
264 template <typename TargetsT = Aws::Vector<Target>>
266 SetTargets(std::forward<TargetsT>(value));
267 return *this;
268 }
269 template <typename TargetsT = Target>
271 m_targetsHasBeenSet = true;
272 m_targets.emplace_back(std::forward<TargetsT>(value));
273 return *this;
274 }
276
278
281 inline const Aws::String& GetScheduleExpression() const { return m_scheduleExpression; }
282 inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; }
283 template <typename ScheduleExpressionT = Aws::String>
284 void SetScheduleExpression(ScheduleExpressionT&& value) {
285 m_scheduleExpressionHasBeenSet = true;
286 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
287 }
288 template <typename ScheduleExpressionT = Aws::String>
289 AssociationDescription& WithScheduleExpression(ScheduleExpressionT&& value) {
290 SetScheduleExpression(std::forward<ScheduleExpressionT>(value));
291 return *this;
292 }
294
296
299 inline const InstanceAssociationOutputLocation& GetOutputLocation() const { return m_outputLocation; }
300 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
301 template <typename OutputLocationT = InstanceAssociationOutputLocation>
302 void SetOutputLocation(OutputLocationT&& value) {
303 m_outputLocationHasBeenSet = true;
304 m_outputLocation = std::forward<OutputLocationT>(value);
305 }
306 template <typename OutputLocationT = InstanceAssociationOutputLocation>
307 AssociationDescription& WithOutputLocation(OutputLocationT&& value) {
308 SetOutputLocation(std::forward<OutputLocationT>(value));
309 return *this;
310 }
312
314
317 inline const Aws::Utils::DateTime& GetLastExecutionDate() const { return m_lastExecutionDate; }
318 inline bool LastExecutionDateHasBeenSet() const { return m_lastExecutionDateHasBeenSet; }
319 template <typename LastExecutionDateT = Aws::Utils::DateTime>
320 void SetLastExecutionDate(LastExecutionDateT&& value) {
321 m_lastExecutionDateHasBeenSet = true;
322 m_lastExecutionDate = std::forward<LastExecutionDateT>(value);
323 }
324 template <typename LastExecutionDateT = Aws::Utils::DateTime>
325 AssociationDescription& WithLastExecutionDate(LastExecutionDateT&& value) {
326 SetLastExecutionDate(std::forward<LastExecutionDateT>(value));
327 return *this;
328 }
330
332
335 inline const Aws::Utils::DateTime& GetLastSuccessfulExecutionDate() const { return m_lastSuccessfulExecutionDate; }
336 inline bool LastSuccessfulExecutionDateHasBeenSet() const { return m_lastSuccessfulExecutionDateHasBeenSet; }
337 template <typename LastSuccessfulExecutionDateT = Aws::Utils::DateTime>
338 void SetLastSuccessfulExecutionDate(LastSuccessfulExecutionDateT&& value) {
339 m_lastSuccessfulExecutionDateHasBeenSet = true;
340 m_lastSuccessfulExecutionDate = std::forward<LastSuccessfulExecutionDateT>(value);
341 }
342 template <typename LastSuccessfulExecutionDateT = Aws::Utils::DateTime>
343 AssociationDescription& WithLastSuccessfulExecutionDate(LastSuccessfulExecutionDateT&& value) {
344 SetLastSuccessfulExecutionDate(std::forward<LastSuccessfulExecutionDateT>(value));
345 return *this;
346 }
348
350
353 inline const Aws::String& GetAssociationName() const { return m_associationName; }
354 inline bool AssociationNameHasBeenSet() const { return m_associationNameHasBeenSet; }
355 template <typename AssociationNameT = Aws::String>
356 void SetAssociationName(AssociationNameT&& value) {
357 m_associationNameHasBeenSet = true;
358 m_associationName = std::forward<AssociationNameT>(value);
359 }
360 template <typename AssociationNameT = Aws::String>
361 AssociationDescription& WithAssociationName(AssociationNameT&& value) {
362 SetAssociationName(std::forward<AssociationNameT>(value));
363 return *this;
364 }
366
368
383 inline const Aws::String& GetMaxErrors() const { return m_maxErrors; }
384 inline bool MaxErrorsHasBeenSet() const { return m_maxErrorsHasBeenSet; }
385 template <typename MaxErrorsT = Aws::String>
386 void SetMaxErrors(MaxErrorsT&& value) {
387 m_maxErrorsHasBeenSet = true;
388 m_maxErrors = std::forward<MaxErrorsT>(value);
389 }
390 template <typename MaxErrorsT = Aws::String>
392 SetMaxErrors(std::forward<MaxErrorsT>(value));
393 return *this;
394 }
396
398
408 inline const Aws::String& GetMaxConcurrency() const { return m_maxConcurrency; }
409 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
410 template <typename MaxConcurrencyT = Aws::String>
411 void SetMaxConcurrency(MaxConcurrencyT&& value) {
412 m_maxConcurrencyHasBeenSet = true;
413 m_maxConcurrency = std::forward<MaxConcurrencyT>(value);
414 }
415 template <typename MaxConcurrencyT = Aws::String>
416 AssociationDescription& WithMaxConcurrency(MaxConcurrencyT&& value) {
417 SetMaxConcurrency(std::forward<MaxConcurrencyT>(value));
418 return *this;
419 }
421
423
426 inline AssociationComplianceSeverity GetComplianceSeverity() const { return m_complianceSeverity; }
427 inline bool ComplianceSeverityHasBeenSet() const { return m_complianceSeverityHasBeenSet; }
429 m_complianceSeverityHasBeenSet = true;
430 m_complianceSeverity = value;
431 }
434 return *this;
435 }
437
439
452 inline AssociationSyncCompliance GetSyncCompliance() const { return m_syncCompliance; }
453 inline bool SyncComplianceHasBeenSet() const { return m_syncComplianceHasBeenSet; }
455 m_syncComplianceHasBeenSet = true;
456 m_syncCompliance = value;
457 }
459 SetSyncCompliance(value);
460 return *this;
461 }
463
465
472 inline bool GetApplyOnlyAtCronInterval() const { return m_applyOnlyAtCronInterval; }
473 inline bool ApplyOnlyAtCronIntervalHasBeenSet() const { return m_applyOnlyAtCronIntervalHasBeenSet; }
474 inline void SetApplyOnlyAtCronInterval(bool value) {
475 m_applyOnlyAtCronIntervalHasBeenSet = true;
476 m_applyOnlyAtCronInterval = value;
477 }
480 return *this;
481 }
483
485
493 inline const Aws::Vector<Aws::String>& GetCalendarNames() const { return m_calendarNames; }
494 inline bool CalendarNamesHasBeenSet() const { return m_calendarNamesHasBeenSet; }
495 template <typename CalendarNamesT = Aws::Vector<Aws::String>>
496 void SetCalendarNames(CalendarNamesT&& value) {
497 m_calendarNamesHasBeenSet = true;
498 m_calendarNames = std::forward<CalendarNamesT>(value);
499 }
500 template <typename CalendarNamesT = Aws::Vector<Aws::String>>
501 AssociationDescription& WithCalendarNames(CalendarNamesT&& value) {
502 SetCalendarNames(std::forward<CalendarNamesT>(value));
503 return *this;
504 }
505 template <typename CalendarNamesT = Aws::String>
506 AssociationDescription& AddCalendarNames(CalendarNamesT&& value) {
507 m_calendarNamesHasBeenSet = true;
508 m_calendarNames.emplace_back(std::forward<CalendarNamesT>(value));
509 return *this;
510 }
512
514
518 inline const Aws::Vector<TargetLocation>& GetTargetLocations() const { return m_targetLocations; }
519 inline bool TargetLocationsHasBeenSet() const { return m_targetLocationsHasBeenSet; }
520 template <typename TargetLocationsT = Aws::Vector<TargetLocation>>
521 void SetTargetLocations(TargetLocationsT&& value) {
522 m_targetLocationsHasBeenSet = true;
523 m_targetLocations = std::forward<TargetLocationsT>(value);
524 }
525 template <typename TargetLocationsT = Aws::Vector<TargetLocation>>
526 AssociationDescription& WithTargetLocations(TargetLocationsT&& value) {
527 SetTargetLocations(std::forward<TargetLocationsT>(value));
528 return *this;
529 }
530 template <typename TargetLocationsT = TargetLocation>
531 AssociationDescription& AddTargetLocations(TargetLocationsT&& value) {
532 m_targetLocationsHasBeenSet = true;
533 m_targetLocations.emplace_back(std::forward<TargetLocationsT>(value));
534 return *this;
535 }
537
539
542 inline int GetScheduleOffset() const { return m_scheduleOffset; }
543 inline bool ScheduleOffsetHasBeenSet() const { return m_scheduleOffsetHasBeenSet; }
544 inline void SetScheduleOffset(int value) {
545 m_scheduleOffsetHasBeenSet = true;
546 m_scheduleOffset = value;
547 }
549 SetScheduleOffset(value);
550 return *this;
551 }
553
555
560 inline int GetDuration() const { return m_duration; }
561 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
562 inline void SetDuration(int value) {
563 m_durationHasBeenSet = true;
564 m_duration = value;
565 }
567 SetDuration(value);
568 return *this;
569 }
571
573
577 inline const Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>& GetTargetMaps() const { return m_targetMaps; }
578 inline bool TargetMapsHasBeenSet() const { return m_targetMapsHasBeenSet; }
579 template <typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
580 void SetTargetMaps(TargetMapsT&& value) {
581 m_targetMapsHasBeenSet = true;
582 m_targetMaps = std::forward<TargetMapsT>(value);
583 }
584 template <typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
586 SetTargetMaps(std::forward<TargetMapsT>(value));
587 return *this;
588 }
589 template <typename TargetMapsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
590 AssociationDescription& AddTargetMaps(TargetMapsT&& value) {
591 m_targetMapsHasBeenSet = true;
592 m_targetMaps.emplace_back(std::forward<TargetMapsT>(value));
593 return *this;
594 }
596
598
599 inline const AlarmConfiguration& GetAlarmConfiguration() const { return m_alarmConfiguration; }
600 inline bool AlarmConfigurationHasBeenSet() const { return m_alarmConfigurationHasBeenSet; }
601 template <typename AlarmConfigurationT = AlarmConfiguration>
602 void SetAlarmConfiguration(AlarmConfigurationT&& value) {
603 m_alarmConfigurationHasBeenSet = true;
604 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
605 }
606 template <typename AlarmConfigurationT = AlarmConfiguration>
607 AssociationDescription& WithAlarmConfiguration(AlarmConfigurationT&& value) {
608 SetAlarmConfiguration(std::forward<AlarmConfigurationT>(value));
609 return *this;
610 }
612
614
617 inline const Aws::Vector<AlarmStateInformation>& GetTriggeredAlarms() const { return m_triggeredAlarms; }
618 inline bool TriggeredAlarmsHasBeenSet() const { return m_triggeredAlarmsHasBeenSet; }
619 template <typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
620 void SetTriggeredAlarms(TriggeredAlarmsT&& value) {
621 m_triggeredAlarmsHasBeenSet = true;
622 m_triggeredAlarms = std::forward<TriggeredAlarmsT>(value);
623 }
624 template <typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
625 AssociationDescription& WithTriggeredAlarms(TriggeredAlarmsT&& value) {
626 SetTriggeredAlarms(std::forward<TriggeredAlarmsT>(value));
627 return *this;
628 }
629 template <typename TriggeredAlarmsT = AlarmStateInformation>
630 AssociationDescription& AddTriggeredAlarms(TriggeredAlarmsT&& value) {
631 m_triggeredAlarmsHasBeenSet = true;
632 m_triggeredAlarms.emplace_back(std::forward<TriggeredAlarmsT>(value));
633 return *this;
634 }
636 private:
637 Aws::String m_name;
638
639 Aws::String m_instanceId;
640
641 Aws::String m_associationVersion;
642
643 Aws::Utils::DateTime m_date{};
644
645 Aws::Utils::DateTime m_lastUpdateAssociationDate{};
646
647 AssociationStatus m_status;
648
649 AssociationOverview m_overview;
650
651 Aws::String m_documentVersion;
652
653 Aws::String m_automationTargetParameterName;
654
656
657 Aws::String m_associationId;
658
659 Aws::Vector<Target> m_targets;
660
661 Aws::String m_scheduleExpression;
662
663 InstanceAssociationOutputLocation m_outputLocation;
664
665 Aws::Utils::DateTime m_lastExecutionDate{};
666
667 Aws::Utils::DateTime m_lastSuccessfulExecutionDate{};
668
669 Aws::String m_associationName;
670
671 Aws::String m_maxErrors;
672
673 Aws::String m_maxConcurrency;
674
676
678
679 bool m_applyOnlyAtCronInterval{false};
680
681 Aws::Vector<Aws::String> m_calendarNames;
682
683 Aws::Vector<TargetLocation> m_targetLocations;
684
685 int m_scheduleOffset{0};
686
687 int m_duration{0};
688
690
691 AlarmConfiguration m_alarmConfiguration;
692
693 Aws::Vector<AlarmStateInformation> m_triggeredAlarms;
694 bool m_nameHasBeenSet = false;
695 bool m_instanceIdHasBeenSet = false;
696 bool m_associationVersionHasBeenSet = false;
697 bool m_dateHasBeenSet = false;
698 bool m_lastUpdateAssociationDateHasBeenSet = false;
699 bool m_statusHasBeenSet = false;
700 bool m_overviewHasBeenSet = false;
701 bool m_documentVersionHasBeenSet = false;
702 bool m_automationTargetParameterNameHasBeenSet = false;
703 bool m_parametersHasBeenSet = false;
704 bool m_associationIdHasBeenSet = false;
705 bool m_targetsHasBeenSet = false;
706 bool m_scheduleExpressionHasBeenSet = false;
707 bool m_outputLocationHasBeenSet = false;
708 bool m_lastExecutionDateHasBeenSet = false;
709 bool m_lastSuccessfulExecutionDateHasBeenSet = false;
710 bool m_associationNameHasBeenSet = false;
711 bool m_maxErrorsHasBeenSet = false;
712 bool m_maxConcurrencyHasBeenSet = false;
713 bool m_complianceSeverityHasBeenSet = false;
714 bool m_syncComplianceHasBeenSet = false;
715 bool m_applyOnlyAtCronIntervalHasBeenSet = false;
716 bool m_calendarNamesHasBeenSet = false;
717 bool m_targetLocationsHasBeenSet = false;
718 bool m_scheduleOffsetHasBeenSet = false;
719 bool m_durationHasBeenSet = false;
720 bool m_targetMapsHasBeenSet = false;
721 bool m_alarmConfigurationHasBeenSet = false;
722 bool m_triggeredAlarmsHasBeenSet = false;
723};
724
725} // namespace Model
726} // namespace SSM
727} // 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