/** * 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 { /** *

Access Control List files for the documents in a data source. For the format * of the file, see Access control * for S3 data sources.

See Also:

AWS * API Reference

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

Path to the Amazon S3 bucket that contains the ACL files.

*/ inline const Aws::String& GetKeyPath() const{ return m_keyPath; } /** *

Path to the Amazon S3 bucket that contains the ACL files.

*/ inline bool KeyPathHasBeenSet() const { return m_keyPathHasBeenSet; } /** *

Path to the Amazon S3 bucket that contains the ACL files.

*/ inline void SetKeyPath(const Aws::String& value) { m_keyPathHasBeenSet = true; m_keyPath = value; } /** *

Path to the Amazon S3 bucket that contains the ACL files.

*/ inline void SetKeyPath(Aws::String&& value) { m_keyPathHasBeenSet = true; m_keyPath = std::move(value); } /** *

Path to the Amazon S3 bucket that contains the ACL files.

*/ inline void SetKeyPath(const char* value) { m_keyPathHasBeenSet = true; m_keyPath.assign(value); } /** *

Path to the Amazon S3 bucket that contains the ACL files.

*/ inline AccessControlListConfiguration& WithKeyPath(const Aws::String& value) { SetKeyPath(value); return *this;} /** *

Path to the Amazon S3 bucket that contains the ACL files.

*/ inline AccessControlListConfiguration& WithKeyPath(Aws::String&& value) { SetKeyPath(std::move(value)); return *this;} /** *

Path to the Amazon S3 bucket that contains the ACL files.

*/ inline AccessControlListConfiguration& WithKeyPath(const char* value) { SetKeyPath(value); return *this;} private: Aws::String m_keyPath; bool m_keyPathHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws