/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Maps attributes or field names of Confluence attachments to Amazon Kendra
* index field names. To create custom fields, use the UpdateIndex
API
* before you map to Confluence fields. For more information, see Mapping
* data source fields. The Confuence data source field names must exist in your
* Confluence custom metadata.See Also:
AWS
* API Reference
The name of the field in the data source.
You must first create the
* index field using the UpdateIndex
API.
The name of the field in the data source.
You must first create the
* index field using the UpdateIndex
API.
The name of the field in the data source.
You must first create the
* index field using the UpdateIndex
API.
The name of the field in the data source.
You must first create the
* index field using the UpdateIndex
API.
The name of the field in the data source.
You must first create the
* index field using the UpdateIndex
API.
The name of the field in the data source.
You must first create the
* index field using the UpdateIndex
API.
The format for date fields in the data source. If the field specified in
* DataSourceFieldName
is a date field you must specify the date
* format. If the field is not a date field, an exception is thrown.
The format for date fields in the data source. If the field specified in
* DataSourceFieldName
is a date field you must specify the date
* format. If the field is not a date field, an exception is thrown.
The format for date fields in the data source. If the field specified in
* DataSourceFieldName
is a date field you must specify the date
* format. If the field is not a date field, an exception is thrown.
The format for date fields in the data source. If the field specified in
* DataSourceFieldName
is a date field you must specify the date
* format. If the field is not a date field, an exception is thrown.
The format for date fields in the data source. If the field specified in
* DataSourceFieldName
is a date field you must specify the date
* format. If the field is not a date field, an exception is thrown.
The format for date fields in the data source. If the field specified in
* DataSourceFieldName
is a date field you must specify the date
* format. If the field is not a date field, an exception is thrown.
The format for date fields in the data source. If the field specified in
* DataSourceFieldName
is a date field you must specify the date
* format. If the field is not a date field, an exception is thrown.
The format for date fields in the data source. If the field specified in
* DataSourceFieldName
is a date field you must specify the date
* format. If the field is not a date field, an exception is thrown.
The name of the index field to map to the Confluence data source field. The * index field type must match the Confluence field type.
*/ inline const Aws::String& GetIndexFieldName() const{ return m_indexFieldName; } /** *The name of the index field to map to the Confluence data source field. The * index field type must match the Confluence field type.
*/ inline bool IndexFieldNameHasBeenSet() const { return m_indexFieldNameHasBeenSet; } /** *The name of the index field to map to the Confluence data source field. The * index field type must match the Confluence field type.
*/ inline void SetIndexFieldName(const Aws::String& value) { m_indexFieldNameHasBeenSet = true; m_indexFieldName = value; } /** *The name of the index field to map to the Confluence data source field. The * index field type must match the Confluence field type.
*/ inline void SetIndexFieldName(Aws::String&& value) { m_indexFieldNameHasBeenSet = true; m_indexFieldName = std::move(value); } /** *The name of the index field to map to the Confluence data source field. The * index field type must match the Confluence field type.
*/ inline void SetIndexFieldName(const char* value) { m_indexFieldNameHasBeenSet = true; m_indexFieldName.assign(value); } /** *The name of the index field to map to the Confluence data source field. The * index field type must match the Confluence field type.
*/ inline ConfluenceAttachmentToIndexFieldMapping& WithIndexFieldName(const Aws::String& value) { SetIndexFieldName(value); return *this;} /** *The name of the index field to map to the Confluence data source field. The * index field type must match the Confluence field type.
*/ inline ConfluenceAttachmentToIndexFieldMapping& WithIndexFieldName(Aws::String&& value) { SetIndexFieldName(std::move(value)); return *this;} /** *The name of the index field to map to the Confluence data source field. The * index field type must match the Confluence field type.
*/ inline ConfluenceAttachmentToIndexFieldMapping& WithIndexFieldName(const char* value) { SetIndexFieldName(value); return *this;} private: ConfluenceAttachmentFieldName m_dataSourceFieldName; bool m_dataSourceFieldNameHasBeenSet = false; Aws::String m_dateFieldFormat; bool m_dateFieldFormatHasBeenSet = false; Aws::String m_indexFieldName; bool m_indexFieldNameHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws