AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntentConfidence.h
1
6#pragma once
7#include <aws/lex/LexRuntimeService_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexRuntimeService
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_LEXRUNTIMESERVICE_API IntentConfidence();
35 AWS_LEXRUNTIMESERVICE_API IntentConfidence(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LEXRUNTIMESERVICE_API IntentConfidence& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXRUNTIMESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline double GetScore() const{ return m_score; }
47 inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; }
48 inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; }
49 inline IntentConfidence& WithScore(double value) { SetScore(value); return *this;}
51 private:
52
53 double m_score;
54 bool m_scoreHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace LexRuntimeService
59} // namespace Aws
AWS_LEXRUNTIMESERVICE_API IntentConfidence()
AWS_LEXRUNTIMESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXRUNTIMESERVICE_API IntentConfidence & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMESERVICE_API IntentConfidence(Aws::Utils::Json::JsonView jsonValue)
IntentConfidence & WithScore(double value)
Aws::Utils::Json::JsonValue JsonValue