7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dynamodb/DynamoDB_EXPORTS.h>
10#include <aws/dynamodb/model/Projection.h>
11#include <aws/dynamodb/model/SearchSchemaElement.h>
12#include <aws/dynamodb/model/VectorAttributeDefinition.h>
13#include <aws/dynamodb/model/VectorDistanceFunction.h>
47 template <
typename IndexNameT = Aws::String>
49 m_indexNameHasBeenSet =
true;
50 m_indexName = std::forward<IndexNameT>(value);
52 template <
typename IndexNameT = Aws::String>
65 template <
typename VectorAttributeT = VectorAttributeDefinition>
67 m_vectorAttributeHasBeenSet =
true;
68 m_vectorAttribute = std::forward<VectorAttributeT>(value);
70 template <
typename VectorAttributeT = VectorAttributeDefinition>
84 template <
typename SearchSchemaT = Aws::Vector<SearchSchemaElement>>
86 m_searchSchemaHasBeenSet =
true;
87 m_searchSchema = std::forward<SearchSchemaT>(value);
89 template <
typename SearchSchemaT = Aws::Vector<SearchSchemaElement>>
94 template <
typename SearchSchemaT = SearchSchemaElement>
96 m_searchSchemaHasBeenSet =
true;
97 m_searchSchema.emplace_back(std::forward<SearchSchemaT>(value));
109 template <
typename ProjectionT = Projection>
111 m_projectionHasBeenSet =
true;
112 m_projection = std::forward<ProjectionT>(value);
114 template <
typename ProjectionT = Projection>
128 m_dimensionsHasBeenSet =
true;
129 m_dimensions = value;
146 m_distanceFunctionHasBeenSet =
true;
147 m_distanceFunction = value;
163 long long m_dimensions{0};
166 bool m_indexNameHasBeenSet =
false;
167 bool m_vectorAttributeHasBeenSet =
false;
168 bool m_searchSchemaHasBeenSet =
false;
169 bool m_projectionHasBeenSet =
false;
170 bool m_dimensionsHasBeenSet =
false;
171 bool m_distanceFunctionHasBeenSet =
false;
void SetDistanceFunction(VectorDistanceFunction value)
bool DistanceFunctionHasBeenSet() const
const Projection & GetProjection() const
bool DimensionsHasBeenSet() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
VectorIndex & WithIndexName(IndexNameT &&value)
VectorIndex & WithVectorAttribute(VectorAttributeT &&value)
VectorIndex & WithDistanceFunction(VectorDistanceFunction value)
bool VectorAttributeHasBeenSet() const
const Aws::Vector< SearchSchemaElement > & GetSearchSchema() const
VectorIndex & WithSearchSchema(SearchSchemaT &&value)
AWS_DYNAMODB_API VectorIndex()=default
bool IndexNameHasBeenSet() const
const VectorAttributeDefinition & GetVectorAttribute() const
void SetSearchSchema(SearchSchemaT &&value)
long long GetDimensions() const
bool SearchSchemaHasBeenSet() const
const Aws::String & GetIndexName() const
VectorDistanceFunction GetDistanceFunction() const
VectorIndex & AddSearchSchema(SearchSchemaT &&value)
VectorIndex & WithDimensions(long long value)
void SetProjection(ProjectionT &&value)
void SetDimensions(long long value)
VectorIndex & WithProjection(ProjectionT &&value)
bool ProjectionHasBeenSet() const
void SetVectorAttribute(VectorAttributeT &&value)
AWS_DYNAMODB_API VectorIndex & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API VectorIndex(Aws::Utils::Json::JsonView jsonValue)
void SetIndexName(IndexNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue