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
53 inline void SetIntentName(
const char* value) { m_intentNameHasBeenSet =
true; m_intentName.assign(value); }
88 inline PredictedIntent&
AddSlots(
const char* key,
const char* value) { m_slotsHasBeenSet =
true; m_slots.emplace(key, value);
return *
this; }
93 bool m_intentNameHasBeenSet =
false;
96 bool m_nluIntentConfidenceHasBeenSet =
false;
99 bool m_slotsHasBeenSet =
false;
PredictedIntent & AddSlots(const char *key, Aws::String &&value)
AWS_LEXRUNTIMESERVICE_API PredictedIntent(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIntentName() const
PredictedIntent & WithIntentName(Aws::String &&value)
PredictedIntent & AddSlots(Aws::String &&key, const char *value)
PredictedIntent & AddSlots(Aws::String &&key, Aws::String &&value)
void SetIntentName(const char *value)
bool NluIntentConfidenceHasBeenSet() const
void SetIntentName(Aws::String &&value)
PredictedIntent & WithSlots(const Aws::Map< Aws::String, Aws::String > &value)
AWS_LEXRUNTIMESERVICE_API PredictedIntent & operator=(Aws::Utils::Json::JsonView jsonValue)
PredictedIntent & AddSlots(const Aws::String &key, Aws::String &&value)
bool IntentNameHasBeenSet() const
bool SlotsHasBeenSet() const
PredictedIntent & WithSlots(Aws::Map< Aws::String, Aws::String > &&value)
void SetNluIntentConfidence(const IntentConfidence &value)
AWS_LEXRUNTIMESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
PredictedIntent & WithNluIntentConfidence(const IntentConfidence &value)
AWS_LEXRUNTIMESERVICE_API PredictedIntent()
void SetSlots(Aws::Map< Aws::String, Aws::String > &&value)
void SetNluIntentConfidence(IntentConfidence &&value)
PredictedIntent & AddSlots(const char *key, const char *value)
PredictedIntent & AddSlots(Aws::String &&key, const Aws::String &value)
PredictedIntent & AddSlots(const Aws::String &key, const Aws::String &value)
PredictedIntent & WithNluIntentConfidence(IntentConfidence &&value)
void SetSlots(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetSlots() const
PredictedIntent & WithIntentName(const Aws::String &value)
PredictedIntent & WithIntentName(const char *value)
void SetIntentName(const Aws::String &value)
const IntentConfidence & GetNluIntentConfidence() const
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