7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
54 inline void SetTaskArn(
const char* value) { m_taskArnHasBeenSet =
true; m_taskArn.assign(value); }
67 inline void SetProtectionEnabled(
bool value) { m_protectionEnabledHasBeenSet =
true; m_protectionEnabled = value; }
85 bool m_taskArnHasBeenSet =
false;
87 bool m_protectionEnabled;
88 bool m_protectionEnabledHasBeenSet =
false;
91 bool m_expirationDateHasBeenSet =
false;
const Aws::String & GetTaskArn() const
ProtectedTask & WithTaskArn(const Aws::String &value)
const Aws::Utils::DateTime & GetExpirationDate() const
AWS_ECS_API ProtectedTask()
void SetExpirationDate(const Aws::Utils::DateTime &value)
bool ExpirationDateHasBeenSet() const
bool ProtectionEnabledHasBeenSet() const
void SetTaskArn(Aws::String &&value)
void SetProtectionEnabled(bool value)
ProtectedTask & WithProtectionEnabled(bool value)
bool GetProtectionEnabled() const
void SetTaskArn(const Aws::String &value)
bool TaskArnHasBeenSet() const
ProtectedTask & WithTaskArn(const char *value)
ProtectedTask & WithExpirationDate(const Aws::Utils::DateTime &value)
ProtectedTask & WithExpirationDate(Aws::Utils::DateTime &&value)
void SetExpirationDate(Aws::Utils::DateTime &&value)
AWS_ECS_API ProtectedTask(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API ProtectedTask & operator=(Aws::Utils::Json::JsonView jsonValue)
ProtectedTask & WithTaskArn(Aws::String &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTaskArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue