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

#include <InputDataConfig.h>

Public Member Functions

 InputDataConfig ()
 
 InputDataConfig (Aws::Utils::Json::JsonView jsonValue)
 
InputDataConfigoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetS3Uri () const
 
bool S3UriHasBeenSet () const
 
void SetS3Uri (const Aws::String &value)
 
void SetS3Uri (Aws::String &&value)
 
void SetS3Uri (const char *value)
 
InputDataConfigWithS3Uri (const Aws::String &value)
 
InputDataConfigWithS3Uri (Aws::String &&value)
 
InputDataConfigWithS3Uri (const char *value)
 
const Aws::StringGetContentType () const
 
bool ContentTypeHasBeenSet () const
 
void SetContentType (const Aws::String &value)
 
void SetContentType (Aws::String &&value)
 
void SetContentType (const char *value)
 
InputDataConfigWithContentType (const Aws::String &value)
 
InputDataConfigWithContentType (Aws::String &&value)
 
InputDataConfigWithContentType (const char *value)
 

Detailed Description

The input configuration properties for requesting a batch translation job.

See Also:

AWS API Reference

Definition at line 32 of file InputDataConfig.h.

Constructor & Destructor Documentation

◆ InputDataConfig() [1/2]

Aws::Translate::Model::InputDataConfig::InputDataConfig ( )

◆ InputDataConfig() [2/2]

Aws::Translate::Model::InputDataConfig::InputDataConfig ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ ContentTypeHasBeenSet()

bool Aws::Translate::Model::InputDataConfig::ContentTypeHasBeenSet ( ) const
inline

Describes the format of the data that you submit to Amazon Translate as input. You can specify one of the following multipurpose internet mail extension (MIME) types:

  • text/html: The input data consists of one or more HTML files. Amazon Translate translates only the text that resides in the html element in each file.

  • text/plain: The input data consists of one or more unformatted text files. Amazon Translate translates every character in this type of input.

  • application/vnd.openxmlformats-officedocument.wordprocessingml.document: The input data consists of one or more Word documents (.docx).

  • application/vnd.openxmlformats-officedocument.presentationml.presentation: The input data consists of one or more PowerPoint Presentation files (.pptx).

  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: The input data consists of one or more Excel Workbook files (.xlsx).

If you structure your input data as HTML, ensure that you set this parameter to text/html. By doing so, you cut costs by limiting the translation to the contents of the html element in each file. Otherwise, if you set this parameter to text/plain, your costs will cover the translation of every character.

Definition at line 138 of file InputDataConfig.h.

◆ GetContentType()

const Aws::String& Aws::Translate::Model::InputDataConfig::GetContentType ( ) const
inline

Describes the format of the data that you submit to Amazon Translate as input. You can specify one of the following multipurpose internet mail extension (MIME) types:

  • text/html: The input data consists of one or more HTML files. Amazon Translate translates only the text that resides in the html element in each file.

  • text/plain: The input data consists of one or more unformatted text files. Amazon Translate translates every character in this type of input.

  • application/vnd.openxmlformats-officedocument.wordprocessingml.document: The input data consists of one or more Word documents (.docx).

  • application/vnd.openxmlformats-officedocument.presentationml.presentation: The input data consists of one or more PowerPoint Presentation files (.pptx).

  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: The input data consists of one or more Excel Workbook files (.xlsx).

If you structure your input data as HTML, ensure that you set this parameter to text/html. By doing so, you cut costs by limiting the translation to the contents of the html element in each file. Otherwise, if you set this parameter to text/plain, your costs will cover the translation of every character.

Definition at line 113 of file InputDataConfig.h.

◆ GetS3Uri()

const Aws::String& Aws::Translate::Model::InputDataConfig::GetS3Uri ( ) const
inline

The URI of the AWS S3 folder that contains the input file. The folder must be in the same Region as the API endpoint you are calling.

Definition at line 45 of file InputDataConfig.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Translate::Model::InputDataConfig::Jsonize ( ) const

◆ operator=()

InputDataConfig& Aws::Translate::Model::InputDataConfig::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ S3UriHasBeenSet()

bool Aws::Translate::Model::InputDataConfig::S3UriHasBeenSet ( ) const
inline

The URI of the AWS S3 folder that contains the input file. The folder must be in the same Region as the API endpoint you are calling.

