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/SSM_EXPORTS.h>
11#include <aws/ssm/model/AlarmConfiguration.h>
12#include <aws/ssm/model/AssociationComplianceSeverity.h>
13#include <aws/ssm/model/AssociationSyncCompliance.h>
14#include <aws/ssm/model/InstanceAssociationOutputLocation.h>
15#include <aws/ssm/model/Target.h>
16#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));
87 template <
typename InstanceIdT = Aws::String>
89 m_instanceIdHasBeenSet =
true;
90 m_instanceId = std::forward<InstanceIdT>(value);
92 template <
typename InstanceIdT = Aws::String>
105 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
107 m_parametersHasBeenSet =
true;
108 m_parameters = std::forward<ParametersT>(value);
110 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
115 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<Aws::String>>
117 m_parametersHasBeenSet =
true;
118 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
131 template <
typename AutomationTargetParameterNameT = Aws::String>
133 m_automationTargetParameterNameHasBeenSet =
true;
134 m_automationTargetParameterName = std::forward<AutomationTargetParameterNameT>(value);
136 template <
typename AutomationTargetParameterNameT = Aws::String>
149 template <
typename DocumentVersionT = Aws::String>
151 m_documentVersionHasBeenSet =
true;
152 m_documentVersion = std::forward<DocumentVersionT>(value);
154 template <
typename DocumentVersionT = Aws::String>
167 template <
typename TargetsT = Aws::Vector<Target>>
169 m_targetsHasBeenSet =
true;
170 m_targets = std::forward<TargetsT>(value);
172 template <
typename TargetsT = Aws::Vector<Target>>
177 template <
typename TargetsT = Target>
179 m_targetsHasBeenSet =
true;
180 m_targets.emplace_back(std::forward<TargetsT>(value));
191 template <
typename ScheduleExpressionT = Aws::String>
193 m_scheduleExpressionHasBeenSet =
true;
194 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
196 template <
typename ScheduleExpressionT = Aws::String>
209 template <
typename OutputLocationT = InstanceAssociationOutputLocation>
211 m_outputLocationHasBeenSet =
true;
212 m_outputLocation = std::forward<OutputLocationT>(value);
214 template <
typename OutputLocationT = InstanceAssociationOutputLocation>
227 template <
typename AssociationNameT = Aws::String>
229 m_associationNameHasBeenSet =
true;
230 m_associationName = std::forward<AssociationNameT>(value);
232 template <
typename AssociationNameT = Aws::String>
257 template <
typename MaxErrorsT = Aws::String>
259 m_maxErrorsHasBeenSet =
true;
260 m_maxErrors = std::forward<MaxErrorsT>(value);
262 template <
typename MaxErrorsT = Aws::String>
282 template <
typename MaxConcurrencyT = Aws::String>
284 m_maxConcurrencyHasBeenSet =
true;
285 m_maxConcurrency = std::forward<MaxConcurrencyT>(value);
287 template <
typename MaxConcurrencyT = Aws::String>
301 m_complianceSeverityHasBeenSet =
true;
302 m_complianceSeverity = value;
327 m_syncComplianceHasBeenSet =
true;
328 m_syncCompliance = value;
353 m_applyOnlyAtCronIntervalHasBeenSet =
true;
354 m_applyOnlyAtCronInterval = value;
373 template <
typename CalendarNamesT = Aws::Vector<Aws::String>>
375 m_calendarNamesHasBeenSet =
true;
376 m_calendarNames = std::forward<CalendarNamesT>(value);
378 template <
typename CalendarNamesT = Aws::Vector<Aws::String>>
383 template <
typename CalendarNamesT = Aws::String>
385 m_calendarNamesHasBeenSet =
true;
386 m_calendarNames.emplace_back(std::forward<CalendarNamesT>(value));
398 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
400 m_targetLocationsHasBeenSet =
true;
401 m_targetLocations = std::forward<TargetLocationsT>(value);
403 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
408 template <
typename TargetLocationsT = TargetLocation>
410 m_targetLocationsHasBeenSet =
true;
411 m_targetLocations.emplace_back(std::forward<TargetLocationsT>(value));
423 m_scheduleOffsetHasBeenSet =
true;
424 m_scheduleOffset = value;
451 m_durationHasBeenSet =
true;
467 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
469 m_targetMapsHasBeenSet =
true;
470 m_targetMaps = std::forward<TargetMapsT>(value);
472 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
477 template <
typename TargetMapsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
479 m_targetMapsHasBeenSet =
true;
480 m_targetMaps.emplace_back(std::forward<TargetMapsT>(value));
489 template <
typename AlarmConfigurationT = AlarmConfiguration>
491 m_alarmConfigurationHasBeenSet =
true;
492 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
494 template <
typename AlarmConfigurationT = AlarmConfiguration>
527 bool m_applyOnlyAtCronInterval{
false};
533 int m_scheduleOffset{0};
539 AlarmConfiguration m_alarmConfiguration;
540 bool m_nameHasBeenSet =
false;
541 bool m_instanceIdHasBeenSet =
false;
542 bool m_parametersHasBeenSet =
false;
543 bool m_automationTargetParameterNameHasBeenSet =
false;
544 bool m_documentVersionHasBeenSet =
false;
545 bool m_targetsHasBeenSet =
false;
546 bool m_scheduleExpressionHasBeenSet =
false;
547 bool m_outputLocationHasBeenSet =
false;
548 bool m_associationNameHasBeenSet =
false;
549 bool m_maxErrorsHasBeenSet =
false;
550 bool m_maxConcurrencyHasBeenSet =
false;
551 bool m_complianceSeverityHasBeenSet =
false;
552 bool m_syncComplianceHasBeenSet =
false;
553 bool m_applyOnlyAtCronIntervalHasBeenSet =
false;
554 bool m_calendarNamesHasBeenSet =
false;
555 bool m_targetLocationsHasBeenSet =
false;
556 bool m_scheduleOffsetHasBeenSet =
false;
557 bool m_durationHasBeenSet =
false;
558 bool m_targetMapsHasBeenSet =
false;
559 bool m_alarmConfigurationHasBeenSet =
false;
bool ApplyOnlyAtCronIntervalHasBeenSet() const
void SetMaxConcurrency(MaxConcurrencyT &&value)
bool GetApplyOnlyAtCronInterval() const
bool AssociationNameHasBeenSet() const
void SetSyncCompliance(AssociationSyncCompliance value)
CreateAssociationBatchRequestEntry & WithName(NameT &&value)
AssociationSyncCompliance GetSyncCompliance() const
void SetAssociationName(AssociationNameT &&value)
CreateAssociationBatchRequestEntry & WithParameters(ParametersT &&value)
CreateAssociationBatchRequestEntry & WithInstanceId(InstanceIdT &&value)
void SetTargets(TargetsT &&value)
CreateAssociationBatchRequestEntry & WithOutputLocation(OutputLocationT &&value)
bool AlarmConfigurationHasBeenSet() const
bool OutputLocationHasBeenSet() const
CreateAssociationBatchRequestEntry & WithApplyOnlyAtCronInterval(bool value)
bool MaxConcurrencyHasBeenSet() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetScheduleExpression(ScheduleExpressionT &&value)
CreateAssociationBatchRequestEntry & AddTargetLocations(TargetLocationsT &&value)
CreateAssociationBatchRequestEntry & WithScheduleExpression(ScheduleExpressionT &&value)
CreateAssociationBatchRequestEntry & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
CreateAssociationBatchRequestEntry & WithAutomationTargetParameterName(AutomationTargetParameterNameT &&value)
bool SyncComplianceHasBeenSet() const
void SetDocumentVersion(DocumentVersionT &&value)
bool ComplianceSeverityHasBeenSet() const
void SetDuration(int value)
CreateAssociationBatchRequestEntry & WithTargets(TargetsT &&value)
CreateAssociationBatchRequestEntry & WithScheduleOffset(int value)
void SetMaxErrors(MaxErrorsT &&value)
const Aws::String & GetScheduleExpression() const
bool MaxErrorsHasBeenSet() const
CreateAssociationBatchRequestEntry & AddTargets(TargetsT &&value)
const Aws::String & GetAssociationName() const
void SetName(NameT &&value)
bool DocumentVersionHasBeenSet() const
AssociationComplianceSeverity GetComplianceSeverity() const
void SetAlarmConfiguration(AlarmConfigurationT &&value)
bool AutomationTargetParameterNameHasBeenSet() const
void SetCalendarNames(CalendarNamesT &&value)
CreateAssociationBatchRequestEntry & WithComplianceSeverity(AssociationComplianceSeverity value)
const AlarmConfiguration & GetAlarmConfiguration() const
void SetInstanceId(InstanceIdT &&value)
CreateAssociationBatchRequestEntry & WithTargetMaps(TargetMapsT &&value)
const InstanceAssociationOutputLocation & GetOutputLocation() const
void SetComplianceSeverity(AssociationComplianceSeverity value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
AWS_SSM_API CreateAssociationBatchRequestEntry(Aws::Utils::Json::JsonView jsonValue)
void SetTargetMaps(TargetMapsT &&value)
bool ScheduleOffsetHasBeenSet() const
CreateAssociationBatchRequestEntry & WithMaxErrors(MaxErrorsT &&value)
CreateAssociationBatchRequestEntry & WithAlarmConfiguration(AlarmConfigurationT &&value)
CreateAssociationBatchRequestEntry & WithDocumentVersion(DocumentVersionT &&value)
CreateAssociationBatchRequestEntry & WithTargetLocations(TargetLocationsT &&value)
CreateAssociationBatchRequestEntry & WithCalendarNames(CalendarNamesT &&value)
int GetScheduleOffset() const
bool ParametersHasBeenSet() const
bool InstanceIdHasBeenSet() const
void SetApplyOnlyAtCronInterval(bool value)
const Aws::String & GetName() const
bool ScheduleExpressionHasBeenSet() const
const Aws::String & GetInstanceId() const
bool TargetsHasBeenSet() const
bool TargetLocationsHasBeenSet() const
void SetScheduleOffset(int value)
bool NameHasBeenSet() const
AWS_SSM_API CreateAssociationBatchRequestEntry()=default
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
const Aws::Vector< Target > & GetTargets() const
CreateAssociationBatchRequestEntry & WithAssociationName(AssociationNameT &&value)
void SetOutputLocation(OutputLocationT &&value)
bool TargetMapsHasBeenSet() const
bool DurationHasBeenSet() const
void SetParameters(ParametersT &&value)
void SetAutomationTargetParameterName(AutomationTargetParameterNameT &&value)
const Aws::String & GetAutomationTargetParameterName() const
bool CalendarNamesHasBeenSet() const
AWS_SSM_API CreateAssociationBatchRequestEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDocumentVersion() const
CreateAssociationBatchRequestEntry & WithMaxConcurrency(MaxConcurrencyT &&value)
CreateAssociationBatchRequestEntry & WithDuration(int value)
const Aws::Vector< Aws::String > & GetCalendarNames() const
const Aws::String & GetMaxConcurrency() const
CreateAssociationBatchRequestEntry & WithSyncCompliance(AssociationSyncCompliance value)
CreateAssociationBatchRequestEntry & AddCalendarNames(CalendarNamesT &&value)
const Aws::Vector< TargetLocation > & GetTargetLocations() const
void SetTargetLocations(TargetLocationsT &&value)
CreateAssociationBatchRequestEntry & AddTargetMaps(TargetMapsT &&value)
const Aws::String & GetMaxErrors() const
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