7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetItemId(
const char* value) { m_itemIdHasBeenSet =
true; m_itemId.assign(value); }
65 inline void SetPhrase(
const char* value) { m_phraseHasBeenSet =
true; m_phrase.assign(value); }
78 inline void SetWeight(
int value) { m_weightHasBeenSet =
true; m_weight = value; }
91 inline void SetDisplayAs(
const char* value) { m_displayAsHasBeenSet =
true; m_displayAs.assign(value); }
99 bool m_itemIdHasBeenSet =
false;
102 bool m_phraseHasBeenSet =
false;
105 bool m_weightHasBeenSet =
false;
108 bool m_displayAsHasBeenSet =
false;
CustomVocabularyItem & WithItemId(const Aws::String &value)
void SetPhrase(Aws::String &&value)
void SetDisplayAs(Aws::String &&value)
bool ItemIdHasBeenSet() const
void SetItemId(const Aws::String &value)
const Aws::String & GetPhrase() const
bool DisplayAsHasBeenSet() const
CustomVocabularyItem & WithWeight(int value)
void SetPhrase(const Aws::String &value)
void SetDisplayAs(const char *value)
CustomVocabularyItem & WithItemId(Aws::String &&value)
const Aws::String & GetDisplayAs() const
AWS_LEXMODELSV2_API CustomVocabularyItem & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomVocabularyItem & WithPhrase(Aws::String &&value)
CustomVocabularyItem & WithPhrase(const char *value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetItemId(const char *value)
CustomVocabularyItem & WithItemId(const char *value)
CustomVocabularyItem & WithPhrase(const Aws::String &value)
bool PhraseHasBeenSet() const
void SetDisplayAs(const Aws::String &value)
AWS_LEXMODELSV2_API CustomVocabularyItem(Aws::Utils::Json::JsonView jsonValue)
void SetPhrase(const char *value)
void SetItemId(Aws::String &&value)
CustomVocabularyItem & WithDisplayAs(const char *value)
void SetWeight(int value)
bool WeightHasBeenSet() const
CustomVocabularyItem & WithDisplayAs(Aws::String &&value)
AWS_LEXMODELSV2_API CustomVocabularyItem()
const Aws::String & GetItemId() const
CustomVocabularyItem & WithDisplayAs(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue