/**
* 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 spaces 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 Confluence 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.
*/ inline const ConfluenceSpaceFieldName& GetDataSourceFieldName() const{ return m_dataSourceFieldName; } /** *The name of the field in the data source.
*/ inline bool DataSourceFieldNameHasBeenSet() const { return m_dataSourceFieldNameHasBeenSet; } /** *The name of the field in the data source.
*/ inline void SetDataSourceFieldName(const ConfluenceSpaceFieldName& value) { m_dataSourceFieldNameHasBeenSet = true; m_dataSourceFieldName = value; } /** *The name of the field in the data source.
*/ inline void SetDataSourceFieldName(ConfluenceSpaceFieldName&& value) { m_dataSourceFieldNameHasBeenSet = true; m_dataSourceFieldName = std::move(value); } /** *The name of the field in the data source.
*/ inline ConfluenceSpaceToIndexFieldMapping& WithDataSourceFieldName(const ConfluenceSpaceFieldName& value) { SetDataSourceFieldName(value); return *this;} /** *The name of the field in the data source.
*/ inline ConfluenceSpaceToIndexFieldMapping& WithDataSourceFieldName(ConfluenceSpaceFieldName&& value) { SetDataSourceFieldName(std::move(value)); return *this;} /** *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 ConfluenceSpaceToIndexFieldMapping& 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 ConfluenceSpaceToIndexFieldMapping& 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 ConfluenceSpaceToIndexFieldMapping& WithIndexFieldName(const char* value) { SetIndexFieldName(value); return *this;} private: ConfluenceSpaceFieldName 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