AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAssociationRequest.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.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/AlarmConfiguration.h>
16#include <aws/ssm/model/Target.h>
17#include <aws/ssm/model/TargetLocation.h>
18#include <aws/ssm/model/Tag.h>
19#include <utility>
20
21namespace Aws
22{
23namespace SSM
24{
25namespace Model
26{
27
31 {
32 public:
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "CreateAssociation"; }
40
41 AWS_SSM_API Aws::String SerializePayload() const override;
42
44
45
47
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 inline CreateAssociationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline CreateAssociationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline CreateAssociationRequest& WithName(const char* value) { SetName(value); return *this;}
71
73
84 inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; }
85 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
86 inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; }
87 inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); }
88 inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); }
89 inline CreateAssociationRequest& WithDocumentVersion(const Aws::String& value) { SetDocumentVersion(value); return *this;}
90 inline CreateAssociationRequest& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;}
91 inline CreateAssociationRequest& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;}
93
95
107 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
108 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
109 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
110 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
111 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
112 inline CreateAssociationRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
113 inline CreateAssociationRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
114 inline CreateAssociationRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
116
118
121 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetParameters() const{ return m_parameters; }
122 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
123 inline void SetParameters(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
124 inline void SetParameters(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
127 inline CreateAssociationRequest& AddParameters(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
128 inline CreateAssociationRequest& AddParameters(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
129 inline CreateAssociationRequest& AddParameters(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
130 inline CreateAssociationRequest& AddParameters(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
131 inline CreateAssociationRequest& AddParameters(const char* key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
132 inline CreateAssociationRequest& AddParameters(const char* key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
134
136
147 inline const Aws::Vector<Target>& GetTargets() const{ return m_targets; }
148 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
149 inline void SetTargets(const Aws::Vector<Target>& value) { m_targetsHasBeenSet = true; m_targets = value; }
150 inline void SetTargets(Aws::Vector<Target>&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
151 inline CreateAssociationRequest& WithTargets(const Aws::Vector<Target>& value) { SetTargets(value); return *this;}
152 inline CreateAssociationRequest& WithTargets(Aws::Vector<Target>&& value) { SetTargets(std::move(value)); return *this;}
153 inline CreateAssociationRequest& AddTargets(const Target& value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; }
154 inline CreateAssociationRequest& AddTargets(Target&& value) { m_targetsHasBeenSet = true; m_targets.push_back(std::move(value)); return *this; }
156
158
161 inline const Aws::String& GetScheduleExpression() const{ return m_scheduleExpression; }
162 inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; }
163 inline void SetScheduleExpression(const Aws::String& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = value; }
164 inline void SetScheduleExpression(Aws::String&& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = std::move(value); }
165 inline void SetScheduleExpression(const char* value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression.assign(value); }
167 inline CreateAssociationRequest& WithScheduleExpression(Aws::String&& value) { SetScheduleExpression(std::move(value)); return *this;}
168 inline CreateAssociationRequest& WithScheduleExpression(const char* value) { SetScheduleExpression(value); return *this;}
170
172
176 inline const InstanceAssociationOutputLocation& GetOutputLocation() const{ return m_outputLocation; }
177 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
178 inline void SetOutputLocation(const InstanceAssociationOutputLocation& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; }
179 inline void SetOutputLocation(InstanceAssociationOutputLocation&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); }
183
185
188 inline const Aws::String& GetAssociationName() const{ return m_associationName; }
189 inline bool AssociationNameHasBeenSet() const { return m_associationNameHasBeenSet; }
190 inline void SetAssociationName(const Aws::String& value) { m_associationNameHasBeenSet = true; m_associationName = value; }
191 inline void SetAssociationName(Aws::String&& value) { m_associationNameHasBeenSet = true; m_associationName = std::move(value); }
192 inline void SetAssociationName(const char* value) { m_associationNameHasBeenSet = true; m_associationName.assign(value); }
193 inline CreateAssociationRequest& WithAssociationName(const Aws::String& value) { SetAssociationName(value); return *this;}
194 inline CreateAssociationRequest& WithAssociationName(Aws::String&& value) { SetAssociationName(std::move(value)); return *this;}
195 inline CreateAssociationRequest& WithAssociationName(const char* value) { SetAssociationName(value); return *this;}
197
199
205 inline const Aws::String& GetAutomationTargetParameterName() const{ return m_automationTargetParameterName; }
206 inline bool AutomationTargetParameterNameHasBeenSet() const { return m_automationTargetParameterNameHasBeenSet; }
207 inline void SetAutomationTargetParameterName(const Aws::String& value) { m_automationTargetParameterNameHasBeenSet = true; m_automationTargetParameterName = value; }
208 inline void SetAutomationTargetParameterName(Aws::String&& value) { m_automationTargetParameterNameHasBeenSet = true; m_automationTargetParameterName = std::move(value); }
209 inline void SetAutomationTargetParameterName(const char* value) { m_automationTargetParameterNameHasBeenSet = true; m_automationTargetParameterName.assign(value); }
214
216
231 inline const Aws::String& GetMaxErrors() const{ return m_maxErrors; }
232 inline bool MaxErrorsHasBeenSet() const { return m_maxErrorsHasBeenSet; }
233 inline void SetMaxErrors(const Aws::String& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = value; }
234 inline void SetMaxErrors(Aws::String&& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = std::move(value); }
235 inline void SetMaxErrors(const char* value) { m_maxErrorsHasBeenSet = true; m_maxErrors.assign(value); }
236 inline CreateAssociationRequest& WithMaxErrors(const Aws::String& value) { SetMaxErrors(value); return *this;}
237 inline CreateAssociationRequest& WithMaxErrors(Aws::String&& value) { SetMaxErrors(std::move(value)); return *this;}
238 inline CreateAssociationRequest& WithMaxErrors(const char* value) { SetMaxErrors(value); return *this;}
240
242
252 inline const Aws::String& GetMaxConcurrency() const{ return m_maxConcurrency; }
253 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
254 inline void SetMaxConcurrency(const Aws::String& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = value; }
255 inline void SetMaxConcurrency(Aws::String&& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = std::move(value); }
256 inline void SetMaxConcurrency(const char* value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency.assign(value); }
257 inline CreateAssociationRequest& WithMaxConcurrency(const Aws::String& value) { SetMaxConcurrency(value); return *this;}
258 inline CreateAssociationRequest& WithMaxConcurrency(Aws::String&& value) { SetMaxConcurrency(std::move(value)); return *this;}
259 inline CreateAssociationRequest& WithMaxConcurrency(const char* value) { SetMaxConcurrency(value); return *this;}
261
263
266 inline const AssociationComplianceSeverity& GetComplianceSeverity() const{ return m_complianceSeverity; }
267 inline bool ComplianceSeverityHasBeenSet() const { return m_complianceSeverityHasBeenSet; }
268 inline void SetComplianceSeverity(const AssociationComplianceSeverity& value) { m_complianceSeverityHasBeenSet = true; m_complianceSeverity = value; }
269 inline void SetComplianceSeverity(AssociationComplianceSeverity&& value) { m_complianceSeverityHasBeenSet = true; m_complianceSeverity = std::move(value); }
273
275
288 inline const AssociationSyncCompliance& GetSyncCompliance() const{ return m_syncCompliance; }
289 inline bool SyncComplianceHasBeenSet() const { return m_syncComplianceHasBeenSet; }
290 inline void SetSyncCompliance(const AssociationSyncCompliance& value) { m_syncComplianceHasBeenSet = true; m_syncCompliance = value; }
291 inline void SetSyncCompliance(AssociationSyncCompliance&& value) { m_syncComplianceHasBeenSet = true; m_syncCompliance = std::move(value); }
295
297
303 inline bool GetApplyOnlyAtCronInterval() const{ return m_applyOnlyAtCronInterval; }
304 inline bool ApplyOnlyAtCronIntervalHasBeenSet() const { return m_applyOnlyAtCronIntervalHasBeenSet; }
305 inline void SetApplyOnlyAtCronInterval(bool value) { m_applyOnlyAtCronIntervalHasBeenSet = true; m_applyOnlyAtCronInterval = value; }
308
310
317 inline const Aws::Vector<Aws::String>& GetCalendarNames() const{ return m_calendarNames; }
318 inline bool CalendarNamesHasBeenSet() const { return m_calendarNamesHasBeenSet; }
319 inline void SetCalendarNames(const Aws::Vector<Aws::String>& value) { m_calendarNamesHasBeenSet = true; m_calendarNames = value; }
320 inline void SetCalendarNames(Aws::Vector<Aws::String>&& value) { m_calendarNamesHasBeenSet = true; m_calendarNames = std::move(value); }
322 inline CreateAssociationRequest& WithCalendarNames(Aws::Vector<Aws::String>&& value) { SetCalendarNames(std::move(value)); return *this;}
323 inline CreateAssociationRequest& AddCalendarNames(const Aws::String& value) { m_calendarNamesHasBeenSet = true; m_calendarNames.push_back(value); return *this; }
324 inline CreateAssociationRequest& AddCalendarNames(Aws::String&& value) { m_calendarNamesHasBeenSet = true; m_calendarNames.push_back(std::move(value)); return *this; }
325 inline CreateAssociationRequest& AddCalendarNames(const char* value) { m_calendarNamesHasBeenSet = true; m_calendarNames.push_back(value); return *this; }
327
329
334 inline const Aws::Vector<TargetLocation>& GetTargetLocations() const{ return m_targetLocations; }
335 inline bool TargetLocationsHasBeenSet() const { return m_targetLocationsHasBeenSet; }
336 inline void SetTargetLocations(const Aws::Vector<TargetLocation>& value) { m_targetLocationsHasBeenSet = true; m_targetLocations = value; }
337 inline void SetTargetLocations(Aws::Vector<TargetLocation>&& value) { m_targetLocationsHasBeenSet = true; m_targetLocations = std::move(value); }
340 inline CreateAssociationRequest& AddTargetLocations(const TargetLocation& value) { m_targetLocationsHasBeenSet = true; m_targetLocations.push_back(value); return *this; }
341 inline CreateAssociationRequest& AddTargetLocations(TargetLocation&& value) { m_targetLocationsHasBeenSet = true; m_targetLocations.push_back(std::move(value)); return *this; }
343
345
357 inline int GetScheduleOffset() const{ return m_scheduleOffset; }
358 inline bool ScheduleOffsetHasBeenSet() const { return m_scheduleOffsetHasBeenSet; }
359 inline void SetScheduleOffset(int value) { m_scheduleOffsetHasBeenSet = true; m_scheduleOffset = value; }
360 inline CreateAssociationRequest& WithScheduleOffset(int value) { SetScheduleOffset(value); return *this;}
362
364
379 inline int GetDuration() const{ return m_duration; }
380 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
381 inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; }
382 inline CreateAssociationRequest& WithDuration(int value) { SetDuration(value); return *this;}
384
386
390 inline const Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>& GetTargetMaps() const{ return m_targetMaps; }
391 inline bool TargetMapsHasBeenSet() const { return m_targetMapsHasBeenSet; }
392 inline void SetTargetMaps(const Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>& value) { m_targetMapsHasBeenSet = true; m_targetMaps = value; }
393 inline void SetTargetMaps(Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>&& value) { m_targetMapsHasBeenSet = true; m_targetMaps = std::move(value); }
396 inline CreateAssociationRequest& AddTargetMaps(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_targetMapsHasBeenSet = true; m_targetMaps.push_back(value); return *this; }
397 inline CreateAssociationRequest& AddTargetMaps(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_targetMapsHasBeenSet = true; m_targetMaps.push_back(std::move(value)); return *this; }
399
401
408 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
409 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
410 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
411 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
412 inline CreateAssociationRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
413 inline CreateAssociationRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
414 inline CreateAssociationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
415 inline CreateAssociationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
417
419
420 inline const AlarmConfiguration& GetAlarmConfiguration() const{ return m_alarmConfiguration; }
421 inline bool AlarmConfigurationHasBeenSet() const { return m_alarmConfigurationHasBeenSet; }
422 inline void SetAlarmConfiguration(const AlarmConfiguration& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = value; }
423 inline void SetAlarmConfiguration(AlarmConfiguration&& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = std::move(value); }
427 private:
428
429 Aws::String m_name;
430 bool m_nameHasBeenSet = false;
431
432 Aws::String m_documentVersion;
433 bool m_documentVersionHasBeenSet = false;
434
435 Aws::String m_instanceId;
436 bool m_instanceIdHasBeenSet = false;
437
439 bool m_parametersHasBeenSet = false;
440
441 Aws::Vector<Target> m_targets;
442 bool m_targetsHasBeenSet = false;
443
444 Aws::String m_scheduleExpression;
445 bool m_scheduleExpressionHasBeenSet = false;
446
447 InstanceAssociationOutputLocation m_outputLocation;
448 bool m_outputLocationHasBeenSet = false;
449
450 Aws::String m_associationName;
451 bool m_associationNameHasBeenSet = false;
452
453 Aws::String m_automationTargetParameterName;
454 bool m_automationTargetParameterNameHasBeenSet = false;
455
456 Aws::String m_maxErrors;
457 bool m_maxErrorsHasBeenSet = false;
458
459 Aws::String m_maxConcurrency;
460 bool m_maxConcurrencyHasBeenSet = false;
461
462 AssociationComplianceSeverity m_complianceSeverity;
463 bool m_complianceSeverityHasBeenSet = false;
464
465 AssociationSyncCompliance m_syncCompliance;
466 bool m_syncComplianceHasBeenSet = false;
467
468 bool m_applyOnlyAtCronInterval;
469 bool m_applyOnlyAtCronIntervalHasBeenSet = false;
470
471 Aws::Vector<Aws::String> m_calendarNames;
472 bool m_calendarNamesHasBeenSet = false;
473
474 Aws::Vector<TargetLocation> m_targetLocations;
475 bool m_targetLocationsHasBeenSet = false;
476
477 int m_scheduleOffset;
478 bool m_scheduleOffsetHasBeenSet = false;
479
480 int m_duration;
481 bool m_durationHasBeenSet = false;
482
484 bool m_targetMapsHasBeenSet = false;
485
486 Aws::Vector<Tag> m_tags;
487 bool m_tagsHasBeenSet = false;
488
489 AlarmConfiguration m_alarmConfiguration;
490 bool m_alarmConfigurationHasBeenSet = false;
491 };
492
493} // namespace Model
494} // namespace SSM
495} // namespace Aws
CreateAssociationRequest & AddCalendarNames(Aws::String &&value)
CreateAssociationRequest & WithMaxConcurrency(const Aws::String &value)
void SetOutputLocation(InstanceAssociationOutputLocation &&value)
CreateAssociationRequest & WithAutomationTargetParameterName(const Aws::String &value)
void SetSyncCompliance(const AssociationSyncCompliance &value)
const InstanceAssociationOutputLocation & GetOutputLocation() const
CreateAssociationRequest & WithAlarmConfiguration(AlarmConfiguration &&value)
void SetDocumentVersion(const Aws::String &value)
const Aws::Vector< TargetLocation > & GetTargetLocations() const
const Aws::Vector< Target > & GetTargets() const
CreateAssociationRequest & WithDocumentVersion(const Aws::String &value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAssociationRequest & WithParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
CreateAssociationRequest & WithName(const char *value)
const Aws::Vector< Aws::String > & GetCalendarNames() const
CreateAssociationRequest & WithMaxConcurrency(const char *value)
CreateAssociationRequest & WithScheduleExpression(Aws::String &&value)
const AssociationComplianceSeverity & GetComplianceSeverity() const
const Aws::String & GetAutomationTargetParameterName() const
CreateAssociationRequest & AddParameters(Aws::String &&key, const Aws::Vector< Aws::String > &value)
CreateAssociationRequest & WithDuration(int value)
void SetTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
CreateAssociationRequest & WithParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetAlarmConfiguration(AlarmConfiguration &&value)
CreateAssociationRequest & WithName(Aws::String &&value)
CreateAssociationRequest & WithOutputLocation(InstanceAssociationOutputLocation &&value)
CreateAssociationRequest & WithScheduleExpression(const char *value)
CreateAssociationRequest & WithCalendarNames(Aws::Vector< Aws::String > &&value)
const AlarmConfiguration & GetAlarmConfiguration() const
CreateAssociationRequest & WithTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
CreateAssociationRequest & WithTargets(const Aws::Vector< Target > &value)
CreateAssociationRequest & WithDocumentVersion(const char *value)
CreateAssociationRequest & WithApplyOnlyAtCronInterval(bool value)
CreateAssociationRequest & AddTargetLocations(const TargetLocation &value)
CreateAssociationRequest & AddCalendarNames(const Aws::String &value)
void SetCalendarNames(Aws::Vector< Aws::String > &&value)
CreateAssociationRequest & WithOutputLocation(const InstanceAssociationOutputLocation &value)
void SetOutputLocation(const InstanceAssociationOutputLocation &value)
CreateAssociationRequest & AddTargets(Target &&value)
CreateAssociationRequest & WithMaxErrors(const char *value)
CreateAssociationRequest & AddTags(Tag &&value)
CreateAssociationRequest & WithTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
CreateAssociationRequest & WithMaxErrors(const Aws::String &value)
CreateAssociationRequest & AddTargetLocations(TargetLocation &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetTargetLocations(const Aws::Vector< TargetLocation > &value)
CreateAssociationRequest & WithAssociationName(Aws::String &&value)
void SetParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
CreateAssociationRequest & WithAutomationTargetParameterName(Aws::String &&value)
CreateAssociationRequest & WithMaxConcurrency(Aws::String &&value)
CreateAssociationRequest & WithTargetLocations(const Aws::Vector< TargetLocation > &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
CreateAssociationRequest & AddTargets(const Target &value)
void SetTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
CreateAssociationRequest & AddTags(const Tag &value)
void SetCalendarNames(const Aws::Vector< Aws::String > &value)
CreateAssociationRequest & WithInstanceId(const Aws::String &value)
CreateAssociationRequest & WithSyncCompliance(AssociationSyncCompliance &&value)
void SetSyncCompliance(AssociationSyncCompliance &&value)
CreateAssociationRequest & AddParameters(const char *key, const Aws::Vector< Aws::String > &value)
void SetComplianceSeverity(const AssociationComplianceSeverity &value)
CreateAssociationRequest & AddParameters(const char *key, Aws::Vector< Aws::String > &&value)
CreateAssociationRequest & WithDocumentVersion(Aws::String &&value)
CreateAssociationRequest & WithMaxErrors(Aws::String &&value)
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
CreateAssociationRequest & AddCalendarNames(const char *value)
CreateAssociationRequest & WithAlarmConfiguration(const AlarmConfiguration &value)
void SetAutomationTargetParameterName(const Aws::String &value)
CreateAssociationRequest & WithScheduleOffset(int value)
CreateAssociationRequest & WithCalendarNames(const Aws::Vector< Aws::String > &value)
CreateAssociationRequest & AddTargetMaps(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetScheduleExpression(const Aws::String &value)
CreateAssociationRequest & WithName(const Aws::String &value)
CreateAssociationRequest & AddTargetMaps(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
CreateAssociationRequest & AddParameters(Aws::String &&key, Aws::Vector< Aws::String > &&value)
CreateAssociationRequest & WithAssociationName(const Aws::String &value)
CreateAssociationRequest & AddParameters(const Aws::String &key, Aws::Vector< Aws::String > &&value)
CreateAssociationRequest & WithInstanceId(const char *value)
CreateAssociationRequest & WithAssociationName(const char *value)
CreateAssociationRequest & WithAutomationTargetParameterName(const char *value)
CreateAssociationRequest & WithTags(Aws::Vector< Tag > &&value)
CreateAssociationRequest & WithScheduleExpression(const Aws::String &value)
void SetTargets(const Aws::Vector< Target > &value)
CreateAssociationRequest & WithInstanceId(Aws::String &&value)
CreateAssociationRequest & WithComplianceSeverity(const AssociationComplianceSeverity &value)
void SetTargetLocations(Aws::Vector< TargetLocation > &&value)
CreateAssociationRequest & WithTargets(Aws::Vector< Target > &&value)
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
void SetAlarmConfiguration(const AlarmConfiguration &value)
const AssociationSyncCompliance & GetSyncCompliance() const
CreateAssociationRequest & WithTags(const Aws::Vector< Tag > &value)
CreateAssociationRequest & WithSyncCompliance(const AssociationSyncCompliance &value)
CreateAssociationRequest & AddParameters(const Aws::String &key, const Aws::Vector< Aws::String > &value)
void SetComplianceSeverity(AssociationComplianceSeverity &&value)
void SetTargets(Aws::Vector< Target > &&value)
virtual const char * GetServiceRequestName() const override
CreateAssociationRequest & WithTargetLocations(Aws::Vector< TargetLocation > &&value)
AWS_SSM_API Aws::String SerializePayload() const override
CreateAssociationRequest & WithComplianceSeverity(AssociationComplianceSeverity &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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