AWS SDK for C++  1.9.66
AWS SDK for C++
Public Member Functions | List of all members
Aws::Translate::Model::TranslateTextRequest Class Reference

#include <TranslateTextRequest.h>

+ Inheritance diagram for Aws::Translate::Model::TranslateTextRequest:

Public Member Functions

 TranslateTextRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetText () const
 
bool TextHasBeenSet () const
 
void SetText (const Aws::String &value)
 
void SetText (Aws::String &&value)
 
void SetText (const char *value)
 
TranslateTextRequestWithText (const Aws::String &value)
 
TranslateTextRequestWithText (Aws::String &&value)
 
TranslateTextRequestWithText (const char *value)
 
const Aws::Vector< Aws::String > & GetTerminologyNames () const
 
bool TerminologyNamesHasBeenSet () const
 
void SetTerminologyNames (const Aws::Vector< Aws::String > &value)
 
void SetTerminologyNames (Aws::Vector< Aws::String > &&value)
 
TranslateTextRequestWithTerminologyNames (const Aws::Vector< Aws::String > &value)
 
TranslateTextRequestWithTerminologyNames (Aws::Vector< Aws::String > &&value)
 
TranslateTextRequestAddTerminologyNames (const Aws::String &value)
 
TranslateTextRequestAddTerminologyNames (Aws::String &&value)
 
TranslateTextRequestAddTerminologyNames (const char *value)
 
const Aws::StringGetSourceLanguageCode () const
 
bool SourceLanguageCodeHasBeenSet () const
 
void SetSourceLanguageCode (const Aws::String &value)
 
void SetSourceLanguageCode (Aws::String &&value)
 
void SetSourceLanguageCode (const char *value)
 
TranslateTextRequestWithSourceLanguageCode (const Aws::String &value)
 
TranslateTextRequestWithSourceLanguageCode (Aws::String &&value)
 
TranslateTextRequestWithSourceLanguageCode (const char *value)
 
const Aws::StringGetTargetLanguageCode () const
 
bool TargetLanguageCodeHasBeenSet () const
 
void SetTargetLanguageCode (const Aws::String &value)
 
void SetTargetLanguageCode (Aws::String &&value)
 
void SetTargetLanguageCode (const char *value)
 
TranslateTextRequestWithTargetLanguageCode (const Aws::String &value)
 
TranslateTextRequestWithTargetLanguageCode (Aws::String &&value)
 
TranslateTextRequestWithTargetLanguageCode (const char *value)
 
- Public Member Functions inherited from Aws::Translate::TranslateRequest
virtual ~TranslateRequest ()
 
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 22 of file TranslateTextRequest.h.

Constructor & Destructor Documentation

◆ TranslateTextRequest()

Aws::Translate::Model::TranslateTextRequest::TranslateTextRequest ( )

Member Function Documentation

◆ AddTerminologyNames() [1/3]

TranslateTextRequest& Aws::Translate::Model::TranslateTextRequest::AddTerminologyNames ( Aws::String &&  value)
inline

The name of the terminology list file to be used in the TranslateText request. You can use 1 terminology list at most in a TranslateText request. Terminology lists can contain a maximum of 256 terms.

Definition at line 141 of file TranslateTextRequest.h.

◆ AddTerminologyNames() [2/3]

TranslateTextRequest& Aws::Translate::Model::TranslateTextRequest::AddTerminologyNames ( const Aws::String value)
inline

The name of the terminology list file to be used in the TranslateText request. You can use 1 terminology list at most in a TranslateText request. Terminology lists can contain a maximum of 256 terms.

Definition at line 134 of file TranslateTextRequest.h.

◆ AddTerminologyNames() [3/3]

TranslateTextRequest& Aws::Translate::Model::TranslateTextRequest::AddTerminologyNames ( const char *  value)
inline

The name of the terminology list file to be used in the TranslateText request. You can use 1 terminology list at most in a TranslateText request. Terminology lists can contain a maximum of 256 terms.

