7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
19namespace LexModelsV2 {
42 template <
typename ItemIdT = Aws::String>
44 m_itemIdHasBeenSet =
true;
45 m_itemId = std::forward<ItemIdT>(value);
47 template <
typename ItemIdT = Aws::String>
61 template <
typename PhraseT = Aws::String>
63 m_phraseHasBeenSet =
true;
64 m_phrase = std::forward<PhraseT>(value);
66 template <
typename PhraseT = Aws::String>
81 m_weightHasBeenSet =
true;
97 template <
typename DisplayAsT = Aws::String>
99 m_displayAsHasBeenSet =
true;
100 m_displayAs = std::forward<DisplayAsT>(value);
102 template <
typename DisplayAsT = Aws::String>
116 bool m_itemIdHasBeenSet =
false;
117 bool m_phraseHasBeenSet =
false;
118 bool m_weightHasBeenSet =
false;
119 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