7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/DocumentAttributeValue.h>
47 template<
typename NameT = Aws::String>
48 void SetName(
NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
59 template<
typename ValueT = DocumentAttributeValue>
60 void SetValue(
ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
61 template<
typename ValueT = DocumentAttributeValue>
67 bool m_nameHasBeenSet =
false;
70 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