Definition at line 148 of file TranslateTextRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::Translate::Model::TranslateTextRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::Translate::TranslateRequest.

◆ GetServiceRequestName()

virtual const char* Aws::Translate::Model::TranslateTextRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 31 of file TranslateTextRequest.h.

◆ GetSourceLanguageCode()

const Aws::String& Aws::Translate::Model::TranslateTextRequest::GetSourceLanguageCode ( ) const
inline

The language code for the language of the source text. The language must be a language supported by Amazon Translate. For a list of language codes, see what-is-languages.

To have Amazon Translate determine the source language of your text, you can specify auto in the SourceLanguageCode field. If you specify auto, Amazon Translate will call Amazon Comprehend to determine the source language.

Definition at line 161 of file TranslateTextRequest.h.

◆ GetTargetLanguageCode()

const Aws::String& Aws::Translate::Model::TranslateTextRequest::GetTargetLanguageCode ( ) const
inline

The language code requested for the language of the target text. The language must be a language supported by Amazon Translate.

Definition at line 252 of file TranslateTextRequest.h.

◆ GetTerminologyNames()

const Aws::Vector<Aws::String>& Aws::Translate::Model::TranslateTextRequest::GetTerminologyNames ( ) const
inline

The name of the terminology list file to be used in the TranslateText request. You can use 1 terminology list at most in a TranslateText request. Terminology lists can contain a maximum of 256 terms.

Definition at line 92 of file TranslateTextRequest.h.

◆ GetText()

const Aws::String& Aws::Translate::Model::TranslateTextRequest::GetText ( ) const
inline

The text to translate. The text string can be a maximum of 5,000 bytes long. Depending on your character set, this may be fewer than 5,000 characters.

Definition at line 42 of file TranslateTextRequest.h.

◆ SerializePayload()

Aws::String Aws::Translate::Model::TranslateTextRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetSourceLanguageCode() [1/3]

void Aws::Translate::Model::TranslateTextRequest::SetSourceLanguageCode ( Aws::String &&  value)
inline

The language code for the language of the source text. The language must be a language supported by Amazon Translate. For a list of language codes, see what-is-languages.

To have Amazon Translate determine the source language of your text, you can specify auto in the SourceLanguageCode field. If you specify auto, Amazon Translate will call Amazon Comprehend to determine the source language.

Definition at line 197 of file TranslateTextRequest.h.

◆ SetSourceLanguageCode() [2/3]

void Aws::Translate::Model::TranslateTextRequest::SetSourceLanguageCode ( const Aws::String value)
inline

The language code for the language of the source text. The language must be a language supported by Amazon Translate. For a list of language codes, see what-is-languages.

To have Amazon Translate determine the source language of your text, you can specify auto in the SourceLanguageCode field. If you specify auto, Amazon Translate will call Amazon Comprehend to determine the source language.

Definition at line 185 of file TranslateTextRequest.h.

◆ SetSourceLanguageCode() [3/3]

void Aws::Translate::Model::TranslateTextRequest::SetSourceLanguageCode ( const char *  value)
inline

The language code for the language of the source text. The language must be a language supported by Amazon Translate. For a list of language codes, see what-is-languages.

To have Amazon Translate determine the source language of your text, you can specify auto in the SourceLanguageCode field. If you specify auto, Amazon Translate will call Amazon Comprehend to determine the source language.

Definition at line 209 of file TranslateTextRequest.h.

◆ SetTargetLanguageCode() [1/3]

void Aws::Translate::Model::TranslateTextRequest::SetTargetLanguageCode ( Aws::String &&  value)
inline

The language code requested for the language of the target text. The language must be a language supported by Amazon Translate.

Definition at line 270 of file TranslateTextRequest.h.

◆ SetTargetLanguageCode() [2/3]

void Aws::Translate::Model::TranslateTextRequest::SetTargetLanguageCode ( const Aws::String value)
inline

The language code requested for the language of the target text. The language must be a language supported by Amazon Translate.

Definition at line 264 of file TranslateTextRequest.h.

◆ SetTargetLanguageCode() [3/3]

