108 lines
4.0 KiB
C++
108 lines
4.0 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/kendra/Kendra_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace kendra
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>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.</p><p><h3>See
|
|
* Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DocumentsMetadataConfiguration">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_KENDRA_API DocumentsMetadataConfiguration
|
|
{
|
|
public:
|
|
DocumentsMetadataConfiguration();
|
|
DocumentsMetadataConfiguration(Aws::Utils::Json::JsonView jsonValue);
|
|
DocumentsMetadataConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>A prefix used to filter metadata configuration files in the AWS S3 bucket.
|
|
* The S3 bucket might contain multiple metadata files. Use <code>S3Prefix</code>
|
|
* to include only the desired metadata files.</p>
|
|
*/
|
|
inline const Aws::String& GetS3Prefix() const{ return m_s3Prefix; }
|
|
|
|
/**
|
|
* <p>A prefix used to filter metadata configuration files in the AWS S3 bucket.
|
|
* The S3 bucket might contain multiple metadata files. Use <code>S3Prefix</code>
|
|
* to include only the desired metadata files.</p>
|
|
*/
|
|
inline bool S3PrefixHasBeenSet() const { return m_s3PrefixHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A prefix used to filter metadata configuration files in the AWS S3 bucket.
|
|
* The S3 bucket might contain multiple metadata files. Use <code>S3Prefix</code>
|
|
* to include only the desired metadata files.</p>
|
|
*/
|
|
inline void SetS3Prefix(const Aws::String& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = value; }
|
|
|
|
/**
|
|
* <p>A prefix used to filter metadata configuration files in the AWS S3 bucket.
|
|
* The S3 bucket might contain multiple metadata files. Use <code>S3Prefix</code>
|
|
* to include only the desired metadata files.</p>
|
|
*/
|
|
inline void SetS3Prefix(Aws::String&& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = std::move(value); }
|
|
|
|
/**
|
|
* <p>A prefix used to filter metadata configuration files in the AWS S3 bucket.
|
|
* The S3 bucket might contain multiple metadata files. Use <code>S3Prefix</code>
|
|
* to include only the desired metadata files.</p>
|
|
*/
|
|
inline void SetS3Prefix(const char* value) { m_s3PrefixHasBeenSet = true; m_s3Prefix.assign(value); }
|
|
|
|
/**
|
|
* <p>A prefix used to filter metadata configuration files in the AWS S3 bucket.
|
|
* The S3 bucket might contain multiple metadata files. Use <code>S3Prefix</code>
|
|
* to include only the desired metadata files.</p>
|
|
*/
|
|
inline DocumentsMetadataConfiguration& WithS3Prefix(const Aws::String& value) { SetS3Prefix(value); return *this;}
|
|
|
|
/**
|
|
* <p>A prefix used to filter metadata configuration files in the AWS S3 bucket.
|
|
* The S3 bucket might contain multiple metadata files. Use <code>S3Prefix</code>
|
|
* to include only the desired metadata files.</p>
|
|
*/
|
|
inline DocumentsMetadataConfiguration& WithS3Prefix(Aws::String&& value) { SetS3Prefix(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A prefix used to filter metadata configuration files in the AWS S3 bucket.
|
|
* The S3 bucket might contain multiple metadata files. Use <code>S3Prefix</code>
|
|
* to include only the desired metadata files.</p>
|
|
*/
|
|
inline DocumentsMetadataConfiguration& WithS3Prefix(const char* value) { SetS3Prefix(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_s3Prefix;
|
|
bool m_s3PrefixHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace kendra
|
|
} // namespace Aws
|