7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/TypedAttributeValue.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace CloudDirectory {
42 template <
typename AttributeNameT = Aws::String>
44 m_attributeNameHasBeenSet =
true;
45 m_attributeName = std::forward<AttributeNameT>(value);
47 template <
typename AttributeNameT = Aws::String>
60 template <
typename ValueT = TypedAttributeValue>
62 m_valueHasBeenSet =
true;
63 m_value = std::forward<ValueT>(value);
65 template <
typename ValueT = TypedAttributeValue>
67 SetValue(std::forward<ValueT>(value));
75 bool m_attributeNameHasBeenSet =
false;
76 bool m_valueHasBeenSet =
false;
bool AttributeNameHasBeenSet() const
void SetAttributeName(AttributeNameT &&value)
AttributeNameAndValue & WithValue(ValueT &&value)
const TypedAttributeValue & GetValue() const
const Aws::String & GetAttributeName() const
AWS_CLOUDDIRECTORY_API AttributeNameAndValue()=default
bool ValueHasBeenSet() const
AWS_CLOUDDIRECTORY_API AttributeNameAndValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDDIRECTORY_API AttributeNameAndValue(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
AttributeNameAndValue & WithAttributeName(AttributeNameT &&value)
void SetValue(ValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue