AWS SDK for C++  1.9.153
AWS SDK for C++
Public Member Functions | List of all members
Aws::LexModelBuildingService::Model::StartImportRequest Class Reference

#include <StartImportRequest.h>

+ Inheritance diagram for Aws::LexModelBuildingService::Model::StartImportRequest:

Public Member Functions

 StartImportRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::Utils::ByteBufferGetPayload () const
 
bool PayloadHasBeenSet () const
 
void SetPayload (const Aws::Utils::ByteBuffer &value)
 
void SetPayload (Aws::Utils::ByteBuffer &&value)
 
StartImportRequestWithPayload (const Aws::Utils::ByteBuffer &value)
 
StartImportRequestWithPayload (Aws::Utils::ByteBuffer &&value)
 
const ResourceTypeGetResourceType () const
 
bool ResourceTypeHasBeenSet () const
 
void SetResourceType (const ResourceType &value)
 
void SetResourceType (ResourceType &&value)
 
StartImportRequestWithResourceType (const ResourceType &value)
 
StartImportRequestWithResourceType (ResourceType &&value)
 
const MergeStrategyGetMergeStrategy () const
 
bool MergeStrategyHasBeenSet () const
 
void SetMergeStrategy (const MergeStrategy &value)
 
void SetMergeStrategy (MergeStrategy &&value)
 
StartImportRequestWithMergeStrategy (const MergeStrategy &value)
 
