AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ScoreAttributes.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/kendra/model/ScoreConfidence.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace kendra {
20namespace Model {
21
29 public:
30 AWS_KENDRA_API ScoreAttributes() = default;
33 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline ScoreConfidence GetScoreConfidence() const { return m_scoreConfidence; }
40 inline bool ScoreConfidenceHasBeenSet() const { return m_scoreConfidenceHasBeenSet; }
42 m_scoreConfidenceHasBeenSet = true;
43 m_scoreConfidence = value;
44 }
46 SetScoreConfidence(value);
47 return *this;
48 }
50 private:
52 bool m_scoreConfidenceHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace kendra
57} // namespace Aws
ScoreAttributes & WithScoreConfidence(ScoreConfidence value)
AWS_KENDRA_API ScoreAttributes()=default
ScoreConfidence GetScoreConfidence() const
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KENDRA_API ScoreAttributes(Aws::Utils::Json::JsonView jsonValue)
void SetScoreConfidence(ScoreConfidence value)
AWS_KENDRA_API ScoreAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue