AWS SDK for C++  1.8.95
AWS SDK for C++
Command.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ssm/SSM_EXPORTS.h>
15 #include <aws/ssm/model/Target.h>
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25  class JsonView;
26 } // namespace Json
27 } // namespace Utils
28 namespace SSM
29 {
30 namespace Model
31 {
32 
39  {
40  public:
41  Command();
43  Command& operator=(Aws::Utils::Json::JsonView jsonValue);
44  Aws::Utils::Json::JsonValue Jsonize() const;
45 
46 
50  inline const Aws::String& GetCommandId() const{ return m_commandId; }
51 
55  inline bool CommandIdHasBeenSet() const { return m_commandIdHasBeenSet; }
56 
60  inline void SetCommandId(const Aws::String& value) { m_commandIdHasBeenSet = true; m_commandId = value; }
61 
65  inline void SetCommandId(Aws::String&& value) { m_commandIdHasBeenSet = true; m_commandId = std::move(value); }
66 
70  inline void SetCommandId(const char* value) { m_commandIdHasBeenSet = true; m_commandId.assign(value); }
71 
75  inline Command& WithCommandId(const Aws::String& value) { SetCommandId(value); return *this;}
76 
80  inline Command& WithCommandId(Aws::String&& value) { SetCommandId(std::move(value)); return *this;}
81 
85  inline Command& WithCommandId(const char* value) { SetCommandId(value); return *this;}
86 
87 
91  inline const Aws::String& GetDocumentName() const{ return m_documentName; }
92 
96  inline bool DocumentNameHasBeenSet() const { return m_documentNameHasBeenSet; }
97 
101  inline void SetDocumentName(const Aws::String& value) { m_documentNameHasBeenSet = true; m_documentName = value; }
102 
106  inline void SetDocumentName(Aws::String&& value) { m_documentNameHasBeenSet = true; m_documentName = std::move(value); }
107 
111  inline void SetDocumentName(const char* value) { m_documentNameHasBeenSet = true; m_documentName.assign(value); }
112 
116  inline Command& WithDocumentName(const Aws::String& value) { SetDocumentName(value); return *this;}
117 
121  inline Command& WithDocumentName(Aws::String&& value) { SetDocumentName(std::move(value)); return *this;}
122 
126  inline Command& WithDocumentName(const char* value) { SetDocumentName(value); return *this;}
127 
128 
132  inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; }
133 
137  inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
138 
142  inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; }
143 
147  inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); }
148 
152  inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); }
153 
157  inline Command& WithDocumentVersion(const Aws::String& value) { SetDocumentVersion(value); return *this;}
158 
162  inline Command& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;}
163 
167  inline Command& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;}
168 
169 
174  inline const Aws::String& GetComment() const{ return m_comment; }
175 
180  inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
181 
186  inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
187 
192  inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
193 
198  inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
199 
204  inline Command& WithComment(const Aws::String& value) { SetComment(value); return *this;}
205 
210  inline Command& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
211 
216  inline Command& WithComment(const char* value) { SetComment(value); return *this;}
217 
218 
224  inline const Aws::Utils::DateTime& GetExpiresAfter() const{ return m_expiresAfter; }
225 
231  inline bool ExpiresAfterHasBeenSet() const { return m_expiresAfterHasBeenSet; }
232 
238  inline void SetExpiresAfter(const Aws::Utils::DateTime& value) { m_expiresAfterHasBeenSet = true; m_expiresAfter = value; }
239 
245  inline void SetExpiresAfter(Aws::Utils::DateTime&& value) { m_expiresAfterHasBeenSet = true; m_expiresAfter = std::move(value); }
246 
252  inline Command& WithExpiresAfter(const Aws::Utils::DateTime& value) { SetExpiresAfter(value); return *this;}
253 
259  inline Command& WithExpiresAfter(Aws::Utils::DateTime&& value) { SetExpiresAfter(std::move(value)); return *this;}
260 
261 
266  inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetParameters() const{ return m_parameters; }
267 
272  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
273 
278  inline void SetParameters(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
279 
284  inline void SetParameters(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
285 
290  inline Command& WithParameters(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { SetParameters(value); return *this;}
291 
296  inline Command& WithParameters(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { SetParameters(std::move(value)); return *this;}
297 
302  inline Command& AddParameters(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
303 
308  inline Command& AddParameters(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
309 
314  inline Command& AddParameters(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
315 
320  inline Command& AddParameters(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
321 
326  inline Command& AddParameters(const char* key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
327 
332  inline Command& AddParameters(const char* key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
333 
334 
338  inline const Aws::Vector<Aws::String>& GetInstanceIds() const{ return m_instanceIds; }
339 
343  inline bool InstanceIdsHasBeenSet() const { return m_instanceIdsHasBeenSet; }
344 
348  inline void SetInstanceIds(const Aws::Vector<Aws::String>& value) { m_instanceIdsHasBeenSet = true; m_instanceIds = value; }
349 
353  inline void SetInstanceIds(Aws::Vector<Aws::String>&& value) { m_instanceIdsHasBeenSet = true; m_instanceIds = std::move(value); }
354 
358  inline Command& WithInstanceIds(const Aws::Vector<Aws::String>& value) { SetInstanceIds(value); return *this;}
359 
363  inline Command& WithInstanceIds(Aws::Vector<Aws::String>&& value) { SetInstanceIds(std::move(value)); return *this;}
364 
368  inline Command& AddInstanceIds(const Aws::String& value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(value); return *this; }
369 
373  inline Command& AddInstanceIds(Aws::String&& value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(std::move(value)); return *this; }
374 
378  inline Command& AddInstanceIds(const char* value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(value); return *this; }
379 
380 
386  inline const Aws::Vector<Target>& GetTargets() const{ return m_targets; }
387 
393  inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
394 
400  inline void SetTargets(const Aws::Vector<Target>& value) { m_targetsHasBeenSet = true; m_targets = value; }
401 
407  inline void SetTargets(Aws::Vector<Target>&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
408 
414  inline Command& WithTargets(const Aws::Vector<Target>& value) { SetTargets(value); return *this;}
415 
421  inline Command& WithTargets(Aws::Vector<Target>&& value) { SetTargets(std::move(value)); return *this;}
422 
428  inline Command& AddTargets(const Target& value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; }
429 
435  inline Command& AddTargets(Target&& value) { m_targetsHasBeenSet = true; m_targets.push_back(std::move(value)); return *this; }
436 
437 
441  inline const Aws::Utils::DateTime& GetRequestedDateTime() const{ return m_requestedDateTime; }
442 
446  inline bool RequestedDateTimeHasBeenSet() const { return m_requestedDateTimeHasBeenSet; }
447 
451  inline void SetRequestedDateTime(const Aws::Utils::DateTime& value) { m_requestedDateTimeHasBeenSet = true; m_requestedDateTime = value; }
452 
456  inline void SetRequestedDateTime(Aws::Utils::DateTime&& value) { m_requestedDateTimeHasBeenSet = true; m_requestedDateTime = std::move(value); }
457 
461  inline Command& WithRequestedDateTime(const Aws::Utils::DateTime& value) { SetRequestedDateTime(value); return *this;}
462 
466  inline Command& WithRequestedDateTime(Aws::Utils::DateTime&& value) { SetRequestedDateTime(std::move(value)); return *this;}
467 
468 
472  inline const CommandStatus& GetStatus() const{ return m_status; }
473 
477  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
478 
482  inline void SetStatus(const CommandStatus& value) { m_statusHasBeenSet = true; m_status = value; }
483 
487  inline void SetStatus(CommandStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
488 
492  inline Command& WithStatus(const CommandStatus& value) { SetStatus(value); return *this;}
493 
497  inline Command& WithStatus(CommandStatus&& value) { SetStatus(std::move(value)); return *this;}
498 
499 
526  inline const Aws::String& GetStatusDetails() const{ return m_statusDetails; }
527 
554  inline bool StatusDetailsHasBeenSet() const { return m_statusDetailsHasBeenSet; }
555 
582  inline void SetStatusDetails(const Aws::String& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = value; }
583 
610  inline void SetStatusDetails(Aws::String&& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = std::move(value); }
611 
638  inline void SetStatusDetails(const char* value) { m_statusDetailsHasBeenSet = true; m_statusDetails.assign(value); }
639 
666  inline Command& WithStatusDetails(const Aws::String& value) { SetStatusDetails(value); return *this;}
667 
694  inline Command& WithStatusDetails(Aws::String&& value) { SetStatusDetails(std::move(value)); return *this;}
695 
722  inline Command& WithStatusDetails(const char* value) { SetStatusDetails(value); return *this;}
723 
724 
730  inline const Aws::String& GetOutputS3Region() const{ return m_outputS3Region; }
731 
737  inline bool OutputS3RegionHasBeenSet() const { return m_outputS3RegionHasBeenSet; }
738 
744  inline void SetOutputS3Region(const Aws::String& value) { m_outputS3RegionHasBeenSet = true; m_outputS3Region = value; }
745 
751  inline void SetOutputS3Region(Aws::String&& value) { m_outputS3RegionHasBeenSet = true; m_outputS3Region = std::move(value); }
752 
758  inline void SetOutputS3Region(const char* value) { m_outputS3RegionHasBeenSet = true; m_outputS3Region.assign(value); }
759 
765  inline Command& WithOutputS3Region(const Aws::String& value) { SetOutputS3Region(value); return *this;}
766 
772  inline Command& WithOutputS3Region(Aws::String&& value) { SetOutputS3Region(std::move(value)); return *this;}
773 
779  inline Command& WithOutputS3Region(const char* value) { SetOutputS3Region(value); return *this;}
780 
781 
786  inline const Aws::String& GetOutputS3BucketName() const{ return m_outputS3BucketName; }
787 
792  inline bool OutputS3BucketNameHasBeenSet() const { return m_outputS3BucketNameHasBeenSet; }
793 
798  inline void SetOutputS3BucketName(const Aws::String& value) { m_outputS3BucketNameHasBeenSet = true; m_outputS3BucketName = value; }
799 
804  inline void SetOutputS3BucketName(Aws::String&& value) { m_outputS3BucketNameHasBeenSet = true; m_outputS3BucketName = std::move(value); }
805 
810  inline void SetOutputS3BucketName(const char* value) { m_outputS3BucketNameHasBeenSet = true; m_outputS3BucketName.assign(value); }
811 
816  inline Command& WithOutputS3BucketName(const Aws::String& value) { SetOutputS3BucketName(value); return *this;}
817 
822  inline Command& WithOutputS3BucketName(Aws::String&& value) { SetOutputS3BucketName(std::move(value)); return *this;}
823 
828  inline Command& WithOutputS3BucketName(const char* value) { SetOutputS3BucketName(value); return *this;}
829 
830 
835  inline const Aws::String& GetOutputS3KeyPrefix() const{ return m_outputS3KeyPrefix; }
836 
841  inline bool OutputS3KeyPrefixHasBeenSet() const { return m_outputS3KeyPrefixHasBeenSet; }
842 
847  inline void SetOutputS3KeyPrefix(const Aws::String& value) { m_outputS3KeyPrefixHasBeenSet = true; m_outputS3KeyPrefix = value; }
848 
853  inline void SetOutputS3KeyPrefix(Aws::String&& value) { m_outputS3KeyPrefixHasBeenSet = true; m_outputS3KeyPrefix = std::move(value); }
854 
859  inline void SetOutputS3KeyPrefix(const char* value) { m_outputS3KeyPrefixHasBeenSet = true; m_outputS3KeyPrefix.assign(value); }
860 
865  inline Command& WithOutputS3KeyPrefix(const Aws::String& value) { SetOutputS3KeyPrefix(value); return *this;}
866 
871  inline Command& WithOutputS3KeyPrefix(Aws::String&& value) { SetOutputS3KeyPrefix(std::move(value)); return *this;}
872 
877  inline Command& WithOutputS3KeyPrefix(const char* value) { SetOutputS3KeyPrefix(value); return *this;}
878 
879 
889  inline const Aws::String& GetMaxConcurrency() const{ return m_maxConcurrency; }
890 
900  inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
901 
911  inline void SetMaxConcurrency(const Aws::String& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = value; }
912 
922  inline void SetMaxConcurrency(Aws::String&& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = std::move(value); }
923 
933  inline void SetMaxConcurrency(const char* value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency.assign(value); }
934 
944  inline Command& WithMaxConcurrency(const Aws::String& value) { SetMaxConcurrency(value); return *this;}
945 
955  inline Command& WithMaxConcurrency(Aws::String&& value) { SetMaxConcurrency(std::move(value)); return *this;}
956 
966  inline Command& WithMaxConcurrency(const char* value) { SetMaxConcurrency(value); return *this;}
967 
968 
978  inline const Aws::String& GetMaxErrors() const{ return m_maxErrors; }
979 
989  inline bool MaxErrorsHasBeenSet() const { return m_maxErrorsHasBeenSet; }
990 
1000  inline void SetMaxErrors(const Aws::String& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = value; }
1001 
1011  inline void SetMaxErrors(Aws::String&& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = std::move(value); }
1012 
1022  inline void SetMaxErrors(const char* value) { m_maxErrorsHasBeenSet = true; m_maxErrors.assign(value); }
1023 
1033  inline Command& WithMaxErrors(const Aws::String& value) { SetMaxErrors(value); return *this;}
1034 
1044  inline Command& WithMaxErrors(Aws::String&& value) { SetMaxErrors(std::move(value)); return *this;}
1045 
1055  inline Command& WithMaxErrors(const char* value) { SetMaxErrors(value); return *this;}
1056 
1057 
1061  inline int GetTargetCount() const{ return m_targetCount; }
1062 
1066  inline bool TargetCountHasBeenSet() const { return m_targetCountHasBeenSet; }
1067 
1071  inline void SetTargetCount(int value) { m_targetCountHasBeenSet = true; m_targetCount = value; }
1072 
1076  inline Command& WithTargetCount(int value) { SetTargetCount(value); return *this;}
1077 
1078 
1084  inline int GetCompletedCount() const{ return m_completedCount; }
1085 
1091  inline bool CompletedCountHasBeenSet() const { return m_completedCountHasBeenSet; }
1092 
1098  inline void SetCompletedCount(int value) { m_completedCountHasBeenSet = true; m_completedCount = value; }
1099 
1105  inline Command& WithCompletedCount(int value) { SetCompletedCount(value); return *this;}
1106 
1107 
1112  inline int GetErrorCount() const{ return m_errorCount; }
1113 
1118  inline bool ErrorCountHasBeenSet() const { return m_errorCountHasBeenSet; }
1119 
1124  inline void SetErrorCount(int value) { m_errorCountHasBeenSet = true; m_errorCount = value; }
1125 
1130  inline Command& WithErrorCount(int value) { SetErrorCount(value); return *this;}
1131 
1132 
1136  inline int GetDeliveryTimedOutCount() const{ return m_deliveryTimedOutCount; }
1137 
1141  inline bool DeliveryTimedOutCountHasBeenSet() const { return m_deliveryTimedOutCountHasBeenSet; }
1142 
1146  inline void SetDeliveryTimedOutCount(int value) { m_deliveryTimedOutCountHasBeenSet = true; m_deliveryTimedOutCount = value; }
1147 
1151  inline Command& WithDeliveryTimedOutCount(int value) { SetDeliveryTimedOutCount(value); return *this;}
1152 
1153 
1158  inline const Aws::String& GetServiceRole() const{ return m_serviceRole; }
1159 
1164  inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
1165 
1170  inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; }
1171 
1176  inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); }
1177 
1182  inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); }
1183 
1188  inline Command& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;}
1189 
1194  inline Command& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;}
1195 
1200  inline Command& WithServiceRole(const char* value) { SetServiceRole(value); return *this;}
1201 
1202 
1206  inline const NotificationConfig& GetNotificationConfig() const{ return m_notificationConfig; }
1207 
1211  inline bool NotificationConfigHasBeenSet() const { return m_notificationConfigHasBeenSet; }
1212 
1216  inline void SetNotificationConfig(const NotificationConfig& value) { m_notificationConfigHasBeenSet = true; m_notificationConfig = value; }
1217 
1221  inline void SetNotificationConfig(NotificationConfig&& value) { m_notificationConfigHasBeenSet = true; m_notificationConfig = std::move(value); }
1222 
1226  inline Command& WithNotificationConfig(const NotificationConfig& value) { SetNotificationConfig(value); return *this;}
1227 
1231  inline Command& WithNotificationConfig(NotificationConfig&& value) { SetNotificationConfig(std::move(value)); return *this;}
1232 
1233 
1238  inline const CloudWatchOutputConfig& GetCloudWatchOutputConfig() const{ return m_cloudWatchOutputConfig; }
1239 
1244  inline bool CloudWatchOutputConfigHasBeenSet() const { return m_cloudWatchOutputConfigHasBeenSet; }
1245 
1250  inline void SetCloudWatchOutputConfig(const CloudWatchOutputConfig& value) { m_cloudWatchOutputConfigHasBeenSet = true; m_cloudWatchOutputConfig = value; }
1251 
1256  inline void SetCloudWatchOutputConfig(CloudWatchOutputConfig&& value) { m_cloudWatchOutputConfigHasBeenSet = true; m_cloudWatchOutputConfig = std::move(value); }
1257 
1262  inline Command& WithCloudWatchOutputConfig(const CloudWatchOutputConfig& value) { SetCloudWatchOutputConfig(value); return *this;}
1263 
1268  inline Command& WithCloudWatchOutputConfig(CloudWatchOutputConfig&& value) { SetCloudWatchOutputConfig(std::move(value)); return *this;}
1269 
1270 
1274  inline int GetTimeoutSeconds() const{ return m_timeoutSeconds; }
1275 
1279  inline bool TimeoutSecondsHasBeenSet() const { return m_timeoutSecondsHasBeenSet; }
1280 
1284  inline void SetTimeoutSeconds(int value) { m_timeoutSecondsHasBeenSet = true; m_timeoutSeconds = value; }
1285 
1289  inline Command& WithTimeoutSeconds(int value) { SetTimeoutSeconds(value); return *this;}
1290 
1291  private:
1292 
1293  Aws::String m_commandId;
1294  bool m_commandIdHasBeenSet;
1295 
1296  Aws::String m_documentName;
1297  bool m_documentNameHasBeenSet;
1298 
1299  Aws::String m_documentVersion;
1300  bool m_documentVersionHasBeenSet;
1301 
1302  Aws::String m_comment;
1303  bool m_commentHasBeenSet;
1304 
1305  Aws::Utils::DateTime m_expiresAfter;
1306  bool m_expiresAfterHasBeenSet;
1307 
1309  bool m_parametersHasBeenSet;
1310 
1311  Aws::Vector<Aws::String> m_instanceIds;
1312  bool m_instanceIdsHasBeenSet;
1313 
1314  Aws::Vector<Target> m_targets;
1315  bool m_targetsHasBeenSet;
1316 
1317  Aws::Utils::DateTime m_requestedDateTime;
1318  bool m_requestedDateTimeHasBeenSet;
1319 
1320  CommandStatus m_status;
1321  bool m_statusHasBeenSet;
1322 
1323  Aws::String m_statusDetails;
1324  bool m_statusDetailsHasBeenSet;
1325 
1326  Aws::String m_outputS3Region;
1327  bool m_outputS3RegionHasBeenSet;
1328 
1329  Aws::String m_outputS3BucketName;
1330  bool m_outputS3BucketNameHasBeenSet;
1331 
1332  Aws::String m_outputS3KeyPrefix;
1333  bool m_outputS3KeyPrefixHasBeenSet;
1334 
1335  Aws::String m_maxConcurrency;
1336  bool m_maxConcurrencyHasBeenSet;
1337 
1338  Aws::String m_maxErrors;
1339  bool m_maxErrorsHasBeenSet;
1340 
1341  int m_targetCount;
1342  bool m_targetCountHasBeenSet;
1343 
1344  int m_completedCount;
1345  bool m_completedCountHasBeenSet;
1346 
1347  int m_errorCount;
1348  bool m_errorCountHasBeenSet;
1349 
1350  int m_deliveryTimedOutCount;
1351  bool m_deliveryTimedOutCountHasBeenSet;
1352 
1353  Aws::String m_serviceRole;
1354  bool m_serviceRoleHasBeenSet;
1355 
1356  NotificationConfig m_notificationConfig;
1357  bool m_notificationConfigHasBeenSet;
1358 
1359  CloudWatchOutputConfig m_cloudWatchOutputConfig;
1360  bool m_cloudWatchOutputConfigHasBeenSet;
1361 
1362  int m_timeoutSeconds;
1363  bool m_timeoutSecondsHasBeenSet;
1364  };
1365 
1366 } // namespace Model
1367 } // namespace SSM
1368 } // namespace Aws
Command & WithTimeoutSeconds(int value)
Definition: Command.h:1289
Command & AddParameters(const char *key, Aws::Vector< Aws::String > &&value)
Definition: Command.h:326
void SetInstanceIds(Aws::Vector< Aws::String > &&value)
Definition: Command.h:353
Command & WithDocumentVersion(Aws::String &&value)
Definition: Command.h:162
Command & WithDocumentName(Aws::String &&value)
Definition: Command.h:121
Command & WithStatusDetails(const char *value)
Definition: Command.h:722
void SetMaxConcurrency(const Aws::String &value)
Definition: Command.h:911
bool TimeoutSecondsHasBeenSet() const
Definition: Command.h:1279
bool RequestedDateTimeHasBeenSet() const
Definition: Command.h:446
void SetMaxConcurrency(const char *value)
Definition: Command.h:933
void SetRequestedDateTime(Aws::Utils::DateTime &&value)
Definition: Command.h:456
Command & AddParameters(Aws::String &&key, Aws::Vector< Aws::String > &&value)
Definition: Command.h:320
void SetDocumentName(const Aws::String &value)
Definition: Command.h:101
Command & WithParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String >> &value)
Definition: Command.h:290
void SetCloudWatchOutputConfig(const CloudWatchOutputConfig &value)
Definition: Command.h:1250
Command & AddParameters(Aws::String &&key, const Aws::Vector< Aws::String > &value)
Definition: Command.h:308
bool ExpiresAfterHasBeenSet() const
Definition: Command.h:231
Command & WithMaxConcurrency(const Aws::String &value)
Definition: Command.h:944
void SetOutputS3Region(const char *value)
Definition: Command.h:758
const Aws::String & GetCommandId() const
Definition: Command.h:50
bool OutputS3KeyPrefixHasBeenSet() const
Definition: Command.h:841
bool CommentHasBeenSet() const
Definition: Command.h:180
const Aws::String & GetOutputS3Region() const
Definition: Command.h:730
void SetInstanceIds(const Aws::Vector< Aws::String > &value)
Definition: Command.h:348
void SetStatusDetails(const char *value)
Definition: Command.h:638
void SetMaxConcurrency(Aws::String &&value)
Definition: Command.h:922
Command & WithServiceRole(Aws::String &&value)
Definition: Command.h:1194
void SetOutputS3KeyPrefix(Aws::String &&value)
Definition: Command.h:853
void SetMaxErrors(const char *value)
Definition: Command.h:1022
Command & WithOutputS3KeyPrefix(const char *value)
Definition: Command.h:877
void SetOutputS3KeyPrefix(const Aws::String &value)
Definition: Command.h:847
bool DeliveryTimedOutCountHasBeenSet() const
Definition: Command.h:1141
Command & AddInstanceIds(const Aws::String &value)
Definition: Command.h:368
const CommandStatus & GetStatus() const
Definition: Command.h:472
Command & WithNotificationConfig(NotificationConfig &&value)
Definition: Command.h:1231
void SetParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String >> &&value)
Definition: Command.h:284
void SetDocumentName(const char *value)
Definition: Command.h:111
const CloudWatchOutputConfig & GetCloudWatchOutputConfig() const
Definition: Command.h:1238
void SetExpiresAfter(const Aws::Utils::DateTime &value)
Definition: Command.h:238
Command & WithInstanceIds(const Aws::Vector< Aws::String > &value)
Definition: Command.h:358
void SetNotificationConfig(const NotificationConfig &value)
Definition: Command.h:1216
Command & WithMaxConcurrency(const char *value)
Definition: Command.h:966
Command & WithCloudWatchOutputConfig(const CloudWatchOutputConfig &value)
Definition: Command.h:1262
void SetOutputS3Region(const Aws::String &value)
Definition: Command.h:744
int GetCompletedCount() const
Definition: Command.h:1084
const Aws::Vector< Aws::String > & GetInstanceIds() const
Definition: Command.h:338
void SetComment(const char *value)
Definition: Command.h:198
Command & WithDocumentVersion(const Aws::String &value)
Definition: Command.h:157
Command & WithOutputS3KeyPrefix(const Aws::String &value)
Definition: Command.h:865
Command & AddParameters(const Aws::String &key, const Aws::Vector< Aws::String > &value)
Definition: Command.h:302
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Command & WithOutputS3BucketName(const Aws::String &value)
Definition: Command.h:816
bool StatusDetailsHasBeenSet() const
Definition: Command.h:554
void SetTargets(const Aws::Vector< Target > &value)
Definition: Command.h:400
void SetStatusDetails(const Aws::String &value)
Definition: Command.h:582
bool CloudWatchOutputConfigHasBeenSet() const
Definition: Command.h:1244
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
bool OutputS3BucketNameHasBeenSet() const
Definition: Command.h:792
const Aws::String & GetStatusDetails() const
Definition: Command.h:526
bool CommandIdHasBeenSet() const
Definition: Command.h:55
Command & WithMaxConcurrency(Aws::String &&value)
Definition: Command.h:955
bool ParametersHasBeenSet() const
Definition: Command.h:272
bool StatusHasBeenSet() const
Definition: Command.h:477
void SetTargetCount(int value)
Definition: Command.h:1071
void SetDocumentVersion(const Aws::String &value)
Definition: Command.h:142
int GetTargetCount() const
Definition: Command.h:1061
Command & WithDocumentName(const Aws::String &value)
Definition: Command.h:116
void SetCommandId(const Aws::String &value)
Definition: Command.h:60
Command & WithComment(Aws::String &&value)
Definition: Command.h:210
Command & WithErrorCount(int value)
Definition: Command.h:1130
void SetServiceRole(const char *value)
Definition: Command.h:1182
void SetCloudWatchOutputConfig(CloudWatchOutputConfig &&value)
Definition: Command.h:1256
int GetTimeoutSeconds() const
Definition: Command.h:1274
bool TargetsHasBeenSet() const
Definition: Command.h:393
Command & WithStatus(CommandStatus &&value)
Definition: Command.h:497
const Aws::String & GetMaxErrors() const
Definition: Command.h:978
void SetCommandId(Aws::String &&value)
Definition: Command.h:65
void SetComment(const Aws::String &value)
Definition: Command.h:186
Command & WithNotificationConfig(const NotificationConfig &value)
Definition: Command.h:1226
Command & WithComment(const Aws::String &value)
Definition: Command.h:204
Command & WithParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String >> &&value)
Definition: Command.h:296
void SetServiceRole(const Aws::String &value)
Definition: Command.h:1170
const Aws::Vector< Target > & GetTargets() const
Definition: Command.h:386
const Aws::Utils::DateTime & GetRequestedDateTime() const
Definition: Command.h:441
Command & WithStatusDetails(const Aws::String &value)
Definition: Command.h:666
void SetDocumentVersion(Aws::String &&value)
Definition: Command.h:147
void SetOutputS3Region(Aws::String &&value)
Definition: Command.h:751
Command & AddParameters(const char *key, const Aws::Vector< Aws::String > &value)
Definition: Command.h:332
Command & WithDeliveryTimedOutCount(int value)
Definition: Command.h:1151
bool OutputS3RegionHasBeenSet() const
Definition: Command.h:737
Command & WithTargetCount(int value)
Definition: Command.h:1076
void SetOutputS3BucketName(Aws::String &&value)
Definition: Command.h:804
Command & WithOutputS3BucketName(const char *value)
Definition: Command.h:828
Command & AddInstanceIds(Aws::String &&value)
Definition: Command.h:373
bool CompletedCountHasBeenSet() const
Definition: Command.h:1091
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String >> &value)
Definition: Command.h:278
void SetOutputS3BucketName(const Aws::String &value)
Definition: Command.h:798
void SetStatus(const CommandStatus &value)
Definition: Command.h:482
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
Definition: Command.h:266
Command & WithInstanceIds(Aws::Vector< Aws::String > &&value)
Definition: Command.h:363
Command & WithCommandId(const Aws::String &value)
Definition: Command.h:75
Command & WithMaxErrors(const char *value)
Definition: Command.h:1055
void SetMaxErrors(const Aws::String &value)
Definition: Command.h:1000
Command & WithComment(const char *value)
Definition: Command.h:216
Command & WithOutputS3KeyPrefix(Aws::String &&value)
Definition: Command.h:871
Command & WithCloudWatchOutputConfig(CloudWatchOutputConfig &&value)
Definition: Command.h:1268
void SetDocumentName(Aws::String &&value)
Definition: Command.h:106
Command & WithRequestedDateTime(const Aws::Utils::DateTime &value)
Definition: Command.h:461
Command & WithTargets(const Aws::Vector< Target > &value)
Definition: Command.h:414
void SetDocumentVersion(const char *value)
Definition: Command.h:152
void SetCommandId(const char *value)
Definition: Command.h:70
bool MaxConcurrencyHasBeenSet() const
Definition: Command.h:900
bool InstanceIdsHasBeenSet() const
Definition: Command.h:343
void SetNotificationConfig(NotificationConfig &&value)
Definition: Command.h:1221
Command & AddInstanceIds(const char *value)
Definition: Command.h:378
const Aws::Utils::DateTime & GetExpiresAfter() const
Definition: Command.h:224
void SetCompletedCount(int value)
Definition: Command.h:1098
bool NotificationConfigHasBeenSet() const
Definition: Command.h:1211
Command & WithDocumentName(const char *value)
Definition: Command.h:126
void SetOutputS3BucketName(const char *value)
Definition: Command.h:810
Command & WithServiceRole(const Aws::String &value)
Definition: Command.h:1188
void SetTimeoutSeconds(int value)
Definition: Command.h:1284
int GetDeliveryTimedOutCount() const
Definition: Command.h:1136
Command & AddTargets(Target &&value)
Definition: Command.h:435
const Aws::String & GetOutputS3KeyPrefix() const
Definition: Command.h:835
Command & WithRequestedDateTime(Aws::Utils::DateTime &&value)
Definition: Command.h:466
bool ErrorCountHasBeenSet() const
Definition: Command.h:1118
Command & WithCommandId(const char *value)
Definition: Command.h:85
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Command & WithDocumentVersion(const char *value)
Definition: Command.h:167
Command & WithMaxErrors(const Aws::String &value)
Definition: Command.h:1033
Command & WithStatusDetails(Aws::String &&value)
Definition: Command.h:694
Command & WithExpiresAfter(const Aws::Utils::DateTime &value)
Definition: Command.h:252
void SetMaxErrors(Aws::String &&value)
Definition: Command.h:1011
const Aws::String & GetDocumentName() const
Definition: Command.h:91
Command & WithStatus(const CommandStatus &value)
Definition: Command.h:492
Command & WithTargets(Aws::Vector< Target > &&value)
Definition: Command.h:421
bool ServiceRoleHasBeenSet() const
Definition: Command.h:1164
bool DocumentVersionHasBeenSet() const
Definition: Command.h:137
const Aws::String & GetServiceRole() const
Definition: Command.h:1158
void SetExpiresAfter(Aws::Utils::DateTime &&value)
Definition: Command.h:245
void SetDeliveryTimedOutCount(int value)
Definition: Command.h:1146
bool TargetCountHasBeenSet() const
Definition: Command.h:1066
Command & WithOutputS3Region(Aws::String &&value)
Definition: Command.h:772
void SetTargets(Aws::Vector< Target > &&value)
Definition: Command.h:407
Command & WithOutputS3Region(const Aws::String &value)
Definition: Command.h:765
void SetStatus(CommandStatus &&value)
Definition: Command.h:487
Command & WithMaxErrors(Aws::String &&value)
Definition: Command.h:1044
Command & AddParameters(const Aws::String &key, Aws::Vector< Aws::String > &&value)
Definition: Command.h:314
const Aws::String & GetOutputS3BucketName() const
Definition: Command.h:786
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Command & WithExpiresAfter(Aws::Utils::DateTime &&value)
Definition: Command.h:259
void SetOutputS3KeyPrefix(const char *value)
Definition: Command.h:859
void SetComment(Aws::String &&value)
Definition: Command.h:192
Command & WithOutputS3BucketName(Aws::String &&value)
Definition: Command.h:822
Command & WithCommandId(Aws::String &&value)
Definition: Command.h:80
void SetStatusDetails(Aws::String &&value)
Definition: Command.h:610
bool MaxErrorsHasBeenSet() const
Definition: Command.h:989
void SetRequestedDateTime(const Aws::Utils::DateTime &value)
Definition: Command.h:451
Command & WithCompletedCount(int value)
Definition: Command.h:1105
int GetErrorCount() const
Definition: Command.h:1112
bool DocumentNameHasBeenSet() const
Definition: Command.h:96
void SetErrorCount(int value)
Definition: Command.h:1124
const Aws::String & GetComment() const
Definition: Command.h:174
const Aws::String & GetDocumentVersion() const
Definition: Command.h:132
const NotificationConfig & GetNotificationConfig() const
Definition: Command.h:1206
Command & AddTargets(const Target &value)
Definition: Command.h:428
void SetServiceRole(Aws::String &&value)
Definition: Command.h:1176
Command & WithServiceRole(const char *value)
Definition: Command.h:1200
Command & WithOutputS3Region(const char *value)
Definition: Command.h:779
const Aws::String & GetMaxConcurrency() const
Definition: Command.h:889