/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the configuration information for processing attachments to
* Salesforce standard objects.See Also:
AWS
* API Reference
The name of the field used for the document title.
*/ inline const Aws::String& GetDocumentTitleFieldName() const{ return m_documentTitleFieldName; } /** *The name of the field used for the document title.
*/ inline bool DocumentTitleFieldNameHasBeenSet() const { return m_documentTitleFieldNameHasBeenSet; } /** *The name of the field used for the document title.
*/ inline void SetDocumentTitleFieldName(const Aws::String& value) { m_documentTitleFieldNameHasBeenSet = true; m_documentTitleFieldName = value; } /** *The name of the field used for the document title.
*/ inline void SetDocumentTitleFieldName(Aws::String&& value) { m_documentTitleFieldNameHasBeenSet = true; m_documentTitleFieldName = std::move(value); } /** *The name of the field used for the document title.
*/ inline void SetDocumentTitleFieldName(const char* value) { m_documentTitleFieldNameHasBeenSet = true; m_documentTitleFieldName.assign(value); } /** *The name of the field used for the document title.
*/ inline SalesforceStandardObjectAttachmentConfiguration& WithDocumentTitleFieldName(const Aws::String& value) { SetDocumentTitleFieldName(value); return *this;} /** *The name of the field used for the document title.
*/ inline SalesforceStandardObjectAttachmentConfiguration& WithDocumentTitleFieldName(Aws::String&& value) { SetDocumentTitleFieldName(std::move(value)); return *this;} /** *The name of the field used for the document title.
*/ inline SalesforceStandardObjectAttachmentConfiguration& WithDocumentTitleFieldName(const char* value) { SetDocumentTitleFieldName(value); return *this;} /** *One or more objects that map fields in attachments to Amazon Kendra index * fields.
*/ inline const Aws::VectorOne or more objects that map fields in attachments to Amazon Kendra index * fields.
*/ inline bool FieldMappingsHasBeenSet() const { return m_fieldMappingsHasBeenSet; } /** *One or more objects that map fields in attachments to Amazon Kendra index * fields.
*/ inline void SetFieldMappings(const Aws::VectorOne or more objects that map fields in attachments to Amazon Kendra index * fields.
*/ inline void SetFieldMappings(Aws::VectorOne or more objects that map fields in attachments to Amazon Kendra index * fields.
*/ inline SalesforceStandardObjectAttachmentConfiguration& WithFieldMappings(const Aws::VectorOne or more objects that map fields in attachments to Amazon Kendra index * fields.
*/ inline SalesforceStandardObjectAttachmentConfiguration& WithFieldMappings(Aws::VectorOne or more objects that map fields in attachments to Amazon Kendra index * fields.
*/ inline SalesforceStandardObjectAttachmentConfiguration& AddFieldMappings(const DataSourceToIndexFieldMapping& value) { m_fieldMappingsHasBeenSet = true; m_fieldMappings.push_back(value); return *this; } /** *One or more objects that map fields in attachments to Amazon Kendra index * fields.
*/ inline SalesforceStandardObjectAttachmentConfiguration& AddFieldMappings(DataSourceToIndexFieldMapping&& value) { m_fieldMappingsHasBeenSet = true; m_fieldMappings.push_back(std::move(value)); return *this; } private: Aws::String m_documentTitleFieldName; bool m_documentTitleFieldNameHasBeenSet = false; Aws::Vector