7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kendra/Kendra_EXPORTS.h>
10#include <aws/kendra/model/DocumentAttribute.h>
43 template <
typename DocumentIdT = Aws::String>
45 m_documentIdHasBeenSet =
true;
46 m_documentId = std::forward<DocumentIdT>(value);
48 template <
typename DocumentIdT = Aws::String>
69 template <
typename AttributesT = Aws::Vector<DocumentAttribute>>
71 m_attributesHasBeenSet =
true;
72 m_attributes = std::forward<AttributesT>(value);
74 template <
typename AttributesT = Aws::Vector<DocumentAttribute>>
79 template <
typename AttributesT = DocumentAttribute>
81 m_attributesHasBeenSet =
true;
82 m_attributes.emplace_back(std::forward<AttributesT>(value));
90 bool m_documentIdHasBeenSet =
false;
91 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