Definition at line 51 of file InputDataConfig.h.

◆ SetContentType() [1/3]

void Aws::Translate::Model::InputDataConfig::SetContentType ( Aws::String &&  value)
inline

Describes the format of the data that you submit to Amazon Translate as input. You can specify one of the following multipurpose internet mail extension (MIME) types:

  • text/html: The input data consists of one or more HTML files. Amazon Translate translates only the text that resides in the html element in each file.

  • text/plain: The input data consists of one or more unformatted text files. Amazon Translate translates every character in this type of input.

  • application/vnd.openxmlformats-officedocument.wordprocessingml.document: The input data consists of one or more Word documents (.docx).

  • application/vnd.openxmlformats-officedocument.presentationml.presentation: The input data consists of one or more PowerPoint Presentation files (.pptx).

  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: The input data consists of one or more Excel Workbook files (.xlsx).

If you structure your input data as HTML, ensure that you set this parameter to text/html. By doing so, you cut costs by limiting the translation to the contents of the html element in each file. Otherwise, if you set this parameter to text/plain, your costs will cover the translation of every character.

Definition at line 188 of file InputDataConfig.h.

◆ SetContentType() [2/3]

void Aws::Translate::Model::InputDataConfig::SetContentType ( const Aws::String value)
inline

Describes the format of the data that you submit to Amazon Translate as input. You can specify one of the following multipurpose internet mail extension (MIME) types:

  • text/html: The input data consists of one or more HTML files. Amazon Translate translates only the text that resides in the html element in each file.

  • text/plain: The input data consists of one or more unformatted text files. Amazon Translate translates every character in this type of input.

  • application/vnd.openxmlformats-officedocument.wordprocessingml.document: The input data consists of one or more Word documents (.docx).

  • application/vnd.openxmlformats-officedocument.presentationml.presentation: The input data consists of one or more PowerPoint Presentation files (.pptx).

  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: The input data consists of one or more Excel Workbook files (.xlsx).

If you structure your input data as HTML, ensure that you set this parameter to text/html. By doing so, you cut costs by limiting the translation to the contents of the html element in each file. Otherwise, if you set this parameter to text/plain, your costs will cover the translation of every character.

Definition at line 163 of file InputDataConfig.h.

◆ SetContentType() [3/3]

void Aws::Translate::Model::InputDataConfig::SetContentType ( const char *  value)
inline

Describes the format of the data that you submit to Amazon Translate as input. You can specify one of the following multipurpose internet mail extension (MIME) types:

  • text/html: The input data consists of one or more HTML files. Amazon Translate translates only the text that resides in the html element in each file.

  • text/plain: The input data consists of one or more unformatted text files. Amazon Translate translates every character in this type of input.

  • application/vnd.openxmlformats-officedocument.wordprocessingml.document: The input data consists of one or more Word documents (.docx).

  • application/vnd.openxmlformats-officedocument.presentationml.presentation: The input data consists of one or more PowerPoint Presentation files (.pptx).

  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: The input data consists of one or more Excel Workbook files (.xlsx).

If you structure your input data as HTML, ensure that you set this parameter to text/html. By doing so, you cut costs by limiting the translation to the contents of the html element in each file. Otherwise, if you set this parameter to text/plain, your costs will cover the translation of every character.

Definition at line 213 of file InputDataConfig.h.

◆ SetS3Uri() [1/3]

void Aws::Translate::Model::InputDataConfig::SetS3Uri ( Aws::String &&  value)
inline

The URI of the AWS S3 folder that contains the input file. The folder must be in the same Region as the API endpoint you are calling.

Definition at line 63 of file InputDataConfig.h.

◆ SetS3Uri() [2/3]

void Aws::Translate::Model::InputDataConfig::SetS3Uri ( const Aws::String value)
inline

The URI of the AWS S3 folder that contains the input file. The folder must be in the same Region as the API endpoint you are calling.

Definition at line 57 of file InputDataConfig.h.

◆ SetS3Uri() [3/3]

void Aws::Translate::Model::InputDataConfig::SetS3Uri ( const char *  value)
inline

The URI of the AWS S3 folder that contains the input file. The folder must be in the same Region as the API endpoint you are calling.

Definition at line 69 of file InputDataConfig.h.

