/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about how Amazon Kendra should use the columns of a
* database in an index.See Also:
AWS
* API Reference
The column that provides the document's identifier.
*/ inline const Aws::String& GetDocumentIdColumnName() const{ return m_documentIdColumnName; } /** *The column that provides the document's identifier.
*/ inline bool DocumentIdColumnNameHasBeenSet() const { return m_documentIdColumnNameHasBeenSet; } /** *The column that provides the document's identifier.
*/ inline void SetDocumentIdColumnName(const Aws::String& value) { m_documentIdColumnNameHasBeenSet = true; m_documentIdColumnName = value; } /** *The column that provides the document's identifier.
*/ inline void SetDocumentIdColumnName(Aws::String&& value) { m_documentIdColumnNameHasBeenSet = true; m_documentIdColumnName = std::move(value); } /** *The column that provides the document's identifier.
*/ inline void SetDocumentIdColumnName(const char* value) { m_documentIdColumnNameHasBeenSet = true; m_documentIdColumnName.assign(value); } /** *The column that provides the document's identifier.
*/ inline ColumnConfiguration& WithDocumentIdColumnName(const Aws::String& value) { SetDocumentIdColumnName(value); return *this;} /** *The column that provides the document's identifier.
*/ inline ColumnConfiguration& WithDocumentIdColumnName(Aws::String&& value) { SetDocumentIdColumnName(std::move(value)); return *this;} /** *The column that provides the document's identifier.
*/ inline ColumnConfiguration& WithDocumentIdColumnName(const char* value) { SetDocumentIdColumnName(value); return *this;} /** *The column that contains the contents of the document.
*/ inline const Aws::String& GetDocumentDataColumnName() const{ return m_documentDataColumnName; } /** *The column that contains the contents of the document.
*/ inline bool DocumentDataColumnNameHasBeenSet() const { return m_documentDataColumnNameHasBeenSet; } /** *The column that contains the contents of the document.
*/ inline void SetDocumentDataColumnName(const Aws::String& value) { m_documentDataColumnNameHasBeenSet = true; m_documentDataColumnName = value; } /** *The column that contains the contents of the document.
*/ inline void SetDocumentDataColumnName(Aws::String&& value) { m_documentDataColumnNameHasBeenSet = true; m_documentDataColumnName = std::move(value); } /** *The column that contains the contents of the document.
*/ inline void SetDocumentDataColumnName(const char* value) { m_documentDataColumnNameHasBeenSet = true; m_documentDataColumnName.assign(value); } /** *The column that contains the contents of the document.
*/ inline ColumnConfiguration& WithDocumentDataColumnName(const Aws::String& value) { SetDocumentDataColumnName(value); return *this;} /** *The column that contains the contents of the document.
*/ inline ColumnConfiguration& WithDocumentDataColumnName(Aws::String&& value) { SetDocumentDataColumnName(std::move(value)); return *this;} /** *The column that contains the contents of the document.
*/ inline ColumnConfiguration& WithDocumentDataColumnName(const char* value) { SetDocumentDataColumnName(value); return *this;} /** *The column that contains the title of the document.
*/ inline const Aws::String& GetDocumentTitleColumnName() const{ return m_documentTitleColumnName; } /** *The column that contains the title of the document.
*/ inline bool DocumentTitleColumnNameHasBeenSet() const { return m_documentTitleColumnNameHasBeenSet; } /** *The column that contains the title of the document.
*/ inline void SetDocumentTitleColumnName(const Aws::String& value) { m_documentTitleColumnNameHasBeenSet = true; m_documentTitleColumnName = value; } /** *The column that contains the title of the document.
*/ inline void SetDocumentTitleColumnName(Aws::String&& value) { m_documentTitleColumnNameHasBeenSet = true; m_documentTitleColumnName = std::move(value); } /** *The column that contains the title of the document.
*/ inline void SetDocumentTitleColumnName(const char* value) { m_documentTitleColumnNameHasBeenSet = true; m_documentTitleColumnName.assign(value); } /** *The column that contains the title of the document.
*/ inline ColumnConfiguration& WithDocumentTitleColumnName(const Aws::String& value) { SetDocumentTitleColumnName(value); return *this;} /** *The column that contains the title of the document.
*/ inline ColumnConfiguration& WithDocumentTitleColumnName(Aws::String&& value) { SetDocumentTitleColumnName(std::move(value)); return *this;} /** *The column that contains the title of the document.
*/ inline ColumnConfiguration& WithDocumentTitleColumnName(const char* value) { SetDocumentTitleColumnName(value); return *this;} /** *An array of objects that map database column names to the corresponding
* fields in an index. You must first create the fields in the index using the
* UpdateIndex
API.
An array of objects that map database column names to the corresponding
* fields in an index. You must first create the fields in the index using the
* UpdateIndex
API.
An array of objects that map database column names to the corresponding
* fields in an index. You must first create the fields in the index using the
* UpdateIndex
API.
An array of objects that map database column names to the corresponding
* fields in an index. You must first create the fields in the index using the
* UpdateIndex
API.
An array of objects that map database column names to the corresponding
* fields in an index. You must first create the fields in the index using the
* UpdateIndex
API.
An array of objects that map database column names to the corresponding
* fields in an index. You must first create the fields in the index using the
* UpdateIndex
API.
An array of objects that map database column names to the corresponding
* fields in an index. You must first create the fields in the index using the
* UpdateIndex
API.
An array of objects that map database column names to the corresponding
* fields in an index. You must first create the fields in the index using the
* UpdateIndex
API.
One to five columns that indicate when a document in the database has * changed.
*/ inline const Aws::VectorOne to five columns that indicate when a document in the database has * changed.
*/ inline bool ChangeDetectingColumnsHasBeenSet() const { return m_changeDetectingColumnsHasBeenSet; } /** *One to five columns that indicate when a document in the database has * changed.
*/ inline void SetChangeDetectingColumns(const Aws::VectorOne to five columns that indicate when a document in the database has * changed.
*/ inline void SetChangeDetectingColumns(Aws::VectorOne to five columns that indicate when a document in the database has * changed.
*/ inline ColumnConfiguration& WithChangeDetectingColumns(const Aws::VectorOne to five columns that indicate when a document in the database has * changed.
*/ inline ColumnConfiguration& WithChangeDetectingColumns(Aws::VectorOne to five columns that indicate when a document in the database has * changed.
*/ inline ColumnConfiguration& AddChangeDetectingColumns(const Aws::String& value) { m_changeDetectingColumnsHasBeenSet = true; m_changeDetectingColumns.push_back(value); return *this; } /** *One to five columns that indicate when a document in the database has * changed.
*/ inline ColumnConfiguration& AddChangeDetectingColumns(Aws::String&& value) { m_changeDetectingColumnsHasBeenSet = true; m_changeDetectingColumns.push_back(std::move(value)); return *this; } /** *One to five columns that indicate when a document in the database has * changed.
*/ inline ColumnConfiguration& AddChangeDetectingColumns(const char* value) { m_changeDetectingColumnsHasBeenSet = true; m_changeDetectingColumns.push_back(value); return *this; } private: Aws::String m_documentIdColumnName; bool m_documentIdColumnNameHasBeenSet = false; Aws::String m_documentDataColumnName; bool m_documentDataColumnNameHasBeenSet = false; Aws::String m_documentTitleColumnName; bool m_documentTitleColumnNameHasBeenSet = false; Aws::Vector