/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides configuration information for data sources that connect to
* OneDrive.See Also:
AWS
* API Reference
Tha Azure Active Directory domain of the organization.
*/ inline const Aws::String& GetTenantDomain() const{ return m_tenantDomain; } /** *Tha Azure Active Directory domain of the organization.
*/ inline bool TenantDomainHasBeenSet() const { return m_tenantDomainHasBeenSet; } /** *Tha Azure Active Directory domain of the organization.
*/ inline void SetTenantDomain(const Aws::String& value) { m_tenantDomainHasBeenSet = true; m_tenantDomain = value; } /** *Tha Azure Active Directory domain of the organization.
*/ inline void SetTenantDomain(Aws::String&& value) { m_tenantDomainHasBeenSet = true; m_tenantDomain = std::move(value); } /** *Tha Azure Active Directory domain of the organization.
*/ inline void SetTenantDomain(const char* value) { m_tenantDomainHasBeenSet = true; m_tenantDomain.assign(value); } /** *Tha Azure Active Directory domain of the organization.
*/ inline OneDriveConfiguration& WithTenantDomain(const Aws::String& value) { SetTenantDomain(value); return *this;} /** *Tha Azure Active Directory domain of the organization.
*/ inline OneDriveConfiguration& WithTenantDomain(Aws::String&& value) { SetTenantDomain(std::move(value)); return *this;} /** *Tha Azure Active Directory domain of the organization.
*/ inline OneDriveConfiguration& WithTenantDomain(const char* value) { SetTenantDomain(value); return *this;} /** *The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains * the user name and password to connect to OneDrive. The user namd should be the * application ID for the OneDrive application, and the password is the application * key for the OneDrive application.
*/ inline const Aws::String& GetSecretArn() const{ return m_secretArn; } /** *The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains * the user name and password to connect to OneDrive. The user namd should be the * application ID for the OneDrive application, and the password is the application * key for the OneDrive application.
*/ inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains * the user name and password to connect to OneDrive. The user namd should be the * application ID for the OneDrive application, and the password is the application * key for the OneDrive application.
*/ inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; } /** *The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains * the user name and password to connect to OneDrive. The user namd should be the * application ID for the OneDrive application, and the password is the application * key for the OneDrive application.
*/ inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); } /** *The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains * the user name and password to connect to OneDrive. The user namd should be the * application ID for the OneDrive application, and the password is the application * key for the OneDrive application.
*/ inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); } /** *The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains * the user name and password to connect to OneDrive. The user namd should be the * application ID for the OneDrive application, and the password is the application * key for the OneDrive application.
*/ inline OneDriveConfiguration& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;} /** *The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains * the user name and password to connect to OneDrive. The user namd should be the * application ID for the OneDrive application, and the password is the application * key for the OneDrive application.
*/ inline OneDriveConfiguration& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains * the user name and password to connect to OneDrive. The user namd should be the * application ID for the OneDrive application, and the password is the application * key for the OneDrive application.
*/ inline OneDriveConfiguration& WithSecretArn(const char* value) { SetSecretArn(value); return *this;} /** *A list of user accounts whose documents should be indexed.
*/ inline const OneDriveUsers& GetOneDriveUsers() const{ return m_oneDriveUsers; } /** *A list of user accounts whose documents should be indexed.
*/ inline bool OneDriveUsersHasBeenSet() const { return m_oneDriveUsersHasBeenSet; } /** *A list of user accounts whose documents should be indexed.
*/ inline void SetOneDriveUsers(const OneDriveUsers& value) { m_oneDriveUsersHasBeenSet = true; m_oneDriveUsers = value; } /** *A list of user accounts whose documents should be indexed.
*/ inline void SetOneDriveUsers(OneDriveUsers&& value) { m_oneDriveUsersHasBeenSet = true; m_oneDriveUsers = std::move(value); } /** *A list of user accounts whose documents should be indexed.
*/ inline OneDriveConfiguration& WithOneDriveUsers(const OneDriveUsers& value) { SetOneDriveUsers(value); return *this;} /** *A list of user accounts whose documents should be indexed.
*/ inline OneDriveConfiguration& WithOneDriveUsers(OneDriveUsers&& value) { SetOneDriveUsers(std::move(value)); return *this;} /** *A list of regular expression patterns. Documents that match the pattern are * included in the index. Documents that don't match the pattern are excluded from * the index. If a document matches both an inclusion pattern and an exclusion * pattern, the document is not included in the index.
The exclusion * pattern is applied to the file name.
*/ inline const Aws::VectorA list of regular expression patterns. Documents that match the pattern are * included in the index. Documents that don't match the pattern are excluded from * the index. If a document matches both an inclusion pattern and an exclusion * pattern, the document is not included in the index.
The exclusion * pattern is applied to the file name.
*/ inline bool InclusionPatternsHasBeenSet() const { return m_inclusionPatternsHasBeenSet; } /** *A list of regular expression patterns. Documents that match the pattern are * included in the index. Documents that don't match the pattern are excluded from * the index. If a document matches both an inclusion pattern and an exclusion * pattern, the document is not included in the index.
The exclusion * pattern is applied to the file name.
*/ inline void SetInclusionPatterns(const Aws::VectorA list of regular expression patterns. Documents that match the pattern are * included in the index. Documents that don't match the pattern are excluded from * the index. If a document matches both an inclusion pattern and an exclusion * pattern, the document is not included in the index.
The exclusion * pattern is applied to the file name.
*/ inline void SetInclusionPatterns(Aws::VectorA list of regular expression patterns. Documents that match the pattern are * included in the index. Documents that don't match the pattern are excluded from * the index. If a document matches both an inclusion pattern and an exclusion * pattern, the document is not included in the index.
The exclusion * pattern is applied to the file name.
*/ inline OneDriveConfiguration& WithInclusionPatterns(const Aws::VectorA list of regular expression patterns. Documents that match the pattern are * included in the index. Documents that don't match the pattern are excluded from * the index. If a document matches both an inclusion pattern and an exclusion * pattern, the document is not included in the index.
The exclusion * pattern is applied to the file name.
*/ inline OneDriveConfiguration& WithInclusionPatterns(Aws::VectorA list of regular expression patterns. Documents that match the pattern are * included in the index. Documents that don't match the pattern are excluded from * the index. If a document matches both an inclusion pattern and an exclusion * pattern, the document is not included in the index.
The exclusion * pattern is applied to the file name.
*/ inline OneDriveConfiguration& AddInclusionPatterns(const Aws::String& value) { m_inclusionPatternsHasBeenSet = true; m_inclusionPatterns.push_back(value); return *this; } /** *A list of regular expression patterns. Documents that match the pattern are * included in the index. Documents that don't match the pattern are excluded from * the index. If a document matches both an inclusion pattern and an exclusion * pattern, the document is not included in the index.
The exclusion * pattern is applied to the file name.
*/ inline OneDriveConfiguration& AddInclusionPatterns(Aws::String&& value) { m_inclusionPatternsHasBeenSet = true; m_inclusionPatterns.push_back(std::move(value)); return *this; } /** *A list of regular expression patterns. Documents that match the pattern are * included in the index. Documents that don't match the pattern are excluded from * the index. If a document matches both an inclusion pattern and an exclusion * pattern, the document is not included in the index.
The exclusion * pattern is applied to the file name.
*/ inline OneDriveConfiguration& AddInclusionPatterns(const char* value) { m_inclusionPatternsHasBeenSet = true; m_inclusionPatterns.push_back(value); return *this; } /** *List of regular expressions applied to documents. Items that match the * exclusion pattern are not indexed. If you provide both an inclusion pattern and * an exclusion pattern, any item that matches the exclusion pattern isn't indexed. *
The exclusion pattern is applied to the file name.
*/ inline const Aws::VectorList of regular expressions applied to documents. Items that match the * exclusion pattern are not indexed. If you provide both an inclusion pattern and * an exclusion pattern, any item that matches the exclusion pattern isn't indexed. *
The exclusion pattern is applied to the file name.
*/ inline bool ExclusionPatternsHasBeenSet() const { return m_exclusionPatternsHasBeenSet; } /** *List of regular expressions applied to documents. Items that match the * exclusion pattern are not indexed. If you provide both an inclusion pattern and * an exclusion pattern, any item that matches the exclusion pattern isn't indexed. *
The exclusion pattern is applied to the file name.
*/ inline void SetExclusionPatterns(const Aws::VectorList of regular expressions applied to documents. Items that match the * exclusion pattern are not indexed. If you provide both an inclusion pattern and * an exclusion pattern, any item that matches the exclusion pattern isn't indexed. *
The exclusion pattern is applied to the file name.
*/ inline void SetExclusionPatterns(Aws::VectorList of regular expressions applied to documents. Items that match the * exclusion pattern are not indexed. If you provide both an inclusion pattern and * an exclusion pattern, any item that matches the exclusion pattern isn't indexed. *
The exclusion pattern is applied to the file name.
*/ inline OneDriveConfiguration& WithExclusionPatterns(const Aws::VectorList of regular expressions applied to documents. Items that match the * exclusion pattern are not indexed. If you provide both an inclusion pattern and * an exclusion pattern, any item that matches the exclusion pattern isn't indexed. *
The exclusion pattern is applied to the file name.
*/ inline OneDriveConfiguration& WithExclusionPatterns(Aws::VectorList of regular expressions applied to documents. Items that match the * exclusion pattern are not indexed. If you provide both an inclusion pattern and * an exclusion pattern, any item that matches the exclusion pattern isn't indexed. *
The exclusion pattern is applied to the file name.
*/ inline OneDriveConfiguration& AddExclusionPatterns(const Aws::String& value) { m_exclusionPatternsHasBeenSet = true; m_exclusionPatterns.push_back(value); return *this; } /** *List of regular expressions applied to documents. Items that match the * exclusion pattern are not indexed. If you provide both an inclusion pattern and * an exclusion pattern, any item that matches the exclusion pattern isn't indexed. *
The exclusion pattern is applied to the file name.
*/ inline OneDriveConfiguration& AddExclusionPatterns(Aws::String&& value) { m_exclusionPatternsHasBeenSet = true; m_exclusionPatterns.push_back(std::move(value)); return *this; } /** *List of regular expressions applied to documents. Items that match the * exclusion pattern are not indexed. If you provide both an inclusion pattern and * an exclusion pattern, any item that matches the exclusion pattern isn't indexed. *
The exclusion pattern is applied to the file name.
*/ inline OneDriveConfiguration& AddExclusionPatterns(const char* value) { m_exclusionPatternsHasBeenSet = true; m_exclusionPatterns.push_back(value); return *this; } /** *A list of DataSourceToIndexFieldMapping objects that map
* Microsoft OneDrive fields to custom fields in the Amazon Kendra index. You must
* first create the index fields before you map OneDrive fields.
A list of DataSourceToIndexFieldMapping objects that map
* Microsoft OneDrive fields to custom fields in the Amazon Kendra index. You must
* first create the index fields before you map OneDrive fields.
A list of DataSourceToIndexFieldMapping objects that map
* Microsoft OneDrive fields to custom fields in the Amazon Kendra index. You must
* first create the index fields before you map OneDrive fields.
A list of DataSourceToIndexFieldMapping objects that map
* Microsoft OneDrive fields to custom fields in the Amazon Kendra index. You must
* first create the index fields before you map OneDrive fields.
A list of DataSourceToIndexFieldMapping objects that map
* Microsoft OneDrive fields to custom fields in the Amazon Kendra index. You must
* first create the index fields before you map OneDrive fields.
A list of DataSourceToIndexFieldMapping objects that map
* Microsoft OneDrive fields to custom fields in the Amazon Kendra index. You must
* first create the index fields before you map OneDrive fields.
A list of DataSourceToIndexFieldMapping objects that map
* Microsoft OneDrive fields to custom fields in the Amazon Kendra index. You must
* first create the index fields before you map OneDrive fields.
A list of DataSourceToIndexFieldMapping objects that map
* Microsoft OneDrive fields to custom fields in the Amazon Kendra index. You must
* first create the index fields before you map OneDrive fields.