/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a relative ranking that indicates how confident Amazon Kendra is
* that the response is relevant to the query.See Also:
AWS
* API Reference
A relative ranking for how relevant the response is to the query.
*/ inline const ScoreConfidence& GetScoreConfidence() const{ return m_scoreConfidence; } /** *A relative ranking for how relevant the response is to the query.
*/ inline bool ScoreConfidenceHasBeenSet() const { return m_scoreConfidenceHasBeenSet; } /** *A relative ranking for how relevant the response is to the query.
*/ inline void SetScoreConfidence(const ScoreConfidence& value) { m_scoreConfidenceHasBeenSet = true; m_scoreConfidence = value; } /** *A relative ranking for how relevant the response is to the query.
*/ inline void SetScoreConfidence(ScoreConfidence&& value) { m_scoreConfidenceHasBeenSet = true; m_scoreConfidence = std::move(value); } /** *A relative ranking for how relevant the response is to the query.
*/ inline ScoreAttributes& WithScoreConfidence(const ScoreConfidence& value) { SetScoreConfidence(value); return *this;} /** *A relative ranking for how relevant the response is to the query.
*/ inline ScoreAttributes& WithScoreConfidence(ScoreConfidence&& value) { SetScoreConfidence(std::move(value)); return *this;} private: ScoreConfidence m_scoreConfidence; bool m_scoreConfidenceHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws