AWS SDK for C++  1.8.74
AWS SDK for C++
Public Member Functions | List of all members
Aws::kendra::Model::CreateDataSourceRequest Class Reference

#include <CreateDataSourceRequest.h>

+ Inheritance diagram for Aws::kendra::Model::CreateDataSourceRequest:

Public Member Functions

 CreateDataSourceRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
CreateDataSourceRequestWithName (const Aws::String &value)
 
CreateDataSourceRequestWithName (Aws::String &&value)
 
CreateDataSourceRequestWithName (const char *value)
 
const Aws::StringGetIndexId () const
 
bool IndexIdHasBeenSet () const
 
void SetIndexId (const Aws::String &value)
 
void SetIndexId (Aws::String &&value)
 
void SetIndexId (const char *value)
 
CreateDataSourceRequestWithIndexId (const Aws::String &value)
 
CreateDataSourceRequestWithIndexId (Aws::String &&value)
 
CreateDataSourceRequestWithIndexId (const char *value)
 
const DataSourceTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const DataSourceType &value)
 
void SetType (DataSourceType &&value)
 
CreateDataSourceRequestWithType (const DataSourceType &value)
 
CreateDataSourceRequestWithType (DataSourceType &&value)
 
const DataSourceConfigurationGetConfiguration () const
 
bool ConfigurationHasBeenSet () const
 
void SetConfiguration (const DataSourceConfiguration &value)
 
void SetConfiguration (DataSourceConfiguration &&value)
 
CreateDataSourceRequestWithConfiguration (const DataSourceConfiguration &value)
 
