7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetPhrase(
const char* value) { m_phraseHasBeenSet =
true; m_phrase.assign(value); }
63 inline void SetWeight(
int value) { m_weightHasBeenSet =
true; m_weight = value; }
76 inline void SetDisplayAs(
const char* value) { m_displayAsHasBeenSet =
true; m_displayAs.assign(value); }
84 bool m_phraseHasBeenSet =
false;
87 bool m_weightHasBeenSet =
false;
90 bool m_displayAsHasBeenSet =
false;
NewCustomVocabularyItem & WithDisplayAs(const Aws::String &value)
void SetDisplayAs(const char *value)
NewCustomVocabularyItem & WithDisplayAs(Aws::String &&value)
bool PhraseHasBeenSet() const
void SetPhrase(Aws::String &&value)
const Aws::String & GetPhrase() const
NewCustomVocabularyItem & WithDisplayAs(const char *value)
const Aws::String & GetDisplayAs() const
AWS_LEXMODELSV2_API NewCustomVocabularyItem()
AWS_LEXMODELSV2_API NewCustomVocabularyItem(Aws::Utils::Json::JsonView jsonValue)
void SetDisplayAs(Aws::String &&value)
void SetWeight(int value)
bool DisplayAsHasBeenSet() const
NewCustomVocabularyItem & WithPhrase(const Aws::String &value)
NewCustomVocabularyItem & WithWeight(int value)
NewCustomVocabularyItem & WithPhrase(Aws::String &&value)
AWS_LEXMODELSV2_API NewCustomVocabularyItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPhrase(const Aws::String &value)
bool WeightHasBeenSet() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPhrase(const char *value)
void SetDisplayAs(const Aws::String &value)
NewCustomVocabularyItem & WithPhrase(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue