7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/lexv2-runtime/model/ConfidenceScore.h>
9#include <aws/lexv2-runtime/model/SentimentResponse.h>
10#include <aws/lexv2-runtime/model/Intent.h>
11#include <aws/lexv2-runtime/model/InterpretationSource.h>
55 template<
typename NluConf
idenceT = Conf
idenceScore>
56 void SetNluConfidence(NluConfidenceT&& value) { m_nluConfidenceHasBeenSet =
true; m_nluConfidence = std::forward<NluConfidenceT>(value); }
57 template<
typename NluConf
idenceT = Conf
idenceScore>
69 template<
typename SentimentResponseT = SentimentResponse>
70 void SetSentimentResponse(SentimentResponseT&& value) { m_sentimentResponseHasBeenSet =
true; m_sentimentResponse = std::forward<SentimentResponseT>(value); }
71 template<
typename SentimentResponseT = SentimentResponse>
82 template<
typename IntentT = Intent>
83 void SetIntent(IntentT&& value) { m_intentHasBeenSet =
true; m_intent = std::forward<IntentT>(value); }
84 template<
typename IntentT = Intent>
100 bool m_nluConfidenceHasBeenSet =
false;
103 bool m_sentimentResponseHasBeenSet =
false;
106 bool m_intentHasBeenSet =
false;
109 bool m_interpretationSourceHasBeenSet =
false;
AWS_LEXRUNTIMEV2_API Interpretation()=default
bool InterpretationSourceHasBeenSet() const
Interpretation & WithSentimentResponse(SentimentResponseT &&value)
void SetNluConfidence(NluConfidenceT &&value)
void SetInterpretationSource(InterpretationSource value)
Interpretation & WithNluConfidence(NluConfidenceT &&value)
void SetSentimentResponse(SentimentResponseT &&value)
const ConfidenceScore & GetNluConfidence() const
void SetIntent(IntentT &&value)
bool NluConfidenceHasBeenSet() const
AWS_LEXRUNTIMEV2_API Interpretation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Intent & GetIntent() const
InterpretationSource GetInterpretationSource() const
bool IntentHasBeenSet() const
const SentimentResponse & GetSentimentResponse() const
Interpretation & WithInterpretationSource(InterpretationSource value)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXRUNTIMEV2_API Interpretation(Aws::Utils::Json::JsonView jsonValue)
bool SentimentResponseHasBeenSet() const
Interpretation & WithIntent(IntentT &&value)
Aws::Utils::Json::JsonValue JsonValue