/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the configuration information to connect to OneDrive as your data
* source.See Also:
AWS
* API Reference
The Azure Active Directory domain of the organization.
*/ inline const Aws::String& GetTenantDomain() const{ return m_tenantDomain; } /** *The Azure Active Directory domain of the organization.
*/ inline bool TenantDomainHasBeenSet() const { return m_tenantDomainHasBeenSet; } /** *The Azure Active Directory domain of the organization.
*/ inline void SetTenantDomain(const Aws::String& value) { m_tenantDomainHasBeenSet = true; m_tenantDomain = value; } /** *The Azure Active Directory domain of the organization.
*/ inline void SetTenantDomain(Aws::String&& value) { m_tenantDomainHasBeenSet = true; m_tenantDomain = std::move(value); } /** *The Azure Active Directory domain of the organization.
*/ inline void SetTenantDomain(const char* value) { m_tenantDomainHasBeenSet = true; m_tenantDomain.assign(value); } /** *The Azure Active Directory domain of the organization.
*/ inline OneDriveConfiguration& WithTenantDomain(const Aws::String& value) { SetTenantDomain(value); return *this;} /** *The Azure Active Directory domain of the organization.
*/ inline OneDriveConfiguration& WithTenantDomain(Aws::String&& value) { SetTenantDomain(std::move(value)); return *this;} /** *The Azure Active Directory domain of the organization.
*/ inline OneDriveConfiguration& WithTenantDomain(const char* value) { SetTenantDomain(value); return *this;} /** *The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the * user name and password to connect to OneDrive. The user name 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 Secrets Managersecret that contains the * user name and password to connect to OneDrive. The user name 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 Secrets Managersecret that contains the * user name and password to connect to OneDrive. The user name 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 Secrets Managersecret that contains the * user name and password to connect to OneDrive. The user name 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 Secrets Managersecret that contains the * user name and password to connect to OneDrive. The user name 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 Secrets Managersecret that contains the * user name and password to connect to OneDrive. The user name 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 Secrets Managersecret that contains the * user name and password to connect to OneDrive. The user name 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 Secrets Managersecret that contains the * user name and password to connect to OneDrive. The user name 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 to include certain documents in your * OneDrive. Documents that match the patterns are included in the index. Documents * that don't match the patterns are excluded from the index. If a document matches * both an inclusion and exclusion pattern, the exclusion pattern takes precedence * and the document isn't included in the index.
The pattern is applied to * the file name.
*/ inline const Aws::VectorA list of regular expression patterns to include certain documents in your * OneDrive. Documents that match the patterns are included in the index. Documents * that don't match the patterns are excluded from the index. If a document matches * both an inclusion and exclusion pattern, the exclusion pattern takes precedence * and the document isn't included in the index.
The pattern is applied to * the file name.
*/ inline bool InclusionPatternsHasBeenSet() const { return m_inclusionPatternsHasBeenSet; } /** *A list of regular expression patterns to include certain documents in your * OneDrive. Documents that match the patterns are included in the index. Documents * that don't match the patterns are excluded from the index. If a document matches * both an inclusion and exclusion pattern, the exclusion pattern takes precedence * and the document isn't included in the index.
The pattern is applied to * the file name.
*/ inline void SetInclusionPatterns(const Aws::VectorA list of regular expression patterns to include certain documents in your * OneDrive. Documents that match the patterns are included in the index. Documents * that don't match the patterns are excluded from the index. If a document matches * both an inclusion and exclusion pattern, the exclusion pattern takes precedence * and the document isn't included in the index.
The pattern is applied to * the file name.
*/ inline void SetInclusionPatterns(Aws::VectorA list of regular expression patterns to include certain documents in your * OneDrive. Documents that match the patterns are included in the index. Documents * that don't match the patterns are excluded from the index. If a document matches * both an inclusion and exclusion pattern, the exclusion pattern takes precedence * and the document isn't included in the index.
The pattern is applied to * the file name.
*/ inline OneDriveConfiguration& WithInclusionPatterns(const Aws::VectorA list of regular expression patterns to include certain documents in your * OneDrive. Documents that match the patterns are included in the index. Documents * that don't match the patterns are excluded from the index. If a document matches * both an inclusion and exclusion pattern, the exclusion pattern takes precedence * and the document isn't included in the index.
The pattern is applied to * the file name.
*/ inline OneDriveConfiguration& WithInclusionPatterns(Aws::VectorA list of regular expression patterns to include certain documents in your * OneDrive. Documents that match the patterns are included in the index. Documents * that don't match the patterns are excluded from the index. If a document matches * both an inclusion and exclusion pattern, the exclusion pattern takes precedence * and the document isn't included in the index.
The 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 to include certain documents in your * OneDrive. Documents that match the patterns are included in the index. Documents * that don't match the patterns are excluded from the index. If a document matches * both an inclusion and exclusion pattern, the exclusion pattern takes precedence * and the document isn't included in the index.
The 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 to include certain documents in your * OneDrive. Documents that match the patterns are included in the index. Documents * that don't match the patterns are excluded from the index. If a document matches * both an inclusion and exclusion pattern, the exclusion pattern takes precedence * and the document isn't included in the index.
The pattern is applied to * the file name.
*/ inline OneDriveConfiguration& AddInclusionPatterns(const char* value) { m_inclusionPatternsHasBeenSet = true; m_inclusionPatterns.push_back(value); return *this; } /** *A list of regular expression patterns to exclude certain documents in your * OneDrive. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.
The pattern is * applied to the file name.
*/ inline const Aws::VectorA list of regular expression patterns to exclude certain documents in your * OneDrive. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.
The pattern is * applied to the file name.
*/ inline bool ExclusionPatternsHasBeenSet() const { return m_exclusionPatternsHasBeenSet; } /** *A list of regular expression patterns to exclude certain documents in your * OneDrive. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.
The pattern is * applied to the file name.
*/ inline void SetExclusionPatterns(const Aws::VectorA list of regular expression patterns to exclude certain documents in your * OneDrive. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.
The pattern is * applied to the file name.
*/ inline void SetExclusionPatterns(Aws::VectorA list of regular expression patterns to exclude certain documents in your * OneDrive. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.
The pattern is * applied to the file name.
*/ inline OneDriveConfiguration& WithExclusionPatterns(const Aws::VectorA list of regular expression patterns to exclude certain documents in your * OneDrive. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.
The pattern is * applied to the file name.
*/ inline OneDriveConfiguration& WithExclusionPatterns(Aws::VectorA list of regular expression patterns to exclude certain documents in your * OneDrive. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.
The pattern is * applied to the file name.
*/ inline OneDriveConfiguration& AddExclusionPatterns(const Aws::String& value) { m_exclusionPatternsHasBeenSet = true; m_exclusionPatterns.push_back(value); return *this; } /** *A list of regular expression patterns to exclude certain documents in your * OneDrive. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.
The 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; } /** *A list of regular expression patterns to exclude certain documents in your * OneDrive. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.
The 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
* OneDrive data source attributes or field names to Amazon Kendra index field
* names. To create custom fields, use the UpdateIndex
API before you
* map to OneDrive fields. For more information, see Mapping
* data source fields. The OneDrive data source field names must exist in your
* OneDrive custom metadata.
A list of DataSourceToIndexFieldMapping
objects that map
* OneDrive data source attributes or field names to Amazon Kendra index field
* names. To create custom fields, use the UpdateIndex
API before you
* map to OneDrive fields. For more information, see Mapping
* data source fields. The OneDrive data source field names must exist in your
* OneDrive custom metadata.
A list of DataSourceToIndexFieldMapping
objects that map
* OneDrive data source attributes or field names to Amazon Kendra index field
* names. To create custom fields, use the UpdateIndex
API before you
* map to OneDrive fields. For more information, see Mapping
* data source fields. The OneDrive data source field names must exist in your
* OneDrive custom metadata.
A list of DataSourceToIndexFieldMapping
objects that map
* OneDrive data source attributes or field names to Amazon Kendra index field
* names. To create custom fields, use the UpdateIndex
API before you
* map to OneDrive fields. For more information, see Mapping
* data source fields. The OneDrive data source field names must exist in your
* OneDrive custom metadata.
A list of DataSourceToIndexFieldMapping
objects that map
* OneDrive data source attributes or field names to Amazon Kendra index field
* names. To create custom fields, use the UpdateIndex
API before you
* map to OneDrive fields. For more information, see Mapping
* data source fields. The OneDrive data source field names must exist in your
* OneDrive custom metadata.
A list of DataSourceToIndexFieldMapping
objects that map
* OneDrive data source attributes or field names to Amazon Kendra index field
* names. To create custom fields, use the UpdateIndex
API before you
* map to OneDrive fields. For more information, see Mapping
* data source fields. The OneDrive data source field names must exist in your
* OneDrive custom metadata.
A list of DataSourceToIndexFieldMapping
objects that map
* OneDrive data source attributes or field names to Amazon Kendra index field
* names. To create custom fields, use the UpdateIndex
API before you
* map to OneDrive fields. For more information, see Mapping
* data source fields. The OneDrive data source field names must exist in your
* OneDrive custom metadata.
A list of DataSourceToIndexFieldMapping
objects that map
* OneDrive data source attributes or field names to Amazon Kendra index field
* names. To create custom fields, use the UpdateIndex
API before you
* map to OneDrive fields. For more information, see Mapping
* data source fields. The OneDrive data source field names must exist in your
* OneDrive custom metadata.
TRUE
to disable local groups information.
TRUE
to disable local groups information.
TRUE
to disable local groups information.
TRUE
to disable local groups information.