7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/translate/Translate_EXPORTS.h>
41 template <
typename MessageT = Aws::String>
43 m_messageHasBeenSet =
true;
44 m_message = std::forward<MessageT>(value);
46 template <
typename MessageT = Aws::String>
59 template <
typename SourceLanguageCodeT = Aws::String>
61 m_sourceLanguageCodeHasBeenSet =
true;
62 m_sourceLanguageCode = std::forward<SourceLanguageCodeT>(value);
64 template <
typename SourceLanguageCodeT = Aws::String>
77 template <
typename TargetLanguageCodeT = Aws::String>
79 m_targetLanguageCodeHasBeenSet =
true;
80 m_targetLanguageCode = std::forward<TargetLanguageCodeT>(value);
82 template <
typename TargetLanguageCodeT = Aws::String>
94 bool m_messageHasBeenSet =
false;
95 bool m_sourceLanguageCodeHasBeenSet =
false;
96 bool m_targetLanguageCodeHasBeenSet =
false;
UnsupportedLanguagePairException & WithSourceLanguageCode(SourceLanguageCodeT &&value)
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
bool TargetLanguageCodeHasBeenSet() const
UnsupportedLanguagePairException & WithMessage(MessageT &&value)
AWS_TRANSLATE_API UnsupportedLanguagePairException()=default
AWS_TRANSLATE_API UnsupportedLanguagePairException(Aws::Utils::Json::JsonView jsonValue)
void SetTargetLanguageCode(TargetLanguageCodeT &&value)
const Aws::String & GetMessage() const
UnsupportedLanguagePairException & WithTargetLanguageCode(TargetLanguageCodeT &&value)
void SetSourceLanguageCode(SourceLanguageCodeT &&value)
bool MessageHasBeenSet() const
const Aws::String & GetSourceLanguageCode() const
AWS_TRANSLATE_API UnsupportedLanguagePairException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&value)
const Aws::String & GetTargetLanguageCode() const
bool SourceLanguageCodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue