7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/lexv2-runtime/model/ConfidenceScore.h>
9#include <aws/lexv2-runtime/model/Intent.h>
10#include <aws/lexv2-runtime/model/InterpretationSource.h>
11#include <aws/lexv2-runtime/model/SentimentResponse.h>
22namespace LexRuntimeV2 {
49 template <
typename NluConf
idenceT = Conf
idenceScore>
51 m_nluConfidenceHasBeenSet =
true;
52 m_nluConfidence = std::forward<NluConfidenceT>(value);
54 template <
typename NluConf
idenceT = Conf
idenceScore>
69 template <
typename SentimentResponseT = SentimentResponse>
71 m_sentimentResponseHasBeenSet =
true;
72 m_sentimentResponse = std::forward<SentimentResponseT>(value);
74 template <
typename SentimentResponseT = SentimentResponse>
88 template <
typename IntentT = Intent>
90 m_intentHasBeenSet =
true;
91 m_intent = std::forward<IntentT>(value);
93 template <
typename IntentT = Intent>
107 m_interpretationSourceHasBeenSet =
true;
108 m_interpretationSource = value;
123 bool m_nluConfidenceHasBeenSet =
false;
124 bool m_sentimentResponseHasBeenSet =
false;
125 bool m_intentHasBeenSet =
false;
126 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