AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Command.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/CommandStatus.h>
13#include <aws/ssm/model/NotificationConfig.h>
14#include <aws/ssm/model/CloudWatchOutputConfig.h>
15#include <aws/ssm/model/AlarmConfiguration.h>
16#include <aws/ssm/model/Target.h>
17#include <aws/ssm/model/AlarmStateInformation.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace SSM
31{
32namespace Model
33{
34
40 class Command
41 {
42 public:
43 AWS_SSM_API Command() = default;
44 AWS_SSM_API Command(Aws::Utils::Json::JsonView jsonValue);
47
48
50
53 inline const Aws::String& GetCommandId() const { return m_commandId; }
54 inline bool CommandIdHasBeenSet() const { return m_commandIdHasBeenSet; }
55 template<typename CommandIdT = Aws::String>
56 void SetCommandId(CommandIdT&& value) { m_commandIdHasBeenSet = true; m_commandId = std::forward<CommandIdT>(value); }
57 template<typename CommandIdT = Aws::String>
58 Command& WithCommandId(CommandIdT&& value) { SetCommandId(std::forward<CommandIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDocumentName() const { return m_documentName; }
66 inline bool DocumentNameHasBeenSet() const { return m_documentNameHasBeenSet; }
67 template<typename DocumentNameT = Aws::String>
68 void SetDocumentName(DocumentNameT&& value) { m_documentNameHasBeenSet = true; m_documentName = std::forward<DocumentNameT>(value); }
69 template<typename DocumentNameT = Aws::String>
70 Command& WithDocumentName(DocumentNameT&& value) { SetDocumentName(std::forward<DocumentNameT>(value)); return *this;}
72
74
77 inline const Aws::String& GetDocumentVersion() const { return m_documentVersion; }
78 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
79 template<typename DocumentVersionT = Aws::String>
80 void SetDocumentVersion(DocumentVersionT&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::forward<DocumentVersionT>(value); }
81 template<typename DocumentVersionT = Aws::String>
82 Command& WithDocumentVersion(DocumentVersionT&& value) { SetDocumentVersion(std::forward<DocumentVersionT>(value)); return *this;}
84
86
90 inline const Aws::String& GetComment() const { return m_comment; }
91 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
92 template<typename CommentT = Aws::String>
93 void SetComment(CommentT&& value) { m_commentHasBeenSet = true; m_comment = std::forward<CommentT>(value); }
94 template<typename CommentT = Aws::String>
95 Command& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
97
99
109 inline const Aws::Utils::DateTime& GetExpiresAfter() const { return m_expiresAfter; }
110 inline bool ExpiresAfterHasBeenSet() const { return m_expiresAfterHasBeenSet; }
111 template<typename ExpiresAfterT = Aws::Utils::DateTime>
112 void SetExpiresAfter(ExpiresAfterT&& value) { m_expiresAfterHasBeenSet = true; m_expiresAfter = std::forward<ExpiresAfterT>(value); }
113 template<typename ExpiresAfterT = Aws::Utils::DateTime>
114 Command& WithExpiresAfter(ExpiresAfterT&& value) { SetExpiresAfter(std::forward<ExpiresAfterT>(value)); return *this;}
116
118
122 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetParameters() const { return m_parameters; }
123 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
124 template<typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
125 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
126 template<typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
127 Command& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
128 template<typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::Vector<Aws::String>>
129 Command& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
130 m_parametersHasBeenSet = true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value)); return *this;
131 }
133
135
138 inline const Aws::Vector<Aws::String>& GetInstanceIds() const { return m_instanceIds; }
139 inline bool InstanceIdsHasBeenSet() const { return m_instanceIdsHasBeenSet; }
140 template<typename InstanceIdsT = Aws::Vector<Aws::String>>
141 void SetInstanceIds(InstanceIdsT&& value) { m_instanceIdsHasBeenSet = true; m_instanceIds = std::forward<InstanceIdsT>(value); }
142 template<typename InstanceIdsT = Aws::Vector<Aws::String>>
143 Command& WithInstanceIds(InstanceIdsT&& value) { SetInstanceIds(std::forward<InstanceIdsT>(value)); return *this;}
144 template<typename InstanceIdsT = Aws::String>
145 Command& AddInstanceIds(InstanceIdsT&& value) { m_instanceIdsHasBeenSet = true; m_instanceIds.emplace_back(std::forward<InstanceIdsT>(value)); return *this; }
147
149
154 inline const Aws::Vector<Target>& GetTargets() const { return m_targets; }
155 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
156 template<typename TargetsT = Aws::Vector<Target>>
157 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet = true; m_targets = std::forward<TargetsT>(value); }
158 template<typename TargetsT = Aws::Vector<Target>>
159 Command& WithTargets(TargetsT&& value) { SetTargets(std::forward<TargetsT>(value)); return *this;}
160 template<typename TargetsT = Target>
161 Command& AddTargets(TargetsT&& value) { m_targetsHasBeenSet = true; m_targets.emplace_back(std::forward<TargetsT>(value)); return *this; }
163
165
168 inline const Aws::Utils::DateTime& GetRequestedDateTime() const { return m_requestedDateTime; }
169 inline bool RequestedDateTimeHasBeenSet() const { return m_requestedDateTimeHasBeenSet; }
170 template<typename RequestedDateTimeT = Aws::Utils::DateTime>
171 void SetRequestedDateTime(RequestedDateTimeT&& value) { m_requestedDateTimeHasBeenSet = true; m_requestedDateTime = std::forward<RequestedDateTimeT>(value); }
172 template<typename RequestedDateTimeT = Aws::Utils::DateTime>
173 Command& WithRequestedDateTime(RequestedDateTimeT&& value) { SetRequestedDateTime(std::forward<RequestedDateTimeT>(value)); return *this;}
175
177
180 inline CommandStatus GetStatus() const { return m_status; }
181 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
182 inline void SetStatus(CommandStatus value) { m_statusHasBeenSet = true; m_status = value; }
183 inline Command& WithStatus(CommandStatus value) { SetStatus(value); return *this;}
185
187
216 inline const Aws::String& GetStatusDetails() const { return m_statusDetails; }
217 inline bool StatusDetailsHasBeenSet() const { return m_statusDetailsHasBeenSet; }
218 template<typename StatusDetailsT = Aws::String>
219 void SetStatusDetails(StatusDetailsT&& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = std::forward<StatusDetailsT>(value); }
220 template<typename StatusDetailsT = Aws::String>
221 Command& WithStatusDetails(StatusDetailsT&& value) { SetStatusDetails(std::forward<StatusDetailsT>(value)); return *this;}
223
225
230 inline const Aws::String& GetOutputS3Region() const { return m_outputS3Region; }
231 inline bool OutputS3RegionHasBeenSet() const { return m_outputS3RegionHasBeenSet; }
232 template<typename OutputS3RegionT = Aws::String>
233 void SetOutputS3Region(OutputS3RegionT&& value) { m_outputS3RegionHasBeenSet = true; m_outputS3Region = std::forward<OutputS3RegionT>(value); }
234 template<typename OutputS3RegionT = Aws::String>
235 Command& WithOutputS3Region(OutputS3RegionT&& value) { SetOutputS3Region(std::forward<OutputS3RegionT>(value)); return *this;}
237
239
243 inline const Aws::String& GetOutputS3BucketName() const { return m_outputS3BucketName; }
244 inline bool OutputS3BucketNameHasBeenSet() const { return m_outputS3BucketNameHasBeenSet; }
245 template<typename OutputS3BucketNameT = Aws::String>
246 void SetOutputS3BucketName(OutputS3BucketNameT&& value) { m_outputS3BucketNameHasBeenSet = true; m_outputS3BucketName = std::forward<OutputS3BucketNameT>(value); }
247 template<typename OutputS3BucketNameT = Aws::String>
248 Command& WithOutputS3BucketName(OutputS3BucketNameT&& value) { SetOutputS3BucketName(std::forward<OutputS3BucketNameT>(value)); return *this;}
250
252
256 inline const Aws::String& GetOutputS3KeyPrefix() const { return m_outputS3KeyPrefix; }
257 inline bool OutputS3KeyPrefixHasBeenSet() const { return m_outputS3KeyPrefixHasBeenSet; }
258 template<typename OutputS3KeyPrefixT = Aws::String>
259 void SetOutputS3KeyPrefix(OutputS3KeyPrefixT&& value) { m_outputS3KeyPrefixHasBeenSet = true; m_outputS3KeyPrefix = std::forward<OutputS3KeyPrefixT>(value); }
260 template<typename OutputS3KeyPrefixT = Aws::String>
261 Command& WithOutputS3KeyPrefix(OutputS3KeyPrefixT&& value) { SetOutputS3KeyPrefix(std::forward<OutputS3KeyPrefixT>(value)); return *this;}
263
265
274 inline const Aws::String& GetMaxConcurrency() const { return m_maxConcurrency; }
275 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
276 template<typename MaxConcurrencyT = Aws::String>
277 void SetMaxConcurrency(MaxConcurrencyT&& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = std::forward<MaxConcurrencyT>(value); }
278 template<typename MaxConcurrencyT = Aws::String>
279 Command& WithMaxConcurrency(MaxConcurrencyT&& value) { SetMaxConcurrency(std::forward<MaxConcurrencyT>(value)); return *this;}
281
283
292 inline const Aws::String& GetMaxErrors() const { return m_maxErrors; }
293 inline bool MaxErrorsHasBeenSet() const { return m_maxErrorsHasBeenSet; }
294 template<typename MaxErrorsT = Aws::String>
295 void SetMaxErrors(MaxErrorsT&& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = std::forward<MaxErrorsT>(value); }
296 template<typename MaxErrorsT = Aws::String>
297 Command& WithMaxErrors(MaxErrorsT&& value) { SetMaxErrors(std::forward<MaxErrorsT>(value)); return *this;}
299
301
304 inline int GetTargetCount() const { return m_targetCount; }
305 inline bool TargetCountHasBeenSet() const { return m_targetCountHasBeenSet; }
306 inline void SetTargetCount(int value) { m_targetCountHasBeenSet = true; m_targetCount = value; }
307 inline Command& WithTargetCount(int value) { SetTargetCount(value); return *this;}
309
311
316 inline int GetCompletedCount() const { return m_completedCount; }
317 inline bool CompletedCountHasBeenSet() const { return m_completedCountHasBeenSet; }
318 inline void SetCompletedCount(int value) { m_completedCountHasBeenSet = true; m_completedCount = value; }
319 inline Command& WithCompletedCount(int value) { SetCompletedCount(value); return *this;}
321
323
327 inline int GetErrorCount() const { return m_errorCount; }
328 inline bool ErrorCountHasBeenSet() const { return m_errorCountHasBeenSet; }
329 inline void SetErrorCount(int value) { m_errorCountHasBeenSet = true; m_errorCount = value; }
330 inline Command& WithErrorCount(int value) { SetErrorCount(value); return *this;}
332
334
337 inline int GetDeliveryTimedOutCount() const { return m_deliveryTimedOutCount; }
338 inline bool DeliveryTimedOutCountHasBeenSet() const { return m_deliveryTimedOutCountHasBeenSet; }
339 inline void SetDeliveryTimedOutCount(int value) { m_deliveryTimedOutCountHasBeenSet = true; m_deliveryTimedOutCount = value; }
340 inline Command& WithDeliveryTimedOutCount(int value) { SetDeliveryTimedOutCount(value); return *this;}
342
344
349 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
350 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
351 template<typename ServiceRoleT = Aws::String>
352 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::forward<ServiceRoleT>(value); }
353 template<typename ServiceRoleT = Aws::String>
354 Command& WithServiceRole(ServiceRoleT&& value) { SetServiceRole(std::forward<ServiceRoleT>(value)); return *this;}
356
358
361 inline const NotificationConfig& GetNotificationConfig() const { return m_notificationConfig; }
362 inline bool NotificationConfigHasBeenSet() const { return m_notificationConfigHasBeenSet; }
363 template<typename NotificationConfigT = NotificationConfig>
364 void SetNotificationConfig(NotificationConfigT&& value) { m_notificationConfigHasBeenSet = true; m_notificationConfig = std::forward<NotificationConfigT>(value); }
365 template<typename NotificationConfigT = NotificationConfig>
366 Command& WithNotificationConfig(NotificationConfigT&& value) { SetNotificationConfig(std::forward<NotificationConfigT>(value)); return *this;}
368
370
374 inline const CloudWatchOutputConfig& GetCloudWatchOutputConfig() const { return m_cloudWatchOutputConfig; }
375 inline bool CloudWatchOutputConfigHasBeenSet() const { return m_cloudWatchOutputConfigHasBeenSet; }
376 template<typename CloudWatchOutputConfigT = CloudWatchOutputConfig>
377 void SetCloudWatchOutputConfig(CloudWatchOutputConfigT&& value) { m_cloudWatchOutputConfigHasBeenSet = true; m_cloudWatchOutputConfig = std::forward<CloudWatchOutputConfigT>(value); }
378 template<typename CloudWatchOutputConfigT = CloudWatchOutputConfig>
379 Command& WithCloudWatchOutputConfig(CloudWatchOutputConfigT&& value) { SetCloudWatchOutputConfig(std::forward<CloudWatchOutputConfigT>(value)); return *this;}
381
383
386 inline int GetTimeoutSeconds() const { return m_timeoutSeconds; }
387 inline bool TimeoutSecondsHasBeenSet() const { return m_timeoutSecondsHasBeenSet; }
388 inline void SetTimeoutSeconds(int value) { m_timeoutSecondsHasBeenSet = true; m_timeoutSeconds = value; }
389 inline Command& WithTimeoutSeconds(int value) { SetTimeoutSeconds(value); return *this;}
391
393
396 inline const AlarmConfiguration& GetAlarmConfiguration() const { return m_alarmConfiguration; }
397 inline bool AlarmConfigurationHasBeenSet() const { return m_alarmConfigurationHasBeenSet; }
398 template<typename AlarmConfigurationT = AlarmConfiguration>
399 void SetAlarmConfiguration(AlarmConfigurationT&& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = std::forward<AlarmConfigurationT>(value); }
400 template<typename AlarmConfigurationT = AlarmConfiguration>
401 Command& WithAlarmConfiguration(AlarmConfigurationT&& value) { SetAlarmConfiguration(std::forward<AlarmConfigurationT>(value)); return *this;}
403
405
408 inline const Aws::Vector<AlarmStateInformation>& GetTriggeredAlarms() const { return m_triggeredAlarms; }
409 inline bool TriggeredAlarmsHasBeenSet() const { return m_triggeredAlarmsHasBeenSet; }
410 template<typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
411 void SetTriggeredAlarms(TriggeredAlarmsT&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms = std::forward<TriggeredAlarmsT>(value); }
412 template<typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
413 Command& WithTriggeredAlarms(TriggeredAlarmsT&& value) { SetTriggeredAlarms(std::forward<TriggeredAlarmsT>(value)); return *this;}
414 template<typename TriggeredAlarmsT = AlarmStateInformation>
415 Command& AddTriggeredAlarms(TriggeredAlarmsT&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms.emplace_back(std::forward<TriggeredAlarmsT>(value)); return *this; }
417 private:
418
419 Aws::String m_commandId;
420 bool m_commandIdHasBeenSet = false;
421
422 Aws::String m_documentName;
423 bool m_documentNameHasBeenSet = false;
424
425 Aws::String m_documentVersion;
426 bool m_documentVersionHasBeenSet = false;
427
428 Aws::String m_comment;
429 bool m_commentHasBeenSet = false;
430
431 Aws::Utils::DateTime m_expiresAfter{};
432 bool m_expiresAfterHasBeenSet = false;
433
435 bool m_parametersHasBeenSet = false;
436
437 Aws::Vector<Aws::String> m_instanceIds;
438 bool m_instanceIdsHasBeenSet = false;
439
440 Aws::Vector<Target> m_targets;
441 bool m_targetsHasBeenSet = false;
442
443 Aws::Utils::DateTime m_requestedDateTime{};
444 bool m_requestedDateTimeHasBeenSet = false;
445
447 bool m_statusHasBeenSet = false;
448
449 Aws::String m_statusDetails;
450 bool m_statusDetailsHasBeenSet = false;
451
452 Aws::String m_outputS3Region;
453 bool m_outputS3RegionHasBeenSet = false;
454
455 Aws::String m_outputS3BucketName;
456 bool m_outputS3BucketNameHasBeenSet = false;
457
458 Aws::String m_outputS3KeyPrefix;
459 bool m_outputS3KeyPrefixHasBeenSet = false;
460
461 Aws::String m_maxConcurrency;
462 bool m_maxConcurrencyHasBeenSet = false;
463
464 Aws::String m_maxErrors;
465 bool m_maxErrorsHasBeenSet = false;
466
467 int m_targetCount{0};
468 bool m_targetCountHasBeenSet = false;
469
470 int m_completedCount{0};
471 bool m_completedCountHasBeenSet = false;
472
473 int m_errorCount{0};
474 bool m_errorCountHasBeenSet = false;
475
476 int m_deliveryTimedOutCount{0};
477 bool m_deliveryTimedOutCountHasBeenSet = false;
478
479 Aws::String m_serviceRole;
480 bool m_serviceRoleHasBeenSet = false;
481
482 NotificationConfig m_notificationConfig;
483 bool m_notificationConfigHasBeenSet = false;
484
485 CloudWatchOutputConfig m_cloudWatchOutputConfig;
486 bool m_cloudWatchOutputConfigHasBeenSet = false;
487
488 int m_timeoutSeconds{0};
489 bool m_timeoutSecondsHasBeenSet = false;
490
491 AlarmConfiguration m_alarmConfiguration;
492 bool m_alarmConfigurationHasBeenSet = false;
493
494 Aws::Vector<AlarmStateInformation> m_triggeredAlarms;
495 bool m_triggeredAlarmsHasBeenSet = false;
496 };
497
498} // namespace Model
499} // namespace SSM
500} // namespace Aws
int GetTimeoutSeconds() const
Definition Command.h:386
bool CommandIdHasBeenSet() const
Definition Command.h:54
bool CompletedCountHasBeenSet() const
Definition Command.h:317
bool DeliveryTimedOutCountHasBeenSet() const
Definition Command.h:338
Command & WithOutputS3Region(OutputS3RegionT &&value)
Definition Command.h:235
Command & WithExpiresAfter(ExpiresAfterT &&value)
Definition Command.h:114
Command & WithParameters(ParametersT &&value)
Definition Command.h:127
Command & WithRequestedDateTime(RequestedDateTimeT &&value)
Definition Command.h:173
bool NotificationConfigHasBeenSet() const
Definition Command.h:362
const Aws::Utils::DateTime & GetRequestedDateTime() const
Definition Command.h:168
const Aws::String & GetCommandId() const
Definition Command.h:53
void SetStatusDetails(StatusDetailsT &&value)
Definition Command.h:219
Command & WithAlarmConfiguration(AlarmConfigurationT &&value)
Definition Command.h:401
Command & WithCompletedCount(int value)
Definition Command.h:319
void SetTimeoutSeconds(int value)
Definition Command.h:388
void SetTargets(TargetsT &&value)
Definition Command.h:157
void SetNotificationConfig(NotificationConfigT &&value)
Definition Command.h:364
void SetCloudWatchOutputConfig(CloudWatchOutputConfigT &&value)
Definition Command.h:377
Command & WithOutputS3BucketName(OutputS3BucketNameT &&value)
Definition Command.h:248
Command & WithInstanceIds(InstanceIdsT &&value)
Definition Command.h:143
void SetOutputS3BucketName(OutputS3BucketNameT &&value)
Definition Command.h:246
void SetDeliveryTimedOutCount(int value)
Definition Command.h:339
Command & AddTriggeredAlarms(TriggeredAlarmsT &&value)
Definition Command.h:415
bool OutputS3RegionHasBeenSet() const
Definition Command.h:231
void SetCompletedCount(int value)
Definition Command.h:318
Command & WithTargets(TargetsT &&value)
Definition Command.h:159
bool CloudWatchOutputConfigHasBeenSet() const
Definition Command.h:375
bool DocumentVersionHasBeenSet() const
Definition Command.h:78
Command & WithStatus(CommandStatus value)
Definition Command.h:183
bool CommentHasBeenSet() const
Definition Command.h:91
bool ParametersHasBeenSet() const
Definition Command.h:123
void SetOutputS3KeyPrefix(OutputS3KeyPrefixT &&value)
Definition Command.h:259
const Aws::Vector< AlarmStateInformation > & GetTriggeredAlarms() const
Definition Command.h:408
AWS_SSM_API Command & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCommandId(CommandIdT &&value)
Definition Command.h:56
void SetStatus(CommandStatus value)
Definition Command.h:182
const Aws::Utils::DateTime & GetExpiresAfter() const
Definition Command.h:109
const NotificationConfig & GetNotificationConfig() const
Definition Command.h:361
void SetDocumentVersion(DocumentVersionT &&value)
Definition Command.h:80
const Aws::String & GetServiceRole() const
Definition Command.h:349
AWS_SSM_API Command(Aws::Utils::Json::JsonView jsonValue)
void SetExpiresAfter(ExpiresAfterT &&value)
Definition Command.h:112
int GetDeliveryTimedOutCount() const
Definition Command.h:337
void SetErrorCount(int value)
Definition Command.h:329
const Aws::String & GetOutputS3KeyPrefix() const
Definition Command.h:256
bool InstanceIdsHasBeenSet() const
Definition Command.h:139
Command & WithMaxConcurrency(MaxConcurrencyT &&value)
Definition Command.h:279
const Aws::Vector< Target > & GetTargets() const
Definition Command.h:154
bool MaxErrorsHasBeenSet() const
Definition Command.h:293
Command & WithCommandId(CommandIdT &&value)
Definition Command.h:58
void SetRequestedDateTime(RequestedDateTimeT &&value)
Definition Command.h:171
const Aws::String & GetMaxErrors() const
Definition Command.h:292
AWS_SSM_API Command()=default
Command & WithTimeoutSeconds(int value)
Definition Command.h:389
Command & WithErrorCount(int value)
Definition Command.h:330
Command & WithNotificationConfig(NotificationConfigT &&value)
Definition Command.h:366
bool TargetCountHasBeenSet() const
Definition Command.h:305
Command & WithOutputS3KeyPrefix(OutputS3KeyPrefixT &&value)
Definition Command.h:261
void SetTriggeredAlarms(TriggeredAlarmsT &&value)
Definition Command.h:411
const Aws::String & GetOutputS3Region() const
Definition Command.h:230
Command & WithDocumentName(DocumentNameT &&value)
Definition Command.h:70
bool ExpiresAfterHasBeenSet() const
Definition Command.h:110
CommandStatus GetStatus() const
Definition Command.h:180
const CloudWatchOutputConfig & GetCloudWatchOutputConfig() const
Definition Command.h:374
bool TimeoutSecondsHasBeenSet() const
Definition Command.h:387
void SetInstanceIds(InstanceIdsT &&value)
Definition Command.h:141
int GetCompletedCount() const
Definition Command.h:316
void SetDocumentName(DocumentNameT &&value)
Definition Command.h:68
void SetMaxConcurrency(MaxConcurrencyT &&value)
Definition Command.h:277
bool StatusHasBeenSet() const
Definition Command.h:181
Command & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
Definition Command.h:129
const Aws::String & GetOutputS3BucketName() const
Definition Command.h:243
void SetParameters(ParametersT &&value)
Definition Command.h:125
bool AlarmConfigurationHasBeenSet() const
Definition Command.h:397
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
Definition Command.h:122
bool TargetsHasBeenSet() const
Definition Command.h:155
bool TriggeredAlarmsHasBeenSet() const
Definition Command.h:409
bool OutputS3KeyPrefixHasBeenSet() const
Definition Command.h:257
int GetErrorCount() const
Definition Command.h:327
Command & AddInstanceIds(InstanceIdsT &&value)
Definition Command.h:145
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
Command & WithTargetCount(int value)
Definition Command.h:307
Command & WithTriggeredAlarms(TriggeredAlarmsT &&value)
Definition Command.h:413
void SetMaxErrors(MaxErrorsT &&value)
Definition Command.h:295
int GetTargetCount() const
Definition Command.h:304
const Aws::String & GetDocumentVersion() const
Definition Command.h:77
Command & WithStatusDetails(StatusDetailsT &&value)
Definition Command.h:221
Command & WithServiceRole(ServiceRoleT &&value)
Definition Command.h:354
void SetComment(CommentT &&value)
Definition Command.h:93
const Aws::String & GetDocumentName() const
Definition Command.h:65
void SetOutputS3Region(OutputS3RegionT &&value)
Definition Command.h:233
bool ServiceRoleHasBeenSet() const
Definition Command.h:350
const Aws::Vector< Aws::String > & GetInstanceIds() const
Definition Command.h:138
Command & WithMaxErrors(MaxErrorsT &&value)
Definition Command.h:297
bool ErrorCountHasBeenSet() const
Definition Command.h:328
Command & AddTargets(TargetsT &&value)
Definition Command.h:161
const AlarmConfiguration & GetAlarmConfiguration() const
Definition Command.h:396
Command & WithDeliveryTimedOutCount(int value)
Definition Command.h:340
const Aws::String & GetComment() const
Definition Command.h:90
Command & WithComment(CommentT &&value)
Definition Command.h:95
bool MaxConcurrencyHasBeenSet() const
Definition Command.h:275
bool RequestedDateTimeHasBeenSet() const
Definition Command.h:169
Command & WithCloudWatchOutputConfig(CloudWatchOutputConfigT &&value)
Definition Command.h:379
void SetTargetCount(int value)
Definition Command.h:306
void SetAlarmConfiguration(AlarmConfigurationT &&value)
Definition Command.h:399
void SetServiceRole(ServiceRoleT &&value)
Definition Command.h:352
bool OutputS3BucketNameHasBeenSet() const
Definition Command.h:244
bool DocumentNameHasBeenSet() const
Definition Command.h:66
const Aws::String & GetMaxConcurrency() const
Definition Command.h:274
const Aws::String & GetStatusDetails() const
Definition Command.h:216
bool StatusDetailsHasBeenSet() const
Definition Command.h:217
Command & WithDocumentVersion(DocumentVersionT &&value)
Definition Command.h:82
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