7#include <aws/crt/cbor/Cbor.h>
8#include <aws/translate/Translate_EXPORTS.h>
9#include <aws/translate/model/Brevity.h>
10#include <aws/translate/model/Formality.h>
11#include <aws/translate/model/Profanity.h>
40 AWS_TRANSLATE_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
60 m_formalityHasBeenSet =
true;
87 m_profanityHasBeenSet =
true;
110 m_brevityHasBeenSet =
true;
124 bool m_formalityHasBeenSet =
false;
125 bool m_profanityHasBeenSet =
false;
126 bool m_brevityHasBeenSet =
false;
AWS_TRANSLATE_API TranslationSettings()=default
Brevity GetBrevity() const
TranslationSettings & WithProfanity(Profanity value)
AWS_TRANSLATE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_TRANSLATE_API TranslationSettings(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetFormality(Formality value)
void SetBrevity(Brevity value)
Formality GetFormality() const
TranslationSettings & WithBrevity(Brevity value)
Profanity GetProfanity() const
void SetProfanity(Profanity value)
bool FormalityHasBeenSet() const
bool ProfanityHasBeenSet() const
bool BrevityHasBeenSet() const
TranslationSettings & WithFormality(Formality value)
AWS_TRANSLATE_API TranslationSettings & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)