/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The new custom vocabulary item from the custom vocabulary list.See
* Also:
AWS
* API Reference
The unique phrase for the new custom vocabulary item from the custom * vocabulary list.
*/ inline const Aws::String& GetPhrase() const{ return m_phrase; } /** *The unique phrase for the new custom vocabulary item from the custom * vocabulary list.
*/ inline bool PhraseHasBeenSet() const { return m_phraseHasBeenSet; } /** *The unique phrase for the new custom vocabulary item from the custom * vocabulary list.
*/ inline void SetPhrase(const Aws::String& value) { m_phraseHasBeenSet = true; m_phrase = value; } /** *The unique phrase for the new custom vocabulary item from the custom * vocabulary list.
*/ inline void SetPhrase(Aws::String&& value) { m_phraseHasBeenSet = true; m_phrase = std::move(value); } /** *The unique phrase for the new custom vocabulary item from the custom * vocabulary list.
*/ inline void SetPhrase(const char* value) { m_phraseHasBeenSet = true; m_phrase.assign(value); } /** *The unique phrase for the new custom vocabulary item from the custom * vocabulary list.
*/ inline NewCustomVocabularyItem& WithPhrase(const Aws::String& value) { SetPhrase(value); return *this;} /** *The unique phrase for the new custom vocabulary item from the custom * vocabulary list.
*/ inline NewCustomVocabularyItem& WithPhrase(Aws::String&& value) { SetPhrase(std::move(value)); return *this;} /** *The unique phrase for the new custom vocabulary item from the custom * vocabulary list.
*/ inline NewCustomVocabularyItem& WithPhrase(const char* value) { SetPhrase(value); return *this;} /** *The weight assigned to the new custom vocabulary item from the custom * vocabulary list.
*/ inline int GetWeight() const{ return m_weight; } /** *The weight assigned to the new custom vocabulary item from the custom * vocabulary list.
*/ inline bool WeightHasBeenSet() const { return m_weightHasBeenSet; } /** *The weight assigned to the new custom vocabulary item from the custom * vocabulary list.
*/ inline void SetWeight(int value) { m_weightHasBeenSet = true; m_weight = value; } /** *The weight assigned to the new custom vocabulary item from the custom * vocabulary list.
*/ inline NewCustomVocabularyItem& WithWeight(int value) { SetWeight(value); return *this;} /** *The display as value assigned to the new custom vocabulary item from the * custom vocabulary list.
*/ inline const Aws::String& GetDisplayAs() const{ return m_displayAs; } /** *The display as value assigned to the new custom vocabulary item from the * custom vocabulary list.
*/ inline bool DisplayAsHasBeenSet() const { return m_displayAsHasBeenSet; } /** *The display as value assigned to the new custom vocabulary item from the * custom vocabulary list.
*/ inline void SetDisplayAs(const Aws::String& value) { m_displayAsHasBeenSet = true; m_displayAs = value; } /** *The display as value assigned to the new custom vocabulary item from the * custom vocabulary list.
*/ inline void SetDisplayAs(Aws::String&& value) { m_displayAsHasBeenSet = true; m_displayAs = std::move(value); } /** *The display as value assigned to the new custom vocabulary item from the * custom vocabulary list.
*/ inline void SetDisplayAs(const char* value) { m_displayAsHasBeenSet = true; m_displayAs.assign(value); } /** *The display as value assigned to the new custom vocabulary item from the * custom vocabulary list.
*/ inline NewCustomVocabularyItem& WithDisplayAs(const Aws::String& value) { SetDisplayAs(value); return *this;} /** *The display as value assigned to the new custom vocabulary item from the * custom vocabulary list.
*/ inline NewCustomVocabularyItem& WithDisplayAs(Aws::String&& value) { SetDisplayAs(std::move(value)); return *this;} /** *The display as value assigned to the new custom vocabulary item from the * custom vocabulary list.
*/ inline NewCustomVocabularyItem& WithDisplayAs(const char* value) { SetDisplayAs(value); return *this;} private: Aws::String m_phrase; bool m_phraseHasBeenSet = false; int m_weight; bool m_weightHasBeenSet = false; Aws::String m_displayAs; bool m_displayAsHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws