7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
19namespace LexModelsV2 {
42 template <
typename PhraseT = Aws::String>
44 m_phraseHasBeenSet =
true;
45 m_phrase = std::forward<PhraseT>(value);
47 template <
typename PhraseT = Aws::String>
62 m_weightHasBeenSet =
true;
78 template <
typename DisplayAsT = Aws::String>
80 m_displayAsHasBeenSet =
true;
81 m_displayAs = std::forward<DisplayAsT>(value);
83 template <
typename DisplayAsT = Aws::String>
95 bool m_phraseHasBeenSet =
false;
96 bool m_weightHasBeenSet =
false;
97 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