StartImportRequestWithMergeStrategy (MergeStrategy &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
StartImportRequestWithTags (const Aws::Vector< Tag > &value)
 
StartImportRequestWithTags (Aws::Vector< Tag > &&value)
 
StartImportRequestAddTags (const Tag &value)
 
StartImportRequestAddTags (Tag &&value)
 
- Public Member Functions inherited from Aws::LexModelBuildingService::LexModelBuildingServiceRequest
virtual ~LexModelBuildingServiceRequest ()
 
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::LexModelBuildingService::LexModelBuildingServiceRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 
- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 25 of file StartImportRequest.h.

Constructor & Destructor Documentation

◆ StartImportRequest()

Aws::LexModelBuildingService::Model::StartImportRequest::StartImportRequest ( )

Member Function Documentation

◆ AddTags() [1/2]

StartImportRequest& Aws::LexModelBuildingService::Model::StartImportRequest::AddTags ( const Tag value)
inline

A list of tags to add to the imported bot. You can only add tags when you import a bot, you can't add tags to an intent or slot type.

Definition at line 250 of file StartImportRequest.h.

◆ AddTags() [2/2]

StartImportRequest& Aws::LexModelBuildingService::Model::StartImportRequest::AddTags ( Tag &&  value)
inline

A list of tags to add to the imported bot. You can only add tags when you import a bot, you can't add tags to an intent or slot type.

Definition at line 256 of file StartImportRequest.h.

◆ GetMergeStrategy()

const MergeStrategy& Aws::LexModelBuildingService::Model::StartImportRequest::GetMergeStrategy ( ) const
inline

Specifies the action that the StartImport operation should take when there is an existing resource with the same name.

  • FAIL_ON_CONFLICT - The import operation is stopped on the first conflict between a resource in the import file and an existing resource. The name of the resource causing the conflict is in the failureReason field of the response to the GetImport operation.

    OVERWRITE_LATEST - The import operation proceeds even if there is a conflict with an existing resource. The $LASTEST version of the existing resource is overwritten with the data from the import file.

Definition at line 142 of file StartImportRequest.h.

◆ GetPayload()

const Aws::Utils::ByteBuffer& Aws::LexModelBuildingService::Model::StartImportRequest::GetPayload ( ) const
inline

A zip archive in binary format. The archive should contain one file, a JSON file containing the resource to import. The resource should match the type specified in the resourceType field.

Definition at line 44 of file StartImportRequest.h.

◆ GetResourceType()

const ResourceType& Aws::LexModelBuildingService::Model::StartImportRequest::GetResourceType ( ) const
inline

Specifies the type of resource to export. Each resource also exports any resources that it depends on.

  • A bot exports dependent intents.

  • An intent exports dependent slot types.

Definition at line 88 of file StartImportRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::LexModelBuildingService::Model::StartImportRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 34 of file StartImportRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::LexModelBuildingService::Model::StartImportRequest::GetTags ( ) const
inline

A list of tags to add to the imported bot. You can only add tags when you import a bot, you can't add tags to an intent or slot type.

Definition at line 214 of file StartImportRequest.h.

◆ MergeStrategyHasBeenSet()

bool Aws::LexModelBuildingService::Model::StartImportRequest::MergeStrategyHasBeenSet ( ) const
inline

Specifies the action that the StartImport operation should take when there is an existing resource with the same name.

  • FAIL_ON_CONFLICT - The import operation is stopped on the first conflict between a resource in the import file and an existing resource. The name of the resource causing the conflict is in the failureReason field of the response to the GetImport operation.

    OVERWRITE_LATEST - The import operation proceeds even if there is a conflict with an existing resource. The $LASTEST version of the existing resource is overwritten with the data from the import file.

Definition at line 155 of file StartImportRequest.h.

◆ PayloadHasBeenSet()

bool Aws::LexModelBuildingService::Model::StartImportRequest::PayloadHasBeenSet ( ) const
inline

A zip archive in binary format. The archive should contain one file, a JSON file containing the resource to import. The resource should match the type specified in the resourceType field.

Definition at line 51 of file StartImportRequest.h.

◆ ResourceTypeHasBeenSet()

bool Aws::LexModelBuildingService::Model::StartImportRequest::ResourceTypeHasBeenSet ( ) const
inline

Specifies the type of resource to export. Each resource also exports any resources that it depends on.

  • A bot exports dependent intents.

  • An intent exports dependent slot types.

Definition at line 96 of file StartImportRequest.h.

◆ SerializePayload()

Aws::String Aws::LexModelBuildingService::Model::StartImportRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetMergeStrategy() [1/2]

void Aws::LexModelBuildingService::Model::StartImportRequest::SetMergeStrategy ( const MergeStrategy value)
inline

Specifies the action that the StartImport operation should take when there is an existing resource with the same name.

  • FAIL_ON_CONFLICT - The import operation is stopped on the first conflict between a resource in the import file and an existing resource. The name of the resource causing the conflict is in the failureReason field of the response to the GetImport operation.

    OVERWRITE_LATEST - The import operation proceeds even if there is a conflict with an existing resource. The $LASTEST version of the existing resource is overwritten with the data from the import file.

Definition at line 168 of file StartImportRequest.h.

◆ SetMergeStrategy() [2/2]

void Aws::LexModelBuildingService::Model::StartImportRequest::SetMergeStrategy ( MergeStrategy &&  value)
inline

Specifies the action that the StartImport operation should take when there is an existing resource with the same name.

  • FAIL_ON_CONFLICT - The import operation is stopped on the first conflict between a resource in the import file and an existing resource. The name of the resource causing the conflict is in the failureReason field of the response to the GetImport operation.

    OVERWRITE_LATEST - The import operation proceeds even if there is a conflict with an existing resource. The $LASTEST version of the existing resource is overwritten with the data from the import file.

Definition at line 181 of file StartImportRequest.h.

◆ SetPayload() [1/2]

void Aws::LexModelBuildingService::Model::StartImportRequest::SetPayload ( Aws::Utils::ByteBuffer &&  value)
inline

A zip archive in binary format. The archive should contain one file, a JSON file containing the resource to import. The resource should match the type specified in the resourceType field.

Definition at line 65 of file StartImportRequest.h.

◆ SetPayload() [2/2]

void Aws::LexModelBuildingService::Model::StartImportRequest::SetPayload ( const Aws::Utils::ByteBuffer value)
inline

A zip archive in binary format. The archive should contain one file, a JSON file containing the resource to import. The resource should match the type specified in the resourceType field.

Definition at line 58 of file StartImportRequest.h.

◆ SetResourceType() [1/2]

void Aws::LexModelBuildingService::Model::StartImportRequest::SetResourceType ( const ResourceType value)
inline

Specifies the type of resource to export. Each resource also exports any resources that it depends on.

  • A bot exports dependent intents.

  • An intent exports dependent slot types.

Definition at line 104 of file StartImportRequest.h.

◆ SetResourceType() [2/2]

void Aws::LexModelBuildingService::Model::StartImportRequest::SetResourceType ( ResourceType &&  value)
inline

Specifies the type of resource to export. Each resource also exports any resources that it depends on.

  • A bot exports dependent intents.

  • An intent exports dependent slot types.

Definition at line 112 of file StartImportRequest.h.

◆ SetTags() [1/2]

void Aws::LexModelBuildingService::Model::StartImportRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

A list of tags to add to the imported bot. You can only add tags when you import a bot, you can't add tags to an intent or slot type.

Definition at line 232 of file StartImportRequest.h.

◆ SetTags() [2/2]

void Aws::LexModelBuildingService::Model::StartImportRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

A list of tags to add to the imported bot. You can only add tags when you import a bot, you can't add tags to an intent or slot type.

Definition at line 226 of file StartImportRequest.h.

◆ TagsHasBeenSet()

bool Aws::LexModelBuildingService::Model::StartImportRequest::TagsHasBeenSet ( ) const
inline

A list of tags to add to the imported bot. You can only add tags when you import a bot, you can't add tags to an intent or slot type.

Definition at line 220 of file StartImportRequest.h.

◆ WithMergeStrategy() [1/2]

StartImportRequest& Aws::LexModelBuildingService::Model::StartImportRequest::WithMergeStrategy ( const MergeStrategy value)
inline

Specifies the action that the StartImport operation should take when there is an existing resource with the same name.

  • FAIL_ON_CONFLICT - The import operation is stopped on the first conflict between a resource in the import file and an existing resource. The name of the resource causing the conflict is in the failureReason field of the response to the GetImport operation.

    OVERWRITE_LATEST - The import operation proceeds even if there is a conflict with an existing resource. The $LASTEST version of the existing resource is overwritten with the data from the import file.

Definition at line 194 of file StartImportRequest.h.

◆ WithMergeStrategy() [2/2]

StartImportRequest& Aws::LexModelBuildingService::Model::StartImportRequest::WithMergeStrategy ( MergeStrategy &&  value)
inline

Specifies the action that the StartImport operation should take when there is an existing resource with the same name.

  • FAIL_ON_CONFLICT - The import operation is stopped on the first conflict between a resource in the import file and an existing resource. The name of the resource causing the conflict is in the failureReason field of the response to the GetImport operation.

    OVERWRITE_LATEST - The import operation proceeds even if there is a conflict with an existing resource. The $LASTEST version of the existing resource is overwritten with the data from the import file.

Definition at line 207 of file StartImportRequest.h.

◆ WithPayload() [1/2]

StartImportRequest& Aws::LexModelBuildingService::Model::StartImportRequest::WithPayload ( Aws::Utils::ByteBuffer &&  value)
inline

A zip archive in binary format. The archive should contain one file, a JSON file containing the resource to import. The resource should match the type specified in the resourceType field.

Definition at line 79 of file StartImportRequest.h.

◆ WithPayload() [2/2]

StartImportRequest& Aws::LexModelBuildingService::Model::StartImportRequest::WithPayload ( const Aws::Utils::ByteBuffer value)
inline

A zip archive in binary format. The archive should contain one file, a JSON file containing the resource to import. The resource should match the type specified in the resourceType field.

Definition at line 72 of file StartImportRequest.h.

◆ WithResourceType() [1/2]

StartImportRequest& Aws::LexModelBuildingService::Model::StartImportRequest::WithResourceType ( const ResourceType value)
inline

Specifies the type of resource to export. Each resource also exports any resources that it depends on.

  • A bot exports dependent intents.

  • An intent exports dependent slot types.

Definition at line 120 of file StartImportRequest.h.

◆ WithResourceType() [2/2]

StartImportRequest& Aws::LexModelBuildingService::Model::StartImportRequest::WithResourceType ( ResourceType &&  value)
inline

Specifies the type of resource to export. Each resource also exports any resources that it depends on.

  • A bot exports dependent intents.

  • An intent exports dependent slot types.

Definition at line 128 of file StartImportRequest.h.

◆ WithTags() [1/2]

StartImportRequest& Aws::LexModelBuildingService::Model::StartImportRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

A list of tags to add to the imported bot. You can only add tags when you import a bot, you can't add tags to an intent or slot type.

Definition at line 244 of file StartImportRequest.h.

◆ WithTags() [2/2]

StartImportRequest& Aws::LexModelBuildingService::Model::StartImportRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

A list of tags to add to the imported bot. You can only add tags when you import a bot, you can't add tags to an intent or slot type.

Definition at line 238 of file StartImportRequest.h.


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