/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a score that indicates the confidence that Amazon Lex has that an
* intent is the one that satisfies the user's intent.See Also:
* AWS
* API Reference
A score that indicates how confident Amazon Lex is that an intent satisfies * the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher * confidence.
*/ inline double GetScore() const{ return m_score; } /** *A score that indicates how confident Amazon Lex is that an intent satisfies * the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher * confidence.
*/ inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; } /** *A score that indicates how confident Amazon Lex is that an intent satisfies * the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher * confidence.
*/ inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; } /** *A score that indicates how confident Amazon Lex is that an intent satisfies * the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher * confidence.
*/ inline IntentConfidence& WithScore(double value) { SetScore(value); return *this;} private: double m_score; bool m_scoreHasBeenSet = false; }; } // namespace Model } // namespace LexRuntimeService } // namespace Aws