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>
52 template <
typename NameT = Aws::String>
54 m_nameHasBeenSet =
true;
55 m_name = std::forward<NameT>(value);
57 template <
typename NameT = Aws::String>
59 SetName(std::forward<NameT>(value));
70 template <
typename InstanceIdT = Aws::String>
72 m_instanceIdHasBeenSet =
true;
73 m_instanceId = std::forward<InstanceIdT>(value);
75 template <
typename InstanceIdT = Aws::String>
88 template <
typename AssociationVersionT = Aws::String>
90 m_associationVersionHasBeenSet =
true;
91 m_associationVersion = std::forward<AssociationVersionT>(value);
93 template <
typename AssociationVersionT = Aws::String>
106 template <
typename DateT = Aws::Utils::DateTime>
108 m_dateHasBeenSet =
true;
109 m_date = std::forward<DateT>(value);
111 template <
typename DateT = Aws::Utils::DateTime>
113 SetDate(std::forward<DateT>(value));
124 template <
typename LastUpdateAssociationDateT = Aws::Utils::DateTime>
126 m_lastUpdateAssociationDateHasBeenSet =
true;
127 m_lastUpdateAssociationDate = std::forward<LastUpdateAssociationDateT>(value);
129 template <
typename LastUpdateAssociationDateT = Aws::Utils::DateTime>
142 template <
typename StatusT = AssociationStatus>
144 m_statusHasBeenSet =
true;
145 m_status = std::forward<StatusT>(value);
147 template <
typename StatusT = AssociationStatus>
160 template <
typename OverviewT = AssociationOverview>
162 m_overviewHasBeenSet =
true;
163 m_overview = std::forward<OverviewT>(value);
165 template <
typename OverviewT = AssociationOverview>
178 template <
typename DocumentVersionT = Aws::String>
180 m_documentVersionHasBeenSet =
true;
181 m_documentVersion = std::forward<DocumentVersionT>(value);
183 template <
typename DocumentVersionT = Aws::String>
199 template <
typename AutomationTargetParameterNameT = Aws::String>
201 m_automationTargetParameterNameHasBeenSet =
true;
202 m_automationTargetParameterName = std::forward<AutomationTargetParameterNameT>(value);
204 template <
typename AutomationTargetParameterNameT = Aws::String>
217 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
219 m_parametersHasBeenSet =
true;
220 m_parameters = std::forward<ParametersT>(value);
222 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
227 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<Aws::String>>
229 m_parametersHasBeenSet =
true;
230 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
241 template <
typename AssociationIdT = Aws::String>
243 m_associationIdHasBeenSet =
true;
244 m_associationId = std::forward<AssociationIdT>(value);
246 template <
typename AssociationIdT = Aws::String>
259 template <
typename TargetsT = Aws::Vector<Target>>
261 m_targetsHasBeenSet =
true;
262 m_targets = std::forward<TargetsT>(value);
264 template <
typename TargetsT = Aws::Vector<Target>>
269 template <
typename TargetsT = Target>
271 m_targetsHasBeenSet =
true;
272 m_targets.emplace_back(std::forward<TargetsT>(value));
283 template <
typename ScheduleExpressionT = Aws::String>
285 m_scheduleExpressionHasBeenSet =
true;
286 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
288 template <
typename ScheduleExpressionT = Aws::String>
301 template <
typename OutputLocationT = InstanceAssociationOutputLocation>
303 m_outputLocationHasBeenSet =
true;
304 m_outputLocation = std::forward<OutputLocationT>(value);
306 template <
typename OutputLocationT = InstanceAssociationOutputLocation>
319 template <
typename LastExecutionDateT = Aws::Utils::DateTime>
321 m_lastExecutionDateHasBeenSet =
true;
322 m_lastExecutionDate = std::forward<LastExecutionDateT>(value);
324 template <
typename LastExecutionDateT = Aws::Utils::DateTime>
337 template <
typename LastSuccessfulExecutionDateT = Aws::Utils::DateTime>
339 m_lastSuccessfulExecutionDateHasBeenSet =
true;
340 m_lastSuccessfulExecutionDate = std::forward<LastSuccessfulExecutionDateT>(value);
342 template <
typename LastSuccessfulExecutionDateT = Aws::Utils::DateTime>
355 template <
typename AssociationNameT = Aws::String>
357 m_associationNameHasBeenSet =
true;
358 m_associationName = std::forward<AssociationNameT>(value);
360 template <
typename AssociationNameT = Aws::String>
385 template <
typename MaxErrorsT = Aws::String>
387 m_maxErrorsHasBeenSet =
true;
388 m_maxErrors = std::forward<MaxErrorsT>(value);
390 template <
typename MaxErrorsT = Aws::String>
410 template <
typename MaxConcurrencyT = Aws::String>
412 m_maxConcurrencyHasBeenSet =
true;
413 m_maxConcurrency = std::forward<MaxConcurrencyT>(value);
415 template <
typename MaxConcurrencyT = Aws::String>
429 m_complianceSeverityHasBeenSet =
true;
430 m_complianceSeverity = value;
455 m_syncComplianceHasBeenSet =
true;
456 m_syncCompliance = value;
475 m_applyOnlyAtCronIntervalHasBeenSet =
true;
476 m_applyOnlyAtCronInterval = value;
495 template <
typename CalendarNamesT = Aws::Vector<Aws::String>>
497 m_calendarNamesHasBeenSet =
true;
498 m_calendarNames = std::forward<CalendarNamesT>(value);
500 template <
typename CalendarNamesT = Aws::Vector<Aws::String>>
505 template <
typename CalendarNamesT = Aws::String>
507 m_calendarNamesHasBeenSet =
true;
508 m_calendarNames.emplace_back(std::forward<CalendarNamesT>(value));
520 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
522 m_targetLocationsHasBeenSet =
true;
523 m_targetLocations = std::forward<TargetLocationsT>(value);
525 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
530 template <
typename TargetLocationsT = TargetLocation>
532 m_targetLocationsHasBeenSet =
true;
533 m_targetLocations.emplace_back(std::forward<TargetLocationsT>(value));
545 m_scheduleOffsetHasBeenSet =
true;
546 m_scheduleOffset = value;
563 m_durationHasBeenSet =
true;
579 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
581 m_targetMapsHasBeenSet =
true;
582 m_targetMaps = std::forward<TargetMapsT>(value);
584 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
589 template <
typename TargetMapsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
591 m_targetMapsHasBeenSet =
true;
592 m_targetMaps.emplace_back(std::forward<TargetMapsT>(value));
601 template <
typename AlarmConfigurationT = AlarmConfiguration>
603 m_alarmConfigurationHasBeenSet =
true;
604 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
606 template <
typename AlarmConfigurationT = AlarmConfiguration>
619 template <
typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
621 m_triggeredAlarmsHasBeenSet =
true;
622 m_triggeredAlarms = std::forward<TriggeredAlarmsT>(value);
624 template <
typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
629 template <
typename TriggeredAlarmsT = AlarmStateInformation>
631 m_triggeredAlarmsHasBeenSet =
true;
632 m_triggeredAlarms.emplace_back(std::forward<TriggeredAlarmsT>(value));
647 AssociationStatus m_status;
649 AssociationOverview m_overview;
663 InstanceAssociationOutputLocation m_outputLocation;
679 bool m_applyOnlyAtCronInterval{
false};
685 int m_scheduleOffset{0};
691 AlarmConfiguration m_alarmConfiguration;
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;
const AlarmConfiguration & GetAlarmConfiguration() const
bool DurationHasBeenSet() const
AssociationDescription & WithParameters(ParametersT &&value)
const Aws::String & GetInstanceId() const
AssociationDescription & WithAssociationVersion(AssociationVersionT &&value)
AssociationDescription & WithAlarmConfiguration(AlarmConfigurationT &&value)
AssociationDescription & WithTargetLocations(TargetLocationsT &&value)
void SetLastUpdateAssociationDate(LastUpdateAssociationDateT &&value)
AssociationDescription & WithApplyOnlyAtCronInterval(bool value)
const Aws::String & GetAssociationId() const
const Aws::String & GetScheduleExpression() const
const Aws::String & GetMaxConcurrency() const
void SetTargetLocations(TargetLocationsT &&value)
AssociationDescription & WithTargetMaps(TargetMapsT &&value)
bool ApplyOnlyAtCronIntervalHasBeenSet() const
AWS_SSM_API AssociationDescription(Aws::Utils::Json::JsonView jsonValue)
bool OverviewHasBeenSet() const
AssociationDescription & WithOutputLocation(OutputLocationT &&value)
AssociationDescription & WithDuration(int value)
void SetAssociationName(AssociationNameT &&value)
const Aws::String & GetAssociationName() const
void SetMaxErrors(MaxErrorsT &&value)
bool MaxConcurrencyHasBeenSet() const
void SetAssociationVersion(AssociationVersionT &&value)
AssociationDescription & WithCalendarNames(CalendarNamesT &&value)
AssociationDescription & AddCalendarNames(CalendarNamesT &&value)
bool AssociationVersionHasBeenSet() const
AssociationDescription & WithMaxErrors(MaxErrorsT &&value)
void SetDate(DateT &&value)
AssociationDescription & WithMaxConcurrency(MaxConcurrencyT &&value)
void SetMaxConcurrency(MaxConcurrencyT &&value)
void SetInstanceId(InstanceIdT &&value)
AssociationDescription & WithName(NameT &&value)
AssociationDescription & WithStatus(StatusT &&value)
AssociationDescription & WithTargets(TargetsT &&value)
bool OutputLocationHasBeenSet() const
bool AutomationTargetParameterNameHasBeenSet() const
bool NameHasBeenSet() const
int GetScheduleOffset() const
void SetApplyOnlyAtCronInterval(bool value)
void SetCalendarNames(CalendarNamesT &&value)
void SetAlarmConfiguration(AlarmConfigurationT &&value)
const Aws::Vector< Target > & GetTargets() const
AssociationDescription & WithDocumentVersion(DocumentVersionT &&value)
const AssociationOverview & GetOverview() const
bool DateHasBeenSet() const
AssociationDescription & WithLastExecutionDate(LastExecutionDateT &&value)
void SetDocumentVersion(DocumentVersionT &&value)
void SetTargetMaps(TargetMapsT &&value)
bool ComplianceSeverityHasBeenSet() const
AWS_SSM_API AssociationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastExecutionDate(LastExecutionDateT &&value)
void SetAssociationId(AssociationIdT &&value)
bool InstanceIdHasBeenSet() const
bool CalendarNamesHasBeenSet() const
void SetDuration(int value)
AssociationDescription & WithInstanceId(InstanceIdT &&value)
bool AssociationNameHasBeenSet() const
bool TargetLocationsHasBeenSet() const
void SetComplianceSeverity(AssociationComplianceSeverity value)
AssociationComplianceSeverity GetComplianceSeverity() const
AssociationDescription & AddTriggeredAlarms(TriggeredAlarmsT &&value)
const Aws::Utils::DateTime & GetLastSuccessfulExecutionDate() const
bool SyncComplianceHasBeenSet() const
bool MaxErrorsHasBeenSet() const
const Aws::Utils::DateTime & GetLastExecutionDate() const
AssociationDescription & AddTargetLocations(TargetLocationsT &&value)
bool TriggeredAlarmsHasBeenSet() const
bool ScheduleExpressionHasBeenSet() const
const Aws::String & GetAutomationTargetParameterName() const
AssociationSyncCompliance GetSyncCompliance() const
bool ParametersHasBeenSet() const
AssociationDescription & WithScheduleExpression(ScheduleExpressionT &&value)
void SetOutputLocation(OutputLocationT &&value)
const Aws::Vector< Aws::String > & GetCalendarNames() const
AssociationDescription & WithDate(DateT &&value)
void SetName(NameT &&value)
bool LastExecutionDateHasBeenSet() const
AssociationDescription & AddTargets(TargetsT &&value)
AWS_SSM_API AssociationDescription()=default
bool LastUpdateAssociationDateHasBeenSet() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
const Aws::String & GetDocumentVersion() const
AssociationDescription & WithSyncCompliance(AssociationSyncCompliance value)
AssociationDescription & WithTriggeredAlarms(TriggeredAlarmsT &&value)
void SetSyncCompliance(AssociationSyncCompliance value)
AssociationDescription & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
AssociationDescription & WithOverview(OverviewT &&value)
bool AssociationIdHasBeenSet() const
bool GetApplyOnlyAtCronInterval() const
AssociationDescription & AddTargetMaps(TargetMapsT &&value)
const AssociationStatus & GetStatus() const
bool StatusHasBeenSet() const
void SetScheduleExpression(ScheduleExpressionT &&value)
void SetTriggeredAlarms(TriggeredAlarmsT &&value)
void SetScheduleOffset(int value)
AssociationDescription & WithLastSuccessfulExecutionDate(LastSuccessfulExecutionDateT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AssociationDescription & WithScheduleOffset(int value)
AssociationDescription & WithAssociationName(AssociationNameT &&value)
void SetParameters(ParametersT &&value)
AssociationDescription & WithAssociationId(AssociationIdT &&value)
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
bool ScheduleOffsetHasBeenSet() const
void SetLastSuccessfulExecutionDate(LastSuccessfulExecutionDateT &&value)
const Aws::String & GetMaxErrors() const
const Aws::Utils::DateTime & GetDate() const
bool TargetMapsHasBeenSet() const
const Aws::Vector< TargetLocation > & GetTargetLocations() const
bool DocumentVersionHasBeenSet() const
const Aws::String & GetName() const
const InstanceAssociationOutputLocation & GetOutputLocation() const
bool LastSuccessfulExecutionDateHasBeenSet() const
void SetTargets(TargetsT &&value)
void SetAutomationTargetParameterName(AutomationTargetParameterNameT &&value)
bool AlarmConfigurationHasBeenSet() const
AssociationDescription & WithAutomationTargetParameterName(AutomationTargetParameterNameT &&value)
void SetStatus(StatusT &&value)
void SetOverview(OverviewT &&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)
bool TargetsHasBeenSet() const
AssociationSyncCompliance
AssociationComplianceSeverity
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