7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/translate/TranslateRequest.h>
9#include <aws/translate/model/Document.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/translate/model/TranslationSettings.h>
48 inline void SetDocument(
Document&& value) { m_documentHasBeenSet =
true; m_document = std::move(value); }
94 inline void SetSourceLanguageCode(
const char* value) { m_sourceLanguageCodeHasBeenSet =
true; m_sourceLanguageCode.assign(value); }
111 inline void SetTargetLanguageCode(
const char* value) { m_targetLanguageCodeHasBeenSet =
true; m_targetLanguageCode.assign(value); }
135 bool m_documentHasBeenSet =
false;
138 bool m_terminologyNamesHasBeenSet =
false;
141 bool m_sourceLanguageCodeHasBeenSet =
false;
144 bool m_targetLanguageCodeHasBeenSet =
false;
147 bool m_settingsHasBeenSet =
false;
TranslateDocumentRequest & WithSourceLanguageCode(Aws::String &&value)
void SetTargetLanguageCode(const Aws::String &value)
TranslateDocumentRequest & WithTargetLanguageCode(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool TerminologyNamesHasBeenSet() const
TranslateDocumentRequest & WithSettings(const TranslationSettings &value)
void SetSettings(TranslationSettings &&value)
bool TargetLanguageCodeHasBeenSet() const
TranslateDocumentRequest & WithTargetLanguageCode(const char *value)
void SetTerminologyNames(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetTerminologyNames() const
TranslateDocumentRequest & WithSourceLanguageCode(const Aws::String &value)
TranslateDocumentRequest & WithSourceLanguageCode(const char *value)
AWS_TRANSLATE_API TranslateDocumentRequest()
TranslateDocumentRequest & WithDocument(const Document &value)
TranslateDocumentRequest & WithTerminologyNames(const Aws::Vector< Aws::String > &value)
AWS_TRANSLATE_API Aws::String SerializePayload() const override
TranslateDocumentRequest & AddTerminologyNames(Aws::String &&value)
const Document & GetDocument() const
bool DocumentHasBeenSet() const
void SetDocument(const Document &value)
AWS_TRANSLATE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTargetLanguageCode(const char *value)
TranslateDocumentRequest & AddTerminologyNames(const Aws::String &value)
const TranslationSettings & GetSettings() const
void SetTerminologyNames(const Aws::Vector< Aws::String > &value)
const Aws::String & GetTargetLanguageCode() const
TranslateDocumentRequest & WithTerminologyNames(Aws::Vector< Aws::String > &&value)
void SetSourceLanguageCode(const Aws::String &value)
void SetTargetLanguageCode(Aws::String &&value)
const Aws::String & GetSourceLanguageCode() const
TranslateDocumentRequest & WithDocument(Document &&value)
void SetSourceLanguageCode(const char *value)
TranslateDocumentRequest & WithTargetLanguageCode(Aws::String &&value)
bool SourceLanguageCodeHasBeenSet() const
TranslateDocumentRequest & AddTerminologyNames(const char *value)
void SetSettings(const TranslationSettings &value)
bool SettingsHasBeenSet() const
void SetSourceLanguageCode(Aws::String &&value)
void SetDocument(Document &&value)
TranslateDocumentRequest & WithSettings(TranslationSettings &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector