AWS SDK for C++  1.9.123
AWS SDK for C++
RunTaskRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
8 #include <aws/ecs/ECSRequest.h>
18 #include <aws/ecs/model/Tag.h>
19 #include <utility>
20 
21 namespace Aws
22 {
23 namespace ECS
24 {
25 namespace Model
26 {
27 
31  {
32  public:
34 
35  // Service request name is the Operation name which will send this request out,
36  // each operation should has unique request name, so that we can get operation's name from this request.
37  // Note: this is not true for response, multiple operations may have the same response name,
38  // so we can not get operation's name from response.
39  inline virtual const char* GetServiceRequestName() const override { return "RunTask"; }
40 
41  Aws::String SerializePayload() const override;
42 
44 
45 
56  inline const Aws::Vector<CapacityProviderStrategyItem>& GetCapacityProviderStrategy() const{ return m_capacityProviderStrategy; }
57 
68  inline bool CapacityProviderStrategyHasBeenSet() const { return m_capacityProviderStrategyHasBeenSet; }
69 
80  inline void SetCapacityProviderStrategy(const Aws::Vector<CapacityProviderStrategyItem>& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = value; }
81 
92  inline void SetCapacityProviderStrategy(Aws::Vector<CapacityProviderStrategyItem>&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = std::move(value); }
93 
104  inline RunTaskRequest& WithCapacityProviderStrategy(const Aws::Vector<CapacityProviderStrategyItem>& value) { SetCapacityProviderStrategy(value); return *this;}
105 
116  inline RunTaskRequest& WithCapacityProviderStrategy(Aws::Vector<CapacityProviderStrategyItem>&& value) { SetCapacityProviderStrategy(std::move(value)); return *this;}
117 
128  inline RunTaskRequest& AddCapacityProviderStrategy(const CapacityProviderStrategyItem& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(value); return *this; }
129 
140  inline RunTaskRequest& AddCapacityProviderStrategy(CapacityProviderStrategyItem&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(std::move(value)); return *this; }
141 
142 
148  inline const Aws::String& GetCluster() const{ return m_cluster; }
149 
155  inline bool ClusterHasBeenSet() const { return m_clusterHasBeenSet; }
156 
162  inline void SetCluster(const Aws::String& value) { m_clusterHasBeenSet = true; m_cluster = value; }
163 
169  inline void SetCluster(Aws::String&& value) { m_clusterHasBeenSet = true; m_cluster = std::move(value); }
170 
176  inline void SetCluster(const char* value) { m_clusterHasBeenSet = true; m_cluster.assign(value); }
177 
183  inline RunTaskRequest& WithCluster(const Aws::String& value) { SetCluster(value); return *this;}
184 
190  inline RunTaskRequest& WithCluster(Aws::String&& value) { SetCluster(std::move(value)); return *this;}
191 
197  inline RunTaskRequest& WithCluster(const char* value) { SetCluster(value); return *this;}
198 
199 
204  inline int GetCount() const{ return m_count; }
205 
210  inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
211 
216  inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
217 
222  inline RunTaskRequest& WithCount(int value) { SetCount(value); return *this;}
223 
224 
232  inline bool GetEnableECSManagedTags() const{ return m_enableECSManagedTags; }
233 
241  inline bool EnableECSManagedTagsHasBeenSet() const { return m_enableECSManagedTagsHasBeenSet; }
242 
250  inline void SetEnableECSManagedTags(bool value) { m_enableECSManagedTagsHasBeenSet = true; m_enableECSManagedTags = value; }
251 
259  inline RunTaskRequest& WithEnableECSManagedTags(bool value) { SetEnableECSManagedTags(value); return *this;}
260 
261 
267  inline bool GetEnableExecuteCommand() const{ return m_enableExecuteCommand; }
268 
274  inline bool EnableExecuteCommandHasBeenSet() const { return m_enableExecuteCommandHasBeenSet; }
275 
281  inline void SetEnableExecuteCommand(bool value) { m_enableExecuteCommandHasBeenSet = true; m_enableExecuteCommand = value; }
282 
288  inline RunTaskRequest& WithEnableExecuteCommand(bool value) { SetEnableExecuteCommand(value); return *this;}
289 
290 
296  inline const Aws::String& GetGroup() const{ return m_group; }
297 
303  inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
304 
310  inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; }
311 
317  inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); }
318 
324  inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); }
325 
331  inline RunTaskRequest& WithGroup(const Aws::String& value) { SetGroup(value); return *this;}
332 
338  inline RunTaskRequest& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;}
339 
345  inline RunTaskRequest& WithGroup(const char* value) { SetGroup(value); return *this;}
346 
347 
368  inline const LaunchType& GetLaunchType() const{ return m_launchType; }
369 
390  inline bool LaunchTypeHasBeenSet() const { return m_launchTypeHasBeenSet; }
391 
412  inline void SetLaunchType(const LaunchType& value) { m_launchTypeHasBeenSet = true; m_launchType = value; }
413 
434  inline void SetLaunchType(LaunchType&& value) { m_launchTypeHasBeenSet = true; m_launchType = std::move(value); }
435 
456  inline RunTaskRequest& WithLaunchType(const LaunchType& value) { SetLaunchType(value); return *this;}
457 
478  inline RunTaskRequest& WithLaunchType(LaunchType&& value) { SetLaunchType(std::move(value)); return *this;}
479 
480 
490  inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; }
491 
501  inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
502 
512  inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; }
513 
523  inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); }
524 
534  inline RunTaskRequest& WithNetworkConfiguration(const NetworkConfiguration& value) { SetNetworkConfiguration(value); return *this;}
535 
545  inline RunTaskRequest& WithNetworkConfiguration(NetworkConfiguration&& value) { SetNetworkConfiguration(std::move(value)); return *this;}
546 
547 
559  inline const TaskOverride& GetOverrides() const{ return m_overrides; }
560 
572  inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
573 
585  inline void SetOverrides(const TaskOverride& value) { m_overridesHasBeenSet = true; m_overrides = value; }
586 
598  inline void SetOverrides(TaskOverride&& value) { m_overridesHasBeenSet = true; m_overrides = std::move(value); }
599 
611  inline RunTaskRequest& WithOverrides(const TaskOverride& value) { SetOverrides(value); return *this;}
612 
624  inline RunTaskRequest& WithOverrides(TaskOverride&& value) { SetOverrides(std::move(value)); return *this;}
625 
626 
632  inline const Aws::Vector<PlacementConstraint>& GetPlacementConstraints() const{ return m_placementConstraints; }
633 
639  inline bool PlacementConstraintsHasBeenSet() const { return m_placementConstraintsHasBeenSet; }
640 
646  inline void SetPlacementConstraints(const Aws::Vector<PlacementConstraint>& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = value; }
647 
653  inline void SetPlacementConstraints(Aws::Vector<PlacementConstraint>&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = std::move(value); }
654 
660  inline RunTaskRequest& WithPlacementConstraints(const Aws::Vector<PlacementConstraint>& value) { SetPlacementConstraints(value); return *this;}
661 
667  inline RunTaskRequest& WithPlacementConstraints(Aws::Vector<PlacementConstraint>&& value) { SetPlacementConstraints(std::move(value)); return *this;}
668 
674  inline RunTaskRequest& AddPlacementConstraints(const PlacementConstraint& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(value); return *this; }
675 
681  inline RunTaskRequest& AddPlacementConstraints(PlacementConstraint&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(std::move(value)); return *this; }
682 
683 
688  inline const Aws::Vector<PlacementStrategy>& GetPlacementStrategy() const{ return m_placementStrategy; }
689 
694  inline bool PlacementStrategyHasBeenSet() const { return m_placementStrategyHasBeenSet; }
695 
700  inline void SetPlacementStrategy(const Aws::Vector<PlacementStrategy>& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy = value; }
701 
706  inline void SetPlacementStrategy(Aws::Vector<PlacementStrategy>&& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy = std::move(value); }
707 
712  inline RunTaskRequest& WithPlacementStrategy(const Aws::Vector<PlacementStrategy>& value) { SetPlacementStrategy(value); return *this;}
713 
718  inline RunTaskRequest& WithPlacementStrategy(Aws::Vector<PlacementStrategy>&& value) { SetPlacementStrategy(std::move(value)); return *this;}
719 
724  inline RunTaskRequest& AddPlacementStrategy(const PlacementStrategy& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy.push_back(value); return *this; }
725 
730  inline RunTaskRequest& AddPlacementStrategy(PlacementStrategy&& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy.push_back(std::move(value)); return *this; }
731 
732 
742  inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; }
743 
753  inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
754 
764  inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; }
765 
775  inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); }
776 
786  inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); }
787 
797  inline RunTaskRequest& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;}
798 
808  inline RunTaskRequest& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;}
809 
819  inline RunTaskRequest& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;}
820 
821 
830  inline const PropagateTags& GetPropagateTags() const{ return m_propagateTags; }
831 
840  inline bool PropagateTagsHasBeenSet() const { return m_propagateTagsHasBeenSet; }
841 
850  inline void SetPropagateTags(const PropagateTags& value) { m_propagateTagsHasBeenSet = true; m_propagateTags = value; }
851 
860  inline void SetPropagateTags(PropagateTags&& value) { m_propagateTagsHasBeenSet = true; m_propagateTags = std::move(value); }
861 
870  inline RunTaskRequest& WithPropagateTags(const PropagateTags& value) { SetPropagateTags(value); return *this;}
871 
880  inline RunTaskRequest& WithPropagateTags(PropagateTags&& value) { SetPropagateTags(std::move(value)); return *this;}
881 
882 
887  inline const Aws::String& GetReferenceId() const{ return m_referenceId; }
888 
893  inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
894 
899  inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
900 
905  inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); }
906 
911  inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); }
912 
917  inline RunTaskRequest& WithReferenceId(const Aws::String& value) { SetReferenceId(value); return *this;}
918 
923  inline RunTaskRequest& WithReferenceId(Aws::String&& value) { SetReferenceId(std::move(value)); return *this;}
924 
929  inline RunTaskRequest& WithReferenceId(const char* value) { SetReferenceId(value); return *this;}
930 
931 
943  inline const Aws::String& GetStartedBy() const{ return m_startedBy; }
944 
956  inline bool StartedByHasBeenSet() const { return m_startedByHasBeenSet; }
957 
969  inline void SetStartedBy(const Aws::String& value) { m_startedByHasBeenSet = true; m_startedBy = value; }
970 
982  inline void SetStartedBy(Aws::String&& value) { m_startedByHasBeenSet = true; m_startedBy = std::move(value); }
983 
995  inline void SetStartedBy(const char* value) { m_startedByHasBeenSet = true; m_startedBy.assign(value); }
996 
1008  inline RunTaskRequest& WithStartedBy(const Aws::String& value) { SetStartedBy(value); return *this;}
1009 
1021  inline RunTaskRequest& WithStartedBy(Aws::String&& value) { SetStartedBy(std::move(value)); return *this;}
1022 
1034  inline RunTaskRequest& WithStartedBy(const char* value) { SetStartedBy(value); return *this;}
1035 
1036 
1055  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
1056 
1075  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
1076 
1095  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
1096 
1115  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
1116 
1135  inline RunTaskRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
1136 
1155  inline RunTaskRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
1156 
1175  inline RunTaskRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
1176 
1195  inline RunTaskRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
1196 
1197 
1209  inline const Aws::String& GetTaskDefinition() const{ return m_taskDefinition; }
1210 
1222  inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; }
1223 
1235  inline void SetTaskDefinition(const Aws::String& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = value; }
1236 
1248  inline void SetTaskDefinition(Aws::String&& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = std::move(value); }
1249 
1261  inline void SetTaskDefinition(const char* value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition.assign(value); }
1262 
1274  inline RunTaskRequest& WithTaskDefinition(const Aws::String& value) { SetTaskDefinition(value); return *this;}
1275 
1287  inline RunTaskRequest& WithTaskDefinition(Aws::String&& value) { SetTaskDefinition(std::move(value)); return *this;}
1288 
1300  inline RunTaskRequest& WithTaskDefinition(const char* value) { SetTaskDefinition(value); return *this;}
1301 
1302  private:
1303 
1304  Aws::Vector<CapacityProviderStrategyItem> m_capacityProviderStrategy;
1305  bool m_capacityProviderStrategyHasBeenSet;
1306 
1307  Aws::String m_cluster;
1308  bool m_clusterHasBeenSet;
1309 
1310  int m_count;
1311  bool m_countHasBeenSet;
1312 
1313  bool m_enableECSManagedTags;
1314  bool m_enableECSManagedTagsHasBeenSet;
1315 
1316  bool m_enableExecuteCommand;
1317  bool m_enableExecuteCommandHasBeenSet;
1318 
1319  Aws::String m_group;
1320  bool m_groupHasBeenSet;
1321 
1322  LaunchType m_launchType;
1323  bool m_launchTypeHasBeenSet;
1324 
1325  NetworkConfiguration m_networkConfiguration;
1326  bool m_networkConfigurationHasBeenSet;
1327 
1328  TaskOverride m_overrides;
1329  bool m_overridesHasBeenSet;
1330 
1331  Aws::Vector<PlacementConstraint> m_placementConstraints;
1332  bool m_placementConstraintsHasBeenSet;
1333 
1334  Aws::Vector<PlacementStrategy> m_placementStrategy;
1335  bool m_placementStrategyHasBeenSet;
1336 
1337  Aws::String m_platformVersion;
1338  bool m_platformVersionHasBeenSet;
1339 
1340  PropagateTags m_propagateTags;
1341  bool m_propagateTagsHasBeenSet;
1342 
1343  Aws::String m_referenceId;
1344  bool m_referenceIdHasBeenSet;
1345 
1346  Aws::String m_startedBy;
1347  bool m_startedByHasBeenSet;
1348 
1349  Aws::Vector<Tag> m_tags;
1350  bool m_tagsHasBeenSet;
1351 
1352  Aws::String m_taskDefinition;
1353  bool m_taskDefinitionHasBeenSet;
1354  };
1355 
1356 } // namespace Model
1357 } // namespace ECS
1358 } // namespace Aws
Aws::ECS::Model::RunTaskRequest::SetReferenceId
void SetReferenceId(const char *value)
Definition: RunTaskRequest.h:911
Aws::ECS::Model::RunTaskRequest::GetPlatformVersion
const Aws::String & GetPlatformVersion() const
Definition: RunTaskRequest.h:742
Aws::ECS::Model::RunTaskRequest::SetTaskDefinition
void SetTaskDefinition(const Aws::String &value)
Definition: RunTaskRequest.h:1235
Aws::ECS::Model::RunTaskRequest::SetGroup
void SetGroup(Aws::String &&value)
Definition: RunTaskRequest.h:317
Aws::ECS::Model::RunTaskRequest::GetPlacementConstraints
const Aws::Vector< PlacementConstraint > & GetPlacementConstraints() const
Definition: RunTaskRequest.h:632
Aws::ECS::Model::RunTaskRequest::WithCluster
RunTaskRequest & WithCluster(const Aws::String &value)
Definition: RunTaskRequest.h:183
Aws::ECS::Model::RunTaskRequest::GetCluster
const Aws::String & GetCluster() const
Definition: RunTaskRequest.h:148
Aws::ECS::Model::RunTaskRequest::GetNetworkConfiguration
const NetworkConfiguration & GetNetworkConfiguration() const
Definition: RunTaskRequest.h:490
PlacementStrategy.h
Aws::ECS::Model::RunTaskRequest::WithCluster
RunTaskRequest & WithCluster(const char *value)
Definition: RunTaskRequest.h:197
Aws::ECS::Model::RunTaskRequest::SetNetworkConfiguration
void SetNetworkConfiguration(const NetworkConfiguration &value)
Definition: RunTaskRequest.h:512
Aws::ECS::Model::RunTaskRequest::WithOverrides
RunTaskRequest & WithOverrides(const TaskOverride &value)
Definition: RunTaskRequest.h:611
Aws::ECS::Model::RunTaskRequest::WithCluster
RunTaskRequest & WithCluster(Aws::String &&value)
Definition: RunTaskRequest.h:190
Aws::ECS::Model::RunTaskRequest::SetNetworkConfiguration
void SetNetworkConfiguration(NetworkConfiguration &&value)
Definition: RunTaskRequest.h:523
Aws::ECS::Model::RunTaskRequest::SetReferenceId
void SetReferenceId(const Aws::String &value)
Definition: RunTaskRequest.h:899
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ECS::Model::RunTaskRequest::SetPlacementConstraints
void SetPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
Definition: RunTaskRequest.h:646
Aws::ECS::Model::RunTaskRequest::WithNetworkConfiguration
RunTaskRequest & WithNetworkConfiguration(NetworkConfiguration &&value)
Definition: RunTaskRequest.h:545
Aws::ECS::Model::RunTaskRequest::SetEnableECSManagedTags
void SetEnableECSManagedTags(bool value)
Definition: RunTaskRequest.h:250
Aws::ECS::Model::RunTaskRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: RunTaskRequest.h:1115
Aws::ECS::Model::RunTaskRequest::SetStartedBy
void SetStartedBy(const Aws::String &value)
Definition: RunTaskRequest.h:969
Aws::ECS::Model::RunTaskRequest::CountHasBeenSet
bool CountHasBeenSet() const
Definition: RunTaskRequest.h:210
Aws::ECS::Model::RunTaskRequest::ReferenceIdHasBeenSet
bool ReferenceIdHasBeenSet() const
Definition: RunTaskRequest.h:893
Aws::ECS::Model::RunTaskRequest::WithStartedBy
RunTaskRequest & WithStartedBy(const Aws::String &value)
Definition: RunTaskRequest.h:1008
Aws::ECS::Model::RunTaskRequest::PropagateTagsHasBeenSet
bool PropagateTagsHasBeenSet() const
Definition: RunTaskRequest.h:840
Aws::ECS::Model::RunTaskRequest::SetOverrides
void SetOverrides(TaskOverride &&value)
Definition: RunTaskRequest.h:598
Aws::ECS::Model::NetworkConfiguration
Definition: NetworkConfiguration.h:33
Aws::ECS::Model::RunTaskRequest::WithTaskDefinition
RunTaskRequest & WithTaskDefinition(const Aws::String &value)
Definition: RunTaskRequest.h:1274
Aws::ECS::Model::RunTaskRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: RunTaskRequest.h:1075
Aws::ECS::Model::RunTaskRequest::WithStartedBy
RunTaskRequest & WithStartedBy(const char *value)
Definition: RunTaskRequest.h:1034
Tag.h
Aws::ECS::Model::RunTaskRequest::EnableECSManagedTagsHasBeenSet
bool EnableECSManagedTagsHasBeenSet() const
Definition: RunTaskRequest.h:241
Aws::ECS::Model::RunTaskRequest::WithPlatformVersion
RunTaskRequest & WithPlatformVersion(Aws::String &&value)
Definition: RunTaskRequest.h:808
Aws::ECS::Model::RunTaskRequest::WithPropagateTags
RunTaskRequest & WithPropagateTags(PropagateTags &&value)
Definition: RunTaskRequest.h:880
Aws::ECS::Model::RunTaskRequest::SetLaunchType
void SetLaunchType(const LaunchType &value)
Definition: RunTaskRequest.h:412
Aws::ECS::Model::RunTaskRequest::ClusterHasBeenSet
bool ClusterHasBeenSet() const
Definition: RunTaskRequest.h:155
Aws::ECS::Model::RunTaskRequest::StartedByHasBeenSet
bool StartedByHasBeenSet() const
Definition: RunTaskRequest.h:956
Aws::ECS::Model::RunTaskRequest::GetTaskDefinition
const Aws::String & GetTaskDefinition() const
Definition: RunTaskRequest.h:1209
Aws::ECS::Model::RunTaskRequest::WithPlatformVersion
RunTaskRequest & WithPlatformVersion(const char *value)
Definition: RunTaskRequest.h:819
Aws::ECS::Model::RunTaskRequest::AddCapacityProviderStrategy
RunTaskRequest & AddCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
Definition: RunTaskRequest.h:140
Aws::ECS::Model::RunTaskRequest::WithReferenceId
RunTaskRequest & WithReferenceId(const Aws::String &value)
Definition: RunTaskRequest.h:917
Aws::ECS::Model::RunTaskRequest::RunTaskRequest
RunTaskRequest()
Aws::ECS::Model::TaskOverride
Definition: TaskOverride.h:36
Aws::ECS::Model::RunTaskRequest::WithStartedBy
RunTaskRequest & WithStartedBy(Aws::String &&value)
Definition: RunTaskRequest.h:1021
PlacementConstraint.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ECS::Model::RunTaskRequest::WithGroup
RunTaskRequest & WithGroup(const Aws::String &value)
Definition: RunTaskRequest.h:331
Aws::ECS::Model::RunTaskRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RunTaskRequest.h:39
Aws::ECS::Model::RunTaskRequest::GetLaunchType
const LaunchType & GetLaunchType() const
Definition: RunTaskRequest.h:368
Aws::ECS::Model::RunTaskRequest::GetEnableECSManagedTags
bool GetEnableECSManagedTags() const
Definition: RunTaskRequest.h:232
Aws::ECS::Model::RunTaskRequest::SetStartedBy
void SetStartedBy(Aws::String &&value)
Definition: RunTaskRequest.h:982
Aws::ECS::Model::RunTaskRequest::NetworkConfigurationHasBeenSet
bool NetworkConfigurationHasBeenSet() const
Definition: RunTaskRequest.h:501
Aws::ECS::Model::RunTaskRequest::SetPlacementStrategy
void SetPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
Definition: RunTaskRequest.h:706
Aws::ECS::Model::RunTaskRequest::WithOverrides
RunTaskRequest & WithOverrides(TaskOverride &&value)
Definition: RunTaskRequest.h:624
Aws::ECS::Model::Tag
Definition: Tag.h:47
Aws::ECS::Model::RunTaskRequest::WithPlacementStrategy
RunTaskRequest & WithPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
Definition: RunTaskRequest.h:718
AWSVector.h
Aws::ECS::Model::RunTaskRequest::LaunchTypeHasBeenSet
bool LaunchTypeHasBeenSet() const
Definition: RunTaskRequest.h:390
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
PropagateTags.h
Aws::ECS::Model::RunTaskRequest::AddTags
RunTaskRequest & AddTags(Tag &&value)
Definition: RunTaskRequest.h:1195
Aws::ECS::Model::RunTaskRequest::SetCluster
void SetCluster(const char *value)
Definition: RunTaskRequest.h:176
Aws::ECS::Model::RunTaskRequest::GetOverrides
const TaskOverride & GetOverrides() const
Definition: RunTaskRequest.h:559
Aws::ECS::Model::RunTaskRequest::SetOverrides
void SetOverrides(const TaskOverride &value)
Definition: RunTaskRequest.h:585
Aws::ECS::Model::PlacementConstraint
Definition: PlacementConstraint.h:38
Aws::ECS::Model::CapacityProviderStrategyItem
Definition: CapacityProviderStrategyItem.h:46
Aws::ECS::Model::RunTaskRequest::WithPlatformVersion
RunTaskRequest & WithPlatformVersion(const Aws::String &value)
Definition: RunTaskRequest.h:797
Aws::ECS::Model::RunTaskRequest::WithTaskDefinition
RunTaskRequest & WithTaskDefinition(Aws::String &&value)
Definition: RunTaskRequest.h:1287
Aws::ECS::Model::RunTaskRequest::WithCapacityProviderStrategy
RunTaskRequest & WithCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
Definition: RunTaskRequest.h:104
Aws::ECS::Model::RunTaskRequest::SetStartedBy
void SetStartedBy(const char *value)
Definition: RunTaskRequest.h:995
Aws::ECS::Model::RunTaskRequest::GetPropagateTags
const PropagateTags & GetPropagateTags() const
Definition: RunTaskRequest.h:830
Aws::ECS::Model::RunTaskRequest::AddCapacityProviderStrategy
RunTaskRequest & AddCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
Definition: RunTaskRequest.h:128
Aws::ECS::Model::RunTaskRequest::WithTags
RunTaskRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: RunTaskRequest.h:1155
Aws::ECS::Model::LaunchType
LaunchType
Definition: LaunchType.h:17
Aws::ECS::Model::RunTaskRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ECS::Model::RunTaskRequest::GetEnableExecuteCommand
bool GetEnableExecuteCommand() const
Definition: RunTaskRequest.h:267
Aws::ECS::Model::RunTaskRequest
Definition: RunTaskRequest.h:31
LaunchType.h
NetworkConfiguration.h
Aws::ECS::ECSRequest
Definition: ECSRequest.h:17
Aws::ECS::Model::RunTaskRequest::SetCapacityProviderStrategy
void SetCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
Definition: RunTaskRequest.h:92
Aws::ECS::Model::RunTaskRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ECS::Model::RunTaskRequest::WithPlacementConstraints
RunTaskRequest & WithPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
Definition: RunTaskRequest.h:660
Aws::ECS::Model::RunTaskRequest::GetReferenceId
const Aws::String & GetReferenceId() const
Definition: RunTaskRequest.h:887
Aws::ECS::Model::RunTaskRequest::SetEnableExecuteCommand
void SetEnableExecuteCommand(bool value)
Definition: RunTaskRequest.h:281
Aws::ECS::Model::RunTaskRequest::WithTaskDefinition
RunTaskRequest & WithTaskDefinition(const char *value)
Definition: RunTaskRequest.h:1300
Aws::ECS::Model::RunTaskRequest::AddPlacementStrategy
RunTaskRequest & AddPlacementStrategy(PlacementStrategy &&value)
Definition: RunTaskRequest.h:730
Aws::ECS::Model::RunTaskRequest::WithLaunchType
RunTaskRequest & WithLaunchType(LaunchType &&value)
Definition: RunTaskRequest.h:478
Aws::ECS::Model::RunTaskRequest::CapacityProviderStrategyHasBeenSet
bool CapacityProviderStrategyHasBeenSet() const
Definition: RunTaskRequest.h:68
Aws::ECS::Model::RunTaskRequest::SetCount
void SetCount(int value)
Definition: RunTaskRequest.h:216
Aws::ECS::Model::RunTaskRequest::EnableExecuteCommandHasBeenSet
bool EnableExecuteCommandHasBeenSet() const
Definition: RunTaskRequest.h:274
Aws::ECS::Model::RunTaskRequest::SetPlacementConstraints
void SetPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
Definition: RunTaskRequest.h:653
Aws::ECS::Model::RunTaskRequest::GetCapacityProviderStrategy
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
Definition: RunTaskRequest.h:56
AWSString.h
Aws::ECS::Model::RunTaskRequest::WithCount
RunTaskRequest & WithCount(int value)
Definition: RunTaskRequest.h:222
Aws::ECS::Model::PropagateTags
PropagateTags
Definition: PropagateTags.h:17
Aws::ECS::Model::RunTaskRequest::AddPlacementConstraints
RunTaskRequest & AddPlacementConstraints(PlacementConstraint &&value)
Definition: RunTaskRequest.h:681
Aws::ECS::Model::RunTaskRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: RunTaskRequest.h:1055
CapacityProviderStrategyItem.h
Aws::ECS::Model::RunTaskRequest::AddTags
RunTaskRequest & AddTags(const Tag &value)
Definition: RunTaskRequest.h:1175
Aws::ECS::Model::RunTaskRequest::WithPlacementStrategy
RunTaskRequest & WithPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
Definition: RunTaskRequest.h:712
Aws::ECS::Model::RunTaskRequest::WithReferenceId
RunTaskRequest & WithReferenceId(Aws::String &&value)
Definition: RunTaskRequest.h:923
Aws::ECS::Model::RunTaskRequest::SetPropagateTags
void SetPropagateTags(PropagateTags &&value)
Definition: RunTaskRequest.h:860
Aws::ECS::Model::RunTaskRequest::AddPlacementConstraints
RunTaskRequest & AddPlacementConstraints(const PlacementConstraint &value)
Definition: RunTaskRequest.h:674
TaskOverride.h
Aws::ECS::Model::RunTaskRequest::SetGroup
void SetGroup(const char *value)
Definition: RunTaskRequest.h:324
Aws::ECS::Model::RunTaskRequest::WithNetworkConfiguration
RunTaskRequest & WithNetworkConfiguration(const NetworkConfiguration &value)
Definition: RunTaskRequest.h:534
Aws::ECS::Model::RunTaskRequest::WithPlacementConstraints
RunTaskRequest & WithPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
Definition: RunTaskRequest.h:667
Aws::ECS::Model::RunTaskRequest::SetTaskDefinition
void SetTaskDefinition(const char *value)
Definition: RunTaskRequest.h:1261
Aws::ECS::Model::RunTaskRequest::WithGroup
RunTaskRequest & WithGroup(Aws::String &&value)
Definition: RunTaskRequest.h:338
Aws::ECS::Model::RunTaskRequest::OverridesHasBeenSet
bool OverridesHasBeenSet() const
Definition: RunTaskRequest.h:572
Aws::ECS::Model::RunTaskRequest::WithGroup
RunTaskRequest & WithGroup(const char *value)
Definition: RunTaskRequest.h:345
Aws::ECS::Model::RunTaskRequest::SetPropagateTags
void SetPropagateTags(const PropagateTags &value)
Definition: RunTaskRequest.h:850
Aws::ECS::Model::RunTaskRequest::WithCapacityProviderStrategy
RunTaskRequest & WithCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
Definition: RunTaskRequest.h:116
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::RunTaskRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: RunTaskRequest.h:1095
Aws::ECS::Model::RunTaskRequest::GetCount
int GetCount() const
Definition: RunTaskRequest.h:204
Aws::ECS::Model::RunTaskRequest::SetCluster
void SetCluster(Aws::String &&value)
Definition: RunTaskRequest.h:169
Aws::ECS::Model::RunTaskRequest::WithPropagateTags
RunTaskRequest & WithPropagateTags(const PropagateTags &value)
Definition: RunTaskRequest.h:870
Aws::ECS::Model::PlacementStrategy
Definition: PlacementStrategy.h:37
Aws::ECS::Model::RunTaskRequest::PlatformVersionHasBeenSet
bool PlatformVersionHasBeenSet() const
Definition: RunTaskRequest.h:753
Aws::ECS::Model::RunTaskRequest::GetGroup
const Aws::String & GetGroup() const
Definition: RunTaskRequest.h:296
Aws::ECS::Model::RunTaskRequest::TaskDefinitionHasBeenSet
bool TaskDefinitionHasBeenSet() const
Definition: RunTaskRequest.h:1222
Aws::ECS::Model::RunTaskRequest::SetCapacityProviderStrategy
void SetCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
Definition: RunTaskRequest.h:80
Aws::ECS::Model::RunTaskRequest::WithReferenceId
RunTaskRequest & WithReferenceId(const char *value)
Definition: RunTaskRequest.h:929
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::RunTaskRequest::WithLaunchType
RunTaskRequest & WithLaunchType(const LaunchType &value)
Definition: RunTaskRequest.h:456
Aws::ECS::Model::RunTaskRequest::SetReferenceId
void SetReferenceId(Aws::String &&value)
Definition: RunTaskRequest.h:905
Aws::ECS::Model::RunTaskRequest::SetPlatformVersion
void SetPlatformVersion(Aws::String &&value)
Definition: RunTaskRequest.h:775
Aws::ECS::Model::RunTaskRequest::GetPlacementStrategy
const Aws::Vector< PlacementStrategy > & GetPlacementStrategy() const
Definition: RunTaskRequest.h:688
Aws::ECS::Model::RunTaskRequest::PlacementStrategyHasBeenSet
bool PlacementStrategyHasBeenSet() const
Definition: RunTaskRequest.h:694
Aws::ECS::Model::RunTaskRequest::SetTaskDefinition
void SetTaskDefinition(Aws::String &&value)
Definition: RunTaskRequest.h:1248
Aws::ECS::Model::RunTaskRequest::SetPlatformVersion
void SetPlatformVersion(const Aws::String &value)
Definition: RunTaskRequest.h:764
Aws::ECS::Model::RunTaskRequest::WithEnableECSManagedTags
RunTaskRequest & WithEnableECSManagedTags(bool value)
Definition: RunTaskRequest.h:259
Aws::ECS::Model::RunTaskRequest::SetPlatformVersion
void SetPlatformVersion(const char *value)
Definition: RunTaskRequest.h:786
ECS_EXPORTS.h
Aws::ECS::Model::RunTaskRequest::AddPlacementStrategy
RunTaskRequest & AddPlacementStrategy(const PlacementStrategy &value)
Definition: RunTaskRequest.h:724
Aws::ECS::Model::RunTaskRequest::GroupHasBeenSet
bool GroupHasBeenSet() const
Definition: RunTaskRequest.h:303
Aws::ECS::Model::RunTaskRequest::GetStartedBy
const Aws::String & GetStartedBy() const
Definition: RunTaskRequest.h:943
Aws::ECS::Model::RunTaskRequest::SetCluster
void SetCluster(const Aws::String &value)
Definition: RunTaskRequest.h:162
ECSRequest.h
Aws::ECS::Model::RunTaskRequest::SetPlacementStrategy
void SetPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
Definition: RunTaskRequest.h:700
Aws::ECS::Model::RunTaskRequest::SetGroup
void SetGroup(const Aws::String &value)
Definition: RunTaskRequest.h:310
Aws::ECS::Model::RunTaskRequest::WithEnableExecuteCommand
RunTaskRequest & WithEnableExecuteCommand(bool value)
Definition: RunTaskRequest.h:288
Aws::ECS::Model::RunTaskRequest::WithTags
RunTaskRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: RunTaskRequest.h:1135
Aws::ECS::Model::RunTaskRequest::SetLaunchType
void SetLaunchType(LaunchType &&value)
Definition: RunTaskRequest.h:434
Aws::ECS::Model::RunTaskRequest::PlacementConstraintsHasBeenSet
bool PlacementConstraintsHasBeenSet() const
Definition: RunTaskRequest.h:639