7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename PhraseT = Aws::String>
49 void SetPhrase(PhraseT&& value) { m_phraseHasBeenSet =
true; m_phrase = std::forward<PhraseT>(value); }
50 template<
typename PhraseT = Aws::String>
61 inline void SetWeight(
int value) { m_weightHasBeenSet =
true; m_weight = value; }
72 template<
typename DisplayAsT = Aws::String>
73 void SetDisplayAs(DisplayAsT&& value) { m_displayAsHasBeenSet =
true; m_displayAs = std::forward<DisplayAsT>(value); }
74 template<
typename DisplayAsT = Aws::String>
80 bool m_phraseHasBeenSet =
false;
83 bool m_weightHasBeenSet =
false;
86 bool m_displayAsHasBeenSet =
false;
AWS_LEXMODELSV2_API NewCustomVocabularyItem()=default
void SetDisplayAs(DisplayAsT &&value)
bool PhraseHasBeenSet() const
const Aws::String & GetPhrase() const
const Aws::String & GetDisplayAs() const
NewCustomVocabularyItem & WithPhrase(PhraseT &&value)
AWS_LEXMODELSV2_API NewCustomVocabularyItem(Aws::Utils::Json::JsonView jsonValue)
void SetWeight(int value)
bool DisplayAsHasBeenSet() const
NewCustomVocabularyItem & WithWeight(int value)
AWS_LEXMODELSV2_API NewCustomVocabularyItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPhrase(PhraseT &&value)
bool WeightHasBeenSet() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
NewCustomVocabularyItem & WithDisplayAs(DisplayAsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue