AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociationVersionInfo.h
1
6#pragma once
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>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace SSM
30{
31namespace Model
32{
33
40 {
41 public:
46
47
49
52 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
53 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
54 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
55 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
56 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
57 inline AssociationVersionInfo& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
58 inline AssociationVersionInfo& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
59 inline AssociationVersionInfo& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
61
63
66 inline const Aws::String& GetAssociationVersion() const{ return m_associationVersion; }
67 inline bool AssociationVersionHasBeenSet() const { return m_associationVersionHasBeenSet; }
68 inline void SetAssociationVersion(const Aws::String& value) { m_associationVersionHasBeenSet = true; m_associationVersion = value; }
69 inline void SetAssociationVersion(Aws::String&& value) { m_associationVersionHasBeenSet = true; m_associationVersion = std::move(value); }
70 inline void SetAssociationVersion(const char* value) { m_associationVersionHasBeenSet = true; m_associationVersion.assign(value); }
72 inline AssociationVersionInfo& WithAssociationVersion(Aws::String&& value) { SetAssociationVersion(std::move(value)); return *this;}
73 inline AssociationVersionInfo& WithAssociationVersion(const char* value) { SetAssociationVersion(value); return *this;}
75
77
80 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
81 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
82 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
83 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
84 inline AssociationVersionInfo& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
85 inline AssociationVersionInfo& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
87
89
92 inline const Aws::String& GetName() const{ return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
95 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
96 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
97 inline AssociationVersionInfo& WithName(const Aws::String& value) { SetName(value); return *this;}
98 inline AssociationVersionInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
99 inline AssociationVersionInfo& WithName(const char* value) { SetName(value); return *this;}
101
103
107 inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; }
108 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
109 inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; }
110 inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); }
111 inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); }
112 inline AssociationVersionInfo& WithDocumentVersion(const Aws::String& value) { SetDocumentVersion(value); return *this;}
113 inline AssociationVersionInfo& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;}
114 inline AssociationVersionInfo& WithDocumentVersion(const char* value) { SetDocumentVersion(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 AssociationVersionInfo& AddParameters(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
128 inline AssociationVersionInfo& AddParameters(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
129 inline AssociationVersionInfo& AddParameters(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
130 inline AssociationVersionInfo& 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 AssociationVersionInfo& AddParameters(const char* key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
132 inline AssociationVersionInfo& AddParameters(const char* key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
134
136
140 inline const Aws::Vector<Target>& GetTargets() const{ return m_targets; }
141 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
142 inline void SetTargets(const Aws::Vector<Target>& value) { m_targetsHasBeenSet = true; m_targets = value; }
143 inline void SetTargets(Aws::Vector<Target>&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
144 inline AssociationVersionInfo& WithTargets(const Aws::Vector<Target>& value) { SetTargets(value); return *this;}
145 inline AssociationVersionInfo& WithTargets(Aws::Vector<Target>&& value) { SetTargets(std::move(value)); return *this;}
146 inline AssociationVersionInfo& AddTargets(const Target& value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; }
147 inline AssociationVersionInfo& AddTargets(Target&& value) { m_targetsHasBeenSet = true; m_targets.push_back(std::move(value)); return *this; }
149
151
155 inline const Aws::String& GetScheduleExpression() const{ return m_scheduleExpression; }
156 inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; }
157 inline void SetScheduleExpression(const Aws::String& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = value; }
158 inline void SetScheduleExpression(Aws::String&& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = std::move(value); }
159 inline void SetScheduleExpression(const char* value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression.assign(value); }
161 inline AssociationVersionInfo& WithScheduleExpression(Aws::String&& value) { SetScheduleExpression(std::move(value)); return *this;}
162 inline AssociationVersionInfo& WithScheduleExpression(const char* value) { SetScheduleExpression(value); return *this;}
164
166
170 inline const InstanceAssociationOutputLocation& GetOutputLocation() const{ return m_outputLocation; }
171 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
172 inline void SetOutputLocation(const InstanceAssociationOutputLocation& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; }
173 inline void SetOutputLocation(InstanceAssociationOutputLocation&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); }
177
179
183 inline const Aws::String& GetAssociationName() const{ return m_associationName; }
184 inline bool AssociationNameHasBeenSet() const { return m_associationNameHasBeenSet; }
185 inline void SetAssociationName(const Aws::String& value) { m_associationNameHasBeenSet = true; m_associationName = value; }
186 inline void SetAssociationName(Aws::String&& value) { m_associationNameHasBeenSet = true; m_associationName = std::move(value); }
187 inline void SetAssociationName(const char* value) { m_associationNameHasBeenSet = true; m_associationName.assign(value); }
188 inline AssociationVersionInfo& WithAssociationName(const Aws::String& value) { SetAssociationName(value); return *this;}
189 inline AssociationVersionInfo& WithAssociationName(Aws::String&& value) { SetAssociationName(std::move(value)); return *this;}
190 inline AssociationVersionInfo& WithAssociationName(const char* value) { SetAssociationName(value); return *this;}
192
194
209 inline const Aws::String& GetMaxErrors() const{ return m_maxErrors; }
210 inline bool MaxErrorsHasBeenSet() const { return m_maxErrorsHasBeenSet; }
211 inline void SetMaxErrors(const Aws::String& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = value; }
212 inline void SetMaxErrors(Aws::String&& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = std::move(value); }
213 inline void SetMaxErrors(const char* value) { m_maxErrorsHasBeenSet = true; m_maxErrors.assign(value); }
214 inline AssociationVersionInfo& WithMaxErrors(const Aws::String& value) { SetMaxErrors(value); return *this;}
215 inline AssociationVersionInfo& WithMaxErrors(Aws::String&& value) { SetMaxErrors(std::move(value)); return *this;}
216 inline AssociationVersionInfo& WithMaxErrors(const char* value) { SetMaxErrors(value); return *this;}
218
220
230 inline const Aws::String& GetMaxConcurrency() const{ return m_maxConcurrency; }
231 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
232 inline void SetMaxConcurrency(const Aws::String& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = value; }
233 inline void SetMaxConcurrency(Aws::String&& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = std::move(value); }
234 inline void SetMaxConcurrency(const char* value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency.assign(value); }
235 inline AssociationVersionInfo& WithMaxConcurrency(const Aws::String& value) { SetMaxConcurrency(value); return *this;}
236 inline AssociationVersionInfo& WithMaxConcurrency(Aws::String&& value) { SetMaxConcurrency(std::move(value)); return *this;}
237 inline AssociationVersionInfo& WithMaxConcurrency(const char* value) { SetMaxConcurrency(value); return *this;}
239
241
244 inline const AssociationComplianceSeverity& GetComplianceSeverity() const{ return m_complianceSeverity; }
245 inline bool ComplianceSeverityHasBeenSet() const { return m_complianceSeverityHasBeenSet; }
246 inline void SetComplianceSeverity(const AssociationComplianceSeverity& value) { m_complianceSeverityHasBeenSet = true; m_complianceSeverity = value; }
247 inline void SetComplianceSeverity(AssociationComplianceSeverity&& value) { m_complianceSeverityHasBeenSet = true; m_complianceSeverity = std::move(value); }
251
253
266 inline const AssociationSyncCompliance& GetSyncCompliance() const{ return m_syncCompliance; }
267 inline bool SyncComplianceHasBeenSet() const { return m_syncComplianceHasBeenSet; }
268 inline void SetSyncCompliance(const AssociationSyncCompliance& value) { m_syncComplianceHasBeenSet = true; m_syncCompliance = value; }
269 inline void SetSyncCompliance(AssociationSyncCompliance&& value) { m_syncComplianceHasBeenSet = true; m_syncCompliance = std::move(value); }
273
275
282 inline bool GetApplyOnlyAtCronInterval() const{ return m_applyOnlyAtCronInterval; }
283 inline bool ApplyOnlyAtCronIntervalHasBeenSet() const { return m_applyOnlyAtCronIntervalHasBeenSet; }
284 inline void SetApplyOnlyAtCronInterval(bool value) { m_applyOnlyAtCronIntervalHasBeenSet = true; m_applyOnlyAtCronInterval = value; }
287
289
296 inline const Aws::Vector<Aws::String>& GetCalendarNames() const{ return m_calendarNames; }
297 inline bool CalendarNamesHasBeenSet() const { return m_calendarNamesHasBeenSet; }
298 inline void SetCalendarNames(const Aws::Vector<Aws::String>& value) { m_calendarNamesHasBeenSet = true; m_calendarNames = value; }
299 inline void SetCalendarNames(Aws::Vector<Aws::String>&& value) { m_calendarNamesHasBeenSet = true; m_calendarNames = std::move(value); }
301 inline AssociationVersionInfo& WithCalendarNames(Aws::Vector<Aws::String>&& value) { SetCalendarNames(std::move(value)); return *this;}
302 inline AssociationVersionInfo& AddCalendarNames(const Aws::String& value) { m_calendarNamesHasBeenSet = true; m_calendarNames.push_back(value); return *this; }
303 inline AssociationVersionInfo& AddCalendarNames(Aws::String&& value) { m_calendarNamesHasBeenSet = true; m_calendarNames.push_back(std::move(value)); return *this; }
304 inline AssociationVersionInfo& AddCalendarNames(const char* value) { m_calendarNamesHasBeenSet = true; m_calendarNames.push_back(value); return *this; }
306
308
313 inline const Aws::Vector<TargetLocation>& GetTargetLocations() const{ return m_targetLocations; }
314 inline bool TargetLocationsHasBeenSet() const { return m_targetLocationsHasBeenSet; }
315 inline void SetTargetLocations(const Aws::Vector<TargetLocation>& value) { m_targetLocationsHasBeenSet = true; m_targetLocations = value; }
316 inline void SetTargetLocations(Aws::Vector<TargetLocation>&& value) { m_targetLocationsHasBeenSet = true; m_targetLocations = std::move(value); }
319 inline AssociationVersionInfo& AddTargetLocations(const TargetLocation& value) { m_targetLocationsHasBeenSet = true; m_targetLocations.push_back(value); return *this; }
320 inline AssociationVersionInfo& AddTargetLocations(TargetLocation&& value) { m_targetLocationsHasBeenSet = true; m_targetLocations.push_back(std::move(value)); return *this; }
322
324
327 inline int GetScheduleOffset() const{ return m_scheduleOffset; }
328 inline bool ScheduleOffsetHasBeenSet() const { return m_scheduleOffsetHasBeenSet; }
329 inline void SetScheduleOffset(int value) { m_scheduleOffsetHasBeenSet = true; m_scheduleOffset = value; }
330 inline AssociationVersionInfo& WithScheduleOffset(int value) { SetScheduleOffset(value); return *this;}
332
334
339 inline int GetDuration() const{ return m_duration; }
340 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
341 inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; }
342 inline AssociationVersionInfo& WithDuration(int value) { SetDuration(value); return *this;}
344
346
350 inline const Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>& GetTargetMaps() const{ return m_targetMaps; }
351 inline bool TargetMapsHasBeenSet() const { return m_targetMapsHasBeenSet; }
352 inline void SetTargetMaps(const Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>& value) { m_targetMapsHasBeenSet = true; m_targetMaps = value; }
353 inline void SetTargetMaps(Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>&& value) { m_targetMapsHasBeenSet = true; m_targetMaps = std::move(value); }
356 inline AssociationVersionInfo& AddTargetMaps(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_targetMapsHasBeenSet = true; m_targetMaps.push_back(value); return *this; }
357 inline AssociationVersionInfo& AddTargetMaps(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_targetMapsHasBeenSet = true; m_targetMaps.push_back(std::move(value)); return *this; }
359 private:
360
361 Aws::String m_associationId;
362 bool m_associationIdHasBeenSet = false;
363
364 Aws::String m_associationVersion;
365 bool m_associationVersionHasBeenSet = false;
366
367 Aws::Utils::DateTime m_createdDate;
368 bool m_createdDateHasBeenSet = false;
369
370 Aws::String m_name;
371 bool m_nameHasBeenSet = false;
372
373 Aws::String m_documentVersion;
374 bool m_documentVersionHasBeenSet = false;
375
377 bool m_parametersHasBeenSet = false;
378
379 Aws::Vector<Target> m_targets;
380 bool m_targetsHasBeenSet = false;
381
382 Aws::String m_scheduleExpression;
383 bool m_scheduleExpressionHasBeenSet = false;
384
385 InstanceAssociationOutputLocation m_outputLocation;
386 bool m_outputLocationHasBeenSet = false;
387
388 Aws::String m_associationName;
389 bool m_associationNameHasBeenSet = false;
390
391 Aws::String m_maxErrors;
392 bool m_maxErrorsHasBeenSet = false;
393
394 Aws::String m_maxConcurrency;
395 bool m_maxConcurrencyHasBeenSet = false;
396
397 AssociationComplianceSeverity m_complianceSeverity;
398 bool m_complianceSeverityHasBeenSet = false;
399
400 AssociationSyncCompliance m_syncCompliance;
401 bool m_syncComplianceHasBeenSet = false;
402
403 bool m_applyOnlyAtCronInterval;
404 bool m_applyOnlyAtCronIntervalHasBeenSet = false;
405
406 Aws::Vector<Aws::String> m_calendarNames;
407 bool m_calendarNamesHasBeenSet = false;
408
409 Aws::Vector<TargetLocation> m_targetLocations;
410 bool m_targetLocationsHasBeenSet = false;
411
412 int m_scheduleOffset;
413 bool m_scheduleOffsetHasBeenSet = false;
414
415 int m_duration;
416 bool m_durationHasBeenSet = false;
417
419 bool m_targetMapsHasBeenSet = false;
420 };
421
422} // namespace Model
423} // namespace SSM
424} // namespace Aws
AssociationVersionInfo & AddTargetMaps(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
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)
const Aws::String & GetAssociationVersion() const
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)
void SetCreatedDate(Aws::Utils::DateTime &&value)
AssociationVersionInfo & WithMaxErrors(Aws::String &&value)
const Aws::Vector< Aws::String > & GetCalendarNames() const
void SetTargetLocations(Aws::Vector< TargetLocation > &&value)
void SetAssociationName(const Aws::String &value)
const Aws::Vector< Target > & GetTargets() const
AssociationVersionInfo & WithCreatedDate(Aws::Utils::DateTime &&value)
AssociationVersionInfo & WithScheduleOffset(int value)
void SetComplianceSeverity(const AssociationComplianceSeverity &value)
void SetOutputLocation(const InstanceAssociationOutputLocation &value)
AssociationVersionInfo & WithAssociationName(const char *value)
void SetTargets(Aws::Vector< Target > &&value)
AssociationVersionInfo & AddTargets(const Target &value)
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)
AssociationVersionInfo & WithTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
AssociationVersionInfo & WithName(const Aws::String &value)
void SetComplianceSeverity(AssociationComplianceSeverity &&value)
AssociationVersionInfo & WithOutputLocation(const InstanceAssociationOutputLocation &value)
const Aws::Utils::DateTime & GetCreatedDate() const
void SetOutputLocation(InstanceAssociationOutputLocation &&value)
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)
AssociationVersionInfo & WithMaxConcurrency(const char *value)
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< 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)
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
AssociationVersionInfo & WithCreatedDate(const Aws::Utils::DateTime &value)
AssociationVersionInfo & WithAssociationVersion(Aws::String &&value)
const AssociationComplianceSeverity & GetComplianceSeverity() const
void SetParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
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)
AWS_SSM_API AssociationVersionInfo(Aws::Utils::Json::JsonView jsonValue)
AssociationVersionInfo & WithAssociationId(const char *value)
AssociationVersionInfo & AddParameters(const char *key, Aws::Vector< Aws::String > &&value)
AssociationVersionInfo & AddCalendarNames(const Aws::String &value)
AssociationVersionInfo & AddTargetLocations(TargetLocation &&value)
AssociationVersionInfo & WithMaxErrors(const char *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)
AssociationVersionInfo & WithAssociationVersion(const char *value)
void SetTargets(const Aws::Vector< Target > &value)
void SetTargetLocations(const Aws::Vector< TargetLocation > &value)
const InstanceAssociationOutputLocation & GetOutputLocation() const
AssociationVersionInfo & AddCalendarNames(Aws::String &&value)
AssociationVersionInfo & WithSyncCompliance(AssociationSyncCompliance &&value)
AssociationVersionInfo & WithDuration(int value)
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