7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
34 AWS_TRANSLATE_API
Term() =
default;
46 template<
typename SourceTextT = Aws::String>
47 void SetSourceText(SourceTextT&& value) { m_sourceTextHasBeenSet =
true; m_sourceText = std::forward<SourceTextT>(value); }
48 template<
typename SourceTextT = Aws::String>
58 template<
typename TargetTextT = Aws::String>
59 void SetTargetText(TargetTextT&& value) { m_targetTextHasBeenSet =
true; m_targetText = std::forward<TargetTextT>(value); }
60 template<
typename TargetTextT = Aws::String>
66 bool m_sourceTextHasBeenSet =
false;
69 bool m_targetTextHasBeenSet =
false;
void SetTargetText(TargetTextT &&value)
const Aws::String & GetTargetText() const
Term & WithTargetText(TargetTextT &&value)
void SetSourceText(SourceTextT &&value)
AWS_TRANSLATE_API Term()=default
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
bool TargetTextHasBeenSet() const
bool SourceTextHasBeenSet() const
const Aws::String & GetSourceText() const
Term & WithSourceText(SourceTextT &&value)
AWS_TRANSLATE_API Term & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSLATE_API Term(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue