7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lex/LexRuntimeService_EXPORTS.h>
10#include <aws/lex/model/IntentConfidence.h>
21namespace LexRuntimeService {
45 template <
typename IntentNameT = Aws::String>
47 m_intentNameHasBeenSet =
true;
48 m_intentName = std::forward<IntentNameT>(value);
50 template <
typename IntentNameT = Aws::String>
64 template <
typename NluIntentConf
idenceT = IntentConf
idence>
66 m_nluIntentConfidenceHasBeenSet =
true;
67 m_nluIntentConfidence = std::forward<NluIntentConfidenceT>(value);
69 template <
typename NluIntentConf
idenceT = IntentConf
idence>
82 template <
typename SlotsT = Aws::Map<Aws::String, Aws::String>>
84 m_slotsHasBeenSet =
true;
85 m_slots = std::forward<SlotsT>(value);
87 template <
typename SlotsT = Aws::Map<Aws::String, Aws::String>>
89 SetSlots(std::forward<SlotsT>(value));
92 template <
typename SlotsKeyT = Aws::String,
typename SlotsValueT = Aws::String>
94 m_slotsHasBeenSet =
true;
95 m_slots.emplace(std::forward<SlotsKeyT>(key), std::forward<SlotsValueT>(value));
105 bool m_intentNameHasBeenSet =
false;
106 bool m_nluIntentConfidenceHasBeenSet =
false;
107 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