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>
47 inline void SetCluster(
const char* value) { m_clusterHasBeenSet =
true; m_cluster.assign(value); }
75 inline void SetProtectionEnabled(
bool value) { m_protectionEnabledHasBeenSet =
true; m_protectionEnabled = value; }
91 inline void SetExpiresInMinutes(
int value) { m_expiresInMinutesHasBeenSet =
true; m_expiresInMinutes = value; }
97 bool m_clusterHasBeenSet =
false;
100 bool m_tasksHasBeenSet =
false;
102 bool m_protectionEnabled;
103 bool m_protectionEnabledHasBeenSet =
false;
105 int m_expiresInMinutes;
106 bool m_expiresInMinutesHasBeenSet =
false;
AWS_ECS_API UpdateTaskProtectionRequest()
UpdateTaskProtectionRequest & WithCluster(const char *value)
UpdateTaskProtectionRequest & WithProtectionEnabled(bool value)
void SetTasks(const Aws::Vector< Aws::String > &value)
UpdateTaskProtectionRequest & WithCluster(const Aws::String &value)
void SetCluster(Aws::String &&value)
void SetProtectionEnabled(bool value)
UpdateTaskProtectionRequest & WithTasks(Aws::Vector< Aws::String > &&value)
bool ExpiresInMinutesHasBeenSet() const
void SetCluster(const char *value)
const Aws::String & GetCluster() const
UpdateTaskProtectionRequest & AddTasks(const char *value)
bool TasksHasBeenSet() const
UpdateTaskProtectionRequest & WithExpiresInMinutes(int value)
bool GetProtectionEnabled() const
bool ClusterHasBeenSet() const
void SetExpiresInMinutes(int value)
UpdateTaskProtectionRequest & WithTasks(const Aws::Vector< Aws::String > &value)
bool ProtectionEnabledHasBeenSet() const
int GetExpiresInMinutes() const
AWS_ECS_API Aws::String SerializePayload() const override
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateTaskProtectionRequest & WithCluster(Aws::String &&value)
UpdateTaskProtectionRequest & AddTasks(Aws::String &&value)
const Aws::Vector< Aws::String > & GetTasks() const
UpdateTaskProtectionRequest & AddTasks(const Aws::String &value)
void SetTasks(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
void SetCluster(const Aws::String &value)
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