/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the configuration information to connect to an Amazon S3
* bucket.See Also:
AWS
* API Reference
The name of the bucket that contains the documents.
*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *The name of the bucket that contains the documents.
*/ inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } /** *The name of the bucket that contains the documents.
*/ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** *The name of the bucket that contains the documents.
*/ inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } /** *The name of the bucket that contains the documents.
*/ inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } /** *The name of the bucket that contains the documents.
*/ inline S3DataSourceConfiguration& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *The name of the bucket that contains the documents.
*/ inline S3DataSourceConfiguration& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *The name of the bucket that contains the documents.
*/ inline S3DataSourceConfiguration& WithBucketName(const char* value) { SetBucketName(value); return *this;} /** *A list of S3 prefixes for the documents that should be included in the * index.
*/ inline const Aws::VectorA list of S3 prefixes for the documents that should be included in the * index.
*/ inline bool InclusionPrefixesHasBeenSet() const { return m_inclusionPrefixesHasBeenSet; } /** *A list of S3 prefixes for the documents that should be included in the * index.
*/ inline void SetInclusionPrefixes(const Aws::VectorA list of S3 prefixes for the documents that should be included in the * index.
*/ inline void SetInclusionPrefixes(Aws::VectorA list of S3 prefixes for the documents that should be included in the * index.
*/ inline S3DataSourceConfiguration& WithInclusionPrefixes(const Aws::VectorA list of S3 prefixes for the documents that should be included in the * index.
*/ inline S3DataSourceConfiguration& WithInclusionPrefixes(Aws::VectorA list of S3 prefixes for the documents that should be included in the * index.
*/ inline S3DataSourceConfiguration& AddInclusionPrefixes(const Aws::String& value) { m_inclusionPrefixesHasBeenSet = true; m_inclusionPrefixes.push_back(value); return *this; } /** *A list of S3 prefixes for the documents that should be included in the * index.
*/ inline S3DataSourceConfiguration& AddInclusionPrefixes(Aws::String&& value) { m_inclusionPrefixesHasBeenSet = true; m_inclusionPrefixes.push_back(std::move(value)); return *this; } /** *A list of S3 prefixes for the documents that should be included in the * index.
*/ inline S3DataSourceConfiguration& AddInclusionPrefixes(const char* value) { m_inclusionPrefixesHasBeenSet = true; m_inclusionPrefixes.push_back(value); return *this; } /** *A list of glob patterns for documents that should be indexed. If a document * that matches an inclusion pattern also matches an exclusion pattern, the * document is not indexed.
Some examples * are:
*.txt will include all text files in a directory * (files with the extension .txt).
** / *.txt will include * all text files in a directory and its subdirectories.
* *tax* will include all files in a directory that contain 'tax' in the * file name, such as 'tax', 'taxes', 'income_tax'.
A list of glob patterns for documents that should be indexed. If a document * that matches an inclusion pattern also matches an exclusion pattern, the * document is not indexed.
Some examples * are:
*.txt will include all text files in a directory * (files with the extension .txt).
** / *.txt will include * all text files in a directory and its subdirectories.
* *tax* will include all files in a directory that contain 'tax' in the * file name, such as 'tax', 'taxes', 'income_tax'.
A list of glob patterns for documents that should be indexed. If a document * that matches an inclusion pattern also matches an exclusion pattern, the * document is not indexed.
Some examples * are:
*.txt will include all text files in a directory * (files with the extension .txt).
** / *.txt will include * all text files in a directory and its subdirectories.
* *tax* will include all files in a directory that contain 'tax' in the * file name, such as 'tax', 'taxes', 'income_tax'.
A list of glob patterns for documents that should be indexed. If a document * that matches an inclusion pattern also matches an exclusion pattern, the * document is not indexed.
Some examples * are:
*.txt will include all text files in a directory * (files with the extension .txt).
** / *.txt will include * all text files in a directory and its subdirectories.
* *tax* will include all files in a directory that contain 'tax' in the * file name, such as 'tax', 'taxes', 'income_tax'.
A list of glob patterns for documents that should be indexed. If a document * that matches an inclusion pattern also matches an exclusion pattern, the * document is not indexed.
Some examples * are:
*.txt will include all text files in a directory * (files with the extension .txt).
** / *.txt will include * all text files in a directory and its subdirectories.
* *tax* will include all files in a directory that contain 'tax' in the * file name, such as 'tax', 'taxes', 'income_tax'.
A list of glob patterns for documents that should be indexed. If a document * that matches an inclusion pattern also matches an exclusion pattern, the * document is not indexed.
Some examples * are:
*.txt will include all text files in a directory * (files with the extension .txt).
** / *.txt will include * all text files in a directory and its subdirectories.
* *tax* will include all files in a directory that contain 'tax' in the * file name, such as 'tax', 'taxes', 'income_tax'.
A list of glob patterns for documents that should be indexed. If a document * that matches an inclusion pattern also matches an exclusion pattern, the * document is not indexed.
Some examples * are:
*.txt will include all text files in a directory * (files with the extension .txt).
** / *.txt will include * all text files in a directory and its subdirectories.
* *tax* will include all files in a directory that contain 'tax' in the * file name, such as 'tax', 'taxes', 'income_tax'.
A list of glob patterns for documents that should be indexed. If a document * that matches an inclusion pattern also matches an exclusion pattern, the * document is not indexed.
Some examples * are:
*.txt will include all text files in a directory * (files with the extension .txt).
** / *.txt will include * all text files in a directory and its subdirectories.
* *tax* will include all files in a directory that contain 'tax' in the * file name, such as 'tax', 'taxes', 'income_tax'.
A list of glob patterns for documents that should be indexed. If a document * that matches an inclusion pattern also matches an exclusion pattern, the * document is not indexed.
Some examples * are:
*.txt will include all text files in a directory * (files with the extension .txt).
** / *.txt will include * all text files in a directory and its subdirectories.
* *tax* will include all files in a directory that contain 'tax' in the * file name, such as 'tax', 'taxes', 'income_tax'.
A list of glob patterns for documents that should not be indexed. If a * document that matches an inclusion prefix or inclusion pattern also matches an * exclusion pattern, the document is not indexed.
Some examples * are:
*.png , *.jpg will exclude all PNG and JPEG image * files in a directory (files with the extensions .png and .jpg).
*internal* will exclude all files in a directory that contain * 'internal' in the file name, such as 'internal', 'internal_only', * 'company_internal'.
** / *internal* will exclude all * internal-related files in a directory and its subdirectories.
A list of glob patterns for documents that should not be indexed. If a * document that matches an inclusion prefix or inclusion pattern also matches an * exclusion pattern, the document is not indexed.
Some examples * are:
*.png , *.jpg will exclude all PNG and JPEG image * files in a directory (files with the extensions .png and .jpg).
*internal* will exclude all files in a directory that contain * 'internal' in the file name, such as 'internal', 'internal_only', * 'company_internal'.
** / *internal* will exclude all * internal-related files in a directory and its subdirectories.
A list of glob patterns for documents that should not be indexed. If a * document that matches an inclusion prefix or inclusion pattern also matches an * exclusion pattern, the document is not indexed.
Some examples * are:
*.png , *.jpg will exclude all PNG and JPEG image * files in a directory (files with the extensions .png and .jpg).
*internal* will exclude all files in a directory that contain * 'internal' in the file name, such as 'internal', 'internal_only', * 'company_internal'.
** / *internal* will exclude all * internal-related files in a directory and its subdirectories.
A list of glob patterns for documents that should not be indexed. If a * document that matches an inclusion prefix or inclusion pattern also matches an * exclusion pattern, the document is not indexed.
Some examples * are:
*.png , *.jpg will exclude all PNG and JPEG image * files in a directory (files with the extensions .png and .jpg).
*internal* will exclude all files in a directory that contain * 'internal' in the file name, such as 'internal', 'internal_only', * 'company_internal'.
** / *internal* will exclude all * internal-related files in a directory and its subdirectories.
A list of glob patterns for documents that should not be indexed. If a * document that matches an inclusion prefix or inclusion pattern also matches an * exclusion pattern, the document is not indexed.
Some examples * are:
*.png , *.jpg will exclude all PNG and JPEG image * files in a directory (files with the extensions .png and .jpg).
*internal* will exclude all files in a directory that contain * 'internal' in the file name, such as 'internal', 'internal_only', * 'company_internal'.
** / *internal* will exclude all * internal-related files in a directory and its subdirectories.
A list of glob patterns for documents that should not be indexed. If a * document that matches an inclusion prefix or inclusion pattern also matches an * exclusion pattern, the document is not indexed.
Some examples * are:
*.png , *.jpg will exclude all PNG and JPEG image * files in a directory (files with the extensions .png and .jpg).
*internal* will exclude all files in a directory that contain * 'internal' in the file name, such as 'internal', 'internal_only', * 'company_internal'.
** / *internal* will exclude all * internal-related files in a directory and its subdirectories.
A list of glob patterns for documents that should not be indexed. If a * document that matches an inclusion prefix or inclusion pattern also matches an * exclusion pattern, the document is not indexed.
Some examples * are:
*.png , *.jpg will exclude all PNG and JPEG image * files in a directory (files with the extensions .png and .jpg).
*internal* will exclude all files in a directory that contain * 'internal' in the file name, such as 'internal', 'internal_only', * 'company_internal'.
** / *internal* will exclude all * internal-related files in a directory and its subdirectories.
A list of glob patterns for documents that should not be indexed. If a * document that matches an inclusion prefix or inclusion pattern also matches an * exclusion pattern, the document is not indexed.
Some examples * are:
*.png , *.jpg will exclude all PNG and JPEG image * files in a directory (files with the extensions .png and .jpg).
*internal* will exclude all files in a directory that contain * 'internal' in the file name, such as 'internal', 'internal_only', * 'company_internal'.
** / *internal* will exclude all * internal-related files in a directory and its subdirectories.
A list of glob patterns for documents that should not be indexed. If a * document that matches an inclusion prefix or inclusion pattern also matches an * exclusion pattern, the document is not indexed.
Some examples * are:
*.png , *.jpg will exclude all PNG and JPEG image * files in a directory (files with the extensions .png and .jpg).
*internal* will exclude all files in a directory that contain * 'internal' in the file name, such as 'internal', 'internal_only', * 'company_internal'.
** / *internal* will exclude all * internal-related files in a directory and its subdirectories.
Provides the path to the S3 bucket that contains the user context filtering * files for the data source. For the format of the file, see Access control * for S3 data sources.
*/ inline const AccessControlListConfiguration& GetAccessControlListConfiguration() const{ return m_accessControlListConfiguration; } /** *Provides the path to the S3 bucket that contains the user context filtering * files for the data source. For the format of the file, see Access control * for S3 data sources.
*/ inline bool AccessControlListConfigurationHasBeenSet() const { return m_accessControlListConfigurationHasBeenSet; } /** *Provides the path to the S3 bucket that contains the user context filtering * files for the data source. For the format of the file, see Access control * for S3 data sources.
*/ inline void SetAccessControlListConfiguration(const AccessControlListConfiguration& value) { m_accessControlListConfigurationHasBeenSet = true; m_accessControlListConfiguration = value; } /** *Provides the path to the S3 bucket that contains the user context filtering * files for the data source. For the format of the file, see Access control * for S3 data sources.
*/ inline void SetAccessControlListConfiguration(AccessControlListConfiguration&& value) { m_accessControlListConfigurationHasBeenSet = true; m_accessControlListConfiguration = std::move(value); } /** *Provides the path to the S3 bucket that contains the user context filtering * files for the data source. For the format of the file, see Access control * for S3 data sources.
*/ inline S3DataSourceConfiguration& WithAccessControlListConfiguration(const AccessControlListConfiguration& value) { SetAccessControlListConfiguration(value); return *this;} /** *Provides the path to the S3 bucket that contains the user context filtering * files for the data source. For the format of the file, see Access control * for S3 data sources.
*/ inline S3DataSourceConfiguration& WithAccessControlListConfiguration(AccessControlListConfiguration&& value) { SetAccessControlListConfiguration(std::move(value)); return *this;} private: Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; Aws::Vector