7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/translate/model/TranslationSettings.h>
11#include <aws/translate/model/AppliedTerminology.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
107 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
TranslateTextResult & WithRequestId(const char *value)
TranslateTextResult & AddAppliedTerminologies(AppliedTerminology &&value)
const Aws::String & GetRequestId() const
void SetRequestId(const char *value)
void SetTranslatedText(const char *value)
TranslateTextResult & WithSourceLanguageCode(const Aws::String &value)
void SetTranslatedText(const Aws::String &value)
AWS_TRANSLATE_API TranslateTextResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
TranslateTextResult & WithTargetLanguageCode(Aws::String &&value)
void SetTargetLanguageCode(const char *value)
const Aws::String & GetTranslatedText() const
TranslateTextResult & AddAppliedTerminologies(const AppliedTerminology &value)
void SetRequestId(Aws::String &&value)
TranslateTextResult & WithTranslatedText(Aws::String &&value)
const Aws::String & GetSourceLanguageCode() const
const Aws::String & GetTargetLanguageCode() const
void SetTargetLanguageCode(const Aws::String &value)
AWS_TRANSLATE_API TranslateTextResult()
void SetTranslatedText(Aws::String &&value)
const TranslationSettings & GetAppliedSettings() const
void SetAppliedSettings(const TranslationSettings &value)
AWS_TRANSLATE_API TranslateTextResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSourceLanguageCode(Aws::String &&value)
void SetAppliedSettings(TranslationSettings &&value)
void SetSourceLanguageCode(const char *value)
void SetAppliedTerminologies(Aws::Vector< AppliedTerminology > &&value)
void SetTargetLanguageCode(Aws::String &&value)
TranslateTextResult & WithTargetLanguageCode(const char *value)
TranslateTextResult & WithSourceLanguageCode(const char *value)
TranslateTextResult & WithAppliedTerminologies(Aws::Vector< AppliedTerminology > &&value)
void SetRequestId(const Aws::String &value)
TranslateTextResult & WithRequestId(Aws::String &&value)
TranslateTextResult & WithAppliedSettings(const TranslationSettings &value)
TranslateTextResult & WithSourceLanguageCode(Aws::String &&value)
TranslateTextResult & WithAppliedSettings(TranslationSettings &&value)
const Aws::Vector< AppliedTerminology > & GetAppliedTerminologies() const
void SetAppliedTerminologies(const Aws::Vector< AppliedTerminology > &value)
void SetSourceLanguageCode(const Aws::String &value)
TranslateTextResult & WithTargetLanguageCode(const Aws::String &value)
TranslateTextResult & WithRequestId(const Aws::String &value)
TranslateTextResult & WithTranslatedText(const char *value)
TranslateTextResult & WithAppliedTerminologies(const Aws::Vector< AppliedTerminology > &value)
TranslateTextResult & WithTranslatedText(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue