7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/clouddirectory/model/TypedAttributeValue.h>
22namespace CloudDirectory
48 template<
typename AttributeNameT = Aws::String>
49 void SetAttributeName(AttributeNameT&& value) { m_attributeNameHasBeenSet =
true; m_attributeName = std::forward<AttributeNameT>(value); }
50 template<
typename AttributeNameT = Aws::String>
60 template<
typename ValueT = TypedAttributeValue>
61 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
62 template<
typename ValueT = TypedAttributeValue>
68 bool m_attributeNameHasBeenSet =
false;
71 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