7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9#include <aws/ecs/model/TargetType.h>
49 template <
typename NameT = Aws::String>
51 m_nameHasBeenSet =
true;
52 m_name = std::forward<NameT>(value);
54 template <
typename NameT = Aws::String>
56 SetName(std::forward<NameT>(value));
71 template <
typename ValueT = Aws::String>
73 m_valueHasBeenSet =
true;
74 m_value = std::forward<ValueT>(value);
76 template <
typename ValueT = Aws::String>
78 SetValue(std::forward<ValueT>(value));
92 m_targetTypeHasBeenSet =
true;
108 template <
typename TargetIdT = Aws::String>
110 m_targetIdHasBeenSet =
true;
111 m_targetId = std::forward<TargetIdT>(value);
113 template <
typename TargetIdT = Aws::String>
127 bool m_nameHasBeenSet =
false;
128 bool m_valueHasBeenSet =
false;
129 bool m_targetTypeHasBeenSet =
false;
130 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