7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ssm/model/InstanceAssociationOutputLocation.h>
13#include <aws/ssm/model/AssociationComplianceSeverity.h>
14#include <aws/ssm/model/AssociationSyncCompliance.h>
15#include <aws/ssm/model/Target.h>
16#include <aws/ssm/model/TargetLocation.h>
54 template<
typename AssociationIdT = Aws::String>
55 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet =
true; m_associationId = std::forward<AssociationIdT>(value); }
56 template<
typename AssociationIdT = Aws::String>
66 template<
typename AssociationVersionT = Aws::String>
67 void SetAssociationVersion(AssociationVersionT&& value) { m_associationVersionHasBeenSet =
true; m_associationVersion = std::forward<AssociationVersionT>(value); }
68 template<
typename AssociationVersionT = Aws::String>
78 template<
typename CreatedDateT = Aws::Utils::DateTime>
79 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
80 template<
typename CreatedDateT = Aws::Utils::DateTime>
90 template<
typename NameT = Aws::String>
91 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
92 template<
typename NameT = Aws::String>
103 template<
typename DocumentVersionT = Aws::String>
104 void SetDocumentVersion(DocumentVersionT&& value) { m_documentVersionHasBeenSet =
true; m_documentVersion = std::forward<DocumentVersionT>(value); }
105 template<
typename DocumentVersionT = Aws::String>
115 template<
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
116 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
117 template<
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
119 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<Aws::String>>
121 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
132 template<
typename TargetsT = Aws::Vector<Target>>
133 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
134 template<
typename TargetsT = Aws::Vector<Target>>
136 template<
typename TargetsT = Target>
147 template<
typename ScheduleExpressionT = Aws::String>
148 void SetScheduleExpression(ScheduleExpressionT&& value) { m_scheduleExpressionHasBeenSet =
true; m_scheduleExpression = std::forward<ScheduleExpressionT>(value); }
149 template<
typename ScheduleExpressionT = Aws::String>
160 template<
typename OutputLocationT = InstanceAssociationOutputLocation>
161 void SetOutputLocation(OutputLocationT&& value) { m_outputLocationHasBeenSet =
true; m_outputLocation = std::forward<OutputLocationT>(value); }
162 template<
typename OutputLocationT = InstanceAssociationOutputLocation>
173 template<
typename AssociationNameT = Aws::String>
174 void SetAssociationName(AssociationNameT&& value) { m_associationNameHasBeenSet =
true; m_associationName = std::forward<AssociationNameT>(value); }
175 template<
typename AssociationNameT = Aws::String>
197 template<
typename MaxErrorsT = Aws::String>
198 void SetMaxErrors(MaxErrorsT&& value) { m_maxErrorsHasBeenSet =
true; m_maxErrors = std::forward<MaxErrorsT>(value); }
199 template<
typename MaxErrorsT = Aws::String>
216 template<
typename MaxConcurrencyT = Aws::String>
217 void SetMaxConcurrency(MaxConcurrencyT&& value) { m_maxConcurrencyHasBeenSet =
true; m_maxConcurrency = std::forward<MaxConcurrencyT>(value); }
218 template<
typename MaxConcurrencyT = Aws::String>
276 template<
typename CalendarNamesT = Aws::Vector<Aws::String>>
277 void SetCalendarNames(CalendarNamesT&& value) { m_calendarNamesHasBeenSet =
true; m_calendarNames = std::forward<CalendarNamesT>(value); }
278 template<
typename CalendarNamesT = Aws::Vector<Aws::String>>
280 template<
typename CalendarNamesT = Aws::String>
292 template<
typename TargetLocationsT = Aws::Vector<TargetLocation>>
293 void SetTargetLocations(TargetLocationsT&& value) { m_targetLocationsHasBeenSet =
true; m_targetLocations = std::forward<TargetLocationsT>(value); }
294 template<
typename TargetLocationsT = Aws::Vector<TargetLocation>>
296 template<
typename TargetLocationsT = TargetLocation>
306 inline void SetScheduleOffset(
int value) { m_scheduleOffsetHasBeenSet =
true; m_scheduleOffset = value; }
318 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
329 template<
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
330 void SetTargetMaps(TargetMapsT&& value) { m_targetMapsHasBeenSet =
true; m_targetMaps = std::forward<TargetMapsT>(value); }
331 template<
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
333 template<
typename TargetMapsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
339 bool m_associationIdHasBeenSet =
false;
342 bool m_associationVersionHasBeenSet =
false;
345 bool m_createdDateHasBeenSet =
false;
348 bool m_nameHasBeenSet =
false;
351 bool m_documentVersionHasBeenSet =
false;
354 bool m_parametersHasBeenSet =
false;
357 bool m_targetsHasBeenSet =
false;
360 bool m_scheduleExpressionHasBeenSet =
false;
362 InstanceAssociationOutputLocation m_outputLocation;
363 bool m_outputLocationHasBeenSet =
false;
366 bool m_associationNameHasBeenSet =
false;
369 bool m_maxErrorsHasBeenSet =
false;
372 bool m_maxConcurrencyHasBeenSet =
false;
375 bool m_complianceSeverityHasBeenSet =
false;
378 bool m_syncComplianceHasBeenSet =
false;
380 bool m_applyOnlyAtCronInterval{
false};
381 bool m_applyOnlyAtCronIntervalHasBeenSet =
false;
384 bool m_calendarNamesHasBeenSet =
false;
387 bool m_targetLocationsHasBeenSet =
false;
389 int m_scheduleOffset{0};
390 bool m_scheduleOffsetHasBeenSet =
false;
393 bool m_durationHasBeenSet =
false;
396 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