◆ WithContentType() [1/3]

InputDataConfig& Aws::Translate::Model::InputDataConfig::WithContentType ( Aws::String &&  value)
inline

Describes the format of the data that you submit to Amazon Translate as input. You can specify one of the following multipurpose internet mail extension (MIME) types:

  • text/html: The input data consists of one or more HTML files. Amazon Translate translates only the text that resides in the html element in each file.

  • text/plain: The input data consists of one or more unformatted text files. Amazon Translate translates every character in this type of input.

  • application/vnd.openxmlformats-officedocument.wordprocessingml.document: The input data consists of one or more Word documents (.docx).

  • application/vnd.openxmlformats-officedocument.presentationml.presentation: The input data consists of one or more PowerPoint Presentation files (.pptx).

  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: The input data consists of one or more Excel Workbook files (.xlsx).

If you structure your input data as HTML, ensure that you set this parameter to text/html. By doing so, you cut costs by limiting the translation to the contents of the html element in each file. Otherwise, if you set this parameter to text/plain, your costs will cover the translation of every character.

Definition at line 263 of file InputDataConfig.h.

◆ WithContentType() [2/3]

InputDataConfig& Aws::Translate::Model::InputDataConfig::WithContentType ( const Aws::String value)
inline

Describes the format of the data that you submit to Amazon Translate as input. You can specify one of the following multipurpose internet mail extension (MIME) types:

  • text/html: The input data consists of one or more HTML files. Amazon Translate translates only the text that resides in the html element in each file.

  • text/plain: The input data consists of one or more unformatted text files. Amazon Translate translates every character in this type of input.

  • application/vnd.openxmlformats-officedocument.wordprocessingml.document: The input data consists of one or more Word documents (.docx).

  • application/vnd.openxmlformats-officedocument.presentationml.presentation: The input data consists of one or more PowerPoint Presentation files (.pptx).

  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: The input data consists of one or more Excel Workbook files (.xlsx).

If you structure your input data as HTML, ensure that you set this parameter to text/html. By doing so, you cut costs by limiting the translation to the contents of the html element in each file. Otherwise, if you set this parameter to text/plain, your costs will cover the translation of every character.

Definition at line 238 of file InputDataConfig.h.

◆ WithContentType() [3/3]

InputDataConfig& Aws::Translate::Model::InputDataConfig::WithContentType ( const char *  value)
inline

Describes the format of the data that you submit to Amazon Translate as input. You can specify one of the following multipurpose internet mail extension (MIME) types:

  • text/html: The input data consists of one or more HTML files. Amazon Translate translates only the text that resides in the html element in each file.

  • text/plain: The input data consists of one or more unformatted text files. Amazon Translate translates every character in this type of input.

  • application/vnd.openxmlformats-officedocument.wordprocessingml.document: The input data consists of one or more Word documents (.docx).

  • application/vnd.openxmlformats-officedocument.presentationml.presentation: The input data consists of one or more PowerPoint Presentation files (.pptx).

  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: The input data consists of one or more Excel Workbook files (.xlsx).

If you structure your input data as HTML, ensure that you set this parameter to text/html. By doing so, you cut costs by limiting the translation to the contents of the html element in each file. Otherwise, if you set this parameter to text/plain, your costs will cover the translation of every character.

Definition at line 288 of file InputDataConfig.h.

◆ WithS3Uri() [1/3]

InputDataConfig& Aws::Translate::Model::InputDataConfig::WithS3Uri ( Aws::String &&  value)
inline

The URI of the AWS S3 folder that contains the input file. The folder must be in the same Region as the API endpoint you are calling.

Definition at line 81 of file InputDataConfig.h.

◆ WithS3Uri() [2/3]

InputDataConfig& Aws::Translate::Model::InputDataConfig::WithS3Uri ( const Aws::String value)
inline

The URI of the AWS S3 folder that contains the input file. The folder must be in the same Region as the API endpoint you are calling.

Definition at line 75 of file InputDataConfig.h.

◆ WithS3Uri() [3/3]

InputDataConfig& Aws::Translate::Model::InputDataConfig::WithS3Uri ( const char *  value)
inline

The URI of the AWS S3 folder that contains the input file. The folder must be in the same Region as the API endpoint you are calling.

Definition at line 87 of file InputDataConfig.h.


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