7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/model/TargetType.h>
55 template<
typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
57 template<
typename NameT = Aws::String>
71 template<
typename ValueT = Aws::String>
72 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
73 template<
typename ValueT = Aws::String>
96 template<
typename TargetIdT = Aws::String>
97 void SetTargetId(TargetIdT&& value) { m_targetIdHasBeenSet =
true; m_targetId = std::forward<TargetIdT>(value); }
98 template<
typename TargetIdT = Aws::String>
104 bool m_nameHasBeenSet =
false;
107 bool m_valueHasBeenSet =
false;
110 bool m_targetTypeHasBeenSet =
false;
113 bool m_targetIdHasBeenSet =
false;
void SetTargetType(TargetType value)
bool NameHasBeenSet() const
AWS_ECS_API Attribute & operator=(Aws::Utils::Json::JsonView jsonValue)
Attribute & WithTargetId(TargetIdT &&value)
AWS_ECS_API Attribute(Aws::Utils::Json::JsonView jsonValue)
void SetTargetId(TargetIdT &&value)
const Aws::String & GetTargetId() const
bool TargetTypeHasBeenSet() const
Attribute & WithValue(ValueT &&value)
void SetName(NameT &&value)
Attribute & WithTargetType(TargetType value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API Attribute()=default
void SetValue(ValueT &&value)
TargetType GetTargetType() const
const Aws::String & GetName() const
bool ValueHasBeenSet() const
bool TargetIdHasBeenSet() const
const Aws::String & GetValue() const
Attribute & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue