AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendCommandRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ssm/model/DocumentHashType.h>
12#include <aws/core/utils/memory/stl/AWSMap.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 <utility>
18
19namespace Aws
20{
21namespace SSM
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_SSM_API SendCommandRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "SendCommand"; }
38
39 AWS_SSM_API Aws::String SerializePayload() const override;
40
42
43
45
58 inline const Aws::Vector<Aws::String>& GetInstanceIds() const{ return m_instanceIds; }
59 inline bool InstanceIdsHasBeenSet() const { return m_instanceIdsHasBeenSet; }
60 inline void SetInstanceIds(const Aws::Vector<Aws::String>& value) { m_instanceIdsHasBeenSet = true; m_instanceIds = value; }
61 inline void SetInstanceIds(Aws::Vector<Aws::String>&& value) { m_instanceIdsHasBeenSet = true; m_instanceIds = std::move(value); }
62 inline SendCommandRequest& WithInstanceIds(const Aws::Vector<Aws::String>& value) { SetInstanceIds(value); return *this;}
63 inline SendCommandRequest& WithInstanceIds(Aws::Vector<Aws::String>&& value) { SetInstanceIds(std::move(value)); return *this;}
64 inline SendCommandRequest& AddInstanceIds(const Aws::String& value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(value); return *this; }
65 inline SendCommandRequest& AddInstanceIds(Aws::String&& value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(std::move(value)); return *this; }
66 inline SendCommandRequest& AddInstanceIds(const char* value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(value); return *this; }
68
70
83 inline const Aws::Vector<Target>& GetTargets() const{ return m_targets; }
84 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
85 inline void SetTargets(const Aws::Vector<Target>& value) { m_targetsHasBeenSet = true; m_targets = value; }
86 inline void SetTargets(Aws::Vector<Target>&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
87 inline SendCommandRequest& WithTargets(const Aws::Vector<Target>& value) { SetTargets(value); return *this;}
88 inline SendCommandRequest& WithTargets(Aws::Vector<Target>&& value) { SetTargets(std::move(value)); return *this;}
89 inline SendCommandRequest& AddTargets(const Target& value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; }
90 inline SendCommandRequest& AddTargets(Target&& value) { m_targetsHasBeenSet = true; m_targets.push_back(std::move(value)); return *this; }
92
94
105 inline const Aws::String& GetDocumentName() const{ return m_documentName; }
106 inline bool DocumentNameHasBeenSet() const { return m_documentNameHasBeenSet; }
107 inline void SetDocumentName(const Aws::String& value) { m_documentNameHasBeenSet = true; m_documentName = value; }
108 inline void SetDocumentName(Aws::String&& value) { m_documentNameHasBeenSet = true; m_documentName = std::move(value); }
109 inline void SetDocumentName(const char* value) { m_documentNameHasBeenSet = true; m_documentName.assign(value); }
110 inline SendCommandRequest& WithDocumentName(const Aws::String& value) { SetDocumentName(value); return *this;}
111 inline SendCommandRequest& WithDocumentName(Aws::String&& value) { SetDocumentName(std::move(value)); return *this;}
112 inline SendCommandRequest& WithDocumentName(const char* value) { SetDocumentName(value); return *this;}
114
116
125 inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; }
126 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
127 inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; }
128 inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); }
129 inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); }
130 inline SendCommandRequest& WithDocumentVersion(const Aws::String& value) { SetDocumentVersion(value); return *this;}
131 inline SendCommandRequest& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;}
132 inline SendCommandRequest& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;}
134
136
140 inline const Aws::String& GetDocumentHash() const{ return m_documentHash; }
141 inline bool DocumentHashHasBeenSet() const { return m_documentHashHasBeenSet; }
142 inline void SetDocumentHash(const Aws::String& value) { m_documentHashHasBeenSet = true; m_documentHash = value; }
143 inline void SetDocumentHash(Aws::String&& value) { m_documentHashHasBeenSet = true; m_documentHash = std::move(value); }
144 inline void SetDocumentHash(const char* value) { m_documentHashHasBeenSet = true; m_documentHash.assign(value); }
145 inline SendCommandRequest& WithDocumentHash(const Aws::String& value) { SetDocumentHash(value); return *this;}
146 inline SendCommandRequest& WithDocumentHash(Aws::String&& value) { SetDocumentHash(std::move(value)); return *this;}
147 inline SendCommandRequest& WithDocumentHash(const char* value) { SetDocumentHash(value); return *this;}
149
151
154 inline const DocumentHashType& GetDocumentHashType() const{ return m_documentHashType; }
155 inline bool DocumentHashTypeHasBeenSet() const { return m_documentHashTypeHasBeenSet; }
156 inline void SetDocumentHashType(const DocumentHashType& value) { m_documentHashTypeHasBeenSet = true; m_documentHashType = value; }
157 inline void SetDocumentHashType(DocumentHashType&& value) { m_documentHashTypeHasBeenSet = true; m_documentHashType = std::move(value); }
159 inline SendCommandRequest& WithDocumentHashType(DocumentHashType&& value) { SetDocumentHashType(std::move(value)); return *this;}
161
163
167 inline int GetTimeoutSeconds() const{ return m_timeoutSeconds; }
168 inline bool TimeoutSecondsHasBeenSet() const { return m_timeoutSecondsHasBeenSet; }
169 inline void SetTimeoutSeconds(int value) { m_timeoutSecondsHasBeenSet = true; m_timeoutSeconds = value; }
170 inline SendCommandRequest& WithTimeoutSeconds(int value) { SetTimeoutSeconds(value); return *this;}
172
174
178 inline const Aws::String& GetComment() const{ return m_comment; }
179 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
180 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
181 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
182 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
183 inline SendCommandRequest& WithComment(const Aws::String& value) { SetComment(value); return *this;}
184 inline SendCommandRequest& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
185 inline SendCommandRequest& WithComment(const char* value) { SetComment(value); return *this;}
187
189
192 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetParameters() const{ return m_parameters; }
193 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
194 inline void SetParameters(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
195 inline void SetParameters(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
198 inline SendCommandRequest& AddParameters(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
199 inline SendCommandRequest& AddParameters(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
200 inline SendCommandRequest& AddParameters(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
201 inline SendCommandRequest& AddParameters(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
202 inline SendCommandRequest& AddParameters(const char* key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
203 inline SendCommandRequest& AddParameters(const char* key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
205
207
212 inline const Aws::String& GetOutputS3Region() const{ return m_outputS3Region; }
213 inline bool OutputS3RegionHasBeenSet() const { return m_outputS3RegionHasBeenSet; }
214 inline void SetOutputS3Region(const Aws::String& value) { m_outputS3RegionHasBeenSet = true; m_outputS3Region = value; }
215 inline void SetOutputS3Region(Aws::String&& value) { m_outputS3RegionHasBeenSet = true; m_outputS3Region = std::move(value); }
216 inline void SetOutputS3Region(const char* value) { m_outputS3RegionHasBeenSet = true; m_outputS3Region.assign(value); }
217 inline SendCommandRequest& WithOutputS3Region(const Aws::String& value) { SetOutputS3Region(value); return *this;}
218 inline SendCommandRequest& WithOutputS3Region(Aws::String&& value) { SetOutputS3Region(std::move(value)); return *this;}
219 inline SendCommandRequest& WithOutputS3Region(const char* value) { SetOutputS3Region(value); return *this;}
221
223
227 inline const Aws::String& GetOutputS3BucketName() const{ return m_outputS3BucketName; }
228 inline bool OutputS3BucketNameHasBeenSet() const { return m_outputS3BucketNameHasBeenSet; }
229 inline void SetOutputS3BucketName(const Aws::String& value) { m_outputS3BucketNameHasBeenSet = true; m_outputS3BucketName = value; }
230 inline void SetOutputS3BucketName(Aws::String&& value) { m_outputS3BucketNameHasBeenSet = true; m_outputS3BucketName = std::move(value); }
231 inline void SetOutputS3BucketName(const char* value) { m_outputS3BucketNameHasBeenSet = true; m_outputS3BucketName.assign(value); }
232 inline SendCommandRequest& WithOutputS3BucketName(const Aws::String& value) { SetOutputS3BucketName(value); return *this;}
233 inline SendCommandRequest& WithOutputS3BucketName(Aws::String&& value) { SetOutputS3BucketName(std::move(value)); return *this;}
234 inline SendCommandRequest& WithOutputS3BucketName(const char* value) { SetOutputS3BucketName(value); return *this;}
236
238
242 inline const Aws::String& GetOutputS3KeyPrefix() const{ return m_outputS3KeyPrefix; }
243 inline bool OutputS3KeyPrefixHasBeenSet() const { return m_outputS3KeyPrefixHasBeenSet; }
244 inline void SetOutputS3KeyPrefix(const Aws::String& value) { m_outputS3KeyPrefixHasBeenSet = true; m_outputS3KeyPrefix = value; }
245 inline void SetOutputS3KeyPrefix(Aws::String&& value) { m_outputS3KeyPrefixHasBeenSet = true; m_outputS3KeyPrefix = std::move(value); }
246 inline void SetOutputS3KeyPrefix(const char* value) { m_outputS3KeyPrefixHasBeenSet = true; m_outputS3KeyPrefix.assign(value); }
247 inline SendCommandRequest& WithOutputS3KeyPrefix(const Aws::String& value) { SetOutputS3KeyPrefix(value); return *this;}
248 inline SendCommandRequest& WithOutputS3KeyPrefix(Aws::String&& value) { SetOutputS3KeyPrefix(std::move(value)); return *this;}
249 inline SendCommandRequest& WithOutputS3KeyPrefix(const char* value) { SetOutputS3KeyPrefix(value); return *this;}
251
253
262 inline const Aws::String& GetMaxConcurrency() const{ return m_maxConcurrency; }
263 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
264 inline void SetMaxConcurrency(const Aws::String& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = value; }
265 inline void SetMaxConcurrency(Aws::String&& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = std::move(value); }
266 inline void SetMaxConcurrency(const char* value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency.assign(value); }
267 inline SendCommandRequest& WithMaxConcurrency(const Aws::String& value) { SetMaxConcurrency(value); return *this;}
268 inline SendCommandRequest& WithMaxConcurrency(Aws::String&& value) { SetMaxConcurrency(std::move(value)); return *this;}
269 inline SendCommandRequest& WithMaxConcurrency(const char* value) { SetMaxConcurrency(value); return *this;}
271
273
283 inline const Aws::String& GetMaxErrors() const{ return m_maxErrors; }
284 inline bool MaxErrorsHasBeenSet() const { return m_maxErrorsHasBeenSet; }
285 inline void SetMaxErrors(const Aws::String& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = value; }
286 inline void SetMaxErrors(Aws::String&& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = std::move(value); }
287 inline void SetMaxErrors(const char* value) { m_maxErrorsHasBeenSet = true; m_maxErrors.assign(value); }
288 inline SendCommandRequest& WithMaxErrors(const Aws::String& value) { SetMaxErrors(value); return *this;}
289 inline SendCommandRequest& WithMaxErrors(Aws::String&& value) { SetMaxErrors(std::move(value)); return *this;}
290 inline SendCommandRequest& WithMaxErrors(const char* value) { SetMaxErrors(value); return *this;}
292
294
304 inline const Aws::String& GetServiceRoleArn() const{ return m_serviceRoleArn; }
305 inline bool ServiceRoleArnHasBeenSet() const { return m_serviceRoleArnHasBeenSet; }
306 inline void SetServiceRoleArn(const Aws::String& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = value; }
307 inline void SetServiceRoleArn(Aws::String&& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = std::move(value); }
308 inline void SetServiceRoleArn(const char* value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn.assign(value); }
309 inline SendCommandRequest& WithServiceRoleArn(const Aws::String& value) { SetServiceRoleArn(value); return *this;}
310 inline SendCommandRequest& WithServiceRoleArn(Aws::String&& value) { SetServiceRoleArn(std::move(value)); return *this;}
311 inline SendCommandRequest& WithServiceRoleArn(const char* value) { SetServiceRoleArn(value); return *this;}
313
315
318 inline const NotificationConfig& GetNotificationConfig() const{ return m_notificationConfig; }
319 inline bool NotificationConfigHasBeenSet() const { return m_notificationConfigHasBeenSet; }
320 inline void SetNotificationConfig(const NotificationConfig& value) { m_notificationConfigHasBeenSet = true; m_notificationConfig = value; }
321 inline void SetNotificationConfig(NotificationConfig&& value) { m_notificationConfigHasBeenSet = true; m_notificationConfig = std::move(value); }
323 inline SendCommandRequest& WithNotificationConfig(NotificationConfig&& value) { SetNotificationConfig(std::move(value)); return *this;}
325
327
332 inline const CloudWatchOutputConfig& GetCloudWatchOutputConfig() const{ return m_cloudWatchOutputConfig; }
333 inline bool CloudWatchOutputConfigHasBeenSet() const { return m_cloudWatchOutputConfigHasBeenSet; }
334 inline void SetCloudWatchOutputConfig(const CloudWatchOutputConfig& value) { m_cloudWatchOutputConfigHasBeenSet = true; m_cloudWatchOutputConfig = value; }
335 inline void SetCloudWatchOutputConfig(CloudWatchOutputConfig&& value) { m_cloudWatchOutputConfigHasBeenSet = true; m_cloudWatchOutputConfig = std::move(value); }
339
341
344 inline const AlarmConfiguration& GetAlarmConfiguration() const{ return m_alarmConfiguration; }
345 inline bool AlarmConfigurationHasBeenSet() const { return m_alarmConfigurationHasBeenSet; }
346 inline void SetAlarmConfiguration(const AlarmConfiguration& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = value; }
347 inline void SetAlarmConfiguration(AlarmConfiguration&& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = std::move(value); }
349 inline SendCommandRequest& WithAlarmConfiguration(AlarmConfiguration&& value) { SetAlarmConfiguration(std::move(value)); return *this;}
351 private:
352
353 Aws::Vector<Aws::String> m_instanceIds;
354 bool m_instanceIdsHasBeenSet = false;
355
356 Aws::Vector<Target> m_targets;
357 bool m_targetsHasBeenSet = false;
358
359 Aws::String m_documentName;
360 bool m_documentNameHasBeenSet = false;
361
362 Aws::String m_documentVersion;
363 bool m_documentVersionHasBeenSet = false;
364
365 Aws::String m_documentHash;
366 bool m_documentHashHasBeenSet = false;
367
368 DocumentHashType m_documentHashType;
369 bool m_documentHashTypeHasBeenSet = false;
370
371 int m_timeoutSeconds;
372 bool m_timeoutSecondsHasBeenSet = false;
373
374 Aws::String m_comment;
375 bool m_commentHasBeenSet = false;
376
378 bool m_parametersHasBeenSet = false;
379
380 Aws::String m_outputS3Region;
381 bool m_outputS3RegionHasBeenSet = false;
382
383 Aws::String m_outputS3BucketName;
384 bool m_outputS3BucketNameHasBeenSet = false;
385
386 Aws::String m_outputS3KeyPrefix;
387 bool m_outputS3KeyPrefixHasBeenSet = false;
388
389 Aws::String m_maxConcurrency;
390 bool m_maxConcurrencyHasBeenSet = false;
391
392 Aws::String m_maxErrors;
393 bool m_maxErrorsHasBeenSet = false;
394
395 Aws::String m_serviceRoleArn;
396 bool m_serviceRoleArnHasBeenSet = false;
397
398 NotificationConfig m_notificationConfig;
399 bool m_notificationConfigHasBeenSet = false;
400
401 CloudWatchOutputConfig m_cloudWatchOutputConfig;
402 bool m_cloudWatchOutputConfigHasBeenSet = false;
403
404 AlarmConfiguration m_alarmConfiguration;
405 bool m_alarmConfigurationHasBeenSet = false;
406 };
407
408} // namespace Model
409} // namespace SSM
410} // namespace Aws
SendCommandRequest & WithMaxErrors(const Aws::String &value)
void SetDocumentHashType(const DocumentHashType &value)
SendCommandRequest & WithOutputS3Region(Aws::String &&value)
SendCommandRequest & WithDocumentHash(const Aws::String &value)
SendCommandRequest & WithCloudWatchOutputConfig(const CloudWatchOutputConfig &value)
SendCommandRequest & WithMaxConcurrency(Aws::String &&value)
SendCommandRequest & WithMaxErrors(Aws::String &&value)
SendCommandRequest & WithDocumentName(Aws::String &&value)
SendCommandRequest & WithTargets(Aws::Vector< Target > &&value)
SendCommandRequest & WithDocumentVersion(const Aws::String &value)
void SetOutputS3KeyPrefix(const Aws::String &value)
SendCommandRequest & WithAlarmConfiguration(const AlarmConfiguration &value)
SendCommandRequest & WithParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
SendCommandRequest & AddInstanceIds(const char *value)
void SetDocumentHash(Aws::String &&value)
SendCommandRequest & AddParameters(const Aws::String &key, Aws::Vector< Aws::String > &&value)
void SetAlarmConfiguration(const AlarmConfiguration &value)
void SetOutputS3Region(const Aws::String &value)
void SetServiceRoleArn(const Aws::String &value)
SendCommandRequest & WithServiceRoleArn(const char *value)
SendCommandRequest & WithInstanceIds(Aws::Vector< Aws::String > &&value)
void SetNotificationConfig(NotificationConfig &&value)
void SetOutputS3BucketName(Aws::String &&value)
SendCommandRequest & WithDocumentName(const char *value)
void SetOutputS3KeyPrefix(const char *value)
const Aws::String & GetServiceRoleArn() const
SendCommandRequest & WithDocumentName(const Aws::String &value)
SendCommandRequest & WithTargets(const Aws::Vector< Target > &value)
void SetComment(const Aws::String &value)
void SetMaxConcurrency(const char *value)
SendCommandRequest & WithOutputS3Region(const char *value)
const Aws::Vector< Target > & GetTargets() const
const Aws::String & GetOutputS3Region() const
void SetDocumentName(Aws::String &&value)
SendCommandRequest & WithComment(const Aws::String &value)
SendCommandRequest & WithOutputS3KeyPrefix(const char *value)
const AlarmConfiguration & GetAlarmConfiguration() const
SendCommandRequest & WithComment(const char *value)
SendCommandRequest & WithServiceRoleArn(const Aws::String &value)
SendCommandRequest & AddTargets(Target &&value)
SendCommandRequest & WithComment(Aws::String &&value)
SendCommandRequest & WithOutputS3BucketName(const char *value)
const Aws::String & GetOutputS3KeyPrefix() const
const Aws::String & GetComment() const
void SetDocumentVersion(const char *value)
SendCommandRequest & WithAlarmConfiguration(AlarmConfiguration &&value)
const Aws::String & GetMaxErrors() const
void SetServiceRoleArn(const char *value)
void SetCloudWatchOutputConfig(const CloudWatchOutputConfig &value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
void SetTargets(const Aws::Vector< Target > &value)
void SetDocumentVersion(const Aws::String &value)
void SetInstanceIds(const Aws::Vector< Aws::String > &value)
void SetDocumentName(const Aws::String &value)
SendCommandRequest & WithOutputS3BucketName(Aws::String &&value)
SendCommandRequest & AddParameters(const Aws::String &key, const Aws::Vector< Aws::String > &value)
void SetDocumentHash(const Aws::String &value)
SendCommandRequest & WithOutputS3Region(const Aws::String &value)
SendCommandRequest & WithNotificationConfig(const NotificationConfig &value)
SendCommandRequest & WithTimeoutSeconds(int value)
const NotificationConfig & GetNotificationConfig() const
SendCommandRequest & WithDocumentVersion(Aws::String &&value)
void SetOutputS3Region(Aws::String &&value)
SendCommandRequest & WithServiceRoleArn(Aws::String &&value)
void SetCloudWatchOutputConfig(CloudWatchOutputConfig &&value)
SendCommandRequest & WithDocumentHashType(DocumentHashType &&value)
SendCommandRequest & WithCloudWatchOutputConfig(CloudWatchOutputConfig &&value)
const Aws::String & GetDocumentName() const
void SetInstanceIds(Aws::Vector< Aws::String > &&value)
SendCommandRequest & WithDocumentHashType(const DocumentHashType &value)
void SetNotificationConfig(const NotificationConfig &value)
void SetOutputS3Region(const char *value)
const Aws::String & GetMaxConcurrency() const
AWS_SSM_API Aws::String SerializePayload() const override
void SetAlarmConfiguration(AlarmConfiguration &&value)
SendCommandRequest & WithDocumentHash(Aws::String &&value)
const Aws::String & GetDocumentHash() const
SendCommandRequest & AddInstanceIds(const Aws::String &value)
void SetTargets(Aws::Vector< Target > &&value)
const DocumentHashType & GetDocumentHashType() const
SendCommandRequest & WithDocumentHash(const char *value)
void SetMaxConcurrency(Aws::String &&value)
void SetServiceRoleArn(Aws::String &&value)
SendCommandRequest & WithOutputS3KeyPrefix(const Aws::String &value)
SendCommandRequest & AddInstanceIds(Aws::String &&value)
void SetOutputS3KeyPrefix(Aws::String &&value)
void SetMaxErrors(Aws::String &&value)
SendCommandRequest & AddParameters(Aws::String &&key, const Aws::Vector< Aws::String > &value)
void SetParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
const Aws::String & GetDocumentVersion() const
SendCommandRequest & AddParameters(const char *key, const Aws::Vector< Aws::String > &value)
SendCommandRequest & WithMaxConcurrency(const Aws::String &value)
const Aws::Vector< Aws::String > & GetInstanceIds() const
void SetMaxConcurrency(const Aws::String &value)
SendCommandRequest & WithDocumentVersion(const char *value)
const CloudWatchOutputConfig & GetCloudWatchOutputConfig() const
SendCommandRequest & WithOutputS3KeyPrefix(Aws::String &&value)
void SetDocumentVersion(Aws::String &&value)
void SetMaxErrors(const Aws::String &value)
const Aws::String & GetOutputS3BucketName() const
void SetDocumentHashType(DocumentHashType &&value)
SendCommandRequest & AddTargets(const Target &value)
SendCommandRequest & WithNotificationConfig(NotificationConfig &&value)
SendCommandRequest & WithMaxConcurrency(const char *value)
virtual const char * GetServiceRequestName() const override
void SetOutputS3BucketName(const Aws::String &value)
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetOutputS3BucketName(const char *value)
SendCommandRequest & WithMaxErrors(const char *value)
SendCommandRequest & AddParameters(Aws::String &&key, Aws::Vector< Aws::String > &&value)
SendCommandRequest & WithInstanceIds(const Aws::Vector< Aws::String > &value)
SendCommandRequest & WithParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
SendCommandRequest & AddParameters(const char *key, Aws::Vector< Aws::String > &&value)
SendCommandRequest & WithOutputS3BucketName(const Aws::String &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