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>
51 template<
typename AssociationIdT = Aws::String>
52 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet =
true; m_associationId = std::forward<AssociationIdT>(value); }
53 template<
typename AssociationIdT = Aws::String>
65 template<
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
66 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
67 template<
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
69 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<Aws::String>>
71 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
88 template<
typename DocumentVersionT = Aws::String>
89 void SetDocumentVersion(DocumentVersionT&& value) { m_documentVersionHasBeenSet =
true; m_documentVersion = std::forward<DocumentVersionT>(value); }
90 template<
typename DocumentVersionT = Aws::String>
101 template<
typename ScheduleExpressionT = Aws::String>
102 void SetScheduleExpression(ScheduleExpressionT&& value) { m_scheduleExpressionHasBeenSet =
true; m_scheduleExpression = std::forward<ScheduleExpressionT>(value); }
103 template<
typename ScheduleExpressionT = Aws::String>
113 template<
typename OutputLocationT = InstanceAssociationOutputLocation>
114 void SetOutputLocation(OutputLocationT&& value) { m_outputLocationHasBeenSet =
true; m_outputLocation = std::forward<OutputLocationT>(value); }
115 template<
typename OutputLocationT = InstanceAssociationOutputLocation>
136 template<
typename NameT = Aws::String>
137 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
138 template<
typename NameT = Aws::String>
148 template<
typename TargetsT = Aws::Vector<Target>>
149 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
150 template<
typename TargetsT = Aws::Vector<Target>>
152 template<
typename TargetsT = Target>
162 template<
typename AssociationNameT = Aws::String>
163 void SetAssociationName(AssociationNameT&& value) { m_associationNameHasBeenSet =
true; m_associationName = std::forward<AssociationNameT>(value); }
164 template<
typename AssociationNameT = Aws::String>
177 template<
typename AssociationVersionT = Aws::String>
178 void SetAssociationVersion(AssociationVersionT&& value) { m_associationVersionHasBeenSet =
true; m_associationVersion = std::forward<AssociationVersionT>(value); }
179 template<
typename AssociationVersionT = Aws::String>
192 template<
typename AutomationTargetParameterNameT = Aws::String>
193 void SetAutomationTargetParameterName(AutomationTargetParameterNameT&& value) { m_automationTargetParameterNameHasBeenSet =
true; m_automationTargetParameterName = std::forward<AutomationTargetParameterNameT>(value); }
194 template<
typename AutomationTargetParameterNameT = Aws::String>
216 template<
typename MaxErrorsT = Aws::String>
217 void SetMaxErrors(MaxErrorsT&& value) { m_maxErrorsHasBeenSet =
true; m_maxErrors = std::forward<MaxErrorsT>(value); }
218 template<
typename MaxErrorsT = Aws::String>
235 template<
typename MaxConcurrencyT = Aws::String>
236 void SetMaxConcurrency(MaxConcurrencyT&& value) { m_maxConcurrencyHasBeenSet =
true; m_maxConcurrency = std::forward<MaxConcurrencyT>(value); }
237 template<
typename MaxConcurrencyT = Aws::String>
314 template<
typename CalendarNamesT = Aws::Vector<Aws::String>>
315 void SetCalendarNames(CalendarNamesT&& value) { m_calendarNamesHasBeenSet =
true; m_calendarNames = std::forward<CalendarNamesT>(value); }
316 template<
typename CalendarNamesT = Aws::Vector<Aws::String>>
318 template<
typename CalendarNamesT = Aws::String>
330 template<
typename TargetLocationsT = Aws::Vector<TargetLocation>>
331 void SetTargetLocations(TargetLocationsT&& value) { m_targetLocationsHasBeenSet =
true; m_targetLocations = std::forward<TargetLocationsT>(value); }
332 template<
typename TargetLocationsT = Aws::Vector<TargetLocation>>
334 template<
typename TargetLocationsT = TargetLocation>
353 inline void SetScheduleOffset(
int value) { m_scheduleOffsetHasBeenSet =
true; m_scheduleOffset = value; }
375 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
386 template<
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
387 void SetTargetMaps(TargetMapsT&& value) { m_targetMapsHasBeenSet =
true; m_targetMaps = std::forward<TargetMapsT>(value); }
388 template<
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
390 template<
typename TargetMapsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
398 template<
typename AlarmConfigurationT = AlarmConfiguration>
399 void SetAlarmConfiguration(AlarmConfigurationT&& value) { m_alarmConfigurationHasBeenSet =
true; m_alarmConfiguration = std::forward<AlarmConfigurationT>(value); }
400 template<
typename AlarmConfigurationT = AlarmConfiguration>
406 bool m_associationIdHasBeenSet =
false;
409 bool m_parametersHasBeenSet =
false;
412 bool m_documentVersionHasBeenSet =
false;
415 bool m_scheduleExpressionHasBeenSet =
false;
418 bool m_outputLocationHasBeenSet =
false;
421 bool m_nameHasBeenSet =
false;
424 bool m_targetsHasBeenSet =
false;
427 bool m_associationNameHasBeenSet =
false;
430 bool m_associationVersionHasBeenSet =
false;
433 bool m_automationTargetParameterNameHasBeenSet =
false;
436 bool m_maxErrorsHasBeenSet =
false;
439 bool m_maxConcurrencyHasBeenSet =
false;
442 bool m_complianceSeverityHasBeenSet =
false;
445 bool m_syncComplianceHasBeenSet =
false;
447 bool m_applyOnlyAtCronInterval{
false};
448 bool m_applyOnlyAtCronIntervalHasBeenSet =
false;
451 bool m_calendarNamesHasBeenSet =
false;
454 bool m_targetLocationsHasBeenSet =
false;
456 int m_scheduleOffset{0};
457 bool m_scheduleOffsetHasBeenSet =
false;
460 bool m_durationHasBeenSet =
false;
463 bool m_targetMapsHasBeenSet =
false;
465 AlarmConfiguration m_alarmConfiguration;
466 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