AWS SDK for C++  1.9.19
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 
53  inline const Aws::Vector<CapacityProviderStrategyItem>& GetCapacityProviderStrategy() const{ return m_capacityProviderStrategy; }
54 
62  inline bool CapacityProviderStrategyHasBeenSet() const { return m_capacityProviderStrategyHasBeenSet; }
63 
71  inline void SetCapacityProviderStrategy(const Aws::Vector<CapacityProviderStrategyItem>& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = value; }
72 
80  inline void SetCapacityProviderStrategy(Aws::Vector<CapacityProviderStrategyItem>&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = std::move(value); }
81 
89  inline RunTaskRequest& WithCapacityProviderStrategy(const Aws::Vector<CapacityProviderStrategyItem>& value) { SetCapacityProviderStrategy(value); return *this;}
90 
98  inline RunTaskRequest& WithCapacityProviderStrategy(Aws::Vector<CapacityProviderStrategyItem>&& value) { SetCapacityProviderStrategy(std::move(value)); return *this;}
99 
107  inline RunTaskRequest& AddCapacityProviderStrategy(const CapacityProviderStrategyItem& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(value); return *this; }
108 
116  inline RunTaskRequest& AddCapacityProviderStrategy(CapacityProviderStrategyItem&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(std::move(value)); return *this; }
117 
118 
124  inline const Aws::String& GetCluster() const{ return m_cluster; }
125 
131  inline bool ClusterHasBeenSet() const { return m_clusterHasBeenSet; }
132 
138  inline void SetCluster(const Aws::String& value) { m_clusterHasBeenSet = true; m_cluster = value; }
139 
145  inline void SetCluster(Aws::String&& value) { m_clusterHasBeenSet = true; m_cluster = std::move(value); }
146 
152  inline void SetCluster(const char* value) { m_clusterHasBeenSet = true; m_cluster.assign(value); }
153 
159  inline RunTaskRequest& WithCluster(const Aws::String& value) { SetCluster(value); return *this;}
160 
166  inline RunTaskRequest& WithCluster(Aws::String&& value) { SetCluster(std::move(value)); return *this;}
167 
173  inline RunTaskRequest& WithCluster(const char* value) { SetCluster(value); return *this;}
174 
175 
180  inline int GetCount() const{ return m_count; }
181 
186  inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
187 
192  inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
193 
198  inline RunTaskRequest& WithCount(int value) { SetCount(value); return *this;}
199 
200 
208  inline bool GetEnableECSManagedTags() const{ return m_enableECSManagedTags; }
209 
217  inline bool EnableECSManagedTagsHasBeenSet() const { return m_enableECSManagedTagsHasBeenSet; }
218 
226  inline void SetEnableECSManagedTags(bool value) { m_enableECSManagedTagsHasBeenSet = true; m_enableECSManagedTags = value; }
227 
235  inline RunTaskRequest& WithEnableECSManagedTags(bool value) { SetEnableECSManagedTags(value); return *this;}
236 
237 
243  inline bool GetEnableExecuteCommand() const{ return m_enableExecuteCommand; }
244 
250  inline bool EnableExecuteCommandHasBeenSet() const { return m_enableExecuteCommandHasBeenSet; }
251 
257  inline void SetEnableExecuteCommand(bool value) { m_enableExecuteCommandHasBeenSet = true; m_enableExecuteCommand = value; }
258 
264  inline RunTaskRequest& WithEnableExecuteCommand(bool value) { SetEnableExecuteCommand(value); return *this;}
265 
266 
271  inline const Aws::String& GetGroup() const{ return m_group; }
272 
277  inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
278 
283  inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; }
284 
289  inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); }
290 
295  inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); }
296 
301  inline RunTaskRequest& WithGroup(const Aws::String& value) { SetGroup(value); return *this;}
302 
307  inline RunTaskRequest& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;}
308 
313  inline RunTaskRequest& WithGroup(const char* value) { SetGroup(value); return *this;}
314 
315 
329  inline const LaunchType& GetLaunchType() const{ return m_launchType; }
330 
344  inline bool LaunchTypeHasBeenSet() const { return m_launchTypeHasBeenSet; }
345 
359  inline void SetLaunchType(const LaunchType& value) { m_launchTypeHasBeenSet = true; m_launchType = value; }
360 
374  inline void SetLaunchType(LaunchType&& value) { m_launchTypeHasBeenSet = true; m_launchType = std::move(value); }
375 
389  inline RunTaskRequest& WithLaunchType(const LaunchType& value) { SetLaunchType(value); return *this;}
390 
404  inline RunTaskRequest& WithLaunchType(LaunchType&& value) { SetLaunchType(std::move(value)); return *this;}
405 
406 
416  inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; }
417 
427  inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
428 
438  inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; }
439 
449  inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); }
450 
460  inline RunTaskRequest& WithNetworkConfiguration(const NetworkConfiguration& value) { SetNetworkConfiguration(value); return *this;}
461 
471  inline RunTaskRequest& WithNetworkConfiguration(NetworkConfiguration&& value) { SetNetworkConfiguration(std::move(value)); return *this;}
472 
473 
485  inline const TaskOverride& GetOverrides() const{ return m_overrides; }
486 
498  inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
499 
511  inline void SetOverrides(const TaskOverride& value) { m_overridesHasBeenSet = true; m_overrides = value; }
512 
524  inline void SetOverrides(TaskOverride&& value) { m_overridesHasBeenSet = true; m_overrides = std::move(value); }
525 
537  inline RunTaskRequest& WithOverrides(const TaskOverride& value) { SetOverrides(value); return *this;}
538 
550  inline RunTaskRequest& WithOverrides(TaskOverride&& value) { SetOverrides(std::move(value)); return *this;}
551 
552 
558  inline const Aws::Vector<PlacementConstraint>& GetPlacementConstraints() const{ return m_placementConstraints; }
559 
565  inline bool PlacementConstraintsHasBeenSet() const { return m_placementConstraintsHasBeenSet; }
566 
572  inline void SetPlacementConstraints(const Aws::Vector<PlacementConstraint>& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = value; }
573 
579  inline void SetPlacementConstraints(Aws::Vector<PlacementConstraint>&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = std::move(value); }
580 
586  inline RunTaskRequest& WithPlacementConstraints(const Aws::Vector<PlacementConstraint>& value) { SetPlacementConstraints(value); return *this;}
587 
593  inline RunTaskRequest& WithPlacementConstraints(Aws::Vector<PlacementConstraint>&& value) { SetPlacementConstraints(std::move(value)); return *this;}
594 
600  inline RunTaskRequest& AddPlacementConstraints(const PlacementConstraint& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(value); return *this; }
601 
607  inline RunTaskRequest& AddPlacementConstraints(PlacementConstraint&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(std::move(value)); return *this; }
608 
609 
614  inline const Aws::Vector<PlacementStrategy>& GetPlacementStrategy() const{ return m_placementStrategy; }
615 
620  inline bool PlacementStrategyHasBeenSet() const { return m_placementStrategyHasBeenSet; }
621 
626  inline void SetPlacementStrategy(const Aws::Vector<PlacementStrategy>& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy = value; }
627 
632  inline void SetPlacementStrategy(Aws::Vector<PlacementStrategy>&& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy = std::move(value); }
633 
638  inline RunTaskRequest& WithPlacementStrategy(const Aws::Vector<PlacementStrategy>& value) { SetPlacementStrategy(value); return *this;}
639 
644  inline RunTaskRequest& WithPlacementStrategy(Aws::Vector<PlacementStrategy>&& value) { SetPlacementStrategy(std::move(value)); return *this;}
645 
650  inline RunTaskRequest& AddPlacementStrategy(const PlacementStrategy& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy.push_back(value); return *this; }
651 
656  inline RunTaskRequest& AddPlacementStrategy(PlacementStrategy&& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy.push_back(std::move(value)); return *this; }
657 
658 
668  inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; }
669 
679  inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
680 
690  inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; }
691 
701  inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); }
702 
712  inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); }
713 
723  inline RunTaskRequest& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;}
724 
734  inline RunTaskRequest& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;}
735 
745  inline RunTaskRequest& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;}
746 
747 
756  inline const PropagateTags& GetPropagateTags() const{ return m_propagateTags; }
757 
766  inline bool PropagateTagsHasBeenSet() const { return m_propagateTagsHasBeenSet; }
767 
776  inline void SetPropagateTags(const PropagateTags& value) { m_propagateTagsHasBeenSet = true; m_propagateTags = value; }
777 
786  inline void SetPropagateTags(PropagateTags&& value) { m_propagateTagsHasBeenSet = true; m_propagateTags = std::move(value); }
787 
796  inline RunTaskRequest& WithPropagateTags(const PropagateTags& value) { SetPropagateTags(value); return *this;}
797 
806  inline RunTaskRequest& WithPropagateTags(PropagateTags&& value) { SetPropagateTags(std::move(value)); return *this;}
807 
808 
812  inline const Aws::String& GetReferenceId() const{ return m_referenceId; }
813 
817  inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
818 
822  inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
823 
827  inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); }
828 
832  inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); }
833 
837  inline RunTaskRequest& WithReferenceId(const Aws::String& value) { SetReferenceId(value); return *this;}
838 
842  inline RunTaskRequest& WithReferenceId(Aws::String&& value) { SetReferenceId(std::move(value)); return *this;}
843 
847  inline RunTaskRequest& WithReferenceId(const char* value) { SetReferenceId(value); return *this;}
848 
849 
861  inline const Aws::String& GetStartedBy() const{ return m_startedBy; }
862 
874  inline bool StartedByHasBeenSet() const { return m_startedByHasBeenSet; }
875 
887  inline void SetStartedBy(const Aws::String& value) { m_startedByHasBeenSet = true; m_startedBy = value; }
888 
900  inline void SetStartedBy(Aws::String&& value) { m_startedByHasBeenSet = true; m_startedBy = std::move(value); }
901 
913  inline void SetStartedBy(const char* value) { m_startedByHasBeenSet = true; m_startedBy.assign(value); }
914 
926  inline RunTaskRequest& WithStartedBy(const Aws::String& value) { SetStartedBy(value); return *this;}
927 
939  inline RunTaskRequest& WithStartedBy(Aws::String&& value) { SetStartedBy(std::move(value)); return *this;}
940 
952  inline RunTaskRequest& WithStartedBy(const char* value) { SetStartedBy(value); return *this;}
953 
954 
973  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
974 
993  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
994 
1013  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
1014 
1033  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
1034 
1053  inline RunTaskRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
1054 
1073  inline RunTaskRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
1074 
1093  inline RunTaskRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
1094 
1113  inline RunTaskRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
1114 
1115 
1122  inline const Aws::String& GetTaskDefinition() const{ return m_taskDefinition; }
1123 
1130  inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; }
1131 
1138  inline void SetTaskDefinition(const Aws::String& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = value; }
1139 
1146  inline void SetTaskDefinition(Aws::String&& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = std::move(value); }
1147 
1154  inline void SetTaskDefinition(const char* value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition.assign(value); }
1155 
1162  inline RunTaskRequest& WithTaskDefinition(const Aws::String& value) { SetTaskDefinition(value); return *this;}
1163 
1170  inline RunTaskRequest& WithTaskDefinition(Aws::String&& value) { SetTaskDefinition(std::move(value)); return *this;}
1171 
1178  inline RunTaskRequest& WithTaskDefinition(const char* value) { SetTaskDefinition(value); return *this;}
1179 
1180  private:
1181 
1182  Aws::Vector<CapacityProviderStrategyItem> m_capacityProviderStrategy;
1183  bool m_capacityProviderStrategyHasBeenSet;
1184 
1185  Aws::String m_cluster;
1186  bool m_clusterHasBeenSet;
1187 
1188  int m_count;
1189  bool m_countHasBeenSet;
1190 
1191  bool m_enableECSManagedTags;
1192  bool m_enableECSManagedTagsHasBeenSet;
1193 
1194  bool m_enableExecuteCommand;
1195  bool m_enableExecuteCommandHasBeenSet;
1196 
1197  Aws::String m_group;
1198  bool m_groupHasBeenSet;
1199 
1200  LaunchType m_launchType;
1201  bool m_launchTypeHasBeenSet;
1202 
1203  NetworkConfiguration m_networkConfiguration;
1204  bool m_networkConfigurationHasBeenSet;
1205 
1206  TaskOverride m_overrides;
1207  bool m_overridesHasBeenSet;
1208 
1209  Aws::Vector<PlacementConstraint> m_placementConstraints;
1210  bool m_placementConstraintsHasBeenSet;
1211 
1212  Aws::Vector<PlacementStrategy> m_placementStrategy;
1213  bool m_placementStrategyHasBeenSet;
1214 
1215  Aws::String m_platformVersion;
1216  bool m_platformVersionHasBeenSet;
1217 
1218  PropagateTags m_propagateTags;
1219  bool m_propagateTagsHasBeenSet;
1220 
1221  Aws::String m_referenceId;
1222  bool m_referenceIdHasBeenSet;
1223 
1224  Aws::String m_startedBy;
1225  bool m_startedByHasBeenSet;
1226 
1227  Aws::Vector<Tag> m_tags;
1228  bool m_tagsHasBeenSet;
1229 
1230  Aws::String m_taskDefinition;
1231  bool m_taskDefinitionHasBeenSet;
1232  };
1233 
1234 } // namespace Model
1235 } // namespace ECS
1236 } // namespace Aws
Aws::ECS::Model::RunTaskRequest::SetReferenceId
void SetReferenceId(const char *value)
Definition: RunTaskRequest.h:832
Aws::ECS::Model::RunTaskRequest::GetPlatformVersion
const Aws::String & GetPlatformVersion() const
Definition: RunTaskRequest.h:668
Aws::ECS::Model::RunTaskRequest::SetTaskDefinition
void SetTaskDefinition(const Aws::String &value)
Definition: RunTaskRequest.h:1138
Aws::ECS::Model::RunTaskRequest::SetGroup
void SetGroup(Aws::String &&value)
Definition: RunTaskRequest.h:289
Aws::ECS::Model::RunTaskRequest::GetPlacementConstraints
const Aws::Vector< PlacementConstraint > & GetPlacementConstraints() const
Definition: RunTaskRequest.h:558
Aws::ECS::Model::RunTaskRequest::WithCluster
RunTaskRequest & WithCluster(const Aws::String &value)
Definition: RunTaskRequest.h:159
Aws::ECS::Model::RunTaskRequest::GetCluster
const Aws::String & GetCluster() const
Definition: RunTaskRequest.h:124
Aws::ECS::Model::RunTaskRequest::GetNetworkConfiguration
const NetworkConfiguration & GetNetworkConfiguration() const
Definition: RunTaskRequest.h:416
PlacementStrategy.h
Aws::ECS::Model::RunTaskRequest::WithCluster
RunTaskRequest & WithCluster(const char *value)
Definition: RunTaskRequest.h:173
Aws::ECS::Model::RunTaskRequest::SetNetworkConfiguration
void SetNetworkConfiguration(const NetworkConfiguration &value)
Definition: RunTaskRequest.h:438
Aws::ECS::Model::RunTaskRequest::WithOverrides
RunTaskRequest & WithOverrides(const TaskOverride &value)
Definition: RunTaskRequest.h:537
Aws::ECS::Model::RunTaskRequest::WithCluster
RunTaskRequest & WithCluster(Aws::String &&value)
Definition: RunTaskRequest.h:166
Aws::ECS::Model::RunTaskRequest::SetNetworkConfiguration
void SetNetworkConfiguration(NetworkConfiguration &&value)
Definition: RunTaskRequest.h:449
Aws::ECS::Model::RunTaskRequest::SetReferenceId
void SetReferenceId(const Aws::String &value)
Definition: RunTaskRequest.h:822
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:572
Aws::ECS::Model::RunTaskRequest::WithNetworkConfiguration
RunTaskRequest & WithNetworkConfiguration(NetworkConfiguration &&value)
Definition: RunTaskRequest.h:471
Aws::ECS::Model::RunTaskRequest::SetEnableECSManagedTags
void SetEnableECSManagedTags(bool value)
Definition: RunTaskRequest.h:226
Aws::ECS::Model::RunTaskRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: RunTaskRequest.h:1033
Aws::ECS::Model::RunTaskRequest::SetStartedBy
void SetStartedBy(const Aws::String &value)
Definition: RunTaskRequest.h:887
Aws::ECS::Model::RunTaskRequest::CountHasBeenSet
bool CountHasBeenSet() const
Definition: RunTaskRequest.h:186
Aws::ECS::Model::RunTaskRequest::ReferenceIdHasBeenSet
bool ReferenceIdHasBeenSet() const
Definition: RunTaskRequest.h:817
Aws::ECS::Model::RunTaskRequest::WithStartedBy
RunTaskRequest & WithStartedBy(const Aws::String &value)
Definition: RunTaskRequest.h:926
Aws::ECS::Model::RunTaskRequest::PropagateTagsHasBeenSet
bool PropagateTagsHasBeenSet() const
Definition: RunTaskRequest.h:766
Aws::ECS::Model::RunTaskRequest::SetOverrides
void SetOverrides(TaskOverride &&value)
Definition: RunTaskRequest.h:524
Aws::ECS::Model::NetworkConfiguration
Definition: NetworkConfiguration.h:33
Aws::ECS::Model::RunTaskRequest::WithTaskDefinition
RunTaskRequest & WithTaskDefinition(const Aws::String &value)
Definition: RunTaskRequest.h:1162
Aws::ECS::Model::RunTaskRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: RunTaskRequest.h:993
Aws::ECS::Model::RunTaskRequest::WithStartedBy
RunTaskRequest & WithStartedBy(const char *value)
Definition: RunTaskRequest.h:952
Tag.h
Aws::ECS::Model::RunTaskRequest::EnableECSManagedTagsHasBeenSet
bool EnableECSManagedTagsHasBeenSet() const
Definition: RunTaskRequest.h:217
Aws::ECS::Model::RunTaskRequest::WithPlatformVersion
RunTaskRequest & WithPlatformVersion(Aws::String &&value)
Definition: RunTaskRequest.h:734
Aws::ECS::Model::RunTaskRequest::WithPropagateTags
RunTaskRequest & WithPropagateTags(PropagateTags &&value)
Definition: RunTaskRequest.h:806
Aws::ECS::Model::RunTaskRequest::SetLaunchType
void SetLaunchType(const LaunchType &value)
Definition: RunTaskRequest.h:359
Aws::ECS::Model::RunTaskRequest::ClusterHasBeenSet
bool ClusterHasBeenSet() const
Definition: RunTaskRequest.h:131
Aws::ECS::Model::RunTaskRequest::StartedByHasBeenSet
bool StartedByHasBeenSet() const
Definition: RunTaskRequest.h:874
Aws::ECS::Model::RunTaskRequest::GetTaskDefinition
const Aws::String & GetTaskDefinition() const
Definition: RunTaskRequest.h:1122
Aws::ECS::Model::RunTaskRequest::WithPlatformVersion
RunTaskRequest & WithPlatformVersion(const char *value)
Definition: RunTaskRequest.h:745
Aws::ECS::Model::RunTaskRequest::AddCapacityProviderStrategy
RunTaskRequest & AddCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
Definition: RunTaskRequest.h:116
Aws::ECS::Model::RunTaskRequest::WithReferenceId
RunTaskRequest & WithReferenceId(const Aws::String &value)
Definition: RunTaskRequest.h:837
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:939
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:301
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:329
Aws::ECS::Model::RunTaskRequest::GetEnableECSManagedTags
bool GetEnableECSManagedTags() const
Definition: RunTaskRequest.h:208
Aws::ECS::Model::RunTaskRequest::SetStartedBy
void SetStartedBy(Aws::String &&value)
Definition: RunTaskRequest.h:900
Aws::ECS::Model::RunTaskRequest::NetworkConfigurationHasBeenSet
bool NetworkConfigurationHasBeenSet() const
Definition: RunTaskRequest.h:427
Aws::ECS::Model::RunTaskRequest::SetPlacementStrategy
void SetPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
Definition: RunTaskRequest.h:632
Aws::ECS::Model::RunTaskRequest::WithOverrides
RunTaskRequest & WithOverrides(TaskOverride &&value)
Definition: RunTaskRequest.h:550
Aws::ECS::Model::Tag
Definition: Tag.h:47
Aws::ECS::Model::RunTaskRequest::WithPlacementStrategy
RunTaskRequest & WithPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
Definition: RunTaskRequest.h:644
AWSVector.h
Aws::ECS::Model::RunTaskRequest::LaunchTypeHasBeenSet
bool LaunchTypeHasBeenSet() const
Definition: RunTaskRequest.h:344
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::RunTaskRequest::AddTags
RunTaskRequest & AddTags(Tag &&value)
Definition: RunTaskRequest.h:1113
Aws::ECS::Model::RunTaskRequest::SetCluster
void SetCluster(const char *value)
Definition: RunTaskRequest.h:152
Aws::ECS::Model::RunTaskRequest::GetOverrides
const TaskOverride & GetOverrides() const
Definition: RunTaskRequest.h:485
Aws::ECS::Model::RunTaskRequest::SetOverrides
void SetOverrides(const TaskOverride &value)
Definition: RunTaskRequest.h:511
Aws::ECS::Model::PlacementConstraint
Definition: PlacementConstraint.h:38
Aws::ECS::Model::CapacityProviderStrategyItem
Definition: CapacityProviderStrategyItem.h:45
Aws::ECS::Model::RunTaskRequest::WithPlatformVersion
RunTaskRequest & WithPlatformVersion(const Aws::String &value)
Definition: RunTaskRequest.h:723
Aws::ECS::Model::RunTaskRequest::WithTaskDefinition
RunTaskRequest & WithTaskDefinition(Aws::String &&value)
Definition: RunTaskRequest.h:1170
Aws::ECS::Model::RunTaskRequest::WithCapacityProviderStrategy
RunTaskRequest & WithCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
Definition: RunTaskRequest.h:89
Aws::ECS::Model::RunTaskRequest::SetStartedBy
void SetStartedBy(const char *value)
Definition: RunTaskRequest.h:913
Aws::ECS::Model::RunTaskRequest::GetPropagateTags
const PropagateTags & GetPropagateTags() const
Definition: RunTaskRequest.h:756
Aws::ECS::Model::RunTaskRequest::AddCapacityProviderStrategy
RunTaskRequest & AddCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
Definition: RunTaskRequest.h:107
Aws::ECS::Model::RunTaskRequest::WithTags
RunTaskRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: RunTaskRequest.h:1073
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:243
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:80
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:586
Aws::ECS::Model::RunTaskRequest::GetReferenceId
const Aws::String & GetReferenceId() const
Definition: RunTaskRequest.h:812
Aws::ECS::Model::RunTaskRequest::SetEnableExecuteCommand
void SetEnableExecuteCommand(bool value)
Definition: RunTaskRequest.h:257
Aws::ECS::Model::RunTaskRequest::WithTaskDefinition
RunTaskRequest & WithTaskDefinition(const char *value)
Definition: RunTaskRequest.h:1178
PropagateTags.h
Aws::ECS::Model::RunTaskRequest::AddPlacementStrategy
RunTaskRequest & AddPlacementStrategy(PlacementStrategy &&value)
Definition: RunTaskRequest.h:656
Aws::ECS::Model::RunTaskRequest::WithLaunchType
RunTaskRequest & WithLaunchType(LaunchType &&value)
Definition: RunTaskRequest.h:404
Aws::ECS::Model::RunTaskRequest::CapacityProviderStrategyHasBeenSet
bool CapacityProviderStrategyHasBeenSet() const
Definition: RunTaskRequest.h:62
Aws::ECS::Model::RunTaskRequest::SetCount
void SetCount(int value)
Definition: RunTaskRequest.h:192
Aws::ECS::Model::RunTaskRequest::EnableExecuteCommandHasBeenSet
bool EnableExecuteCommandHasBeenSet() const
Definition: RunTaskRequest.h:250
Aws::ECS::Model::RunTaskRequest::SetPlacementConstraints
void SetPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
Definition: RunTaskRequest.h:579
Aws::ECS::Model::RunTaskRequest::GetCapacityProviderStrategy
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
Definition: RunTaskRequest.h:53
AWSString.h
Aws::ECS::Model::RunTaskRequest::WithCount
RunTaskRequest & WithCount(int value)
Definition: RunTaskRequest.h:198
CapacityProviderStrategyItem.h
Aws::ECS::Model::PropagateTags
PropagateTags
Definition: PropagateTags.h:17
Aws::ECS::Model::RunTaskRequest::AddPlacementConstraints
RunTaskRequest & AddPlacementConstraints(PlacementConstraint &&value)
Definition: RunTaskRequest.h:607
Aws::ECS::Model::RunTaskRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: RunTaskRequest.h:973
Aws::ECS::Model::RunTaskRequest::AddTags
RunTaskRequest & AddTags(const Tag &value)
Definition: RunTaskRequest.h:1093
Aws::ECS::Model::RunTaskRequest::WithPlacementStrategy
RunTaskRequest & WithPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
Definition: RunTaskRequest.h:638
Aws::ECS::Model::RunTaskRequest::WithReferenceId
RunTaskRequest & WithReferenceId(Aws::String &&value)
Definition: RunTaskRequest.h:842
Aws::ECS::Model::RunTaskRequest::SetPropagateTags
void SetPropagateTags(PropagateTags &&value)
Definition: RunTaskRequest.h:786
Aws::ECS::Model::RunTaskRequest::AddPlacementConstraints
RunTaskRequest & AddPlacementConstraints(const PlacementConstraint &value)
Definition: RunTaskRequest.h:600
TaskOverride.h
Aws::ECS::Model::RunTaskRequest::SetGroup
void SetGroup(const char *value)
Definition: RunTaskRequest.h:295
Aws::ECS::Model::RunTaskRequest::WithNetworkConfiguration
RunTaskRequest & WithNetworkConfiguration(const NetworkConfiguration &value)
Definition: RunTaskRequest.h:460
Aws::ECS::Model::RunTaskRequest::WithPlacementConstraints
RunTaskRequest & WithPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
Definition: RunTaskRequest.h:593
Aws::ECS::Model::RunTaskRequest::SetTaskDefinition
void SetTaskDefinition(const char *value)
Definition: RunTaskRequest.h:1154
Aws::ECS::Model::RunTaskRequest::WithGroup
RunTaskRequest & WithGroup(Aws::String &&value)
Definition: RunTaskRequest.h:307
Aws::ECS::Model::RunTaskRequest::OverridesHasBeenSet
bool OverridesHasBeenSet() const
Definition: RunTaskRequest.h:498
Aws::ECS::Model::RunTaskRequest::WithGroup
RunTaskRequest & WithGroup(const char *value)
Definition: RunTaskRequest.h:313
Aws::ECS::Model::RunTaskRequest::SetPropagateTags
void SetPropagateTags(const PropagateTags &value)
Definition: RunTaskRequest.h:776
Aws::ECS::Model::RunTaskRequest::WithCapacityProviderStrategy
RunTaskRequest & WithCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
Definition: RunTaskRequest.h:98
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::RunTaskRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: RunTaskRequest.h:1013
Aws::ECS::Model::RunTaskRequest::GetCount
int GetCount() const
Definition: RunTaskRequest.h:180
Aws::ECS::Model::RunTaskRequest::SetCluster
void SetCluster(Aws::String &&value)
Definition: RunTaskRequest.h:145
Aws::ECS::Model::RunTaskRequest::WithPropagateTags
RunTaskRequest & WithPropagateTags(const PropagateTags &value)
Definition: RunTaskRequest.h:796
Aws::ECS::Model::PlacementStrategy
Definition: PlacementStrategy.h:37
Aws::ECS::Model::RunTaskRequest::PlatformVersionHasBeenSet
bool PlatformVersionHasBeenSet() const
Definition: RunTaskRequest.h:679
Aws::ECS::Model::RunTaskRequest::GetGroup
const Aws::String & GetGroup() const
Definition: RunTaskRequest.h:271
Aws::ECS::Model::RunTaskRequest::TaskDefinitionHasBeenSet
bool TaskDefinitionHasBeenSet() const
Definition: RunTaskRequest.h:1130
Aws::ECS::Model::RunTaskRequest::SetCapacityProviderStrategy
void SetCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
Definition: RunTaskRequest.h:71
Aws::ECS::Model::RunTaskRequest::WithReferenceId
RunTaskRequest & WithReferenceId(const char *value)
Definition: RunTaskRequest.h:847
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:389
PlacementConstraint.h
Aws::ECS::Model::RunTaskRequest::SetReferenceId
void SetReferenceId(Aws::String &&value)
Definition: RunTaskRequest.h:827
Aws::ECS::Model::RunTaskRequest::SetPlatformVersion
void SetPlatformVersion(Aws::String &&value)
Definition: RunTaskRequest.h:701
Aws::ECS::Model::RunTaskRequest::GetPlacementStrategy
const Aws::Vector< PlacementStrategy > & GetPlacementStrategy() const
Definition: RunTaskRequest.h:614
Aws::ECS::Model::RunTaskRequest::PlacementStrategyHasBeenSet
bool PlacementStrategyHasBeenSet() const
Definition: RunTaskRequest.h:620
Aws::ECS::Model::RunTaskRequest::SetTaskDefinition
void SetTaskDefinition(Aws::String &&value)
Definition: RunTaskRequest.h:1146
Aws::ECS::Model::RunTaskRequest::SetPlatformVersion
void SetPlatformVersion(const Aws::String &value)
Definition: RunTaskRequest.h:690
Aws::ECS::Model::RunTaskRequest::WithEnableECSManagedTags
RunTaskRequest & WithEnableECSManagedTags(bool value)
Definition: RunTaskRequest.h:235
Aws::ECS::Model::RunTaskRequest::SetPlatformVersion
void SetPlatformVersion(const char *value)
Definition: RunTaskRequest.h:712
ECS_EXPORTS.h
Aws::ECS::Model::RunTaskRequest::AddPlacementStrategy
RunTaskRequest & AddPlacementStrategy(const PlacementStrategy &value)
Definition: RunTaskRequest.h:650
Aws::ECS::Model::RunTaskRequest::GroupHasBeenSet
bool GroupHasBeenSet() const
Definition: RunTaskRequest.h:277
Aws::ECS::Model::RunTaskRequest::GetStartedBy
const Aws::String & GetStartedBy() const
Definition: RunTaskRequest.h:861
Aws::ECS::Model::RunTaskRequest::SetCluster
void SetCluster(const Aws::String &value)
Definition: RunTaskRequest.h:138
ECSRequest.h
Aws::ECS::Model::RunTaskRequest::SetPlacementStrategy
void SetPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
Definition: RunTaskRequest.h:626
Aws::ECS::Model::RunTaskRequest::SetGroup
void SetGroup(const Aws::String &value)
Definition: RunTaskRequest.h:283
Aws::ECS::Model::RunTaskRequest::WithEnableExecuteCommand
RunTaskRequest & WithEnableExecuteCommand(bool value)
Definition: RunTaskRequest.h:264
Aws::ECS::Model::RunTaskRequest::WithTags
RunTaskRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: RunTaskRequest.h:1053
Aws::ECS::Model::RunTaskRequest::SetLaunchType
void SetLaunchType(LaunchType &&value)
Definition: RunTaskRequest.h:374
Aws::ECS::Model::RunTaskRequest::PlacementConstraintsHasBeenSet
bool PlacementConstraintsHasBeenSet() const
Definition: RunTaskRequest.h:565