7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ecs/model/ProtectedTask.h>
11#include <aws/ecs/model/Failure.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
74 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
GetTaskProtectionResult & WithFailures(Aws::Vector< Failure > &&value)
GetTaskProtectionResult & WithFailures(const Aws::Vector< Failure > &value)
void SetRequestId(const Aws::String &value)
void SetFailures(Aws::Vector< Failure > &&value)
AWS_ECS_API GetTaskProtectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetProtectedTasks(Aws::Vector< ProtectedTask > &&value)
const Aws::String & GetRequestId() const
void SetFailures(const Aws::Vector< Failure > &value)
GetTaskProtectionResult & WithRequestId(Aws::String &&value)
void SetProtectedTasks(const Aws::Vector< ProtectedTask > &value)
void SetRequestId(const char *value)
AWS_ECS_API GetTaskProtectionResult()
const Aws::Vector< ProtectedTask > & GetProtectedTasks() const
GetTaskProtectionResult & WithProtectedTasks(const Aws::Vector< ProtectedTask > &value)
GetTaskProtectionResult & WithRequestId(const char *value)
void SetRequestId(Aws::String &&value)
GetTaskProtectionResult & WithRequestId(const Aws::String &value)
GetTaskProtectionResult & AddFailures(const Failure &value)
AWS_ECS_API GetTaskProtectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTaskProtectionResult & WithProtectedTasks(Aws::Vector< ProtectedTask > &&value)
GetTaskProtectionResult & AddProtectedTasks(const ProtectedTask &value)
GetTaskProtectionResult & AddProtectedTasks(ProtectedTask &&value)
GetTaskProtectionResult & AddFailures(Failure &&value)
const Aws::Vector< Failure > & GetFailures() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue