7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename ItemIdT = Aws::String>
49 void SetItemId(ItemIdT&& value) { m_itemIdHasBeenSet =
true; m_itemId = std::forward<ItemIdT>(value); }
50 template<
typename ItemIdT = Aws::String>
61 template<
typename PhraseT = Aws::String>
62 void SetPhrase(PhraseT&& value) { m_phraseHasBeenSet =
true; m_phrase = std::forward<PhraseT>(value); }
63 template<
typename PhraseT = Aws::String>
74 inline void SetWeight(
int value) { m_weightHasBeenSet =
true; m_weight = value; }
85 template<
typename DisplayAsT = Aws::String>
86 void SetDisplayAs(DisplayAsT&& value) { m_displayAsHasBeenSet =
true; m_displayAs = std::forward<DisplayAsT>(value); }
87 template<
typename DisplayAsT = Aws::String>
93 bool m_itemIdHasBeenSet =
false;
96 bool m_phraseHasBeenSet =
false;
99 bool m_weightHasBeenSet =
false;
102 bool m_displayAsHasBeenSet =
false;
AWS_LEXMODELSV2_API CustomVocabularyItem()=default
bool ItemIdHasBeenSet() const
const Aws::String & GetPhrase() const
bool DisplayAsHasBeenSet() const
CustomVocabularyItem & WithWeight(int value)
const Aws::String & GetDisplayAs() const
CustomVocabularyItem & WithPhrase(PhraseT &&value)
AWS_LEXMODELSV2_API CustomVocabularyItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDisplayAs(DisplayAsT &&value)
void SetItemId(ItemIdT &&value)
CustomVocabularyItem & WithItemId(ItemIdT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPhrase(PhraseT &&value)
CustomVocabularyItem & WithDisplayAs(DisplayAsT &&value)
bool PhraseHasBeenSet() const
AWS_LEXMODELSV2_API CustomVocabularyItem(Aws::Utils::Json::JsonView jsonValue)
void SetWeight(int value)
bool WeightHasBeenSet() const
const Aws::String & GetItemId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue