7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
63 inline void SetSourceLanguageCode(
const char* value) { m_sourceLanguageCodeHasBeenSet =
true; m_sourceLanguageCode.assign(value); }
77 inline void SetTargetLanguageCode(
const char* value) { m_targetLanguageCodeHasBeenSet =
true; m_targetLanguageCode.assign(value); }
85 bool m_messageHasBeenSet =
false;
88 bool m_sourceLanguageCodeHasBeenSet =
false;
91 bool m_targetLanguageCodeHasBeenSet =
false;
UnsupportedLanguagePairException & WithMessage(Aws::String &&value)
void SetTargetLanguageCode(const Aws::String &value)
void SetTargetLanguageCode(const char *value)
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSLATE_API UnsupportedLanguagePairException()
UnsupportedLanguagePairException & WithMessage(const char *value)
bool TargetLanguageCodeHasBeenSet() const
UnsupportedLanguagePairException & WithTargetLanguageCode(const Aws::String &value)
UnsupportedLanguagePairException & WithTargetLanguageCode(const char *value)
void SetSourceLanguageCode(Aws::String &&value)
UnsupportedLanguagePairException & WithSourceLanguageCode(Aws::String &&value)
void SetMessage(Aws::String &&value)
AWS_TRANSLATE_API UnsupportedLanguagePairException(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(const Aws::String &value)
UnsupportedLanguagePairException & WithMessage(const Aws::String &value)
void SetSourceLanguageCode(const char *value)
const Aws::String & GetMessage() const
void SetMessage(const char *value)
UnsupportedLanguagePairException & WithTargetLanguageCode(Aws::String &&value)
bool MessageHasBeenSet() const
void SetSourceLanguageCode(const Aws::String &value)
const Aws::String & GetSourceLanguageCode() const
AWS_TRANSLATE_API UnsupportedLanguagePairException & operator=(Aws::Utils::Json::JsonView jsonValue)
UnsupportedLanguagePairException & WithSourceLanguageCode(const char *value)
UnsupportedLanguagePairException & WithSourceLanguageCode(const Aws::String &value)
const Aws::String & GetTargetLanguageCode() const
bool SourceLanguageCodeHasBeenSet() const
void SetTargetLanguageCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue