7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/ECSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ecs/model/NetworkConfiguration.h>
12#include <aws/ecs/model/TaskOverride.h>
13#include <aws/ecs/model/PropagateTags.h>
14#include <aws/ecs/model/Tag.h>
15#include <aws/ecs/model/TaskVolumeConfiguration.h>
53 inline void SetCluster(
const char* value) { m_clusterHasBeenSet =
true; m_cluster.assign(value); }
86 inline void SetEnableECSManagedTags(
bool value) { m_enableECSManagedTagsHasBeenSet =
true; m_enableECSManagedTags = value; }
98 inline void SetEnableExecuteCommand(
bool value) { m_enableExecuteCommandHasBeenSet =
true; m_enableExecuteCommand = value; }
111 inline void SetGroup(
const char* value) { m_groupHasBeenSet =
true; m_group.assign(value); }
173 inline void SetReferenceId(
const char* value) { m_referenceIdHasBeenSet =
true; m_referenceId.assign(value); }
197 inline void SetStartedBy(
const char* value) { m_startedByHasBeenSet =
true; m_startedBy.assign(value); }
243 inline void SetTaskDefinition(
const char* value) { m_taskDefinitionHasBeenSet =
true; m_taskDefinition.assign(value); }
269 bool m_clusterHasBeenSet =
false;
272 bool m_containerInstancesHasBeenSet =
false;
274 bool m_enableECSManagedTags;
275 bool m_enableECSManagedTagsHasBeenSet =
false;
277 bool m_enableExecuteCommand;
278 bool m_enableExecuteCommandHasBeenSet =
false;
281 bool m_groupHasBeenSet =
false;
284 bool m_networkConfigurationHasBeenSet =
false;
287 bool m_overridesHasBeenSet =
false;
290 bool m_propagateTagsHasBeenSet =
false;
293 bool m_referenceIdHasBeenSet =
false;
296 bool m_startedByHasBeenSet =
false;
299 bool m_tagsHasBeenSet =
false;
302 bool m_taskDefinitionHasBeenSet =
false;
305 bool m_volumeConfigurationsHasBeenSet =
false;
StartTaskRequest & AddContainerInstances(const char *value)
void SetCluster(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
StartTaskRequest & WithOverrides(const TaskOverride &value)
StartTaskRequest & WithTags(const Aws::Vector< Tag > &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetStartedBy(Aws::String &&value)
StartTaskRequest & WithTaskDefinition(const Aws::String &value)
void SetTaskDefinition(Aws::String &&value)
bool EnableECSManagedTagsHasBeenSet() const
void SetGroup(const Aws::String &value)
bool NetworkConfigurationHasBeenSet() const
StartTaskRequest & WithEnableECSManagedTags(bool value)
StartTaskRequest & WithNetworkConfiguration(const NetworkConfiguration &value)
StartTaskRequest & WithCluster(const Aws::String &value)
void SetVolumeConfigurations(Aws::Vector< TaskVolumeConfiguration > &&value)
StartTaskRequest & WithGroup(const Aws::String &value)
AWS_ECS_API Aws::String SerializePayload() const override
bool GetEnableExecuteCommand() const
const Aws::String & GetCluster() const
StartTaskRequest & AddVolumeConfigurations(const TaskVolumeConfiguration &value)
StartTaskRequest & WithOverrides(TaskOverride &&value)
const NetworkConfiguration & GetNetworkConfiguration() const
void SetGroup(Aws::String &&value)
StartTaskRequest & AddTags(const Tag &value)
StartTaskRequest & WithPropagateTags(PropagateTags &&value)
StartTaskRequest & WithContainerInstances(Aws::Vector< Aws::String > &&value)
void SetCluster(const char *value)
StartTaskRequest & WithPropagateTags(const PropagateTags &value)
bool StartedByHasBeenSet() const
void SetReferenceId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetContainerInstances() const
StartTaskRequest & WithVolumeConfigurations(Aws::Vector< TaskVolumeConfiguration > &&value)
const Aws::Vector< TaskVolumeConfiguration > & GetVolumeConfigurations() const
StartTaskRequest & WithGroup(const char *value)
StartTaskRequest & WithReferenceId(const char *value)
void SetEnableECSManagedTags(bool value)
void SetOverrides(TaskOverride &&value)
StartTaskRequest & AddContainerInstances(Aws::String &&value)
StartTaskRequest & WithContainerInstances(const Aws::Vector< Aws::String > &value)
void SetTaskDefinition(const char *value)
StartTaskRequest & WithEnableExecuteCommand(bool value)
void SetReferenceId(const char *value)
void SetPropagateTags(const PropagateTags &value)
bool TaskDefinitionHasBeenSet() const
bool TagsHasBeenSet() const
bool EnableExecuteCommandHasBeenSet() const
StartTaskRequest & WithReferenceId(const Aws::String &value)
StartTaskRequest & WithNetworkConfiguration(NetworkConfiguration &&value)
const Aws::String & GetReferenceId() const
void SetGroup(const char *value)
bool ClusterHasBeenSet() const
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const TaskOverride & GetOverrides() const
StartTaskRequest & WithTaskDefinition(Aws::String &&value)
StartTaskRequest & WithGroup(Aws::String &&value)
void SetCluster(const Aws::String &value)
StartTaskRequest & AddContainerInstances(const Aws::String &value)
bool PropagateTagsHasBeenSet() const
StartTaskRequest & WithReferenceId(Aws::String &&value)
StartTaskRequest & WithTaskDefinition(const char *value)
StartTaskRequest & AddTags(Tag &&value)
void SetReferenceId(Aws::String &&value)
bool OverridesHasBeenSet() const
StartTaskRequest & WithStartedBy(const char *value)
void SetStartedBy(const char *value)
void SetEnableExecuteCommand(bool value)
virtual const char * GetServiceRequestName() const override
void SetTaskDefinition(const Aws::String &value)
void SetOverrides(const TaskOverride &value)
StartTaskRequest & WithVolumeConfigurations(const Aws::Vector< TaskVolumeConfiguration > &value)
StartTaskRequest & AddVolumeConfigurations(TaskVolumeConfiguration &&value)
const Aws::String & GetTaskDefinition() const
bool VolumeConfigurationsHasBeenSet() const
StartTaskRequest & WithStartedBy(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
StartTaskRequest & WithStartedBy(const Aws::String &value)
bool GetEnableECSManagedTags() const
StartTaskRequest & WithCluster(Aws::String &&value)
void SetStartedBy(const Aws::String &value)
StartTaskRequest & WithTags(Aws::Vector< Tag > &&value)
const PropagateTags & GetPropagateTags() const
AWS_ECS_API StartTaskRequest()
void SetVolumeConfigurations(const Aws::Vector< TaskVolumeConfiguration > &value)
bool ReferenceIdHasBeenSet() const
void SetPropagateTags(PropagateTags &&value)
bool GroupHasBeenSet() const
void SetContainerInstances(const Aws::Vector< Aws::String > &value)
const Aws::String & GetGroup() const
void SetNetworkConfiguration(NetworkConfiguration &&value)
void SetContainerInstances(Aws::Vector< Aws::String > &&value)
bool ContainerInstancesHasBeenSet() const
const Aws::String & GetStartedBy() const
StartTaskRequest & WithCluster(const char *value)
void SetNetworkConfiguration(const NetworkConfiguration &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