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>
21#include <aws/core/utils/UUID.h>
78 inline void SetCluster(
const char* value) { m_clusterHasBeenSet =
true; m_cluster.assign(value); }
91 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
133 inline void SetGroup(
const char* value) { m_groupHasBeenSet =
true; m_group.assign(value); }
250 inline void SetPlatformVersion(
const char* value) { m_platformVersionHasBeenSet =
true; m_platformVersion.assign(value); }
283 inline void SetReferenceId(
const char* value) { m_referenceIdHasBeenSet =
true; m_referenceId.assign(value); }
307 inline void SetStartedBy(
const char* value) { m_startedByHasBeenSet =
true; m_startedBy.assign(value); }
365 inline void SetTaskDefinition(
const char* value) { m_taskDefinitionHasBeenSet =
true; m_taskDefinition.assign(value); }
384 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
411 bool m_capacityProviderStrategyHasBeenSet =
false;
414 bool m_clusterHasBeenSet =
false;
417 bool m_countHasBeenSet =
false;
419 bool m_enableECSManagedTags;
420 bool m_enableECSManagedTagsHasBeenSet =
false;
422 bool m_enableExecuteCommand;
423 bool m_enableExecuteCommandHasBeenSet =
false;
426 bool m_groupHasBeenSet =
false;
429 bool m_launchTypeHasBeenSet =
false;
432 bool m_networkConfigurationHasBeenSet =
false;
435 bool m_overridesHasBeenSet =
false;
438 bool m_placementConstraintsHasBeenSet =
false;
441 bool m_placementStrategyHasBeenSet =
false;
444 bool m_platformVersionHasBeenSet =
false;
447 bool m_propagateTagsHasBeenSet =
false;
450 bool m_referenceIdHasBeenSet =
false;
453 bool m_startedByHasBeenSet =
false;
456 bool m_tagsHasBeenSet =
false;
459 bool m_taskDefinitionHasBeenSet =
false;
462 bool m_clientTokenHasBeenSet =
false;
465 bool m_volumeConfigurationsHasBeenSet =
false;
RunTaskRequest & WithClientToken(Aws::String &&value)
void SetCluster(const char *value)
bool ReferenceIdHasBeenSet() const
RunTaskRequest & WithStartedBy(Aws::String &&value)
bool PlacementStrategyHasBeenSet() const
void SetStartedBy(Aws::String &&value)
void SetPlatformVersion(const char *value)
bool OverridesHasBeenSet() const
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)
bool PlatformVersionHasBeenSet() const
void SetVolumeConfigurations(Aws::Vector< TaskVolumeConfiguration > &&value)
void SetReferenceId(Aws::String &&value)
bool TaskDefinitionHasBeenSet() const
void SetGroup(Aws::String &&value)
RunTaskRequest & AddPlacementConstraints(PlacementConstraint &&value)
RunTaskRequest & AddVolumeConfigurations(const TaskVolumeConfiguration &value)
bool TagsHasBeenSet() const
bool EnableExecuteCommandHasBeenSet() const
void SetGroup(const char *value)
bool ClientTokenHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const NetworkConfiguration & GetNetworkConfiguration() const
const PropagateTags & GetPropagateTags() const
bool PropagateTagsHasBeenSet() const
RunTaskRequest & WithCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
RunTaskRequest & AddTags(const Tag &value)
bool NetworkConfigurationHasBeenSet() const
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)
bool GetEnableExecuteCommand() const
bool ClusterHasBeenSet() const
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)
AWS_ECS_API RunTaskRequest()
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
bool EnableECSManagedTagsHasBeenSet() const
RunTaskRequest & WithReferenceId(const Aws::String &value)
bool GetEnableECSManagedTags() const
bool LaunchTypeHasBeenSet() const
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)
bool PlacementConstraintsHasBeenSet() const
const Aws::Vector< TaskVolumeConfiguration > & GetVolumeConfigurations() const
const Aws::String & GetReferenceId() const
bool VolumeConfigurationsHasBeenSet() const
bool StartedByHasBeenSet() 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)
bool CountHasBeenSet() const
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)
bool GroupHasBeenSet() const
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