7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/ssm/model/InstanceAssociationOutputLocation.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ssm/model/AssociationComplianceSeverity.h>
14#include <aws/ssm/model/AssociationSyncCompliance.h>
15#include <aws/ssm/model/AlarmConfiguration.h>
16#include <aws/ssm/model/Target.h>
17#include <aws/ssm/model/TargetLocation.h>
53 inline void SetAssociationId(
const char* value) { m_associationIdHasBeenSet =
true; m_associationId.assign(value); }
95 inline void SetDocumentVersion(
const char* value) { m_documentVersionHasBeenSet =
true; m_documentVersion.assign(value); }
110 inline void SetScheduleExpression(
const char* value) { m_scheduleExpressionHasBeenSet =
true; m_scheduleExpression.assign(value); }
147 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
175 inline void SetAssociationName(
const char* value) { m_associationNameHasBeenSet =
true; m_associationName.assign(value); }
192 inline void SetAssociationVersion(
const char* value) { m_associationVersionHasBeenSet =
true; m_associationVersion.assign(value); }
235 inline void SetMaxErrors(
const char* value) { m_maxErrorsHasBeenSet =
true; m_maxErrors.assign(value); }
256 inline void SetMaxConcurrency(
const char* value) { m_maxConcurrencyHasBeenSet =
true; m_maxConcurrency.assign(value); }
372 inline void SetScheduleOffset(
int value) { m_scheduleOffsetHasBeenSet =
true; m_scheduleOffset = value; }
394 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
425 bool m_associationIdHasBeenSet =
false;
428 bool m_parametersHasBeenSet =
false;
431 bool m_documentVersionHasBeenSet =
false;
434 bool m_scheduleExpressionHasBeenSet =
false;
437 bool m_outputLocationHasBeenSet =
false;
440 bool m_nameHasBeenSet =
false;
443 bool m_targetsHasBeenSet =
false;
446 bool m_associationNameHasBeenSet =
false;
449 bool m_associationVersionHasBeenSet =
false;
452 bool m_automationTargetParameterNameHasBeenSet =
false;
455 bool m_maxErrorsHasBeenSet =
false;
458 bool m_maxConcurrencyHasBeenSet =
false;
461 bool m_complianceSeverityHasBeenSet =
false;
464 bool m_syncComplianceHasBeenSet =
false;
466 bool m_applyOnlyAtCronInterval;
467 bool m_applyOnlyAtCronIntervalHasBeenSet =
false;
470 bool m_calendarNamesHasBeenSet =
false;
473 bool m_targetLocationsHasBeenSet =
false;
475 int m_scheduleOffset;
476 bool m_scheduleOffsetHasBeenSet =
false;
479 bool m_durationHasBeenSet =
false;
482 bool m_targetMapsHasBeenSet =
false;
485 bool m_alarmConfigurationHasBeenSet =
false;
const AlarmConfiguration & GetAlarmConfiguration() const
UpdateAssociationRequest & WithComplianceSeverity(const AssociationComplianceSeverity &value)
UpdateAssociationRequest & WithAlarmConfiguration(const AlarmConfiguration &value)
UpdateAssociationRequest & WithSyncCompliance(const AssociationSyncCompliance &value)
void SetTargets(const Aws::Vector< Target > &value)
bool ComplianceSeverityHasBeenSet() const
UpdateAssociationRequest & WithMaxConcurrency(Aws::String &&value)
bool DurationHasBeenSet() const
UpdateAssociationRequest & AddTargetLocations(TargetLocation &&value)
UpdateAssociationRequest & WithMaxErrors(Aws::String &&value)
const Aws::String & GetMaxErrors() const
AWS_SSM_API UpdateAssociationRequest()
const Aws::String & GetAssociationVersion() const
void SetMaxErrors(const Aws::String &value)
bool MaxErrorsHasBeenSet() const
void SetScheduleExpression(Aws::String &&value)
UpdateAssociationRequest & AddParameters(const char *key, const Aws::Vector< Aws::String > &value)
UpdateAssociationRequest & WithCalendarNames(Aws::Vector< Aws::String > &&value)
UpdateAssociationRequest & WithScheduleOffset(int value)
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
const AssociationSyncCompliance & GetSyncCompliance() const
UpdateAssociationRequest & AddParameters(Aws::String &&key, Aws::Vector< Aws::String > &&value)
UpdateAssociationRequest & WithSyncCompliance(AssociationSyncCompliance &&value)
UpdateAssociationRequest & WithAssociationVersion(Aws::String &&value)
UpdateAssociationRequest & WithApplyOnlyAtCronInterval(bool value)
bool ScheduleExpressionHasBeenSet() const
UpdateAssociationRequest & WithAssociationVersion(const char *value)
bool ApplyOnlyAtCronIntervalHasBeenSet() const
void SetComplianceSeverity(AssociationComplianceSeverity &&value)
bool SyncComplianceHasBeenSet() const
void SetTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
UpdateAssociationRequest & WithTargetLocations(Aws::Vector< TargetLocation > &&value)
void SetAssociationVersion(const char *value)
void SetTargetLocations(const Aws::Vector< TargetLocation > &value)
void SetTargetLocations(Aws::Vector< TargetLocation > &&value)
void SetSyncCompliance(AssociationSyncCompliance &&value)
UpdateAssociationRequest & WithAssociationVersion(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateAssociationRequest & WithName(Aws::String &&value)
const Aws::String & GetAssociationId() const
UpdateAssociationRequest & WithAssociationName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
void SetApplyOnlyAtCronInterval(bool value)
bool AssociationVersionHasBeenSet() const
void SetSyncCompliance(const AssociationSyncCompliance &value)
const Aws::Vector< Target > & GetTargets() const
const InstanceAssociationOutputLocation & GetOutputLocation() const
bool TargetsHasBeenSet() const
void SetOutputLocation(InstanceAssociationOutputLocation &&value)
UpdateAssociationRequest & WithAutomationTargetParameterName(const char *value)
bool AssociationNameHasBeenSet() const
UpdateAssociationRequest & WithDocumentVersion(const char *value)
void SetScheduleExpression(const Aws::String &value)
UpdateAssociationRequest & AddCalendarNames(const Aws::String &value)
void SetMaxErrors(Aws::String &&value)
bool NameHasBeenSet() const
UpdateAssociationRequest & WithTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
UpdateAssociationRequest & WithParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
UpdateAssociationRequest & WithAssociationId(const Aws::String &value)
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetComplianceSeverity(const AssociationComplianceSeverity &value)
void SetAssociationName(Aws::String &&value)
UpdateAssociationRequest & WithTargets(Aws::Vector< Target > &&value)
UpdateAssociationRequest & WithDuration(int value)
UpdateAssociationRequest & WithAssociationId(Aws::String &&value)
void SetAlarmConfiguration(AlarmConfiguration &&value)
UpdateAssociationRequest & WithScheduleExpression(const Aws::String &value)
bool TargetMapsHasBeenSet() const
void SetCalendarNames(const Aws::Vector< Aws::String > &value)
UpdateAssociationRequest & WithAssociationName(const char *value)
void SetAssociationVersion(const Aws::String &value)
void SetAlarmConfiguration(const AlarmConfiguration &value)
const Aws::Vector< Aws::String > & GetCalendarNames() const
void SetMaxConcurrency(const char *value)
UpdateAssociationRequest & WithMaxConcurrency(const Aws::String &value)
int GetScheduleOffset() const
UpdateAssociationRequest & WithCalendarNames(const Aws::Vector< Aws::String > &value)
UpdateAssociationRequest & WithAlarmConfiguration(AlarmConfiguration &&value)
void SetAssociationName(const char *value)
const Aws::String & GetDocumentVersion() const
void SetMaxConcurrency(Aws::String &&value)
bool AutomationTargetParameterNameHasBeenSet() const
void SetAutomationTargetParameterName(const char *value)
void SetAssociationVersion(Aws::String &&value)
void SetAutomationTargetParameterName(const Aws::String &value)
const Aws::String & GetMaxConcurrency() const
UpdateAssociationRequest & AddTargets(const Target &value)
void SetMaxErrors(const char *value)
void SetName(const char *value)
bool CalendarNamesHasBeenSet() const
void SetCalendarNames(Aws::Vector< Aws::String > &&value)
UpdateAssociationRequest & WithMaxConcurrency(const char *value)
const Aws::String & GetAssociationName() const
UpdateAssociationRequest & WithAutomationTargetParameterName(const Aws::String &value)
void SetAssociationName(const Aws::String &value)
UpdateAssociationRequest & WithName(const Aws::String &value)
UpdateAssociationRequest & AddTargetMaps(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
UpdateAssociationRequest & WithTargets(const Aws::Vector< Target > &value)
void SetParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
bool TargetLocationsHasBeenSet() const
UpdateAssociationRequest & AddCalendarNames(Aws::String &&value)
void SetAssociationId(Aws::String &&value)
void SetAssociationId(const char *value)
bool DocumentVersionHasBeenSet() const
UpdateAssociationRequest & AddParameters(Aws::String &&key, const Aws::Vector< Aws::String > &value)
bool ParametersHasBeenSet() const
bool AlarmConfigurationHasBeenSet() const
const AssociationComplianceSeverity & GetComplianceSeverity() const
UpdateAssociationRequest & WithAutomationTargetParameterName(Aws::String &&value)
UpdateAssociationRequest & WithTargetLocations(const Aws::Vector< TargetLocation > &value)
bool ScheduleOffsetHasBeenSet() const
UpdateAssociationRequest & WithDocumentVersion(Aws::String &&value)
bool OutputLocationHasBeenSet() const
UpdateAssociationRequest & WithAssociationName(const Aws::String &value)
UpdateAssociationRequest & AddTargetMaps(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
UpdateAssociationRequest & AddTargetLocations(const TargetLocation &value)
const Aws::Vector< TargetLocation > & GetTargetLocations() const
UpdateAssociationRequest & AddTargets(Target &&value)
UpdateAssociationRequest & AddParameters(const Aws::String &key, const Aws::Vector< Aws::String > &value)
bool GetApplyOnlyAtCronInterval() const
void SetTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
bool AssociationIdHasBeenSet() const
UpdateAssociationRequest & WithName(const char *value)
const Aws::String & GetScheduleExpression() const
void SetMaxConcurrency(const Aws::String &value)
void SetScheduleOffset(int value)
const Aws::String & GetAutomationTargetParameterName() const
UpdateAssociationRequest & AddParameters(const Aws::String &key, Aws::Vector< Aws::String > &&value)
UpdateAssociationRequest & WithAssociationId(const char *value)
bool MaxConcurrencyHasBeenSet() const
UpdateAssociationRequest & AddCalendarNames(const char *value)
void SetScheduleExpression(const char *value)
UpdateAssociationRequest & WithComplianceSeverity(AssociationComplianceSeverity &&value)
UpdateAssociationRequest & WithOutputLocation(const InstanceAssociationOutputLocation &value)
AWS_SSM_API Aws::String SerializePayload() const override
UpdateAssociationRequest & WithOutputLocation(InstanceAssociationOutputLocation &&value)
void SetDuration(int value)
UpdateAssociationRequest & WithMaxErrors(const char *value)
void SetDocumentVersion(const char *value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateAssociationRequest & WithParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
UpdateAssociationRequest & WithScheduleExpression(Aws::String &&value)
void SetDocumentVersion(Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::String & GetName() const
UpdateAssociationRequest & WithTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
UpdateAssociationRequest & WithMaxErrors(const Aws::String &value)
void SetAssociationId(const Aws::String &value)
UpdateAssociationRequest & WithScheduleExpression(const char *value)
UpdateAssociationRequest & AddParameters(const char *key, Aws::Vector< Aws::String > &&value)
void SetOutputLocation(const InstanceAssociationOutputLocation &value)
UpdateAssociationRequest & WithDocumentVersion(const Aws::String &value)
void SetDocumentVersion(const Aws::String &value)
void SetTargets(Aws::Vector< Target > &&value)
void SetName(Aws::String &&value)
void SetAutomationTargetParameterName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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