7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/model/TargetType.h>
57 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
75 inline void SetValue(
const char* value) { m_valueHasBeenSet =
true; m_value.assign(value); }
104 inline void SetTargetId(
const char* value) { m_targetIdHasBeenSet =
true; m_targetId.assign(value); }
112 bool m_nameHasBeenSet =
false;
115 bool m_valueHasBeenSet =
false;
118 bool m_targetTypeHasBeenSet =
false;
121 bool m_targetIdHasBeenSet =
false;
bool NameHasBeenSet() const
Attribute & WithName(const Aws::String &value)
AWS_ECS_API Attribute & operator=(Aws::Utils::Json::JsonView jsonValue)
Attribute & WithTargetId(const char *value)
void SetValue(const char *value)
AWS_ECS_API Attribute(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
const Aws::String & GetTargetId() const
bool TargetTypeHasBeenSet() const
Attribute & WithName(const char *value)
void SetValue(Aws::String &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTargetId(Aws::String &&value)
Attribute & WithTargetType(const TargetType &value)
Attribute & WithValue(Aws::String &&value)
void SetTargetType(TargetType &&value)
Attribute & WithTargetId(const Aws::String &value)
void SetTargetId(const Aws::String &value)
Attribute & WithValue(const Aws::String &value)
void SetTargetType(const TargetType &value)
const Aws::String & GetName() const
const TargetType & GetTargetType() const
void SetValue(const Aws::String &value)
void SetName(const Aws::String &value)
bool ValueHasBeenSet() const
bool TargetIdHasBeenSet() const
const Aws::String & GetValue() const
Attribute & WithTargetType(TargetType &&value)
Attribute & WithName(Aws::String &&value)
Attribute & WithValue(const char *value)
void SetName(Aws::String &&value)
Attribute & WithTargetId(Aws::String &&value)
void SetTargetId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue