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>
45 template <
typename IndexNameT = Aws::String>
47 m_indexNameHasBeenSet =
true;
48 m_indexName = std::forward<IndexNameT>(value);
50 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;
145 m_distanceFunctionHasBeenSet =
true;
146 m_distanceFunction = value;
162 long long m_dimensions{0};
165 bool m_indexNameHasBeenSet =
false;
166 bool m_vectorAttributeHasBeenSet =
false;
167 bool m_searchSchemaHasBeenSet =
false;
168 bool m_projectionHasBeenSet =
false;
169 bool m_dimensionsHasBeenSet =
false;
170 bool m_distanceFunctionHasBeenSet =
false;
void SetVectorAttribute(VectorAttributeT &&value)
bool SearchSchemaHasBeenSet() const
bool IndexNameHasBeenSet() const
void SetIndexName(IndexNameT &&value)
const Projection & GetProjection() const
bool VectorAttributeHasBeenSet() const
const VectorAttributeDefinition & GetVectorAttribute() const
long long GetDimensions() const
CreateVectorIndexAction & WithDistanceFunction(VectorDistanceFunction value)
bool ProjectionHasBeenSet() const
bool DimensionsHasBeenSet() const
AWS_DYNAMODB_API CreateVectorIndexAction(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API CreateVectorIndexAction & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateVectorIndexAction & WithDimensions(long long value)
const Aws::Vector< SearchSchemaElement > & GetSearchSchema() const
void SetProjection(ProjectionT &&value)
CreateVectorIndexAction & WithSearchSchema(SearchSchemaT &&value)
CreateVectorIndexAction & AddSearchSchema(SearchSchemaT &&value)
AWS_DYNAMODB_API CreateVectorIndexAction()=default
CreateVectorIndexAction & WithVectorAttribute(VectorAttributeT &&value)
VectorDistanceFunction GetDistanceFunction() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
CreateVectorIndexAction & WithProjection(ProjectionT &&value)
const Aws::String & GetIndexName() const
bool DistanceFunctionHasBeenSet() const
void SetSearchSchema(SearchSchemaT &&value)
void SetDimensions(long long value)
CreateVectorIndexAction & WithIndexName(IndexNameT &&value)
void SetDistanceFunction(VectorDistanceFunction 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