CreateDataSourceRequestWithConfiguration (DataSourceConfiguration &&value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
CreateDataSourceRequestWithDescription (const Aws::String &value)
 
CreateDataSourceRequestWithDescription (Aws::String &&value)
 
CreateDataSourceRequestWithDescription (const char *value)
 
const Aws::StringGetSchedule () const
 
bool ScheduleHasBeenSet () const
 
void SetSchedule (const Aws::String &value)
 
void SetSchedule (Aws::String &&value)
 
void SetSchedule (const char *value)
 
CreateDataSourceRequestWithSchedule (const Aws::String &value)
 
CreateDataSourceRequestWithSchedule (Aws::String &&value)
 
CreateDataSourceRequestWithSchedule (const char *value)
 
const Aws::StringGetRoleArn () const
 
bool RoleArnHasBeenSet () const
 
void SetRoleArn (const Aws::String &value)
 
void SetRoleArn (Aws::String &&value)
 
void SetRoleArn (const char *value)
 
CreateDataSourceRequestWithRoleArn (const Aws::String &value)
 
CreateDataSourceRequestWithRoleArn (Aws::String &&value)
 
CreateDataSourceRequestWithRoleArn (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateDataSourceRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateDataSourceRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateDataSourceRequestAddTags (const Tag &value)
 
CreateDataSourceRequestAddTags (Tag &&value)
 
const Aws::StringGetClientToken () const
 
bool ClientTokenHasBeenSet () const
 
void SetClientToken (const Aws::String &value)
 
void SetClientToken (Aws::String &&value)
 
void SetClientToken (const char *value)
 
CreateDataSourceRequestWithClientToken (const Aws::String &value)
 
CreateDataSourceRequestWithClientToken (Aws::String &&value)
 
CreateDataSourceRequestWithClientToken (const char *value)
 
- Public Member Functions inherited from Aws::kendra::KendraRequest
virtual ~KendraRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 26 of file CreateDataSourceRequest.h.

Constructor & Destructor Documentation

◆ CreateDataSourceRequest()

Aws::kendra::Model::CreateDataSourceRequest::CreateDataSourceRequest ( )

Member Function Documentation

◆ AddTags() [1/2]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::AddTags ( const Tag value)
inline

A list of key-value pairs that identify the data source. You can use the tags to identify and organize your resources and to control access to resources.

Definition at line 485 of file CreateDataSourceRequest.h.

◆ AddTags() [2/2]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::AddTags ( Tag &&  value)
inline

A list of key-value pairs that identify the data source. You can use the tags to identify and organize your resources and to control access to resources.

Definition at line 491 of file CreateDataSourceRequest.h.

◆ ClientTokenHasBeenSet()

bool Aws::kendra::Model::CreateDataSourceRequest::ClientTokenHasBeenSet ( ) const
inline

A token that you provide to identify the request to create a data source. Multiple calls to the CreateDataSource operation with the same client token will create only one data source.

Definition at line 506 of file CreateDataSourceRequest.h.

◆ ConfigurationHasBeenSet()

bool Aws::kendra::Model::CreateDataSourceRequest::ConfigurationHasBeenSet ( ) const
inline

The connector configuration information that is required to access the repository.

You can't specify the Configuration parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The Configuration parameter is required for all other data sources.

Definition at line 187 of file CreateDataSourceRequest.h.

◆ DescriptionHasBeenSet()

bool Aws::kendra::Model::CreateDataSourceRequest::DescriptionHasBeenSet ( ) const
inline

A description for the data source.

Definition at line 234 of file CreateDataSourceRequest.h.

◆ GetClientToken()

const Aws::String& Aws::kendra::Model::CreateDataSourceRequest::GetClientToken ( ) const
inline

A token that you provide to identify the request to create a data source. Multiple calls to the CreateDataSource operation with the same client token will create only one data source.

Definition at line 499 of file CreateDataSourceRequest.h.

◆ GetConfiguration()

const DataSourceConfiguration& Aws::kendra::Model::CreateDataSourceRequest::GetConfiguration ( ) const
inline

The connector configuration information that is required to access the repository.

You can't specify the Configuration parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The Configuration parameter is required for all other data sources.

Definition at line 178 of file CreateDataSourceRequest.h.

◆ GetDescription()

const Aws::String& Aws::kendra::Model::CreateDataSourceRequest::GetDescription ( ) const
inline

A description for the data source.

Definition at line 229 of file CreateDataSourceRequest.h.

◆ GetIndexId()

const Aws::String& Aws::kendra::Model::CreateDataSourceRequest::GetIndexId ( ) const
inline

The identifier of the index that should be associated with this data source.

Definition at line 95 of file CreateDataSourceRequest.h.

◆ GetName()

const Aws::String& Aws::kendra::Model::CreateDataSourceRequest::GetName ( ) const
inline

A unique name for the data source. A data source name can't be changed without deleting and recreating the data source.

Definition at line 46 of file CreateDataSourceRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::kendra::Model::CreateDataSourceRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::kendra::KendraRequest.

◆ GetRoleArn()

const Aws::String& Aws::kendra::Model::CreateDataSourceRequest::GetRoleArn ( ) const
inline

The Amazon Resource Name (ARN) of a role with permission to access the data source. For more information, see IAM Roles for Amazon Kendra.

You can't specify the RoleArn parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The RoleArn parameter is required for all other data sources.

Definition at line 365 of file CreateDataSourceRequest.h.

◆ GetSchedule()

const Aws::String& Aws::kendra::Model::CreateDataSourceRequest::GetSchedule ( ) const
inline

Sets the frequency that Amazon Kendra will check the documents in your repository and update the index. If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the StartDataSourceSyncJob operation to update the index.

You can't specify the Schedule parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

Definition at line 276 of file CreateDataSourceRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::kendra::Model::CreateDataSourceRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 35 of file CreateDataSourceRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::kendra::Model::CreateDataSourceRequest::GetTags ( ) const
inline

A list of key-value pairs that identify the data source. You can use the tags to identify and organize your resources and to control access to resources.

Definition at line 449 of file CreateDataSourceRequest.h.

◆ GetType()

const DataSourceType& Aws::kendra::Model::CreateDataSourceRequest::GetType ( ) const
inline

The type of repository that contains the data source.

Definition at line 143 of file CreateDataSourceRequest.h.

◆ IndexIdHasBeenSet()

bool Aws::kendra::Model::CreateDataSourceRequest::IndexIdHasBeenSet ( ) const
inline

The identifier of the index that should be associated with this data source.

Definition at line 101 of file CreateDataSourceRequest.h.

◆ NameHasBeenSet()

bool Aws::kendra::Model::CreateDataSourceRequest::NameHasBeenSet ( ) const
inline

A unique name for the data source. A data source name can't be changed without deleting and recreating the data source.

Definition at line 52 of file CreateDataSourceRequest.h.

◆ RoleArnHasBeenSet()

bool Aws::kendra::Model::CreateDataSourceRequest::RoleArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of a role with permission to access the data source. For more information, see IAM Roles for Amazon Kendra.

You can't specify the RoleArn parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The RoleArn parameter is required for all other data sources.

Definition at line 376 of file CreateDataSourceRequest.h.

◆ ScheduleHasBeenSet()

bool Aws::kendra::Model::CreateDataSourceRequest::ScheduleHasBeenSet ( ) const
inline

Sets the frequency that Amazon Kendra will check the documents in your repository and update the index. If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the StartDataSourceSyncJob operation to update the index.

You can't specify the Schedule parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

Definition at line 287 of file CreateDataSourceRequest.h.

◆ SerializePayload()

Aws::String Aws::kendra::Model::CreateDataSourceRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetClientToken() [1/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetClientToken ( const Aws::String value)
inline

A token that you provide to identify the request to create a data source. Multiple calls to the CreateDataSource operation with the same client token will create only one data source.

Definition at line 513 of file CreateDataSourceRequest.h.

◆ SetClientToken() [2/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetClientToken ( Aws::String &&  value)
inline

A token that you provide to identify the request to create a data source. Multiple calls to the CreateDataSource operation with the same client token will create only one data source.

Definition at line 520 of file CreateDataSourceRequest.h.

◆ SetClientToken() [3/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetClientToken ( const char *  value)
inline

A token that you provide to identify the request to create a data source. Multiple calls to the CreateDataSource operation with the same client token will create only one data source.

Definition at line 527 of file CreateDataSourceRequest.h.

◆ SetConfiguration() [1/2]

void Aws::kendra::Model::CreateDataSourceRequest::SetConfiguration ( const DataSourceConfiguration value)
inline

The connector configuration information that is required to access the repository.

You can't specify the Configuration parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The Configuration parameter is required for all other data sources.

Definition at line 196 of file CreateDataSourceRequest.h.

◆ SetConfiguration() [2/2]

void Aws::kendra::Model::CreateDataSourceRequest::SetConfiguration ( DataSourceConfiguration &&  value)
inline

The connector configuration information that is required to access the repository.

You can't specify the Configuration parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The Configuration parameter is required for all other data sources.

Definition at line 205 of file CreateDataSourceRequest.h.

◆ SetDescription() [1/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetDescription ( const Aws::String value)
inline

A description for the data source.

Definition at line 239 of file CreateDataSourceRequest.h.

◆ SetDescription() [2/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetDescription ( Aws::String &&  value)
inline

A description for the data source.

Definition at line 244 of file CreateDataSourceRequest.h.

◆ SetDescription() [3/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetDescription ( const char *  value)
inline

A description for the data source.

Definition at line 249 of file CreateDataSourceRequest.h.

◆ SetIndexId() [1/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetIndexId ( const Aws::String value)
inline

The identifier of the index that should be associated with this data source.

Definition at line 107 of file CreateDataSourceRequest.h.

◆ SetIndexId() [2/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetIndexId ( Aws::String &&  value)
inline

The identifier of the index that should be associated with this data source.

Definition at line 113 of file CreateDataSourceRequest.h.

◆ SetIndexId() [3/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetIndexId ( const char *  value)
inline

The identifier of the index that should be associated with this data source.

Definition at line 119 of file CreateDataSourceRequest.h.

◆ SetName() [1/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetName ( const Aws::String value)
inline

A unique name for the data source. A data source name can't be changed without deleting and recreating the data source.

Definition at line 58 of file CreateDataSourceRequest.h.

◆ SetName() [2/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetName ( Aws::String &&  value)
inline

A unique name for the data source. A data source name can't be changed without deleting and recreating the data source.

Definition at line 64 of file CreateDataSourceRequest.h.

◆ SetName() [3/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetName ( const char *  value)
inline

A unique name for the data source. A data source name can't be changed without deleting and recreating the data source.

Definition at line 70 of file CreateDataSourceRequest.h.

◆ SetRoleArn() [1/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetRoleArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of a role with permission to access the data source. For more information, see IAM Roles for Amazon Kendra.

You can't specify the RoleArn parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The RoleArn parameter is required for all other data sources.

Definition at line 387 of file CreateDataSourceRequest.h.

◆ SetRoleArn() [2/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetRoleArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of a role with permission to access the data source. For more information, see IAM Roles for Amazon Kendra.

You can't specify the RoleArn parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The RoleArn parameter is required for all other data sources.

Definition at line 398 of file CreateDataSourceRequest.h.

◆ SetRoleArn() [3/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetRoleArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of a role with permission to access the data source. For more information, see IAM Roles for Amazon Kendra.

You can't specify the RoleArn parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The RoleArn parameter is required for all other data sources.

Definition at line 409 of file CreateDataSourceRequest.h.

◆ SetSchedule() [1/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetSchedule ( const Aws::String value)
inline

Sets the frequency that Amazon Kendra will check the documents in your repository and update the index. If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the StartDataSourceSyncJob operation to update the index.

You can't specify the Schedule parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

Definition at line 298 of file CreateDataSourceRequest.h.

◆ SetSchedule() [2/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetSchedule ( Aws::String &&  value)
inline

Sets the frequency that Amazon Kendra will check the documents in your repository and update the index. If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the StartDataSourceSyncJob operation to update the index.

You can't specify the Schedule parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

Definition at line 309 of file CreateDataSourceRequest.h.

◆ SetSchedule() [3/3]

void Aws::kendra::Model::CreateDataSourceRequest::SetSchedule ( const char *  value)
inline

Sets the frequency that Amazon Kendra will check the documents in your repository and update the index. If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the StartDataSourceSyncJob operation to update the index.

You can't specify the Schedule parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

Definition at line 320 of file CreateDataSourceRequest.h.

◆ SetTags() [1/2]

void Aws::kendra::Model::CreateDataSourceRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

A list of key-value pairs that identify the data source. You can use the tags to identify and organize your resources and to control access to resources.

Definition at line 461 of file CreateDataSourceRequest.h.

◆ SetTags() [2/2]

void Aws::kendra::Model::CreateDataSourceRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

A list of key-value pairs that identify the data source. You can use the tags to identify and organize your resources and to control access to resources.

Definition at line 467 of file CreateDataSourceRequest.h.

◆ SetType() [1/2]

void Aws::kendra::Model::CreateDataSourceRequest::SetType ( const DataSourceType value)
inline

The type of repository that contains the data source.

Definition at line 153 of file CreateDataSourceRequest.h.

◆ SetType() [2/2]

void Aws::kendra::Model::CreateDataSourceRequest::SetType ( DataSourceType &&  value)
inline

The type of repository that contains the data source.

Definition at line 158 of file CreateDataSourceRequest.h.

◆ TagsHasBeenSet()

bool Aws::kendra::Model::CreateDataSourceRequest::TagsHasBeenSet ( ) const
inline

A list of key-value pairs that identify the data source. You can use the tags to identify and organize your resources and to control access to resources.

Definition at line 455 of file CreateDataSourceRequest.h.

◆ TypeHasBeenSet()

bool Aws::kendra::Model::CreateDataSourceRequest::TypeHasBeenSet ( ) const
inline

The type of repository that contains the data source.

Definition at line 148 of file CreateDataSourceRequest.h.

◆ WithClientToken() [1/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithClientToken ( const Aws::String value)
inline

A token that you provide to identify the request to create a data source. Multiple calls to the CreateDataSource operation with the same client token will create only one data source.

Definition at line 534 of file CreateDataSourceRequest.h.

◆ WithClientToken() [2/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithClientToken ( Aws::String &&  value)
inline

A token that you provide to identify the request to create a data source. Multiple calls to the CreateDataSource operation with the same client token will create only one data source.

Definition at line 541 of file CreateDataSourceRequest.h.

◆ WithClientToken() [3/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithClientToken ( const char *  value)
inline

A token that you provide to identify the request to create a data source. Multiple calls to the CreateDataSource operation with the same client token will create only one data source.

Definition at line 548 of file CreateDataSourceRequest.h.

◆ WithConfiguration() [1/2]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithConfiguration ( const DataSourceConfiguration value)
inline

The connector configuration information that is required to access the repository.

You can't specify the Configuration parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The Configuration parameter is required for all other data sources.

Definition at line 214 of file CreateDataSourceRequest.h.

◆ WithConfiguration() [2/2]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithConfiguration ( DataSourceConfiguration &&  value)
inline

The connector configuration information that is required to access the repository.

You can't specify the Configuration parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The Configuration parameter is required for all other data sources.

Definition at line 223 of file CreateDataSourceRequest.h.

◆ WithDescription() [1/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithDescription ( const Aws::String value)
inline

A description for the data source.

Definition at line 254 of file CreateDataSourceRequest.h.

◆ WithDescription() [2/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithDescription ( Aws::String &&  value)
inline

A description for the data source.

Definition at line 259 of file CreateDataSourceRequest.h.

◆ WithDescription() [3/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithDescription ( const char *  value)
inline

A description for the data source.

Definition at line 264 of file CreateDataSourceRequest.h.

◆ WithIndexId() [1/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithIndexId ( const Aws::String value)
inline

The identifier of the index that should be associated with this data source.

Definition at line 125 of file CreateDataSourceRequest.h.

◆ WithIndexId() [2/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithIndexId ( Aws::String &&  value)
inline

The identifier of the index that should be associated with this data source.

Definition at line 131 of file CreateDataSourceRequest.h.

◆ WithIndexId() [3/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithIndexId ( const char *  value)
inline

The identifier of the index that should be associated with this data source.

Definition at line 137 of file CreateDataSourceRequest.h.

◆ WithName() [1/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithName ( const Aws::String value)
inline

A unique name for the data source. A data source name can't be changed without deleting and recreating the data source.

Definition at line 76 of file CreateDataSourceRequest.h.

◆ WithName() [2/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithName ( Aws::String &&  value)
inline

A unique name for the data source. A data source name can't be changed without deleting and recreating the data source.

Definition at line 82 of file CreateDataSourceRequest.h.

◆ WithName() [3/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithName ( const char *  value)
inline

A unique name for the data source. A data source name can't be changed without deleting and recreating the data source.

Definition at line 88 of file CreateDataSourceRequest.h.

◆ WithRoleArn() [1/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithRoleArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of a role with permission to access the data source. For more information, see IAM Roles for Amazon Kendra.

You can't specify the RoleArn parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The RoleArn parameter is required for all other data sources.

Definition at line 420 of file CreateDataSourceRequest.h.

◆ WithRoleArn() [2/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithRoleArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of a role with permission to access the data source. For more information, see IAM Roles for Amazon Kendra.

You can't specify the RoleArn parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The RoleArn parameter is required for all other data sources.

Definition at line 431 of file CreateDataSourceRequest.h.

◆ WithRoleArn() [3/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithRoleArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of a role with permission to access the data source. For more information, see IAM Roles for Amazon Kendra.

You can't specify the RoleArn parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The RoleArn parameter is required for all other data sources.

Definition at line 442 of file CreateDataSourceRequest.h.

◆ WithSchedule() [1/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithSchedule ( const Aws::String value)
inline

Sets the frequency that Amazon Kendra will check the documents in your repository and update the index. If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the StartDataSourceSyncJob operation to update the index.

You can't specify the Schedule parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

Definition at line 331 of file CreateDataSourceRequest.h.

◆ WithSchedule() [2/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithSchedule ( Aws::String &&  value)
inline

Sets the frequency that Amazon Kendra will check the documents in your repository and update the index. If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the StartDataSourceSyncJob operation to update the index.

You can't specify the Schedule parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

Definition at line 342 of file CreateDataSourceRequest.h.

◆ WithSchedule() [3/3]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithSchedule ( const char *  value)
inline

Sets the frequency that Amazon Kendra will check the documents in your repository and update the index. If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the StartDataSourceSyncJob operation to update the index.

You can't specify the Schedule parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

Definition at line 353 of file CreateDataSourceRequest.h.

◆ WithTags() [1/2]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

A list of key-value pairs that identify the data source. You can use the tags to identify and organize your resources and to control access to resources.

Definition at line 473 of file CreateDataSourceRequest.h.

◆ WithTags() [2/2]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

A list of key-value pairs that identify the data source. You can use the tags to identify and organize your resources and to control access to resources.

Definition at line 479 of file CreateDataSourceRequest.h.

◆ WithType() [1/2]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithType ( const DataSourceType value)
inline

The type of repository that contains the data source.

Definition at line 163 of file CreateDataSourceRequest.h.

◆ WithType() [2/2]

CreateDataSourceRequest& Aws::kendra::Model::CreateDataSourceRequest::WithType ( DataSourceType &&  value)
inline

The type of repository that contains the data source.

Definition at line 168 of file CreateDataSourceRequest.h.


The documentation for this class was generated from the following file: