7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kendra/Kendra_EXPORTS.h>
10#include <aws/kendra/model/DataSourceToIndexFieldMapping.h>
46 template <
typename SecretArnT = Aws::String>
48 m_secretArnHasBeenSet =
true;
49 m_secretArn = std::forward<SecretArnT>(value);
51 template <
typename SecretArnT = Aws::String>
69 template <
typename InclusionPatternsT = Aws::Vector<Aws::String>>
71 m_inclusionPatternsHasBeenSet =
true;
72 m_inclusionPatterns = std::forward<InclusionPatternsT>(value);
74 template <
typename InclusionPatternsT = Aws::Vector<Aws::String>>
79 template <
typename InclusionPatternsT = Aws::String>
81 m_inclusionPatternsHasBeenSet =
true;
82 m_inclusionPatterns.emplace_back(std::forward<InclusionPatternsT>(value));
98 template <
typename ExclusionPatternsT = Aws::Vector<Aws::String>>
100 m_exclusionPatternsHasBeenSet =
true;
101 m_exclusionPatterns = std::forward<ExclusionPatternsT>(value);
103 template <
typename ExclusionPatternsT = Aws::Vector<Aws::String>>
108 template <
typename ExclusionPatternsT = Aws::String>
110 m_exclusionPatternsHasBeenSet =
true;
111 m_exclusionPatterns.emplace_back(std::forward<ExclusionPatternsT>(value));
127 template <
typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
129 m_fieldMappingsHasBeenSet =
true;
130 m_fieldMappings = std::forward<FieldMappingsT>(value);
132 template <
typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
137 template <
typename FieldMappingsT = DataSourceToIndexFieldMapping>
139 m_fieldMappingsHasBeenSet =
true;
140 m_fieldMappings.emplace_back(std::forward<FieldMappingsT>(value));
154 template <
typename ExcludeMimeTypesT = Aws::Vector<Aws::String>>
156 m_excludeMimeTypesHasBeenSet =
true;
157 m_excludeMimeTypes = std::forward<ExcludeMimeTypesT>(value);
159 template <
typename ExcludeMimeTypesT = Aws::Vector<Aws::String>>
164 template <
typename ExcludeMimeTypesT = Aws::String>
166 m_excludeMimeTypesHasBeenSet =
true;
167 m_excludeMimeTypes.emplace_back(std::forward<ExcludeMimeTypesT>(value));
180 template <
typename ExcludeUserAccountsT = Aws::Vector<Aws::String>>
182 m_excludeUserAccountsHasBeenSet =
true;
183 m_excludeUserAccounts = std::forward<ExcludeUserAccountsT>(value);
185 template <
typename ExcludeUserAccountsT = Aws::Vector<Aws::String>>
190 template <
typename ExcludeUserAccountsT = Aws::String>
192 m_excludeUserAccountsHasBeenSet =
true;
193 m_excludeUserAccounts.emplace_back(std::forward<ExcludeUserAccountsT>(value));
205 template <
typename ExcludeSharedDrivesT = Aws::Vector<Aws::String>>
207 m_excludeSharedDrivesHasBeenSet =
true;
208 m_excludeSharedDrives = std::forward<ExcludeSharedDrivesT>(value);
210 template <
typename ExcludeSharedDrivesT = Aws::Vector<Aws::String>>
215 template <
typename ExcludeSharedDrivesT = Aws::String>
217 m_excludeSharedDrivesHasBeenSet =
true;
218 m_excludeSharedDrives.emplace_back(std::forward<ExcludeSharedDrivesT>(value));
236 bool m_secretArnHasBeenSet =
false;
237 bool m_inclusionPatternsHasBeenSet =
false;
238 bool m_exclusionPatternsHasBeenSet =
false;
239 bool m_fieldMappingsHasBeenSet =
false;
240 bool m_excludeMimeTypesHasBeenSet =
false;
241 bool m_excludeUserAccountsHasBeenSet =
false;
242 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