7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3vectors/S3Vectors_EXPORTS.h>
10#include <aws/s3vectors/model/QueryScores.h>
46 m_distanceHasBeenSet =
true;
62 template <
typename ScoresT = QueryScores>
64 m_scoresHasBeenSet =
true;
65 m_scores = std::forward<ScoresT>(value);
67 template <
typename ScoresT = QueryScores>
80 template <
typename KeyT = Aws::String>
82 m_keyHasBeenSet =
true;
83 m_key = std::forward<KeyT>(value);
85 template <
typename KeyT = Aws::String>
87 SetKey(std::forward<KeyT>(value));
98 template <
typename MetadataT = Aws::Utils::Document>
100 m_metadataHasBeenSet =
true;
101 m_metadata = std::forward<MetadataT>(value);
103 template <
typename MetadataT = Aws::Utils::Document>
110 double m_distance{0.0};
112 QueryScores m_scores;
117 bool m_distanceHasBeenSet =
false;
118 bool m_scoresHasBeenSet =
false;
119 bool m_keyHasBeenSet =
false;
120 bool m_metadataHasBeenSet =
false;
double GetDistance() const
Aws::Utils::DocumentView GetMetadata() const
QueryOutputVector & WithMetadata(MetadataT &&value)
void SetDistance(double value)
bool MetadataHasBeenSet() const
AWS_S3VECTORS_API QueryOutputVector & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_S3VECTORS_API QueryOutputVector(Aws::Utils::Json::JsonView jsonValue)
AWS_S3VECTORS_API Aws::Utils::Json::JsonValue Jsonize() const
bool KeyHasBeenSet() const
QueryOutputVector & WithDistance(double value)
const QueryScores & GetScores() const
void SetScores(ScoresT &&value)
QueryOutputVector & WithScores(ScoresT &&value)
AWS_S3VECTORS_API QueryOutputVector()=default
void SetMetadata(MetadataT &&value)
void SetKey(KeyT &&value)
QueryOutputVector & WithKey(KeyT &&value)
bool ScoresHasBeenSet() const
const Aws::String & GetKey() const
bool DistanceHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue