AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfidenceScore.h
1
6#pragma once
7#include <aws/lexv2-runtime/LexRuntimeV2_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 LexRuntimeV2
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_LEXRUNTIMEV2_API ConfidenceScore();
35 AWS_LEXRUNTIMEV2_API ConfidenceScore(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LEXRUNTIMEV2_API ConfidenceScore& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXRUNTIMEV2_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 ConfidenceScore& 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 LexRuntimeV2
59} // namespace Aws
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
ConfidenceScore & WithScore(double value)
AWS_LEXRUNTIMEV2_API ConfidenceScore(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMEV2_API ConfidenceScore & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue