7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qbusiness/QBusiness_EXPORTS.h>
9#include <aws/qbusiness/model/DocumentAttributeValue.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));
59 template <
typename ValueT = DocumentAttributeValue>
61 m_valueHasBeenSet =
true;
62 m_value = std::forward<ValueT>(value);
64 template <
typename ValueT = DocumentAttributeValue>
66 SetValue(std::forward<ValueT>(value));
74 bool m_nameHasBeenSet =
false;
75 bool m_valueHasBeenSet =
false;
void SetValue(ValueT &&value)
AWS_QBUSINESS_API DocumentAttribute()=default
AWS_QBUSINESS_API DocumentAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentAttribute & WithValue(ValueT &&value)
const DocumentAttributeValue & GetValue() const
bool ValueHasBeenSet() const
bool NameHasBeenSet() const
AWS_QBUSINESS_API DocumentAttribute(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentAttribute & WithName(NameT &&value)
const Aws::String & GetName() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue