AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RunTaskRequest.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/ECSRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ecs/model/LaunchType.h>
12#include <aws/ecs/model/NetworkConfiguration.h>
13#include <aws/ecs/model/TaskOverride.h>
14#include <aws/ecs/model/PropagateTags.h>
15#include <aws/ecs/model/CapacityProviderStrategyItem.h>
16#include <aws/ecs/model/PlacementConstraint.h>
17#include <aws/ecs/model/PlacementStrategy.h>
18#include <aws/ecs/model/Tag.h>
19#include <aws/ecs/model/TaskVolumeConfiguration.h>
20#include <utility>
21#include <aws/core/utils/UUID.h>
22
23namespace Aws
24{
25namespace ECS
26{
27namespace Model
28{
29
33 {
34 public:
35 AWS_ECS_API RunTaskRequest();
36
37 // Service request name is the Operation name which will send this request out,
38 // each operation should has unique request name, so that we can get operation's name from this request.
39 // Note: this is not true for response, multiple operations may have the same response name,
40 // so we can not get operation's name from response.
41 inline virtual const char* GetServiceRequestName() const override { return "RunTask"; }
42
43 AWS_ECS_API Aws::String SerializePayload() const override;
44
46
47
49
59 inline const Aws::Vector<CapacityProviderStrategyItem>& GetCapacityProviderStrategy() const{ return m_capacityProviderStrategy; }
60 inline bool CapacityProviderStrategyHasBeenSet() const { return m_capacityProviderStrategyHasBeenSet; }
61 inline void SetCapacityProviderStrategy(const Aws::Vector<CapacityProviderStrategyItem>& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = value; }
62 inline void SetCapacityProviderStrategy(Aws::Vector<CapacityProviderStrategyItem>&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = std::move(value); }
65 inline RunTaskRequest& AddCapacityProviderStrategy(const CapacityProviderStrategyItem& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(value); return *this; }
66 inline RunTaskRequest& AddCapacityProviderStrategy(CapacityProviderStrategyItem&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(std::move(value)); return *this; }
68
70
74 inline const Aws::String& GetCluster() const{ return m_cluster; }
75 inline bool ClusterHasBeenSet() const { return m_clusterHasBeenSet; }
76 inline void SetCluster(const Aws::String& value) { m_clusterHasBeenSet = true; m_cluster = value; }
77 inline void SetCluster(Aws::String&& value) { m_clusterHasBeenSet = true; m_cluster = std::move(value); }
78 inline void SetCluster(const char* value) { m_clusterHasBeenSet = true; m_cluster.assign(value); }
79 inline RunTaskRequest& WithCluster(const Aws::String& value) { SetCluster(value); return *this;}
80 inline RunTaskRequest& WithCluster(Aws::String&& value) { SetCluster(std::move(value)); return *this;}
81 inline RunTaskRequest& WithCluster(const char* value) { SetCluster(value); return *this;}
83
85
89 inline int GetCount() const{ return m_count; }
90 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
91 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
92 inline RunTaskRequest& WithCount(int value) { SetCount(value); return *this;}
94
96
103 inline bool GetEnableECSManagedTags() const{ return m_enableECSManagedTags; }
104 inline bool EnableECSManagedTagsHasBeenSet() const { return m_enableECSManagedTagsHasBeenSet; }
105 inline void SetEnableECSManagedTags(bool value) { m_enableECSManagedTagsHasBeenSet = true; m_enableECSManagedTags = value; }
106 inline RunTaskRequest& WithEnableECSManagedTags(bool value) { SetEnableECSManagedTags(value); return *this;}
108
110
117 inline bool GetEnableExecuteCommand() const{ return m_enableExecuteCommand; }
118 inline bool EnableExecuteCommandHasBeenSet() const { return m_enableExecuteCommandHasBeenSet; }
119 inline void SetEnableExecuteCommand(bool value) { m_enableExecuteCommandHasBeenSet = true; m_enableExecuteCommand = value; }
120 inline RunTaskRequest& WithEnableExecuteCommand(bool value) { SetEnableExecuteCommand(value); return *this;}
122
124
129 inline const Aws::String& GetGroup() const{ return m_group; }
130 inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
131 inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; }
132 inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); }
133 inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); }
134 inline RunTaskRequest& WithGroup(const Aws::String& value) { SetGroup(value); return *this;}
135 inline RunTaskRequest& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;}
136 inline RunTaskRequest& WithGroup(const char* value) { SetGroup(value); return *this;}
138
140
160 inline const LaunchType& GetLaunchType() const{ return m_launchType; }
161 inline bool LaunchTypeHasBeenSet() const { return m_launchTypeHasBeenSet; }
162 inline void SetLaunchType(const LaunchType& value) { m_launchTypeHasBeenSet = true; m_launchType = value; }
163 inline void SetLaunchType(LaunchType&& value) { m_launchTypeHasBeenSet = true; m_launchType = std::move(value); }
164 inline RunTaskRequest& WithLaunchType(const LaunchType& value) { SetLaunchType(value); return *this;}
165 inline RunTaskRequest& WithLaunchType(LaunchType&& value) { SetLaunchType(std::move(value)); return *this;}
167
169
178 inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; }
179 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
180 inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; }
181 inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); }
183 inline RunTaskRequest& WithNetworkConfiguration(NetworkConfiguration&& value) { SetNetworkConfiguration(std::move(value)); return *this;}
185
187
198 inline const TaskOverride& GetOverrides() const{ return m_overrides; }
199 inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
200 inline void SetOverrides(const TaskOverride& value) { m_overridesHasBeenSet = true; m_overrides = value; }
201 inline void SetOverrides(TaskOverride&& value) { m_overridesHasBeenSet = true; m_overrides = std::move(value); }
202 inline RunTaskRequest& WithOverrides(const TaskOverride& value) { SetOverrides(value); return *this;}
203 inline RunTaskRequest& WithOverrides(TaskOverride&& value) { SetOverrides(std::move(value)); return *this;}
205
207
212 inline const Aws::Vector<PlacementConstraint>& GetPlacementConstraints() const{ return m_placementConstraints; }
213 inline bool PlacementConstraintsHasBeenSet() const { return m_placementConstraintsHasBeenSet; }
214 inline void SetPlacementConstraints(const Aws::Vector<PlacementConstraint>& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = value; }
215 inline void SetPlacementConstraints(Aws::Vector<PlacementConstraint>&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = std::move(value); }
218 inline RunTaskRequest& AddPlacementConstraints(const PlacementConstraint& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(value); return *this; }
219 inline RunTaskRequest& AddPlacementConstraints(PlacementConstraint&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(std::move(value)); return *this; }
221
223
227 inline const Aws::Vector<PlacementStrategy>& GetPlacementStrategy() const{ return m_placementStrategy; }
228 inline bool PlacementStrategyHasBeenSet() const { return m_placementStrategyHasBeenSet; }
229 inline void SetPlacementStrategy(const Aws::Vector<PlacementStrategy>& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy = value; }
230 inline void SetPlacementStrategy(Aws::Vector<PlacementStrategy>&& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy = std::move(value); }
233 inline RunTaskRequest& AddPlacementStrategy(const PlacementStrategy& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy.push_back(value); return *this; }
234 inline RunTaskRequest& AddPlacementStrategy(PlacementStrategy&& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy.push_back(std::move(value)); return *this; }
236
238
246 inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; }
247 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
248 inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; }
249 inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); }
250 inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); }
251 inline RunTaskRequest& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;}
252 inline RunTaskRequest& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;}
253 inline RunTaskRequest& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;}
255
257
266 inline const PropagateTags& GetPropagateTags() const{ return m_propagateTags; }
267 inline bool PropagateTagsHasBeenSet() const { return m_propagateTagsHasBeenSet; }
268 inline void SetPropagateTags(const PropagateTags& value) { m_propagateTagsHasBeenSet = true; m_propagateTags = value; }
269 inline void SetPropagateTags(PropagateTags&& value) { m_propagateTagsHasBeenSet = true; m_propagateTags = std::move(value); }
270 inline RunTaskRequest& WithPropagateTags(const PropagateTags& value) { SetPropagateTags(value); return *this;}
271 inline RunTaskRequest& WithPropagateTags(PropagateTags&& value) { SetPropagateTags(std::move(value)); return *this;}
273
275
279 inline const Aws::String& GetReferenceId() const{ return m_referenceId; }
280 inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
281 inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
282 inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); }
283 inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); }
284 inline RunTaskRequest& WithReferenceId(const Aws::String& value) { SetReferenceId(value); return *this;}
285 inline RunTaskRequest& WithReferenceId(Aws::String&& value) { SetReferenceId(std::move(value)); return *this;}
286 inline RunTaskRequest& WithReferenceId(const char* value) { SetReferenceId(value); return *this;}
288
290
303 inline const Aws::String& GetStartedBy() const{ return m_startedBy; }
304 inline bool StartedByHasBeenSet() const { return m_startedByHasBeenSet; }
305 inline void SetStartedBy(const Aws::String& value) { m_startedByHasBeenSet = true; m_startedBy = value; }
306 inline void SetStartedBy(Aws::String&& value) { m_startedByHasBeenSet = true; m_startedBy = std::move(value); }
307 inline void SetStartedBy(const char* value) { m_startedByHasBeenSet = true; m_startedBy.assign(value); }
308 inline RunTaskRequest& WithStartedBy(const Aws::String& value) { SetStartedBy(value); return *this;}
309 inline RunTaskRequest& WithStartedBy(Aws::String&& value) { SetStartedBy(std::move(value)); return *this;}
310 inline RunTaskRequest& WithStartedBy(const char* value) { SetStartedBy(value); return *this;}
312
314
332 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
333 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
334 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
335 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
336 inline RunTaskRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
337 inline RunTaskRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
338 inline RunTaskRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
339 inline RunTaskRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
341
343
361 inline const Aws::String& GetTaskDefinition() const{ return m_taskDefinition; }
362 inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; }
363 inline void SetTaskDefinition(const Aws::String& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = value; }
364 inline void SetTaskDefinition(Aws::String&& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = std::move(value); }
365 inline void SetTaskDefinition(const char* value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition.assign(value); }
366 inline RunTaskRequest& WithTaskDefinition(const Aws::String& value) { SetTaskDefinition(value); return *this;}
367 inline RunTaskRequest& WithTaskDefinition(Aws::String&& value) { SetTaskDefinition(std::move(value)); return *this;}
368 inline RunTaskRequest& WithTaskDefinition(const char* value) { SetTaskDefinition(value); return *this;}
370
372
380 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
381 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
382 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
383 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
384 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
385 inline RunTaskRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
386 inline RunTaskRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
387 inline RunTaskRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
389
391
399 inline const Aws::Vector<TaskVolumeConfiguration>& GetVolumeConfigurations() const{ return m_volumeConfigurations; }
400 inline bool VolumeConfigurationsHasBeenSet() const { return m_volumeConfigurationsHasBeenSet; }
401 inline void SetVolumeConfigurations(const Aws::Vector<TaskVolumeConfiguration>& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations = value; }
402 inline void SetVolumeConfigurations(Aws::Vector<TaskVolumeConfiguration>&& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations = std::move(value); }
405 inline RunTaskRequest& AddVolumeConfigurations(const TaskVolumeConfiguration& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations.push_back(value); return *this; }
406 inline RunTaskRequest& AddVolumeConfigurations(TaskVolumeConfiguration&& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations.push_back(std::move(value)); return *this; }
408 private:
409
410 Aws::Vector<CapacityProviderStrategyItem> m_capacityProviderStrategy;
411 bool m_capacityProviderStrategyHasBeenSet = false;
412
413 Aws::String m_cluster;
414 bool m_clusterHasBeenSet = false;
415
416 int m_count;
417 bool m_countHasBeenSet = false;
418
419 bool m_enableECSManagedTags;
420 bool m_enableECSManagedTagsHasBeenSet = false;
421
422 bool m_enableExecuteCommand;
423 bool m_enableExecuteCommandHasBeenSet = false;
424
425 Aws::String m_group;
426 bool m_groupHasBeenSet = false;
427
428 LaunchType m_launchType;
429 bool m_launchTypeHasBeenSet = false;
430
431 NetworkConfiguration m_networkConfiguration;
432 bool m_networkConfigurationHasBeenSet = false;
433
434 TaskOverride m_overrides;
435 bool m_overridesHasBeenSet = false;
436
437 Aws::Vector<PlacementConstraint> m_placementConstraints;
438 bool m_placementConstraintsHasBeenSet = false;
439
440 Aws::Vector<PlacementStrategy> m_placementStrategy;
441 bool m_placementStrategyHasBeenSet = false;
442
443 Aws::String m_platformVersion;
444 bool m_platformVersionHasBeenSet = false;
445
446 PropagateTags m_propagateTags;
447 bool m_propagateTagsHasBeenSet = false;
448
449 Aws::String m_referenceId;
450 bool m_referenceIdHasBeenSet = false;
451
452 Aws::String m_startedBy;
453 bool m_startedByHasBeenSet = false;
454
455 Aws::Vector<Tag> m_tags;
456 bool m_tagsHasBeenSet = false;
457
458 Aws::String m_taskDefinition;
459 bool m_taskDefinitionHasBeenSet = false;
460
461 Aws::String m_clientToken;
462 bool m_clientTokenHasBeenSet = false;
463
464 Aws::Vector<TaskVolumeConfiguration> m_volumeConfigurations;
465 bool m_volumeConfigurationsHasBeenSet = false;
466 };
467
468} // namespace Model
469} // namespace ECS
470} // namespace Aws
RunTaskRequest & WithClientToken(Aws::String &&value)
void SetCluster(const char *value)
RunTaskRequest & WithStartedBy(Aws::String &&value)
void SetStartedBy(Aws::String &&value)
void SetPlatformVersion(const char *value)
RunTaskRequest & WithCluster(Aws::String &&value)
RunTaskRequest & WithGroup(const char *value)
void SetTaskDefinition(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
RunTaskRequest & WithReferenceId(Aws::String &&value)
void SetVolumeConfigurations(Aws::Vector< TaskVolumeConfiguration > &&value)
void SetReferenceId(Aws::String &&value)
void SetGroup(Aws::String &&value)
RunTaskRequest & AddPlacementConstraints(PlacementConstraint &&value)
RunTaskRequest & AddVolumeConfigurations(const TaskVolumeConfiguration &value)
void SetGroup(const char *value)
const Aws::Vector< Tag > & GetTags() const
const NetworkConfiguration & GetNetworkConfiguration() const
const PropagateTags & GetPropagateTags() const
RunTaskRequest & WithCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
RunTaskRequest & AddTags(const Tag &value)
RunTaskRequest & WithTaskDefinition(const char *value)
RunTaskRequest & WithCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
void SetPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
RunTaskRequest & AddPlacementStrategy(const PlacementStrategy &value)
void SetCluster(Aws::String &&value)
RunTaskRequest & WithPropagateTags(PropagateTags &&value)
const TaskOverride & GetOverrides() const
const Aws::String & GetTaskDefinition() const
void SetNetworkConfiguration(const NetworkConfiguration &value)
void SetLaunchType(const LaunchType &value)
void SetReferenceId(const char *value)
void SetCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
void SetCluster(const Aws::String &value)
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
RunTaskRequest & WithPropagateTags(const PropagateTags &value)
void SetEnableExecuteCommand(bool value)
void SetGroup(const Aws::String &value)
void SetNetworkConfiguration(NetworkConfiguration &&value)
void SetLaunchType(LaunchType &&value)
AWS_ECS_API Aws::String SerializePayload() const override
RunTaskRequest & WithReferenceId(const char *value)
const Aws::String & GetCluster() const
RunTaskRequest & WithVolumeConfigurations(Aws::Vector< TaskVolumeConfiguration > &&value)
const Aws::Vector< PlacementStrategy > & GetPlacementStrategy() const
void SetEnableECSManagedTags(bool value)
void SetReferenceId(const Aws::String &value)
RunTaskRequest & WithLaunchType(LaunchType &&value)
RunTaskRequest & WithStartedBy(const Aws::String &value)
RunTaskRequest & AddVolumeConfigurations(TaskVolumeConfiguration &&value)
RunTaskRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetStartedBy() const
const Aws::String & GetPlatformVersion() const
RunTaskRequest & WithPlatformVersion(const Aws::String &value)
RunTaskRequest & AddPlacementConstraints(const PlacementConstraint &value)
RunTaskRequest & WithCount(int value)
RunTaskRequest & AddCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
const Aws::Vector< PlacementConstraint > & GetPlacementConstraints() const
void SetClientToken(Aws::String &&value)
RunTaskRequest & WithTaskDefinition(const Aws::String &value)
RunTaskRequest & WithNetworkConfiguration(const NetworkConfiguration &value)
void SetPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
void SetCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
const LaunchType & GetLaunchType() const
void SetTags(const Aws::Vector< Tag > &value)
RunTaskRequest & WithNetworkConfiguration(NetworkConfiguration &&value)
RunTaskRequest & AddPlacementStrategy(PlacementStrategy &&value)
bool CapacityProviderStrategyHasBeenSet() const
RunTaskRequest & WithCluster(const Aws::String &value)
void SetPropagateTags(PropagateTags &&value)
RunTaskRequest & WithPlatformVersion(Aws::String &&value)
const Aws::String & GetGroup() const
RunTaskRequest & WithReferenceId(const Aws::String &value)
RunTaskRequest & WithStartedBy(const char *value)
RunTaskRequest & WithPlatformVersion(const char *value)
RunTaskRequest & WithClientToken(const Aws::String &value)
void SetTaskDefinition(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
RunTaskRequest & WithEnableExecuteCommand(bool value)
void SetPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
const Aws::Vector< TaskVolumeConfiguration > & GetVolumeConfigurations() const
const Aws::String & GetReferenceId() const
RunTaskRequest & WithLaunchType(const LaunchType &value)
void SetStartedBy(const char *value)
void SetClientToken(const Aws::String &value)
void SetTaskDefinition(const char *value)
RunTaskRequest & WithEnableECSManagedTags(bool value)
RunTaskRequest & WithPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
RunTaskRequest & WithOverrides(const TaskOverride &value)
void SetPlatformVersion(const Aws::String &value)
RunTaskRequest & WithGroup(Aws::String &&value)
RunTaskRequest & AddCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
RunTaskRequest & WithTags(const Aws::Vector< Tag > &value)
void SetStartedBy(const Aws::String &value)
RunTaskRequest & WithCluster(const char *value)
RunTaskRequest & WithTaskDefinition(Aws::String &&value)
void SetPropagateTags(const PropagateTags &value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetClientToken() const
RunTaskRequest & WithPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
RunTaskRequest & WithClientToken(const char *value)
RunTaskRequest & WithPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
void SetOverrides(const TaskOverride &value)
RunTaskRequest & WithOverrides(TaskOverride &&value)
RunTaskRequest & WithPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
void SetVolumeConfigurations(const Aws::Vector< TaskVolumeConfiguration > &value)
void SetPlatformVersion(Aws::String &&value)
RunTaskRequest & WithGroup(const Aws::String &value)
void SetOverrides(TaskOverride &&value)
void SetPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
void SetClientToken(const char *value)
RunTaskRequest & AddTags(Tag &&value)
RunTaskRequest & WithVolumeConfigurations(const Aws::Vector< TaskVolumeConfiguration > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector