7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/ECSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetCluster(
const char* value) { m_clusterHasBeenSet =
true; m_cluster.assign(value); }
61 inline void SetTask(
const char* value) { m_taskHasBeenSet =
true; m_task.assign(value); }
79 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
87 bool m_clusterHasBeenSet =
false;
90 bool m_taskHasBeenSet =
false;
93 bool m_reasonHasBeenSet =
false;
void SetReason(const char *value)
virtual const char * GetServiceRequestName() const override
StopTaskRequest & WithReason(Aws::String &&value)
StopTaskRequest & WithCluster(const Aws::String &value)
StopTaskRequest & WithReason(const Aws::String &value)
void SetCluster(const char *value)
StopTaskRequest & WithTask(const Aws::String &value)
void SetReason(const Aws::String &value)
AWS_ECS_API StopTaskRequest()
void SetReason(Aws::String &&value)
StopTaskRequest & WithReason(const char *value)
const Aws::String & GetTask() const
StopTaskRequest & WithCluster(Aws::String &&value)
void SetTask(const Aws::String &value)
const Aws::String & GetCluster() const
void SetTask(const char *value)
bool ReasonHasBeenSet() const
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetCluster(const Aws::String &value)
AWS_ECS_API Aws::String SerializePayload() const override
bool TaskHasBeenSet() const
StopTaskRequest & WithTask(const char *value)
bool ClusterHasBeenSet() const
void SetCluster(Aws::String &&value)
const Aws::String & GetReason() const
void SetTask(Aws::String &&value)
StopTaskRequest & WithTask(Aws::String &&value)
StopTaskRequest & WithCluster(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String