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

User accounts whose documents should be indexed.

See Also:

* AWS * API Reference

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

A list of users whose documents should be indexed. Specify the user names in * email format, for example, username@tenantdomain. If you need to * index the documents of more than 100 users, use the * OneDriveUserS3Path field to specify the location of a file * containing a list of users.

*/ inline const Aws::Vector& GetOneDriveUserList() const{ return m_oneDriveUserList; } /** *

A list of users whose documents should be indexed. Specify the user names in * email format, for example, username@tenantdomain. If you need to * index the documents of more than 100 users, use the * OneDriveUserS3Path field to specify the location of a file * containing a list of users.

*/ inline bool OneDriveUserListHasBeenSet() const { return m_oneDriveUserListHasBeenSet; } /** *

A list of users whose documents should be indexed. Specify the user names in * email format, for example, username@tenantdomain. If you need to * index the documents of more than 100 users, use the * OneDriveUserS3Path field to specify the location of a file * containing a list of users.

*/ inline void SetOneDriveUserList(const Aws::Vector& value) { m_oneDriveUserListHasBeenSet = true; m_oneDriveUserList = value; } /** *

A list of users whose documents should be indexed. Specify the user names in * email format, for example, username@tenantdomain. If you need to * index the documents of more than 100 users, use the * OneDriveUserS3Path field to specify the location of a file * containing a list of users.

*/ inline void SetOneDriveUserList(Aws::Vector&& value) { m_oneDriveUserListHasBeenSet = true; m_oneDriveUserList = std::move(value); } /** *

A list of users whose documents should be indexed. Specify the user names in * email format, for example, username@tenantdomain. If you need to * index the documents of more than 100 users, use the * OneDriveUserS3Path field to specify the location of a file * containing a list of users.

*/ inline OneDriveUsers& WithOneDriveUserList(const Aws::Vector& value) { SetOneDriveUserList(value); return *this;} /** *

A list of users whose documents should be indexed. Specify the user names in * email format, for example, username@tenantdomain. If you need to * index the documents of more than 100 users, use the * OneDriveUserS3Path field to specify the location of a file * containing a list of users.

*/ inline OneDriveUsers& WithOneDriveUserList(Aws::Vector&& value) { SetOneDriveUserList(std::move(value)); return *this;} /** *

A list of users whose documents should be indexed. Specify the user names in * email format, for example, username@tenantdomain. If you need to * index the documents of more than 100 users, use the * OneDriveUserS3Path field to specify the location of a file * containing a list of users.

*/ inline OneDriveUsers& AddOneDriveUserList(const Aws::String& value) { m_oneDriveUserListHasBeenSet = true; m_oneDriveUserList.push_back(value); return *this; } /** *

A list of users whose documents should be indexed. Specify the user names in * email format, for example, username@tenantdomain. If you need to * index the documents of more than 100 users, use the * OneDriveUserS3Path field to specify the location of a file * containing a list of users.

*/ inline OneDriveUsers& AddOneDriveUserList(Aws::String&& value) { m_oneDriveUserListHasBeenSet = true; m_oneDriveUserList.push_back(std::move(value)); return *this; } /** *

A list of users whose documents should be indexed. Specify the user names in * email format, for example, username@tenantdomain. If you need to * index the documents of more than 100 users, use the * OneDriveUserS3Path field to specify the location of a file * containing a list of users.

*/ inline OneDriveUsers& AddOneDriveUserList(const char* value) { m_oneDriveUserListHasBeenSet = true; m_oneDriveUserList.push_back(value); return *this; } /** *

The S3 bucket location of a file containing a list of users whose documents * should be indexed.

*/ inline const S3Path& GetOneDriveUserS3Path() const{ return m_oneDriveUserS3Path; } /** *

The S3 bucket location of a file containing a list of users whose documents * should be indexed.

*/ inline bool OneDriveUserS3PathHasBeenSet() const { return m_oneDriveUserS3PathHasBeenSet; } /** *

The S3 bucket location of a file containing a list of users whose documents * should be indexed.

*/ inline void SetOneDriveUserS3Path(const S3Path& value) { m_oneDriveUserS3PathHasBeenSet = true; m_oneDriveUserS3Path = value; } /** *

The S3 bucket location of a file containing a list of users whose documents * should be indexed.

*/ inline void SetOneDriveUserS3Path(S3Path&& value) { m_oneDriveUserS3PathHasBeenSet = true; m_oneDriveUserS3Path = std::move(value); } /** *

The S3 bucket location of a file containing a list of users whose documents * should be indexed.

*/ inline OneDriveUsers& WithOneDriveUserS3Path(const S3Path& value) { SetOneDriveUserS3Path(value); return *this;} /** *

The S3 bucket location of a file containing a list of users whose documents * should be indexed.

*/ inline OneDriveUsers& WithOneDriveUserS3Path(S3Path&& value) { SetOneDriveUserS3Path(std::move(value)); return *this;} private: Aws::Vector m_oneDriveUserList; bool m_oneDriveUserListHasBeenSet = false; S3Path m_oneDriveUserS3Path; bool m_oneDriveUserS3PathHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws