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/Tag.h>
17#include <aws/ssm/model/Target.h>
18#include <aws/ssm/model/TargetLocation.h>
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
86 template <
typename DocumentVersionT = Aws::String>
88 m_documentVersionHasBeenSet =
true;
89 m_documentVersion = std::forward<DocumentVersionT>(value);
91 template <
typename DocumentVersionT = Aws::String>
113 template <
typename InstanceIdT = Aws::String>
115 m_instanceIdHasBeenSet =
true;
116 m_instanceId = std::forward<InstanceIdT>(value);
118 template <
typename InstanceIdT = Aws::String>
131 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
133 m_parametersHasBeenSet =
true;
134 m_parameters = std::forward<ParametersT>(value);
136 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
141 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<Aws::String>>
143 m_parametersHasBeenSet =
true;
144 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
163 template <
typename TargetsT = Aws::Vector<Target>>
165 m_targetsHasBeenSet =
true;
166 m_targets = std::forward<TargetsT>(value);
168 template <
typename TargetsT = Aws::Vector<Target>>
173 template <
typename TargetsT = Target>
175 m_targetsHasBeenSet =
true;
176 m_targets.emplace_back(std::forward<TargetsT>(value));
187 template <
typename ScheduleExpressionT = Aws::String>
189 m_scheduleExpressionHasBeenSet =
true;
190 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
192 template <
typename ScheduleExpressionT = Aws::String>
206 template <
typename OutputLocationT = InstanceAssociationOutputLocation>
208 m_outputLocationHasBeenSet =
true;
209 m_outputLocation = std::forward<OutputLocationT>(value);
211 template <
typename OutputLocationT = InstanceAssociationOutputLocation>
224 template <
typename AssociationNameT = Aws::String>
226 m_associationNameHasBeenSet =
true;
227 m_associationName = std::forward<AssociationNameT>(value);
229 template <
typename AssociationNameT = Aws::String>
245 template <
typename AutomationTargetParameterNameT = Aws::String>
247 m_automationTargetParameterNameHasBeenSet =
true;
248 m_automationTargetParameterName = std::forward<AutomationTargetParameterNameT>(value);
250 template <
typename AutomationTargetParameterNameT = Aws::String>
275 template <
typename MaxErrorsT = Aws::String>
277 m_maxErrorsHasBeenSet =
true;
278 m_maxErrors = std::forward<MaxErrorsT>(value);
280 template <
typename MaxErrorsT = Aws::String>
300 template <
typename MaxConcurrencyT = Aws::String>
302 m_maxConcurrencyHasBeenSet =
true;
303 m_maxConcurrency = std::forward<MaxConcurrencyT>(value);
305 template <
typename MaxConcurrencyT = Aws::String>
319 m_complianceSeverityHasBeenSet =
true;
320 m_complianceSeverity = value;
345 m_syncComplianceHasBeenSet =
true;
346 m_syncCompliance = value;
371 m_applyOnlyAtCronIntervalHasBeenSet =
true;
372 m_applyOnlyAtCronInterval = value;
391 template <
typename CalendarNamesT = Aws::Vector<Aws::String>>
393 m_calendarNamesHasBeenSet =
true;
394 m_calendarNames = std::forward<CalendarNamesT>(value);
396 template <
typename CalendarNamesT = Aws::Vector<Aws::String>>
401 template <
typename CalendarNamesT = Aws::String>
403 m_calendarNamesHasBeenSet =
true;
404 m_calendarNames.emplace_back(std::forward<CalendarNamesT>(value));
419 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
421 m_targetLocationsHasBeenSet =
true;
422 m_targetLocations = std::forward<TargetLocationsT>(value);
424 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
429 template <
typename TargetLocationsT = TargetLocation>
431 m_targetLocationsHasBeenSet =
true;
432 m_targetLocations.emplace_back(std::forward<TargetLocationsT>(value));
453 m_scheduleOffsetHasBeenSet =
true;
454 m_scheduleOffset = value;
481 m_durationHasBeenSet =
true;
497 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
499 m_targetMapsHasBeenSet =
true;
500 m_targetMaps = std::forward<TargetMapsT>(value);
502 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
507 template <
typename TargetMapsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
509 m_targetMapsHasBeenSet =
true;
510 m_targetMaps.emplace_back(std::forward<TargetMapsT>(value));
525 template <
typename TagsT = Aws::Vector<Tag>>
527 m_tagsHasBeenSet =
true;
528 m_tags = std::forward<TagsT>(value);
530 template <
typename TagsT = Aws::Vector<Tag>>
532 SetTags(std::forward<TagsT>(value));
535 template <
typename TagsT = Tag>
537 m_tagsHasBeenSet =
true;
538 m_tags.emplace_back(std::forward<TagsT>(value));
547 template <
typename AlarmConfigurationT = AlarmConfiguration>
549 m_alarmConfigurationHasBeenSet =
true;
550 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
552 template <
typename AlarmConfigurationT = AlarmConfiguration>
585 bool m_applyOnlyAtCronInterval{
false};
591 int m_scheduleOffset{0};
599 AlarmConfiguration m_alarmConfiguration;
600 bool m_nameHasBeenSet =
false;
601 bool m_documentVersionHasBeenSet =
false;
602 bool m_instanceIdHasBeenSet =
false;
603 bool m_parametersHasBeenSet =
false;
604 bool m_targetsHasBeenSet =
false;
605 bool m_scheduleExpressionHasBeenSet =
false;
606 bool m_outputLocationHasBeenSet =
false;
607 bool m_associationNameHasBeenSet =
false;
608 bool m_automationTargetParameterNameHasBeenSet =
false;
609 bool m_maxErrorsHasBeenSet =
false;
610 bool m_maxConcurrencyHasBeenSet =
false;
611 bool m_complianceSeverityHasBeenSet =
false;
612 bool m_syncComplianceHasBeenSet =
false;
613 bool m_applyOnlyAtCronIntervalHasBeenSet =
false;
614 bool m_calendarNamesHasBeenSet =
false;
615 bool m_targetLocationsHasBeenSet =
false;
616 bool m_scheduleOffsetHasBeenSet =
false;
617 bool m_durationHasBeenSet =
false;
618 bool m_targetMapsHasBeenSet =
false;
619 bool m_tagsHasBeenSet =
false;
620 bool m_alarmConfigurationHasBeenSet =
false;
void SetOutputLocation(OutputLocationT &&value)
CreateAssociationRequest & WithMaxErrors(MaxErrorsT &&value)
void SetTags(TagsT &&value)
bool CalendarNamesHasBeenSet() const
const InstanceAssociationOutputLocation & GetOutputLocation() const
CreateAssociationRequest & WithAssociationName(AssociationNameT &&value)
void SetInstanceId(InstanceIdT &&value)
void SetParameters(ParametersT &&value)
const Aws::Vector< TargetLocation > & GetTargetLocations() const
void SetTargetLocations(TargetLocationsT &&value)
CreateAssociationRequest & WithDocumentVersion(DocumentVersionT &&value)
const Aws::Vector< Target > & GetTargets() const
bool InstanceIdHasBeenSet() const
const Aws::String & GetName() const
bool ScheduleOffsetHasBeenSet() const
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool NameHasBeenSet() const
const Aws::Vector< Aws::String > & GetCalendarNames() const
bool ComplianceSeverityHasBeenSet() const
CreateAssociationRequest & WithComplianceSeverity(AssociationComplianceSeverity value)
CreateAssociationRequest & WithParameters(ParametersT &&value)
CreateAssociationRequest & AddTargetMaps(TargetMapsT &&value)
const Aws::String & GetAutomationTargetParameterName() const
bool SyncComplianceHasBeenSet() const
CreateAssociationRequest & WithDuration(int value)
const Aws::Vector< Tag > & GetTags() const
void SetSyncCompliance(AssociationSyncCompliance value)
CreateAssociationRequest & WithOutputLocation(OutputLocationT &&value)
void SetTargets(TargetsT &&value)
bool ParametersHasBeenSet() const
void SetScheduleExpression(ScheduleExpressionT &&value)
void SetDuration(int value)
bool DurationHasBeenSet() const
const Aws::String & GetMaxConcurrency() const
const AlarmConfiguration & GetAlarmConfiguration() const
CreateAssociationRequest & WithInstanceId(InstanceIdT &&value)
CreateAssociationRequest & WithApplyOnlyAtCronInterval(bool value)
CreateAssociationRequest & WithScheduleExpression(ScheduleExpressionT &&value)
bool ScheduleExpressionHasBeenSet() const
const Aws::String & GetDocumentVersion() const
const Aws::String & GetInstanceId() const
void SetTargetMaps(TargetMapsT &&value)
bool GetApplyOnlyAtCronInterval() const
CreateAssociationRequest & WithMaxConcurrency(MaxConcurrencyT &&value)
void SetScheduleOffset(int value)
CreateAssociationRequest & WithTargets(TargetsT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
bool AssociationNameHasBeenSet() const
void SetAutomationTargetParameterName(AutomationTargetParameterNameT &&value)
const Aws::String & GetScheduleExpression() const
CreateAssociationRequest & WithTargetMaps(TargetMapsT &&value)
CreateAssociationRequest & AddTargetLocations(TargetLocationsT &&value)
CreateAssociationRequest & WithName(NameT &&value)
CreateAssociationRequest & WithAutomationTargetParameterName(AutomationTargetParameterNameT &&value)
bool TagsHasBeenSet() const
bool OutputLocationHasBeenSet() const
CreateAssociationRequest & AddCalendarNames(CalendarNamesT &&value)
CreateAssociationRequest & WithScheduleOffset(int value)
bool ApplyOnlyAtCronIntervalHasBeenSet() const
CreateAssociationRequest & WithAlarmConfiguration(AlarmConfigurationT &&value)
const Aws::String & GetAssociationName() const
CreateAssociationRequest & WithTags(TagsT &&value)
void SetComplianceSeverity(AssociationComplianceSeverity value)
CreateAssociationRequest & AddTags(TagsT &&value)
AssociationComplianceSeverity GetComplianceSeverity() const
AWS_SSM_API CreateAssociationRequest()=default
void SetAssociationName(AssociationNameT &&value)
bool MaxConcurrencyHasBeenSet() const
void SetMaxConcurrency(MaxConcurrencyT &&value)
CreateAssociationRequest & WithCalendarNames(CalendarNamesT &&value)
CreateAssociationRequest & WithTargetLocations(TargetLocationsT &&value)
void SetCalendarNames(CalendarNamesT &&value)
bool TargetsHasBeenSet() const
void SetAlarmConfiguration(AlarmConfigurationT &&value)
bool AutomationTargetParameterNameHasBeenSet() const
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
void SetMaxErrors(MaxErrorsT &&value)
bool AlarmConfigurationHasBeenSet() const
bool DocumentVersionHasBeenSet() const
const Aws::String & GetMaxErrors() const
int GetScheduleOffset() const
void SetDocumentVersion(DocumentVersionT &&value)
bool MaxErrorsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetApplyOnlyAtCronInterval(bool value)
void SetName(NameT &&value)
CreateAssociationRequest & WithSyncCompliance(AssociationSyncCompliance value)
AssociationSyncCompliance GetSyncCompliance() const
bool TargetMapsHasBeenSet() const
CreateAssociationRequest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
AWS_SSM_API Aws::String SerializePayload() const override
CreateAssociationRequest & AddTargets(TargetsT &&value)
bool TargetLocationsHasBeenSet() const
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