7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm/SSMRequest.h>
11#include <aws/ssm/SSM_EXPORTS.h>
12#include <aws/ssm/model/AlarmConfiguration.h>
13#include <aws/ssm/model/AssociationComplianceSeverity.h>
14#include <aws/ssm/model/AssociationSyncCompliance.h>
15#include <aws/ssm/model/InstanceAssociationOutputLocation.h>
16#include <aws/ssm/model/Target.h>
17#include <aws/ssm/model/TargetLocation.h>
47 template <
typename AssociationIdT = Aws::String>
49 m_associationIdHasBeenSet =
true;
50 m_associationId = std::forward<AssociationIdT>(value);
52 template <
typename AssociationIdT = Aws::String>
67 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
69 m_parametersHasBeenSet =
true;
70 m_parameters = std::forward<ParametersT>(value);
72 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
77 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<Aws::String>>
79 m_parametersHasBeenSet =
true;
80 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
98 template <
typename DocumentVersionT = Aws::String>
100 m_documentVersionHasBeenSet =
true;
101 m_documentVersion = std::forward<DocumentVersionT>(value);
103 template <
typename DocumentVersionT = Aws::String>
117 template <
typename ScheduleExpressionT = Aws::String>
119 m_scheduleExpressionHasBeenSet =
true;
120 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
122 template <
typename ScheduleExpressionT = Aws::String>
135 template <
typename OutputLocationT = InstanceAssociationOutputLocation>
137 m_outputLocationHasBeenSet =
true;
138 m_outputLocation = std::forward<OutputLocationT>(value);
140 template <
typename OutputLocationT = InstanceAssociationOutputLocation>
164 template <
typename NameT = Aws::String>
166 m_nameHasBeenSet =
true;
167 m_name = std::forward<NameT>(value);
169 template <
typename NameT = Aws::String>
171 SetName(std::forward<NameT>(value));
182 template <
typename TargetsT = Aws::Vector<Target>>
184 m_targetsHasBeenSet =
true;
185 m_targets = std::forward<TargetsT>(value);
187 template <
typename TargetsT = Aws::Vector<Target>>
192 template <
typename TargetsT = Target>
194 m_targetsHasBeenSet =
true;
195 m_targets.emplace_back(std::forward<TargetsT>(value));
206 template <
typename AssociationNameT = Aws::String>
208 m_associationNameHasBeenSet =
true;
209 m_associationName = std::forward<AssociationNameT>(value);
211 template <
typename AssociationNameT = Aws::String>
227 template <
typename AssociationVersionT = Aws::String>
229 m_associationVersionHasBeenSet =
true;
230 m_associationVersion = std::forward<AssociationVersionT>(value);
232 template <
typename AssociationVersionT = Aws::String>
248 template <
typename AutomationTargetParameterNameT = Aws::String>
250 m_automationTargetParameterNameHasBeenSet =
true;
251 m_automationTargetParameterName = std::forward<AutomationTargetParameterNameT>(value);
253 template <
typename AutomationTargetParameterNameT = Aws::String>
278 template <
typename MaxErrorsT = Aws::String>
280 m_maxErrorsHasBeenSet =
true;
281 m_maxErrors = std::forward<MaxErrorsT>(value);
283 template <
typename MaxErrorsT = Aws::String>
303 template <
typename MaxConcurrencyT = Aws::String>
305 m_maxConcurrencyHasBeenSet =
true;
306 m_maxConcurrency = std::forward<MaxConcurrencyT>(value);
308 template <
typename MaxConcurrencyT = Aws::String>
322 m_complianceSeverityHasBeenSet =
true;
323 m_complianceSeverity = value;
348 m_syncComplianceHasBeenSet =
true;
349 m_syncCompliance = value;
386 m_applyOnlyAtCronIntervalHasBeenSet =
true;
387 m_applyOnlyAtCronInterval = value;
406 template <
typename CalendarNamesT = Aws::Vector<Aws::String>>
408 m_calendarNamesHasBeenSet =
true;
409 m_calendarNames = std::forward<CalendarNamesT>(value);
411 template <
typename CalendarNamesT = Aws::Vector<Aws::String>>
416 template <
typename CalendarNamesT = Aws::String>
418 m_calendarNamesHasBeenSet =
true;
419 m_calendarNames.emplace_back(std::forward<CalendarNamesT>(value));
434 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
436 m_targetLocationsHasBeenSet =
true;
437 m_targetLocations = std::forward<TargetLocationsT>(value);
439 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
444 template <
typename TargetLocationsT = TargetLocation>
446 m_targetLocationsHasBeenSet =
true;
447 m_targetLocations.emplace_back(std::forward<TargetLocationsT>(value));
468 m_scheduleOffsetHasBeenSet =
true;
469 m_scheduleOffset = value;
496 m_durationHasBeenSet =
true;
512 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
514 m_targetMapsHasBeenSet =
true;
515 m_targetMaps = std::forward<TargetMapsT>(value);
517 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
522 template <
typename TargetMapsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
524 m_targetMapsHasBeenSet =
true;
525 m_targetMaps.emplace_back(std::forward<TargetMapsT>(value));
534 template <
typename AlarmConfigurationT = AlarmConfiguration>
536 m_alarmConfigurationHasBeenSet =
true;
537 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
539 template <
typename AlarmConfigurationT = AlarmConfiguration>
574 bool m_applyOnlyAtCronInterval{
false};
580 int m_scheduleOffset{0};
586 AlarmConfiguration m_alarmConfiguration;
587 bool m_associationIdHasBeenSet =
false;
588 bool m_parametersHasBeenSet =
false;
589 bool m_documentVersionHasBeenSet =
false;
590 bool m_scheduleExpressionHasBeenSet =
false;
591 bool m_outputLocationHasBeenSet =
false;
592 bool m_nameHasBeenSet =
false;
593 bool m_targetsHasBeenSet =
false;
594 bool m_associationNameHasBeenSet =
false;
595 bool m_associationVersionHasBeenSet =
false;
596 bool m_automationTargetParameterNameHasBeenSet =
false;
597 bool m_maxErrorsHasBeenSet =
false;
598 bool m_maxConcurrencyHasBeenSet =
false;
599 bool m_complianceSeverityHasBeenSet =
false;
600 bool m_syncComplianceHasBeenSet =
false;
601 bool m_applyOnlyAtCronIntervalHasBeenSet =
false;
602 bool m_calendarNamesHasBeenSet =
false;
603 bool m_targetLocationsHasBeenSet =
false;
604 bool m_scheduleOffsetHasBeenSet =
false;
605 bool m_durationHasBeenSet =
false;
606 bool m_targetMapsHasBeenSet =
false;
607 bool m_alarmConfigurationHasBeenSet =
false;
void SetParameters(ParametersT &&value)
const AlarmConfiguration & GetAlarmConfiguration() const
bool ComplianceSeverityHasBeenSet() const
AssociationComplianceSeverity GetComplianceSeverity() const
bool DurationHasBeenSet() const
const Aws::String & GetMaxErrors() const
const Aws::String & GetAssociationVersion() const
bool MaxErrorsHasBeenSet() const
UpdateAssociationRequest & WithScheduleOffset(int value)
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
void SetName(NameT &&value)
UpdateAssociationRequest & WithApplyOnlyAtCronInterval(bool value)
bool ScheduleExpressionHasBeenSet() const
UpdateAssociationRequest & WithAssociationVersion(AssociationVersionT &&value)
bool ApplyOnlyAtCronIntervalHasBeenSet() const
void SetMaxConcurrency(MaxConcurrencyT &&value)
bool SyncComplianceHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAssociationId() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
UpdateAssociationRequest & WithTargetLocations(TargetLocationsT &&value)
void SetApplyOnlyAtCronInterval(bool value)
UpdateAssociationRequest & WithDocumentVersion(DocumentVersionT &&value)
bool AssociationVersionHasBeenSet() const
UpdateAssociationRequest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
const Aws::Vector< Target > & GetTargets() const
const InstanceAssociationOutputLocation & GetOutputLocation() const
bool TargetsHasBeenSet() const
UpdateAssociationRequest & WithOutputLocation(OutputLocationT &&value)
bool AssociationNameHasBeenSet() const
void SetSyncCompliance(AssociationSyncCompliance value)
bool NameHasBeenSet() const
UpdateAssociationRequest & AddCalendarNames(CalendarNamesT &&value)
void SetMaxErrors(MaxErrorsT &&value)
UpdateAssociationRequest & WithDuration(int value)
bool TargetMapsHasBeenSet() const
AWS_SSM_API UpdateAssociationRequest()=default
void SetDocumentVersion(DocumentVersionT &&value)
const Aws::Vector< Aws::String > & GetCalendarNames() const
int GetScheduleOffset() const
UpdateAssociationRequest & WithScheduleExpression(ScheduleExpressionT &&value)
const Aws::String & GetDocumentVersion() const
bool AutomationTargetParameterNameHasBeenSet() const
const Aws::String & GetMaxConcurrency() const
void SetTargetMaps(TargetMapsT &&value)
void SetScheduleExpression(ScheduleExpressionT &&value)
UpdateAssociationRequest & WithMaxErrors(MaxErrorsT &&value)
UpdateAssociationRequest & WithTargets(TargetsT &&value)
bool CalendarNamesHasBeenSet() const
const Aws::String & GetAssociationName() const
UpdateAssociationRequest & WithComplianceSeverity(AssociationComplianceSeverity value)
void SetComplianceSeverity(AssociationComplianceSeverity value)
bool TargetLocationsHasBeenSet() const
UpdateAssociationRequest & WithName(NameT &&value)
UpdateAssociationRequest & WithAssociationId(AssociationIdT &&value)
bool DocumentVersionHasBeenSet() const
void SetAutomationTargetParameterName(AutomationTargetParameterNameT &&value)
bool ParametersHasBeenSet() const
bool AlarmConfigurationHasBeenSet() const
void SetAssociationId(AssociationIdT &&value)
void SetAssociationName(AssociationNameT &&value)
void SetOutputLocation(OutputLocationT &&value)
bool ScheduleOffsetHasBeenSet() const
bool OutputLocationHasBeenSet() const
const Aws::Vector< TargetLocation > & GetTargetLocations() const
bool GetApplyOnlyAtCronInterval() const
UpdateAssociationRequest & WithParameters(ParametersT &&value)
AssociationSyncCompliance GetSyncCompliance() const
bool AssociationIdHasBeenSet() const
UpdateAssociationRequest & AddTargetLocations(TargetLocationsT &&value)
void SetAlarmConfiguration(AlarmConfigurationT &&value)
const Aws::String & GetScheduleExpression() const
void SetScheduleOffset(int value)
const Aws::String & GetAutomationTargetParameterName() const
bool MaxConcurrencyHasBeenSet() const
void SetTargetLocations(TargetLocationsT &&value)
AWS_SSM_API Aws::String SerializePayload() const override
void SetDuration(int value)
UpdateAssociationRequest & WithMaxConcurrency(MaxConcurrencyT &&value)
void SetAssociationVersion(AssociationVersionT &&value)
void SetTargets(TargetsT &&value)
UpdateAssociationRequest & WithCalendarNames(CalendarNamesT &&value)
UpdateAssociationRequest & WithAutomationTargetParameterName(AutomationTargetParameterNameT &&value)
UpdateAssociationRequest & AddTargets(TargetsT &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateAssociationRequest & AddTargetMaps(TargetMapsT &&value)
UpdateAssociationRequest & WithTargetMaps(TargetMapsT &&value)
UpdateAssociationRequest & WithAssociationName(AssociationNameT &&value)
UpdateAssociationRequest & WithAlarmConfiguration(AlarmConfigurationT &&value)
const Aws::String & GetName() const
UpdateAssociationRequest & WithSyncCompliance(AssociationSyncCompliance value)
void SetCalendarNames(CalendarNamesT &&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