7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/translate/Translate_EXPORTS.h>
10#include <aws/translate/model/AppliedTerminology.h>
11#include <aws/translate/model/TranslationSettings.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename TranslatedTextT = Aws::String>
39 m_translatedTextHasBeenSet =
true;
40 m_translatedText = std::forward<TranslatedTextT>(value);
42 template <
typename TranslatedTextT = Aws::String>
54 template <
typename SourceLanguageCodeT = Aws::String>
56 m_sourceLanguageCodeHasBeenSet =
true;
57 m_sourceLanguageCode = std::forward<SourceLanguageCodeT>(value);
59 template <
typename SourceLanguageCodeT = Aws::String>
71 template <
typename TargetLanguageCodeT = Aws::String>
73 m_targetLanguageCodeHasBeenSet =
true;
74 m_targetLanguageCode = std::forward<TargetLanguageCodeT>(value);
76 template <
typename TargetLanguageCodeT = Aws::String>
89 template <
typename AppliedTerminologiesT = Aws::Vector<AppliedTerminology>>
91 m_appliedTerminologiesHasBeenSet =
true;
92 m_appliedTerminologies = std::forward<AppliedTerminologiesT>(value);
94 template <
typename AppliedTerminologiesT = Aws::Vector<AppliedTerminology>>
99 template <
typename AppliedTerminologiesT = AppliedTerminology>
101 m_appliedTerminologiesHasBeenSet =
true;
102 m_appliedTerminologies.emplace_back(std::forward<AppliedTerminologiesT>(value));
112 template <
typename AppliedSettingsT = TranslationSettings>
114 m_appliedSettingsHasBeenSet =
true;
115 m_appliedSettings = std::forward<AppliedSettingsT>(value);
117 template <
typename AppliedSettingsT = TranslationSettings>
127 template <
typename RequestIdT = Aws::String>
129 m_requestIdHasBeenSet =
true;
130 m_requestId = std::forward<RequestIdT>(value);
132 template <
typename RequestIdT = Aws::String>
150 bool m_translatedTextHasBeenSet =
false;
151 bool m_sourceLanguageCodeHasBeenSet =
false;
152 bool m_targetLanguageCodeHasBeenSet =
false;
153 bool m_appliedTerminologiesHasBeenSet =
false;
154 bool m_appliedSettingsHasBeenSet =
false;
155 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)
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