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>
56 inline void SetAssociationId(
const char* value) { m_associationIdHasBeenSet =
true; m_associationId.assign(value); }
70 inline void SetAssociationVersion(
const char* value) { m_associationVersionHasBeenSet =
true; m_associationVersion.assign(value); }
96 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
111 inline void SetDocumentVersion(
const char* value) { m_documentVersionHasBeenSet =
true; m_documentVersion.assign(value); }
159 inline void SetScheduleExpression(
const char* value) { m_scheduleExpressionHasBeenSet =
true; m_scheduleExpression.assign(value); }
187 inline void SetAssociationName(
const char* value) { m_associationNameHasBeenSet =
true; m_associationName.assign(value); }
213 inline void SetMaxErrors(
const char* value) { m_maxErrorsHasBeenSet =
true; m_maxErrors.assign(value); }
234 inline void SetMaxConcurrency(
const char* value) { m_maxConcurrencyHasBeenSet =
true; m_maxConcurrency.assign(value); }
329 inline void SetScheduleOffset(
int value) { m_scheduleOffsetHasBeenSet =
true; m_scheduleOffset = value; }
341 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
362 bool m_associationIdHasBeenSet =
false;
365 bool m_associationVersionHasBeenSet =
false;
368 bool m_createdDateHasBeenSet =
false;
371 bool m_nameHasBeenSet =
false;
374 bool m_documentVersionHasBeenSet =
false;
377 bool m_parametersHasBeenSet =
false;
380 bool m_targetsHasBeenSet =
false;
383 bool m_scheduleExpressionHasBeenSet =
false;
386 bool m_outputLocationHasBeenSet =
false;
389 bool m_associationNameHasBeenSet =
false;
392 bool m_maxErrorsHasBeenSet =
false;
395 bool m_maxConcurrencyHasBeenSet =
false;
398 bool m_complianceSeverityHasBeenSet =
false;
401 bool m_syncComplianceHasBeenSet =
false;
403 bool m_applyOnlyAtCronInterval;
404 bool m_applyOnlyAtCronIntervalHasBeenSet =
false;
407 bool m_calendarNamesHasBeenSet =
false;
410 bool m_targetLocationsHasBeenSet =
false;
412 int m_scheduleOffset;
413 bool m_scheduleOffsetHasBeenSet =
false;
416 bool m_durationHasBeenSet =
false;
419 bool m_targetMapsHasBeenSet =
false;
bool TargetLocationsHasBeenSet() const
void SetAssociationName(Aws::String &&value)
AssociationVersionInfo & AddTargetMaps(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
bool ComplianceSeverityHasBeenSet() const
AssociationVersionInfo & WithApplyOnlyAtCronInterval(bool value)
AssociationVersionInfo & AddParameters(const char *key, const Aws::Vector< Aws::String > &value)
void SetAssociationVersion(const Aws::String &value)
AssociationVersionInfo & WithScheduleExpression(const char *value)
AssociationVersionInfo & WithAssociationName(Aws::String &&value)
AssociationVersionInfo & WithDocumentVersion(Aws::String &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
const Aws::Vector< TargetLocation > & GetTargetLocations() const
AssociationVersionInfo & WithMaxConcurrency(Aws::String &&value)
AssociationVersionInfo & WithTargets(Aws::Vector< Target > &&value)
AssociationVersionInfo & AddTargetLocations(const TargetLocation &value)
AssociationVersionInfo & WithSyncCompliance(const AssociationSyncCompliance &value)
void SetSyncCompliance(const AssociationSyncCompliance &value)
AssociationVersionInfo & WithScheduleExpression(Aws::String &&value)
AssociationVersionInfo & WithDocumentVersion(const Aws::String &value)
void SetMaxConcurrency(const Aws::String &value)
void SetMaxErrors(Aws::String &&value)
const Aws::String & GetAssociationVersion() const
void SetName(const char *value)
AssociationVersionInfo & AddCalendarNames(const char *value)
AssociationVersionInfo & WithTargetLocations(Aws::Vector< TargetLocation > &&value)
AssociationVersionInfo & WithCalendarNames(const Aws::Vector< Aws::String > &value)
AssociationVersionInfo & AddParameters(const Aws::String &key, Aws::Vector< Aws::String > &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AssociationVersionInfo & WithTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
void SetAssociationId(const Aws::String &value)
bool GetApplyOnlyAtCronInterval() const
void SetCreatedDate(Aws::Utils::DateTime &&value)
bool ApplyOnlyAtCronIntervalHasBeenSet() const
AssociationVersionInfo & WithMaxErrors(Aws::String &&value)
const Aws::Vector< Aws::String > & GetCalendarNames() const
void SetTargetLocations(Aws::Vector< TargetLocation > &&value)
bool TargetMapsHasBeenSet() const
void SetAssociationName(const Aws::String &value)
const Aws::Vector< Target > & GetTargets() const
AWS_SSM_API AssociationVersionInfo()
void SetApplyOnlyAtCronInterval(bool value)
bool TargetsHasBeenSet() const
AssociationVersionInfo & WithCreatedDate(Aws::Utils::DateTime &&value)
AssociationVersionInfo & WithScheduleOffset(int value)
void SetComplianceSeverity(const AssociationComplianceSeverity &value)
bool SyncComplianceHasBeenSet() const
bool CreatedDateHasBeenSet() const
void SetName(const Aws::String &value)
const Aws::String & GetMaxConcurrency() const
void SetScheduleOffset(int value)
void SetOutputLocation(const InstanceAssociationOutputLocation &value)
AssociationVersionInfo & WithAssociationName(const char *value)
void SetTargets(Aws::Vector< Target > &&value)
bool DurationHasBeenSet() const
const Aws::String & GetMaxErrors() const
const Aws::String & GetAssociationName() const
AssociationVersionInfo & AddTargets(const Target &value)
const Aws::String & GetName() const
AssociationVersionInfo & WithOutputLocation(InstanceAssociationOutputLocation &&value)
void SetScheduleExpression(const Aws::String &value)
AssociationVersionInfo & WithAssociationName(const Aws::String &value)
AssociationVersionInfo & AddParameters(Aws::String &&key, Aws::Vector< Aws::String > &&value)
AssociationVersionInfo & WithMaxErrors(const Aws::String &value)
void SetAssociationVersion(const char *value)
AssociationVersionInfo & WithTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
AssociationVersionInfo & WithName(const Aws::String &value)
void SetComplianceSeverity(AssociationComplianceSeverity &&value)
void SetMaxConcurrency(const char *value)
bool AssociationNameHasBeenSet() const
void SetAssociationName(const char *value)
AssociationVersionInfo & WithOutputLocation(const InstanceAssociationOutputLocation &value)
bool MaxConcurrencyHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedDate() const
void SetOutputLocation(InstanceAssociationOutputLocation &&value)
bool ParametersHasBeenSet() const
AssociationVersionInfo & WithAssociationVersion(const Aws::String &value)
AssociationVersionInfo & WithTargets(const Aws::Vector< Target > &value)
AssociationVersionInfo & AddTargetMaps(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AssociationVersionInfo & WithMaxConcurrency(const Aws::String &value)
void SetDuration(int value)
AssociationVersionInfo & WithMaxConcurrency(const char *value)
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
bool ScheduleOffsetHasBeenSet() const
void SetName(Aws::String &&value)
AssociationVersionInfo & WithDocumentVersion(const char *value)
void SetSyncCompliance(AssociationSyncCompliance &&value)
void SetCalendarNames(const Aws::Vector< Aws::String > &value)
AssociationVersionInfo & WithName(Aws::String &&value)
void SetDocumentVersion(const Aws::String &value)
AssociationVersionInfo & WithCalendarNames(Aws::Vector< Aws::String > &&value)
void SetAssociationId(const char *value)
AssociationVersionInfo & WithAssociationId(Aws::String &&value)
AssociationVersionInfo & WithComplianceSeverity(const AssociationComplianceSeverity &value)
AssociationVersionInfo & WithParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
const Aws::String & GetAssociationId() const
AssociationVersionInfo & WithCreatedDate(const Aws::Utils::DateTime &value)
AssociationVersionInfo & WithAssociationVersion(Aws::String &&value)
const AssociationComplianceSeverity & GetComplianceSeverity() const
void SetDocumentVersion(Aws::String &&value)
void SetParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
bool OutputLocationHasBeenSet() const
AssociationVersionInfo & WithName(const char *value)
AWS_SSM_API AssociationVersionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AssociationVersionInfo & AddTargets(Target &&value)
void SetTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
const Aws::String & GetScheduleExpression() const
const AssociationSyncCompliance & GetSyncCompliance() const
AssociationVersionInfo & WithComplianceSeverity(AssociationComplianceSeverity &&value)
void SetMaxErrors(const char *value)
void SetAssociationVersion(Aws::String &&value)
bool CalendarNamesHasBeenSet() const
AWS_SSM_API AssociationVersionInfo(Aws::Utils::Json::JsonView jsonValue)
AssociationVersionInfo & WithAssociationId(const char *value)
void SetScheduleExpression(const char *value)
AssociationVersionInfo & AddParameters(const char *key, Aws::Vector< Aws::String > &&value)
bool ScheduleExpressionHasBeenSet() const
AssociationVersionInfo & AddCalendarNames(const Aws::String &value)
bool NameHasBeenSet() const
void SetDocumentVersion(const char *value)
AssociationVersionInfo & AddTargetLocations(TargetLocation &&value)
bool AssociationVersionHasBeenSet() const
bool DocumentVersionHasBeenSet() const
AssociationVersionInfo & WithMaxErrors(const char *value)
void SetMaxConcurrency(Aws::String &&value)
void SetScheduleExpression(Aws::String &&value)
AssociationVersionInfo & WithScheduleExpression(const Aws::String &value)
void SetMaxErrors(const Aws::String &value)
AssociationVersionInfo & WithTargetLocations(const Aws::Vector< TargetLocation > &value)
AssociationVersionInfo & AddParameters(Aws::String &&key, const Aws::Vector< Aws::String > &value)
void SetTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
AssociationVersionInfo & WithParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
AssociationVersionInfo & AddParameters(const Aws::String &key, const Aws::Vector< Aws::String > &value)
void SetCalendarNames(Aws::Vector< Aws::String > &&value)
AssociationVersionInfo & WithAssociationId(const Aws::String &value)
bool MaxErrorsHasBeenSet() const
AssociationVersionInfo & WithAssociationVersion(const char *value)
void SetAssociationId(Aws::String &&value)
void SetTargets(const Aws::Vector< Target > &value)
const Aws::String & GetDocumentVersion() const
void SetTargetLocations(const Aws::Vector< TargetLocation > &value)
const InstanceAssociationOutputLocation & GetOutputLocation() const
AssociationVersionInfo & AddCalendarNames(Aws::String &&value)
AssociationVersionInfo & WithSyncCompliance(AssociationSyncCompliance &&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