7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/model/InstanceAssociationOutputLocation.h>
12#include <aws/ssm/model/AssociationComplianceSeverity.h>
13#include <aws/ssm/model/AssociationSyncCompliance.h>
14#include <aws/ssm/model/AlarmConfiguration.h>
15#include <aws/ssm/model/Target.h>
16#include <aws/ssm/model/TargetLocation.h>
68 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
91 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
139 inline void SetDocumentVersion(
const char* value) { m_documentVersionHasBeenSet =
true; m_documentVersion.assign(value); }
167 inline void SetScheduleExpression(
const char* value) { m_scheduleExpressionHasBeenSet =
true; m_scheduleExpression.assign(value); }
193 inline void SetAssociationName(
const char* value) { m_associationNameHasBeenSet =
true; m_associationName.assign(value); }
219 inline void SetMaxErrors(
const char* value) { m_maxErrorsHasBeenSet =
true; m_maxErrors.assign(value); }
240 inline void SetMaxConcurrency(
const char* value) { m_maxConcurrencyHasBeenSet =
true; m_maxConcurrency.assign(value); }
334 inline void SetScheduleOffset(
int value) { m_scheduleOffsetHasBeenSet =
true; m_scheduleOffset = value; }
356 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
387 bool m_nameHasBeenSet =
false;
390 bool m_instanceIdHasBeenSet =
false;
393 bool m_parametersHasBeenSet =
false;
396 bool m_automationTargetParameterNameHasBeenSet =
false;
399 bool m_documentVersionHasBeenSet =
false;
402 bool m_targetsHasBeenSet =
false;
405 bool m_scheduleExpressionHasBeenSet =
false;
408 bool m_outputLocationHasBeenSet =
false;
411 bool m_associationNameHasBeenSet =
false;
414 bool m_maxErrorsHasBeenSet =
false;
417 bool m_maxConcurrencyHasBeenSet =
false;
420 bool m_complianceSeverityHasBeenSet =
false;
423 bool m_syncComplianceHasBeenSet =
false;
425 bool m_applyOnlyAtCronInterval;
426 bool m_applyOnlyAtCronIntervalHasBeenSet =
false;
429 bool m_calendarNamesHasBeenSet =
false;
432 bool m_targetLocationsHasBeenSet =
false;
434 int m_scheduleOffset;
435 bool m_scheduleOffsetHasBeenSet =
false;
438 bool m_durationHasBeenSet =
false;
441 bool m_targetMapsHasBeenSet =
false;
444 bool m_alarmConfigurationHasBeenSet =
false;
CreateAssociationBatchRequestEntry & WithComplianceSeverity(AssociationComplianceSeverity &&value)
CreateAssociationBatchRequestEntry & WithMaxErrors(const Aws::String &value)
CreateAssociationBatchRequestEntry & AddTargetMaps(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
bool ApplyOnlyAtCronIntervalHasBeenSet() const
bool GetApplyOnlyAtCronInterval() const
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
bool AssociationNameHasBeenSet() const
CreateAssociationBatchRequestEntry & WithInstanceId(Aws::String &&value)
void SetAutomationTargetParameterName(const Aws::String &value)
void SetTargetLocations(const Aws::Vector< TargetLocation > &value)
CreateAssociationBatchRequestEntry & WithDocumentVersion(Aws::String &&value)
void SetTargetLocations(Aws::Vector< TargetLocation > &&value)
void SetTargets(Aws::Vector< Target > &&value)
bool AlarmConfigurationHasBeenSet() const
bool OutputLocationHasBeenSet() const
CreateAssociationBatchRequestEntry & WithOutputLocation(const InstanceAssociationOutputLocation &value)
CreateAssociationBatchRequestEntry & WithParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetName(const Aws::String &value)
CreateAssociationBatchRequestEntry & WithName(const char *value)
CreateAssociationBatchRequestEntry & AddTargetMaps(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
CreateAssociationBatchRequestEntry & WithAlarmConfiguration(const AlarmConfiguration &value)
void SetTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
CreateAssociationBatchRequestEntry & WithApplyOnlyAtCronInterval(bool value)
void SetComplianceSeverity(AssociationComplianceSeverity &&value)
bool MaxConcurrencyHasBeenSet() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
CreateAssociationBatchRequestEntry & WithTargets(Aws::Vector< Target > &&value)
CreateAssociationBatchRequestEntry & WithDocumentVersion(const char *value)
CreateAssociationBatchRequestEntry & WithAssociationName(const char *value)
void SetAutomationTargetParameterName(Aws::String &&value)
void SetMaxConcurrency(const char *value)
void SetAssociationName(const char *value)
CreateAssociationBatchRequestEntry & WithScheduleExpression(const Aws::String &value)
void SetAutomationTargetParameterName(const char *value)
bool SyncComplianceHasBeenSet() const
CreateAssociationBatchRequestEntry & WithInstanceId(const Aws::String &value)
void SetScheduleExpression(const char *value)
bool ComplianceSeverityHasBeenSet() const
void SetDuration(int value)
CreateAssociationBatchRequestEntry & AddParameters(const Aws::String &key, Aws::Vector< Aws::String > &&value)
void SetInstanceId(const Aws::String &value)
CreateAssociationBatchRequestEntry & WithScheduleOffset(int value)
void SetMaxConcurrency(const Aws::String &value)
CreateAssociationBatchRequestEntry & AddParameters(Aws::String &&key, Aws::Vector< Aws::String > &&value)
void SetParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
const Aws::String & GetScheduleExpression() const
bool MaxErrorsHasBeenSet() const
void SetTargets(const Aws::Vector< Target > &value)
const Aws::String & GetAssociationName() const
void SetCalendarNames(Aws::Vector< Aws::String > &&value)
CreateAssociationBatchRequestEntry & AddParameters(const char *key, const Aws::Vector< Aws::String > &value)
bool DocumentVersionHasBeenSet() const
bool AutomationTargetParameterNameHasBeenSet() const
CreateAssociationBatchRequestEntry & WithCalendarNames(Aws::Vector< Aws::String > &&value)
const AlarmConfiguration & GetAlarmConfiguration() const
void SetCalendarNames(const Aws::Vector< Aws::String > &value)
CreateAssociationBatchRequestEntry & WithSyncCompliance(const AssociationSyncCompliance &value)
CreateAssociationBatchRequestEntry & WithScheduleExpression(const char *value)
CreateAssociationBatchRequestEntry & WithMaxConcurrency(const char *value)
CreateAssociationBatchRequestEntry & WithParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetName(const char *value)
CreateAssociationBatchRequestEntry & WithSyncCompliance(AssociationSyncCompliance &&value)
void SetMaxErrors(Aws::String &&value)
const InstanceAssociationOutputLocation & GetOutputLocation() const
CreateAssociationBatchRequestEntry & AddParameters(const char *key, Aws::Vector< Aws::String > &&value)
void SetAssociationName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
CreateAssociationBatchRequestEntry & AddCalendarNames(Aws::String &&value)
AWS_SSM_API CreateAssociationBatchRequestEntry(Aws::Utils::Json::JsonView jsonValue)
bool ScheduleOffsetHasBeenSet() const
CreateAssociationBatchRequestEntry & AddTargets(Target &&value)
CreateAssociationBatchRequestEntry & AddTargetLocations(TargetLocation &&value)
CreateAssociationBatchRequestEntry & WithTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
void SetDocumentVersion(Aws::String &&value)
CreateAssociationBatchRequestEntry & WithName(const Aws::String &value)
void SetInstanceId(Aws::String &&value)
CreateAssociationBatchRequestEntry & WithTargets(const Aws::Vector< Target > &value)
CreateAssociationBatchRequestEntry & WithMaxConcurrency(const Aws::String &value)
int GetScheduleOffset() const
void SetMaxErrors(const Aws::String &value)
CreateAssociationBatchRequestEntry & WithMaxErrors(Aws::String &&value)
bool ParametersHasBeenSet() const
bool InstanceIdHasBeenSet() const
void SetApplyOnlyAtCronInterval(bool value)
CreateAssociationBatchRequestEntry & WithMaxConcurrency(Aws::String &&value)
CreateAssociationBatchRequestEntry & WithDocumentVersion(const Aws::String &value)
const Aws::String & GetName() const
CreateAssociationBatchRequestEntry & WithComplianceSeverity(const AssociationComplianceSeverity &value)
CreateAssociationBatchRequestEntry & AddTargetLocations(const TargetLocation &value)
CreateAssociationBatchRequestEntry & AddParameters(const Aws::String &key, const Aws::Vector< Aws::String > &value)
bool ScheduleExpressionHasBeenSet() const
CreateAssociationBatchRequestEntry & WithInstanceId(const char *value)
void SetSyncCompliance(const AssociationSyncCompliance &value)
const Aws::String & GetInstanceId() const
bool TargetsHasBeenSet() const
void SetName(Aws::String &&value)
bool TargetLocationsHasBeenSet() const
void SetSyncCompliance(AssociationSyncCompliance &&value)
void SetScheduleOffset(int value)
CreateAssociationBatchRequestEntry & WithScheduleExpression(Aws::String &&value)
CreateAssociationBatchRequestEntry & WithAutomationTargetParameterName(Aws::String &&value)
bool NameHasBeenSet() const
void SetMaxErrors(const char *value)
CreateAssociationBatchRequestEntry & WithName(Aws::String &&value)
CreateAssociationBatchRequestEntry & AddCalendarNames(const Aws::String &value)
CreateAssociationBatchRequestEntry & AddTargets(const Target &value)
CreateAssociationBatchRequestEntry & WithTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
void SetAlarmConfiguration(const AlarmConfiguration &value)
void SetMaxConcurrency(Aws::String &&value)
void SetDocumentVersion(const char *value)
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
CreateAssociationBatchRequestEntry & WithAlarmConfiguration(AlarmConfiguration &&value)
const Aws::Vector< Target > & GetTargets() const
bool TargetMapsHasBeenSet() const
CreateAssociationBatchRequestEntry & WithMaxErrors(const char *value)
bool DurationHasBeenSet() const
CreateAssociationBatchRequestEntry & WithOutputLocation(InstanceAssociationOutputLocation &&value)
CreateAssociationBatchRequestEntry & WithAssociationName(Aws::String &&value)
void SetScheduleExpression(const Aws::String &value)
void SetDocumentVersion(const Aws::String &value)
void SetComplianceSeverity(const AssociationComplianceSeverity &value)
void SetOutputLocation(const InstanceAssociationOutputLocation &value)
const Aws::String & GetAutomationTargetParameterName() const
bool CalendarNamesHasBeenSet() const
CreateAssociationBatchRequestEntry & AddParameters(Aws::String &&key, const Aws::Vector< Aws::String > &value)
CreateAssociationBatchRequestEntry & WithCalendarNames(const Aws::Vector< Aws::String > &value)
CreateAssociationBatchRequestEntry & AddCalendarNames(const char *value)
void SetAssociationName(const Aws::String &value)
CreateAssociationBatchRequestEntry & WithAutomationTargetParameterName(const char *value)
const AssociationComplianceSeverity & GetComplianceSeverity() const
AWS_SSM_API CreateAssociationBatchRequestEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateAssociationBatchRequestEntry & WithAssociationName(const Aws::String &value)
const Aws::String & GetDocumentVersion() const
CreateAssociationBatchRequestEntry & WithTargetLocations(const Aws::Vector< TargetLocation > &value)
void SetAlarmConfiguration(AlarmConfiguration &&value)
CreateAssociationBatchRequestEntry & WithDuration(int value)
const AssociationSyncCompliance & GetSyncCompliance() const
const Aws::Vector< Aws::String > & GetCalendarNames() const
const Aws::String & GetMaxConcurrency() const
void SetScheduleExpression(Aws::String &&value)
const Aws::Vector< TargetLocation > & GetTargetLocations() const
void SetTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
void SetInstanceId(const char *value)
void SetOutputLocation(InstanceAssociationOutputLocation &&value)
CreateAssociationBatchRequestEntry & WithAutomationTargetParameterName(const Aws::String &value)
CreateAssociationBatchRequestEntry & WithTargetLocations(Aws::Vector< TargetLocation > &&value)
const Aws::String & GetMaxErrors() const
AWS_SSM_API CreateAssociationBatchRequestEntry()
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