7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kendra/model/DocumentAttribute.h>
49 template<
typename DocumentIdT = Aws::String>
50 void SetDocumentId(DocumentIdT&& value) { m_documentIdHasBeenSet =
true; m_documentId = std::forward<DocumentIdT>(value); }
51 template<
typename DocumentIdT = Aws::String>
69 template<
typename AttributesT = Aws::Vector<DocumentAttribute>>
70 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
71 template<
typename AttributesT = Aws::Vector<DocumentAttribute>>
73 template<
typename AttributesT = DocumentAttribute>
74 DocumentInfo&
AddAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes.emplace_back(std::forward<AttributesT>(value));
return *
this; }
79 bool m_documentIdHasBeenSet =
false;
82 bool m_attributesHasBeenSet =
false;
DocumentInfo & AddAttributes(AttributesT &&value)
bool AttributesHasBeenSet() const
AWS_KENDRA_API DocumentInfo()=default
const Aws::Vector< DocumentAttribute > & GetAttributes() const
void SetDocumentId(DocumentIdT &&value)
DocumentInfo & WithAttributes(AttributesT &&value)
bool DocumentIdHasBeenSet() const
AWS_KENDRA_API DocumentInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttributes(AttributesT &&value)
AWS_KENDRA_API DocumentInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDocumentId() const
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentInfo & WithDocumentId(DocumentIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue