7#include <aws/lex/LexRuntimeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lex/model/IntentConfidence.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
23namespace LexRuntimeService
51 template<
typename IntentNameT = Aws::String>
52 void SetIntentName(IntentNameT&& value) { m_intentNameHasBeenSet =
true; m_intentName = std::forward<IntentNameT>(value); }
53 template<
typename IntentNameT = Aws::String>
64 template<
typename NluIntentConf
idenceT = IntentConf
idence>
65 void SetNluIntentConfidence(NluIntentConfidenceT&& value) { m_nluIntentConfidenceHasBeenSet =
true; m_nluIntentConfidence = std::forward<NluIntentConfidenceT>(value); }
66 template<
typename NluIntentConf
idenceT = IntentConf
idence>
76 template<
typename SlotsT = Aws::Map<Aws::String, Aws::String>>
77 void SetSlots(SlotsT&& value) { m_slotsHasBeenSet =
true; m_slots = std::forward<SlotsT>(value); }
78 template<
typename SlotsT = Aws::Map<Aws::String, Aws::String>>
80 template<
typename SlotsKeyT = Aws::String,
typename SlotsValueT = Aws::String>
82 m_slotsHasBeenSet =
true; m_slots.emplace(std::forward<SlotsKeyT>(key), std::forward<SlotsValueT>(value));
return *
this;
88 bool m_intentNameHasBeenSet =
false;
91 bool m_nluIntentConfidenceHasBeenSet =
false;
94 bool m_slotsHasBeenSet =
false;
AWS_LEXRUNTIMESERVICE_API PredictedIntent(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIntentName() const
bool NluIntentConfidenceHasBeenSet() const
AWS_LEXRUNTIMESERVICE_API PredictedIntent & operator=(Aws::Utils::Json::JsonView jsonValue)
PredictedIntent & WithIntentName(IntentNameT &&value)
bool IntentNameHasBeenSet() const
bool SlotsHasBeenSet() const
AWS_LEXRUNTIMESERVICE_API PredictedIntent()=default
AWS_LEXRUNTIMESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNluIntentConfidence(NluIntentConfidenceT &&value)
PredictedIntent & AddSlots(SlotsKeyT &&key, SlotsValueT &&value)
PredictedIntent & WithNluIntentConfidence(NluIntentConfidenceT &&value)
PredictedIntent & WithSlots(SlotsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetSlots() const
void SetSlots(SlotsT &&value)
const IntentConfidence & GetNluIntentConfidence() const
void SetIntentName(IntentNameT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue