7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/Task.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
42 inline void SetTask(
Task&& value) { m_task = std::move(value); }
52 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
AWS_ECS_API StopTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopTaskResult & WithTask(Task &&value)
const Aws::String & GetRequestId() const
void SetTask(Task &&value)
StopTaskResult & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
const Task & GetTask() const
StopTaskResult & WithTask(const Task &value)
void SetTask(const Task &value)
AWS_ECS_API StopTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const char *value)
StopTaskResult & WithRequestId(const char *value)
AWS_ECS_API StopTaskResult()
StopTaskResult & WithRequestId(const Aws::String &value)
void SetRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue