/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace kendra { namespace Model { /** *

Document metadata files that contain information such as the document access * control information, source URI, document author, and custom attributes. Each * metadata file contains metadata about a single document.

See * Also:

AWS * API Reference

*/ class DocumentsMetadataConfiguration { public: AWS_KENDRA_API DocumentsMetadataConfiguration(); AWS_KENDRA_API DocumentsMetadataConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_KENDRA_API DocumentsMetadataConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A prefix used to filter metadata configuration files in the Amazon Web * Services S3 bucket. The S3 bucket might contain multiple metadata files. Use * S3Prefix to include only the desired metadata files.

*/ inline const Aws::String& GetS3Prefix() const{ return m_s3Prefix; } /** *

A prefix used to filter metadata configuration files in the Amazon Web * Services S3 bucket. The S3 bucket might contain multiple metadata files. Use * S3Prefix to include only the desired metadata files.

*/ inline bool S3PrefixHasBeenSet() const { return m_s3PrefixHasBeenSet; } /** *

A prefix used to filter metadata configuration files in the Amazon Web * Services S3 bucket. The S3 bucket might contain multiple metadata files. Use * S3Prefix to include only the desired metadata files.

*/ inline void SetS3Prefix(const Aws::String& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = value; } /** *

A prefix used to filter metadata configuration files in the Amazon Web * Services S3 bucket. The S3 bucket might contain multiple metadata files. Use * S3Prefix to include only the desired metadata files.

*/ inline void SetS3Prefix(Aws::String&& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = std::move(value); } /** *

A prefix used to filter metadata configuration files in the Amazon Web * Services S3 bucket. The S3 bucket might contain multiple metadata files. Use * S3Prefix to include only the desired metadata files.

*/ inline void SetS3Prefix(const char* value) { m_s3PrefixHasBeenSet = true; m_s3Prefix.assign(value); } /** *

A prefix used to filter metadata configuration files in the Amazon Web * Services S3 bucket. The S3 bucket might contain multiple metadata files. Use * S3Prefix to include only the desired metadata files.

*/ inline DocumentsMetadataConfiguration& WithS3Prefix(const Aws::String& value) { SetS3Prefix(value); return *this;} /** *

A prefix used to filter metadata configuration files in the Amazon Web * Services S3 bucket. The S3 bucket might contain multiple metadata files. Use * S3Prefix to include only the desired metadata files.

*/ inline DocumentsMetadataConfiguration& WithS3Prefix(Aws::String&& value) { SetS3Prefix(std::move(value)); return *this;} /** *

A prefix used to filter metadata configuration files in the Amazon Web * Services S3 bucket. The S3 bucket might contain multiple metadata files. Use * S3Prefix to include only the desired metadata files.

*/ inline DocumentsMetadataConfiguration& WithS3Prefix(const char* value) { SetS3Prefix(value); return *this;} private: Aws::String m_s3Prefix; bool m_s3PrefixHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws