/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A document in an index.See Also:
AWS API
* Reference
A unique identifier of the document in the index.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *A unique identifier of the document in the index.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *A unique identifier of the document in the index.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *A unique identifier of the document in the index.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *A unique identifier of the document in the index.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *A unique identifier of the document in the index.
*/ inline Document& WithId(const Aws::String& value) { SetId(value); return *this;} /** *A unique identifier of the document in the index.
*/ inline Document& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *A unique identifier of the document in the index.
*/ inline Document& WithId(const char* value) { SetId(value); return *this;} /** *The title of the document.
*/ inline const Aws::String& GetTitle() const{ return m_title; } /** *The title of the document.
*/ inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } /** *The title of the document.
*/ inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } /** *The title of the document.
*/ inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } /** *The title of the document.
*/ inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } /** *The title of the document.
*/ inline Document& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} /** *The title of the document.
*/ inline Document& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} /** *The title of the document.
*/ inline Document& WithTitle(const char* value) { SetTitle(value); return *this;} /** *The contents of the document.
Documents passed to the
* Blob parameter must be base64 encoded. Your code might not need to
* encode the document file bytes if you're using an AWS SDK to call Amazon Kendra
* operations. If you are calling the Amazon Kendra endpoint directly using REST,
* you must base64 encode the contents before sending.
The contents of the document.
Documents passed to the
* Blob parameter must be base64 encoded. Your code might not need to
* encode the document file bytes if you're using an AWS SDK to call Amazon Kendra
* operations. If you are calling the Amazon Kendra endpoint directly using REST,
* you must base64 encode the contents before sending.
The contents of the document.
Documents passed to the
* Blob parameter must be base64 encoded. Your code might not need to
* encode the document file bytes if you're using an AWS SDK to call Amazon Kendra
* operations. If you are calling the Amazon Kendra endpoint directly using REST,
* you must base64 encode the contents before sending.
The contents of the document.
Documents passed to the
* Blob parameter must be base64 encoded. Your code might not need to
* encode the document file bytes if you're using an AWS SDK to call Amazon Kendra
* operations. If you are calling the Amazon Kendra endpoint directly using REST,
* you must base64 encode the contents before sending.
The contents of the document.
Documents passed to the
* Blob parameter must be base64 encoded. Your code might not need to
* encode the document file bytes if you're using an AWS SDK to call Amazon Kendra
* operations. If you are calling the Amazon Kendra endpoint directly using REST,
* you must base64 encode the contents before sending.
The contents of the document.
Documents passed to the
* Blob parameter must be base64 encoded. Your code might not need to
* encode the document file bytes if you're using an AWS SDK to call Amazon Kendra
* operations. If you are calling the Amazon Kendra endpoint directly using REST,
* you must base64 encode the contents before sending.
Custom attributes to apply to the document. Use the custom attributes to * provide additional information for searching, to provide facets for refining * searches, and to provide additional information in the query response.
*/ inline const Aws::VectorCustom attributes to apply to the document. Use the custom attributes to * provide additional information for searching, to provide facets for refining * searches, and to provide additional information in the query response.
*/ inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } /** *Custom attributes to apply to the document. Use the custom attributes to * provide additional information for searching, to provide facets for refining * searches, and to provide additional information in the query response.
*/ inline void SetAttributes(const Aws::VectorCustom attributes to apply to the document. Use the custom attributes to * provide additional information for searching, to provide facets for refining * searches, and to provide additional information in the query response.
*/ inline void SetAttributes(Aws::VectorCustom attributes to apply to the document. Use the custom attributes to * provide additional information for searching, to provide facets for refining * searches, and to provide additional information in the query response.
*/ inline Document& WithAttributes(const Aws::VectorCustom attributes to apply to the document. Use the custom attributes to * provide additional information for searching, to provide facets for refining * searches, and to provide additional information in the query response.
*/ inline Document& WithAttributes(Aws::VectorCustom attributes to apply to the document. Use the custom attributes to * provide additional information for searching, to provide facets for refining * searches, and to provide additional information in the query response.
*/ inline Document& AddAttributes(const DocumentAttribute& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; } /** *Custom attributes to apply to the document. Use the custom attributes to * provide additional information for searching, to provide facets for refining * searches, and to provide additional information in the query response.
*/ inline Document& AddAttributes(DocumentAttribute&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; } /** *Information to use for user context filtering.
*/ inline const Aws::VectorInformation to use for user context filtering.
*/ inline bool AccessControlListHasBeenSet() const { return m_accessControlListHasBeenSet; } /** *Information to use for user context filtering.
*/ inline void SetAccessControlList(const Aws::VectorInformation to use for user context filtering.
*/ inline void SetAccessControlList(Aws::VectorInformation to use for user context filtering.
*/ inline Document& WithAccessControlList(const Aws::VectorInformation to use for user context filtering.
*/ inline Document& WithAccessControlList(Aws::VectorInformation to use for user context filtering.
*/ inline Document& AddAccessControlList(const Principal& value) { m_accessControlListHasBeenSet = true; m_accessControlList.push_back(value); return *this; } /** *Information to use for user context filtering.
*/ inline Document& AddAccessControlList(Principal&& value) { m_accessControlListHasBeenSet = true; m_accessControlList.push_back(std::move(value)); return *this; } /** *The file type of the document in the Blob field.
The file type of the document in the Blob field.
The file type of the document in the Blob field.
The file type of the document in the Blob field.
The file type of the document in the Blob field.
The file type of the document in the Blob field.