7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/translate/TranslateRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/translate/model/TranslationSettings.h>
48 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
95 inline void SetSourceLanguageCode(
const char* value) { m_sourceLanguageCodeHasBeenSet =
true; m_sourceLanguageCode.assign(value); }
112 inline void SetTargetLanguageCode(
const char* value) { m_targetLanguageCodeHasBeenSet =
true; m_targetLanguageCode.assign(value); }
136 bool m_textHasBeenSet =
false;
139 bool m_terminologyNamesHasBeenSet =
false;
142 bool m_sourceLanguageCodeHasBeenSet =
false;
145 bool m_targetLanguageCodeHasBeenSet =
false;
148 bool m_settingsHasBeenSet =
false;
bool TerminologyNamesHasBeenSet() const
void SetSourceLanguageCode(const char *value)
bool SourceLanguageCodeHasBeenSet() const
TranslateTextRequest & AddTerminologyNames(const Aws::String &value)
TranslateTextRequest & WithSettings(const TranslationSettings &value)
TranslateTextRequest & WithSourceLanguageCode(const char *value)
bool SettingsHasBeenSet() const
void SetSourceLanguageCode(Aws::String &&value)
void SetText(const char *value)
void SetTargetLanguageCode(Aws::String &&value)
void SetTerminologyNames(Aws::Vector< Aws::String > &&value)
TranslateTextRequest & WithTargetLanguageCode(const Aws::String &value)
TranslateTextRequest & WithText(const Aws::String &value)
TranslateTextRequest & WithText(const char *value)
void SetTerminologyNames(const Aws::Vector< Aws::String > &value)
void SetSettings(TranslationSettings &&value)
AWS_TRANSLATE_API Aws::String SerializePayload() const override
const Aws::String & GetText() const
virtual const char * GetServiceRequestName() const override
TranslateTextRequest & WithSourceLanguageCode(Aws::String &&value)
TranslateTextRequest & AddTerminologyNames(const char *value)
TranslateTextRequest & WithText(Aws::String &&value)
TranslateTextRequest & WithTerminologyNames(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetTerminologyNames() const
const TranslationSettings & GetSettings() const
void SetText(Aws::String &&value)
TranslateTextRequest & WithSettings(TranslationSettings &&value)
AWS_TRANSLATE_API TranslateTextRequest()
const Aws::String & GetTargetLanguageCode() const
bool TextHasBeenSet() const
const Aws::String & GetSourceLanguageCode() const
void SetTargetLanguageCode(const Aws::String &value)
void SetSourceLanguageCode(const Aws::String &value)
void SetTargetLanguageCode(const char *value)
TranslateTextRequest & WithTargetLanguageCode(Aws::String &&value)
bool TargetLanguageCodeHasBeenSet() const
TranslateTextRequest & WithSourceLanguageCode(const Aws::String &value)
AWS_TRANSLATE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetText(const Aws::String &value)
TranslateTextRequest & AddTerminologyNames(Aws::String &&value)
void SetSettings(const TranslationSettings &value)
TranslateTextRequest & WithTargetLanguageCode(const char *value)
TranslateTextRequest & WithTerminologyNames(Aws::Vector< Aws::String > &&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