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>
45 template<
typename ClusterT = Aws::String>
46 void SetCluster(ClusterT&& value) { m_clusterHasBeenSet =
true; m_cluster = std::forward<ClusterT>(value); }
47 template<
typename ClusterT = Aws::String>
57 template<
typename TasksT = Aws::Vector<Aws::String>>
58 void SetTasks(TasksT&& value) { m_tasksHasBeenSet =
true; m_tasks = std::forward<TasksT>(value); }
59 template<
typename TasksT = Aws::Vector<Aws::String>>
61 template<
typename TasksT = Aws::String>
67 bool m_clusterHasBeenSet =
false;
70 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