7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/translate/Translate_EXPORTS.h>
11#include <aws/translate/model/AppliedTerminology.h>
12#include <aws/translate/model/TranslationSettings.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename TranslatedTextT = Aws::String>
40 m_translatedTextHasBeenSet =
true;
41 m_translatedText = std::forward<TranslatedTextT>(value);
43 template <
typename TranslatedTextT = Aws::String>
55 template <
typename SourceLanguageCodeT = Aws::String>
57 m_sourceLanguageCodeHasBeenSet =
true;
58 m_sourceLanguageCode = std::forward<SourceLanguageCodeT>(value);
60 template <
typename SourceLanguageCodeT = Aws::String>
72 template <
typename TargetLanguageCodeT = Aws::String>
74 m_targetLanguageCodeHasBeenSet =
true;
75 m_targetLanguageCode = std::forward<TargetLanguageCodeT>(value);
77 template <
typename TargetLanguageCodeT = Aws::String>
90 template <
typename AppliedTerminologiesT = Aws::Vector<AppliedTerminology>>
92 m_appliedTerminologiesHasBeenSet =
true;
93 m_appliedTerminologies = std::forward<AppliedTerminologiesT>(value);
95 template <
typename AppliedTerminologiesT = Aws::Vector<AppliedTerminology>>
100 template <
typename AppliedTerminologiesT = AppliedTerminology>
102 m_appliedTerminologiesHasBeenSet =
true;
103 m_appliedTerminologies.emplace_back(std::forward<AppliedTerminologiesT>(value));
113 template <
typename AppliedSettingsT = TranslationSettings>
115 m_appliedSettingsHasBeenSet =
true;
116 m_appliedSettings = std::forward<AppliedSettingsT>(value);
118 template <
typename AppliedSettingsT = TranslationSettings>
128 template <
typename RequestIdT = Aws::String>
130 m_requestIdHasBeenSet =
true;
131 m_requestId = std::forward<RequestIdT>(value);
133 template <
typename RequestIdT = Aws::String>
154 bool m_translatedTextHasBeenSet =
false;
155 bool m_sourceLanguageCodeHasBeenSet =
false;
156 bool m_targetLanguageCodeHasBeenSet =
false;
157 bool m_appliedTerminologiesHasBeenSet =
false;
158 bool m_appliedSettingsHasBeenSet =
false;
159 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
TranslateTextResult & WithAppliedSettings(AppliedSettingsT &&value)
AWS_TRANSLATE_API TranslateTextResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetTranslatedText() const
const Aws::String & GetSourceLanguageCode() const
void SetTranslatedText(TranslatedTextT &&value)
const Aws::String & GetTargetLanguageCode() const
TranslateTextResult & WithAppliedTerminologies(AppliedTerminologiesT &&value)
TranslateTextResult & WithTranslatedText(TranslatedTextT &&value)
const TranslationSettings & GetAppliedSettings() const
AWS_TRANSLATE_API TranslateTextResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetAppliedSettings(AppliedSettingsT &&value)
TranslateTextResult & WithRequestId(RequestIdT &&value)
TranslateTextResult & WithTargetLanguageCode(TargetLanguageCodeT &&value)
TranslateTextResult & WithSourceLanguageCode(SourceLanguageCodeT &&value)
const Aws::Vector< AppliedTerminology > & GetAppliedTerminologies() const
TranslateTextResult & AddAppliedTerminologies(AppliedTerminologiesT &&value)
AWS_TRANSLATE_API TranslateTextResult()=default
void SetSourceLanguageCode(SourceLanguageCodeT &&value)
void SetTargetLanguageCode(TargetLanguageCodeT &&value)
void SetAppliedTerminologies(AppliedTerminologiesT &&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