void Aws::Translate::Model::TranslateTextRequest::SetTargetLanguageCode ( const char *  value)
inline

The language code requested for the language of the target text. The language must be a language supported by Amazon Translate.

Definition at line 276 of file TranslateTextRequest.h.

◆ SetTerminologyNames() [1/2]

void Aws::Translate::Model::TranslateTextRequest::SetTerminologyNames ( Aws::Vector< Aws::String > &&  value)
inline

The name of the terminology list file to be used in the TranslateText request. You can use 1 terminology list at most in a TranslateText request. Terminology lists can contain a maximum of 256 terms.

Definition at line 113 of file TranslateTextRequest.h.

◆ SetTerminologyNames() [2/2]

void Aws::Translate::Model::TranslateTextRequest::SetTerminologyNames ( const Aws::Vector< Aws::String > &  value)
inline

The name of the terminology list file to be used in the TranslateText request. You can use 1 terminology list at most in a TranslateText request. Terminology lists can contain a maximum of 256 terms.

Definition at line 106 of file TranslateTextRequest.h.

◆ SetText() [1/3]

void Aws::Translate::Model::TranslateTextRequest::SetText ( Aws::String &&  value)
inline

The text to translate. The text string can be a maximum of 5,000 bytes long. Depending on your character set, this may be fewer than 5,000 characters.

Definition at line 60 of file TranslateTextRequest.h.

◆ SetText() [2/3]

void Aws::Translate::Model::TranslateTextRequest::SetText ( const Aws::String value)
inline

The text to translate. The text string can be a maximum of 5,000 bytes long. Depending on your character set, this may be fewer than 5,000 characters.

Definition at line 54 of file TranslateTextRequest.h.

◆ SetText() [3/3]

void Aws::Translate::Model::TranslateTextRequest::SetText ( const char *  value)
inline

The text to translate. The text string can be a maximum of 5,000 bytes long. Depending on your character set, this may be fewer than 5,000 characters.

Definition at line 66 of file TranslateTextRequest.h.

◆ SourceLanguageCodeHasBeenSet()

bool Aws::Translate::Model::TranslateTextRequest::SourceLanguageCodeHasBeenSet ( ) const
inline

The language code for the language of the source text. The language must be a language supported by Amazon Translate. For a list of language codes, see what-is-languages.

To have Amazon Translate determine the source language of your text, you can specify auto in the SourceLanguageCode field. If you specify auto, Amazon Translate will call Amazon Comprehend to determine the source language.

Definition at line 173 of file TranslateTextRequest.h.

◆ TargetLanguageCodeHasBeenSet()

bool Aws::Translate::Model::TranslateTextRequest::TargetLanguageCodeHasBeenSet ( ) const
inline

The language code requested for the language of the target text. The language must be a language supported by Amazon Translate.

Definition at line 258 of file TranslateTextRequest.h.

◆ TerminologyNamesHasBeenSet()

bool Aws::Translate::Model::TranslateTextRequest::TerminologyNamesHasBeenSet ( ) const
inline

The name of the terminology list file to be used in the TranslateText request. You can use 1 terminology list at most in a TranslateText request. Terminology lists can contain a maximum of 256 terms.

Definition at line 99 of file TranslateTextRequest.h.

◆ TextHasBeenSet()

bool Aws::Translate::Model::TranslateTextRequest::TextHasBeenSet ( ) const
inline

The text to translate. The text string can be a maximum of 5,000 bytes long. Depending on your character set, this may be fewer than 5,000 characters.

Definition at line 48 of file TranslateTextRequest.h.

◆ WithSourceLanguageCode() [1/3]

TranslateTextRequest& Aws::Translate::Model::TranslateTextRequest::WithSourceLanguageCode ( Aws::String &&  value)
inline

The language code for the language of the source text. The language must be a language supported by Amazon Translate. For a list of language codes, see what-is-languages.

To have Amazon Translate determine the source language of your text, you can specify auto in the SourceLanguageCode field. If you specify auto, Amazon Translate will call Amazon Comprehend to determine the source language.

