7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kendra/model/DataSourceToIndexFieldMapping.h>
52 template<
typename SecretArnT = Aws::String>
53 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet =
true; m_secretArn = std::forward<SecretArnT>(value); }
54 template<
typename SecretArnT = Aws::String>
69 template<
typename InclusionPatternsT = Aws::Vector<Aws::String>>
70 void SetInclusionPatterns(InclusionPatternsT&& value) { m_inclusionPatternsHasBeenSet =
true; m_inclusionPatterns = std::forward<InclusionPatternsT>(value); }
71 template<
typename InclusionPatternsT = Aws::Vector<Aws::String>>
73 template<
typename InclusionPatternsT = Aws::String>
88 template<
typename ExclusionPatternsT = Aws::Vector<Aws::String>>
89 void SetExclusionPatterns(ExclusionPatternsT&& value) { m_exclusionPatternsHasBeenSet =
true; m_exclusionPatterns = std::forward<ExclusionPatternsT>(value); }
90 template<
typename ExclusionPatternsT = Aws::Vector<Aws::String>>
92 template<
typename ExclusionPatternsT = Aws::String>
107 template<
typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
108 void SetFieldMappings(FieldMappingsT&& value) { m_fieldMappingsHasBeenSet =
true; m_fieldMappings = std::forward<FieldMappingsT>(value); }
109 template<
typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
111 template<
typename FieldMappingsT = DataSourceToIndexFieldMapping>
124 template<
typename ExcludeMimeTypesT = Aws::Vector<Aws::String>>
125 void SetExcludeMimeTypes(ExcludeMimeTypesT&& value) { m_excludeMimeTypesHasBeenSet =
true; m_excludeMimeTypes = std::forward<ExcludeMimeTypesT>(value); }
126 template<
typename ExcludeMimeTypesT = Aws::Vector<Aws::String>>
128 template<
typename ExcludeMimeTypesT = Aws::String>
140 template<
typename ExcludeUserAccountsT = Aws::Vector<Aws::String>>
141 void SetExcludeUserAccounts(ExcludeUserAccountsT&& value) { m_excludeUserAccountsHasBeenSet =
true; m_excludeUserAccounts = std::forward<ExcludeUserAccountsT>(value); }
142 template<
typename ExcludeUserAccountsT = Aws::Vector<Aws::String>>
144 template<
typename ExcludeUserAccountsT = Aws::String>
155 template<
typename ExcludeSharedDrivesT = Aws::Vector<Aws::String>>
156 void SetExcludeSharedDrives(ExcludeSharedDrivesT&& value) { m_excludeSharedDrivesHasBeenSet =
true; m_excludeSharedDrives = std::forward<ExcludeSharedDrivesT>(value); }
157 template<
typename ExcludeSharedDrivesT = Aws::Vector<Aws::String>>
159 template<
typename ExcludeSharedDrivesT = Aws::String>
165 bool m_secretArnHasBeenSet =
false;
168 bool m_inclusionPatternsHasBeenSet =
false;
171 bool m_exclusionPatternsHasBeenSet =
false;
174 bool m_fieldMappingsHasBeenSet =
false;
177 bool m_excludeMimeTypesHasBeenSet =
false;
180 bool m_excludeUserAccountsHasBeenSet =
false;
183 bool m_excludeSharedDrivesHasBeenSet =
false;
AWS_KENDRA_API GoogleDriveConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
GoogleDriveConfiguration & WithExcludeUserAccounts(ExcludeUserAccountsT &&value)
GoogleDriveConfiguration & AddExcludeSharedDrives(ExcludeSharedDrivesT &&value)
bool ExcludeUserAccountsHasBeenSet() const
bool ExclusionPatternsHasBeenSet() const
const Aws::Vector< Aws::String > & GetExcludeSharedDrives() const
bool FieldMappingsHasBeenSet() const
void SetExclusionPatterns(ExclusionPatternsT &&value)
void SetExcludeMimeTypes(ExcludeMimeTypesT &&value)
void SetInclusionPatterns(InclusionPatternsT &&value)
GoogleDriveConfiguration & WithExcludeMimeTypes(ExcludeMimeTypesT &&value)
bool SecretArnHasBeenSet() const
GoogleDriveConfiguration & AddExcludeUserAccounts(ExcludeUserAccountsT &&value)
const Aws::Vector< Aws::String > & GetInclusionPatterns() const
void SetExcludeUserAccounts(ExcludeUserAccountsT &&value)
AWS_KENDRA_API GoogleDriveConfiguration()=default
GoogleDriveConfiguration & WithSecretArn(SecretArnT &&value)
void SetExcludeSharedDrives(ExcludeSharedDrivesT &&value)
const Aws::Vector< Aws::String > & GetExcludeMimeTypes() const
bool ExcludeMimeTypesHasBeenSet() const
bool ExcludeSharedDrivesHasBeenSet() const
void SetSecretArn(SecretArnT &&value)
GoogleDriveConfiguration & AddExclusionPatterns(ExclusionPatternsT &&value)
GoogleDriveConfiguration & WithExclusionPatterns(ExclusionPatternsT &&value)
void SetFieldMappings(FieldMappingsT &&value)
const Aws::Vector< DataSourceToIndexFieldMapping > & GetFieldMappings() const
GoogleDriveConfiguration & AddFieldMappings(FieldMappingsT &&value)
GoogleDriveConfiguration & AddInclusionPatterns(InclusionPatternsT &&value)
bool InclusionPatternsHasBeenSet() const
const Aws::String & GetSecretArn() const
GoogleDriveConfiguration & WithFieldMappings(FieldMappingsT &&value)
const Aws::Vector< Aws::String > & GetExcludeUserAccounts() const
const Aws::Vector< Aws::String > & GetExclusionPatterns() const
GoogleDriveConfiguration & AddExcludeMimeTypes(ExcludeMimeTypesT &&value)
GoogleDriveConfiguration & WithInclusionPatterns(InclusionPatternsT &&value)
GoogleDriveConfiguration & WithExcludeSharedDrives(ExcludeSharedDrivesT &&value)
AWS_KENDRA_API GoogleDriveConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue