7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ecs/ECSRequest.h>
10#include <aws/ecs/ECS_EXPORTS.h>
41 template <
typename ClusterT = Aws::String>
43 m_clusterHasBeenSet =
true;
44 m_cluster = std::forward<ClusterT>(value);
46 template <
typename ClusterT = Aws::String>
59 template <
typename TasksT = Aws::Vector<Aws::String>>
61 m_tasksHasBeenSet =
true;
62 m_tasks = std::forward<TasksT>(value);
64 template <
typename TasksT = Aws::Vector<Aws::String>>
66 SetTasks(std::forward<TasksT>(value));
69 template <
typename TasksT = Aws::String>
71 m_tasksHasBeenSet =
true;
72 m_tasks.emplace_back(std::forward<TasksT>(value));
80 bool m_clusterHasBeenSet =
false;
81 bool m_tasksHasBeenSet =
false;
void SetCluster(ClusterT &&value)
AWS_ECS_API GetTaskProtectionRequest()=default
bool ClusterHasBeenSet() const
AWS_ECS_API Aws::String SerializePayload() const override
void SetTasks(TasksT &&value)
const Aws::Vector< Aws::String > & GetTasks() const
const Aws::String & GetCluster() const
bool TasksHasBeenSet() const
virtual const char * GetServiceRequestName() const override
GetTaskProtectionRequest & AddTasks(TasksT &&value)
GetTaskProtectionRequest & WithTasks(TasksT &&value)
GetTaskProtectionRequest & WithCluster(ClusterT &&value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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