Definition at line 233 of file TranslateTextRequest.h.

◆ WithSourceLanguageCode() [2/3]

TranslateTextRequest& Aws::Translate::Model::TranslateTextRequest::WithSourceLanguageCode ( const Aws::String value)
inline

The language code for the language of the source text. The language must be a language supported by Amazon Translate. For a list of language codes, see what-is-languages.

To have Amazon Translate determine the source language of your text, you can specify auto in the SourceLanguageCode field. If you specify auto, Amazon Translate will call Amazon Comprehend to determine the source language.

Definition at line 221 of file TranslateTextRequest.h.

◆ WithSourceLanguageCode() [3/3]

TranslateTextRequest& Aws::Translate::Model::TranslateTextRequest::WithSourceLanguageCode ( const char *  value)
inline

The language code for the language of the source text. The language must be a language supported by Amazon Translate. For a list of language codes, see what-is-languages.

To have Amazon Translate determine the source language of your text, you can specify auto in the SourceLanguageCode field. If you specify auto, Amazon Translate will call Amazon Comprehend to determine the source language.

Definition at line 245 of file TranslateTextRequest.h.

◆ WithTargetLanguageCode() [1/3]

TranslateTextRequest& Aws::Translate::Model::TranslateTextRequest::WithTargetLanguageCode ( Aws::String &&  value)
inline

The language code requested for the language of the target text. The language must be a language supported by Amazon Translate.

Definition at line 288 of file TranslateTextRequest.h.

◆ WithTargetLanguageCode() [2/3]

TranslateTextRequest& Aws::Translate::Model::TranslateTextRequest::WithTargetLanguageCode ( const Aws::String value)
inline

The language code requested for the language of the target text. The language must be a language supported by Amazon Translate.

Definition at line 282 of file TranslateTextRequest.h.

◆ WithTargetLanguageCode() [3/3]

TranslateTextRequest& Aws::Translate::Model::TranslateTextRequest::WithTargetLanguageCode ( const char *  value)
inline

The language code requested for the language of the target text. The language must be a language supported by Amazon Translate.

Definition at line 294 of file TranslateTextRequest.h.

◆ WithTerminologyNames() [1/2]

TranslateTextRequest& Aws::Translate::Model::TranslateTextRequest::WithTerminologyNames ( Aws::Vector< Aws::String > &&  value)
inline

The name of the terminology list file to be used in the TranslateText request. You can use 1 terminology list at most in a TranslateText request. Terminology lists can contain a maximum of 256 terms.

Definition at line 127 of file TranslateTextRequest.h.

◆ WithTerminologyNames() [2/2]

TranslateTextRequest& Aws::Translate::Model::TranslateTextRequest::WithTerminologyNames ( const Aws::Vector< Aws::String > &  value)
inline

The name of the terminology list file to be used in the TranslateText request. You can use 1 terminology list at most in a TranslateText request. Terminology lists can contain a maximum of 256 terms.

Definition at line 120 of file TranslateTextRequest.h.

◆ WithText() [1/3]

TranslateTextRequest& Aws::Translate::Model::TranslateTextRequest::WithText ( Aws::String &&  value)
inline

The text to translate. The text string can be a maximum of 5,000 bytes long. Depending on your character set, this may be fewer than 5,000 characters.

Definition at line 78 of file TranslateTextRequest.h.

◆ WithText() [2/3]

TranslateTextRequest& Aws::Translate::Model::TranslateTextRequest::WithText ( const Aws::String value)
inline

The text to translate. The text string can be a maximum of 5,000 bytes long. Depending on your character set, this may be fewer than 5,000 characters.

Definition at line 72 of file TranslateTextRequest.h.

◆ WithText() [3/3]

TranslateTextRequest& Aws::Translate::Model::TranslateTextRequest::WithText ( const char *  value)
inline

The text to translate. The text string can be a maximum of 5,000 bytes long. Depending on your character set, this may be fewer than 5,000 characters.

Definition at line 84 of file TranslateTextRequest.h.


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