7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
60 template <
typename ValueT = Aws::String>
62 m_valueHasBeenSet =
true;
63 m_value = std::forward<ValueT>(value);
65 template <
typename ValueT = Aws::String>
67 SetValue(std::forward<ValueT>(value));
75 bool m_nameHasBeenSet =
false;
76 bool m_valueHasBeenSet =
false;
KeyValuePair & WithName(NameT &&value)
const Aws::String & GetName() const
bool ValueHasBeenSet() const
KeyValuePair & WithValue(ValueT &&value)
void SetName(NameT &&value)
bool NameHasBeenSet() const
AWS_ECS_API KeyValuePair()=default
const Aws::String & GetValue() const
void SetValue(ValueT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API KeyValuePair & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API KeyValuePair(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue