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>
60 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
74 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
88 inline void SetAssociationVersion(
const char* value) { m_associationVersionHasBeenSet =
true; m_associationVersion.assign(value); }
150 inline void SetDocumentVersion(
const char* value) { m_documentVersionHasBeenSet =
true; m_documentVersion.assign(value); }
199 inline void SetAssociationId(
const char* value) { m_associationIdHasBeenSet =
true; m_associationId.assign(value); }
227 inline void SetScheduleExpression(
const char* value) { m_scheduleExpressionHasBeenSet =
true; m_scheduleExpression.assign(value); }
277 inline void SetAssociationName(
const char* value) { m_associationNameHasBeenSet =
true; m_associationName.assign(value); }
303 inline void SetMaxErrors(
const char* value) { m_maxErrorsHasBeenSet =
true; m_maxErrors.assign(value); }
324 inline void SetMaxConcurrency(
const char* value) { m_maxConcurrencyHasBeenSet =
true; m_maxConcurrency.assign(value); }
418 inline void SetScheduleOffset(
int value) { m_scheduleOffsetHasBeenSet =
true; m_scheduleOffset = value; }
430 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
475 bool m_nameHasBeenSet =
false;
478 bool m_instanceIdHasBeenSet =
false;
481 bool m_associationVersionHasBeenSet =
false;
484 bool m_dateHasBeenSet =
false;
487 bool m_lastUpdateAssociationDateHasBeenSet =
false;
490 bool m_statusHasBeenSet =
false;
493 bool m_overviewHasBeenSet =
false;
496 bool m_documentVersionHasBeenSet =
false;
499 bool m_automationTargetParameterNameHasBeenSet =
false;
502 bool m_parametersHasBeenSet =
false;
505 bool m_associationIdHasBeenSet =
false;
508 bool m_targetsHasBeenSet =
false;
511 bool m_scheduleExpressionHasBeenSet =
false;
514 bool m_outputLocationHasBeenSet =
false;
517 bool m_lastExecutionDateHasBeenSet =
false;
520 bool m_lastSuccessfulExecutionDateHasBeenSet =
false;
523 bool m_associationNameHasBeenSet =
false;
526 bool m_maxErrorsHasBeenSet =
false;
529 bool m_maxConcurrencyHasBeenSet =
false;
532 bool m_complianceSeverityHasBeenSet =
false;
535 bool m_syncComplianceHasBeenSet =
false;
537 bool m_applyOnlyAtCronInterval;
538 bool m_applyOnlyAtCronIntervalHasBeenSet =
false;
541 bool m_calendarNamesHasBeenSet =
false;
544 bool m_targetLocationsHasBeenSet =
false;
546 int m_scheduleOffset;
547 bool m_scheduleOffsetHasBeenSet =
false;
550 bool m_durationHasBeenSet =
false;
553 bool m_targetMapsHasBeenSet =
false;
556 bool m_alarmConfigurationHasBeenSet =
false;
559 bool m_triggeredAlarmsHasBeenSet =
false;
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
bool DurationHasBeenSet() const
void SetStatus(const AssociationStatus &value)
void SetTargets(Aws::Vector< Target > &&value)
AssociationDescription & WithAlarmConfiguration(const AlarmConfiguration &value)
const Aws::String & GetInstanceId() const
void SetScheduleExpression(Aws::String &&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 & GetAssociationId() const
const Aws::String & GetScheduleExpression() const
AssociationDescription & WithMaxErrors(const char *value)
const Aws::String & GetMaxConcurrency() const
AssociationDescription & WithMaxConcurrency(const char *value)
void SetAssociationName(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)
bool ApplyOnlyAtCronIntervalHasBeenSet() const
void SetComplianceSeverity(const AssociationComplianceSeverity &value)
AWS_SSM_API AssociationDescription(Aws::Utils::Json::JsonView jsonValue)
void SetMaxConcurrency(Aws::String &&value)
bool OverviewHasBeenSet() const
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)
const Aws::String & GetAssociationName() const
void SetDocumentVersion(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 SetMaxErrors(Aws::String &&value)
void SetAssociationVersion(const Aws::String &value)
bool MaxConcurrencyHasBeenSet() const
bool AssociationVersionHasBeenSet() const
void SetAssociationVersion(const char *value)
void SetName(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)
bool OutputLocationHasBeenSet() const
bool AutomationTargetParameterNameHasBeenSet() const
bool NameHasBeenSet() const
AssociationDescription & WithOutputLocation(const InstanceAssociationOutputLocation &value)
int GetScheduleOffset() const
void SetApplyOnlyAtCronInterval(bool value)
AssociationDescription & WithAssociationVersion(const char *value)
AssociationDescription & WithAssociationId(const Aws::String &value)
void SetScheduleExpression(const char *value)
const Aws::Vector< Target > & GetTargets() const
const AssociationOverview & GetOverview() const
AssociationDescription & AddParameters(const Aws::String &key, const Aws::Vector< Aws::String > &value)
bool DateHasBeenSet() const
AssociationDescription & WithLastUpdateAssociationDate(const Aws::Utils::DateTime &value)
AssociationDescription & WithName(const Aws::String &value)
bool ComplianceSeverityHasBeenSet() const
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)
bool InstanceIdHasBeenSet() const
bool CalendarNamesHasBeenSet() const
void SetMaxErrors(const char *value)
AWS_SSM_API AssociationDescription()
void SetDuration(int 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)
bool AssociationNameHasBeenSet() const
bool TargetLocationsHasBeenSet() const
void SetAssociationVersion(Aws::String &&value)
void SetName(Aws::String &&value)
AssociationDescription & WithMaxConcurrency(Aws::String &&value)
AssociationDescription & WithName(const char *value)
void SetAssociationId(const Aws::String &value)
void SetDocumentVersion(const char *value)
const Aws::Utils::DateTime & GetLastSuccessfulExecutionDate() const
bool SyncComplianceHasBeenSet() const
bool MaxErrorsHasBeenSet() 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)
bool TriggeredAlarmsHasBeenSet() const
void SetOverview(AssociationOverview &&value)
bool ScheduleExpressionHasBeenSet() const
const Aws::String & GetAutomationTargetParameterName() const
void SetInstanceId(const char *value)
AssociationDescription & WithAssociationName(const Aws::String &value)
bool ParametersHasBeenSet() const
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)
void SetAssociationId(const char *value)
AssociationDescription & WithOverview(AssociationOverview &&value)
AssociationDescription & WithCalendarNames(const Aws::Vector< Aws::String > &value)
bool LastExecutionDateHasBeenSet() const
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)
bool LastUpdateAssociationDateHasBeenSet() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
const Aws::String & GetDocumentVersion() const
AssociationDescription & AddTargetLocations(const TargetLocation &value)
void SetAssociationName(const Aws::String &value)
AssociationDescription & WithAssociationName(const char *value)
void SetAutomationTargetParameterName(const char *value)
void SetName(const char *value)
void SetDate(const Aws::Utils::DateTime &value)
bool AssociationIdHasBeenSet() const
void SetMaxConcurrency(const char *value)
bool GetApplyOnlyAtCronInterval() const
AssociationDescription & WithParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetAssociationId(Aws::String &&value)
const AssociationStatus & GetStatus() const
bool StatusHasBeenSet() const
AssociationDescription & WithComplianceSeverity(AssociationComplianceSeverity &&value)
AssociationDescription & WithTriggeredAlarms(const Aws::Vector< AlarmStateInformation > &value)
void SetScheduleOffset(int 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
bool ScheduleOffsetHasBeenSet() const
const Aws::String & GetMaxErrors() const
void SetAutomationTargetParameterName(const Aws::String &value)
void SetComplianceSeverity(AssociationComplianceSeverity &&value)
const Aws::Utils::DateTime & GetDate() const
bool TargetMapsHasBeenSet() 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
bool DocumentVersionHasBeenSet() const
const Aws::String & GetName() 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)
bool LastSuccessfulExecutionDateHasBeenSet() const
void SetInstanceId(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
void SetLastExecutionDate(const Aws::Utils::DateTime &value)
bool AlarmConfigurationHasBeenSet() const
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 SetAssociationName(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)
bool TargetsHasBeenSet() const
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)
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