7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/SSM_EXPORTS.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>
48 template <
typename AssociationIdT = Aws::String>
50 m_associationIdHasBeenSet =
true;
51 m_associationId = std::forward<AssociationIdT>(value);
53 template <
typename AssociationIdT = Aws::String>
66 template <
typename AssociationVersionT = Aws::String>
68 m_associationVersionHasBeenSet =
true;
69 m_associationVersion = std::forward<AssociationVersionT>(value);
71 template <
typename AssociationVersionT = Aws::String>
84 template <
typename CreatedDateT = Aws::Utils::DateTime>
86 m_createdDateHasBeenSet =
true;
87 m_createdDate = std::forward<CreatedDateT>(value);
89 template <
typename CreatedDateT = Aws::Utils::DateTime>
102 template <
typename NameT = Aws::String>
104 m_nameHasBeenSet =
true;
105 m_name = std::forward<NameT>(value);
107 template <
typename NameT = Aws::String>
109 SetName(std::forward<NameT>(value));
121 template <
typename DocumentVersionT = Aws::String>
123 m_documentVersionHasBeenSet =
true;
124 m_documentVersion = std::forward<DocumentVersionT>(value);
126 template <
typename DocumentVersionT = Aws::String>
139 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
141 m_parametersHasBeenSet =
true;
142 m_parameters = std::forward<ParametersT>(value);
144 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
149 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<Aws::String>>
151 m_parametersHasBeenSet =
true;
152 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
164 template <
typename TargetsT = Aws::Vector<Target>>
166 m_targetsHasBeenSet =
true;
167 m_targets = std::forward<TargetsT>(value);
169 template <
typename TargetsT = Aws::Vector<Target>>
174 template <
typename TargetsT = Target>
176 m_targetsHasBeenSet =
true;
177 m_targets.emplace_back(std::forward<TargetsT>(value));
189 template <
typename ScheduleExpressionT = Aws::String>
191 m_scheduleExpressionHasBeenSet =
true;
192 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
194 template <
typename ScheduleExpressionT = Aws::String>
208 template <
typename OutputLocationT = InstanceAssociationOutputLocation>
210 m_outputLocationHasBeenSet =
true;
211 m_outputLocation = std::forward<OutputLocationT>(value);
213 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;
346 m_applyOnlyAtCronIntervalHasBeenSet =
true;
347 m_applyOnlyAtCronInterval = value;
366 template <
typename CalendarNamesT = Aws::Vector<Aws::String>>
368 m_calendarNamesHasBeenSet =
true;
369 m_calendarNames = std::forward<CalendarNamesT>(value);
371 template <
typename CalendarNamesT = Aws::Vector<Aws::String>>
376 template <
typename CalendarNamesT = Aws::String>
378 m_calendarNamesHasBeenSet =
true;
379 m_calendarNames.emplace_back(std::forward<CalendarNamesT>(value));
392 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
394 m_targetLocationsHasBeenSet =
true;
395 m_targetLocations = std::forward<TargetLocationsT>(value);
397 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
402 template <
typename TargetLocationsT = TargetLocation>
404 m_targetLocationsHasBeenSet =
true;
405 m_targetLocations.emplace_back(std::forward<TargetLocationsT>(value));
417 m_scheduleOffsetHasBeenSet =
true;
418 m_scheduleOffset = value;
435 m_durationHasBeenSet =
true;
451 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
453 m_targetMapsHasBeenSet =
true;
454 m_targetMaps = std::forward<TargetMapsT>(value);
456 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
461 template <
typename TargetMapsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
463 m_targetMapsHasBeenSet =
true;
464 m_targetMaps.emplace_back(std::forward<TargetMapsT>(value));
485 InstanceAssociationOutputLocation m_outputLocation;
497 bool m_applyOnlyAtCronInterval{
false};
503 int m_scheduleOffset{0};
508 bool m_associationIdHasBeenSet =
false;
509 bool m_associationVersionHasBeenSet =
false;
510 bool m_createdDateHasBeenSet =
false;
511 bool m_nameHasBeenSet =
false;
512 bool m_documentVersionHasBeenSet =
false;
513 bool m_parametersHasBeenSet =
false;
514 bool m_targetsHasBeenSet =
false;
515 bool m_scheduleExpressionHasBeenSet =
false;
516 bool m_outputLocationHasBeenSet =
false;
517 bool m_associationNameHasBeenSet =
false;
518 bool m_maxErrorsHasBeenSet =
false;
519 bool m_maxConcurrencyHasBeenSet =
false;
520 bool m_complianceSeverityHasBeenSet =
false;
521 bool m_syncComplianceHasBeenSet =
false;
522 bool m_applyOnlyAtCronIntervalHasBeenSet =
false;
523 bool m_calendarNamesHasBeenSet =
false;
524 bool m_targetLocationsHasBeenSet =
false;
525 bool m_scheduleOffsetHasBeenSet =
false;
526 bool m_durationHasBeenSet =
false;
527 bool m_targetMapsHasBeenSet =
false;
void SetName(NameT &&value)
bool TargetLocationsHasBeenSet() const
bool ComplianceSeverityHasBeenSet() const
AssociationVersionInfo & WithApplyOnlyAtCronInterval(bool value)
void SetTargets(TargetsT &&value)
void SetTargetMaps(TargetMapsT &&value)
AssociationVersionInfo & WithParameters(ParametersT &&value)
AssociationVersionInfo & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
void SetOutputLocation(OutputLocationT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
const Aws::Vector< TargetLocation > & GetTargetLocations() const
AssociationVersionInfo & WithName(NameT &&value)
AssociationVersionInfo & AddTargets(TargetsT &&value)
const Aws::String & GetAssociationVersion() const
void SetMaxErrors(MaxErrorsT &&value)
AssociationVersionInfo & WithMaxErrors(MaxErrorsT &&value)
void SetAssociationVersion(AssociationVersionT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetApplyOnlyAtCronInterval() const
AssociationComplianceSeverity GetComplianceSeverity() const
bool ApplyOnlyAtCronIntervalHasBeenSet() const
const Aws::Vector< Aws::String > & GetCalendarNames() const
bool TargetMapsHasBeenSet() const
const Aws::Vector< Target > & GetTargets() const
void SetApplyOnlyAtCronInterval(bool value)
AssociationVersionInfo & WithAssociationVersion(AssociationVersionT &&value)
bool TargetsHasBeenSet() const
AssociationVersionInfo & WithMaxConcurrency(MaxConcurrencyT &&value)
AssociationVersionInfo & WithTargets(TargetsT &&value)
AssociationVersionInfo & WithScheduleOffset(int value)
bool SyncComplianceHasBeenSet() const
bool CreatedDateHasBeenSet() const
const Aws::String & GetMaxConcurrency() const
AssociationVersionInfo & WithCreatedDate(CreatedDateT &&value)
void SetScheduleOffset(int value)
void SetTargetLocations(TargetLocationsT &&value)
bool DurationHasBeenSet() const
const Aws::String & GetMaxErrors() const
const Aws::String & GetAssociationName() const
const Aws::String & GetName() const
AssociationVersionInfo & WithTargetMaps(TargetMapsT &&value)
void SetCalendarNames(CalendarNamesT &&value)
bool AssociationNameHasBeenSet() const
bool MaxConcurrencyHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedDate() const
bool ParametersHasBeenSet() const
void SetDuration(int value)
AssociationVersionInfo & WithScheduleExpression(ScheduleExpressionT &&value)
bool ScheduleOffsetHasBeenSet() const
AssociationVersionInfo & WithDocumentVersion(DocumentVersionT &&value)
AssociationVersionInfo & AddCalendarNames(CalendarNamesT &&value)
AssociationVersionInfo & AddTargetMaps(TargetMapsT &&value)
AssociationVersionInfo & AddTargetLocations(TargetLocationsT &&value)
void SetAssociationName(AssociationNameT &&value)
void SetParameters(ParametersT &&value)
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
const Aws::String & GetAssociationId() const
AssociationVersionInfo & WithTargetLocations(TargetLocationsT &&value)
AssociationVersionInfo & WithAssociationName(AssociationNameT &&value)
bool OutputLocationHasBeenSet() const
AssociationVersionInfo & WithSyncCompliance(AssociationSyncCompliance value)
AWS_SSM_API AssociationVersionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDocumentVersion(DocumentVersionT &&value)
const Aws::String & GetScheduleExpression() const
AssociationVersionInfo & WithComplianceSeverity(AssociationComplianceSeverity value)
void SetComplianceSeverity(AssociationComplianceSeverity value)
AssociationVersionInfo & WithAssociationId(AssociationIdT &&value)
void SetCreatedDate(CreatedDateT &&value)
AWS_SSM_API AssociationVersionInfo()=default
bool CalendarNamesHasBeenSet() const
AssociationVersionInfo & WithOutputLocation(OutputLocationT &&value)
AWS_SSM_API AssociationVersionInfo(Aws::Utils::Json::JsonView jsonValue)
void SetScheduleExpression(ScheduleExpressionT &&value)
AssociationSyncCompliance GetSyncCompliance() const
bool ScheduleExpressionHasBeenSet() const
bool NameHasBeenSet() const
bool AssociationVersionHasBeenSet() const
AssociationVersionInfo & WithCalendarNames(CalendarNamesT &&value)
bool DocumentVersionHasBeenSet() const
void SetAssociationId(AssociationIdT &&value)
bool MaxErrorsHasBeenSet() const
const Aws::String & GetDocumentVersion() const
const InstanceAssociationOutputLocation & GetOutputLocation() const
void SetSyncCompliance(AssociationSyncCompliance value)
void SetMaxConcurrency(MaxConcurrencyT &&value)
AssociationVersionInfo & WithDuration(int value)
int GetScheduleOffset() const
bool AssociationIdHasBeenSet() 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