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/IndexStatus.h>
11#include <aws/dynamodb/model/Projection.h>
12#include <aws/dynamodb/model/SearchSchemaElement.h>
13#include <aws/dynamodb/model/VectorAttributeDefinition.h>
14#include <aws/dynamodb/model/VectorDistanceFunction.h>
48 template <
typename IndexNameT = Aws::String>
50 m_indexNameHasBeenSet =
true;
51 m_indexName = std::forward<IndexNameT>(value);
53 template <
typename IndexNameT = Aws::String>
67 template <
typename SearchSchemaT = Aws::Vector<SearchSchemaElement>>
69 m_searchSchemaHasBeenSet =
true;
70 m_searchSchema = std::forward<SearchSchemaT>(value);
72 template <
typename SearchSchemaT = Aws::Vector<SearchSchemaElement>>
77 template <
typename SearchSchemaT = SearchSchemaElement>
79 m_searchSchemaHasBeenSet =
true;
80 m_searchSchema.emplace_back(std::forward<SearchSchemaT>(value));
92 template <
typename ProjectionT = Projection>
94 m_projectionHasBeenSet =
true;
95 m_projection = std::forward<ProjectionT>(value);
97 template <
typename ProjectionT = Projection>
110 template <
typename VectorAttributeT = VectorAttributeDefinition>
112 m_vectorAttributeHasBeenSet =
true;
113 m_vectorAttribute = std::forward<VectorAttributeT>(value);
115 template <
typename VectorAttributeT = VectorAttributeDefinition>
129 m_dimensionsHasBeenSet =
true;
130 m_dimensions = value;
145 m_distanceFunctionHasBeenSet =
true;
146 m_distanceFunction = value;
164 m_indexStatusHasBeenSet =
true;
165 m_indexStatus = value;
181 m_backfillingHasBeenSet =
true;
182 m_backfilling = value;
199 m_indexSizeBytesHasBeenSet =
true;
200 m_indexSizeBytes = value;
217 m_itemCountHasBeenSet =
true;
232 template <
typename IndexArnT = Aws::String>
234 m_indexArnHasBeenSet =
true;
235 m_indexArn = std::forward<IndexArnT>(value);
237 template <
typename IndexArnT = Aws::String>
252 long long m_dimensions{0};
258 bool m_backfilling{
false};
260 long long m_indexSizeBytes{0};
262 long long m_itemCount{0};
265 bool m_indexNameHasBeenSet =
false;
266 bool m_searchSchemaHasBeenSet =
false;
267 bool m_projectionHasBeenSet =
false;
268 bool m_vectorAttributeHasBeenSet =
false;
269 bool m_dimensionsHasBeenSet =
false;
270 bool m_distanceFunctionHasBeenSet =
false;
271 bool m_indexStatusHasBeenSet =
false;
272 bool m_backfillingHasBeenSet =
false;
273 bool m_indexSizeBytesHasBeenSet =
false;
274 bool m_itemCountHasBeenSet =
false;
275 bool m_indexArnHasBeenSet =
false;
VectorIndexDescription & AddSearchSchema(SearchSchemaT &&value)
const Aws::Vector< SearchSchemaElement > & GetSearchSchema() const
VectorIndexDescription & WithProjection(ProjectionT &&value)
VectorIndexDescription & WithIndexName(IndexNameT &&value)
void SetItemCount(long long value)
AWS_DYNAMODB_API VectorIndexDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API VectorIndexDescription()=default
long long GetIndexSizeBytes() const
long long GetDimensions() const
AWS_DYNAMODB_API VectorIndexDescription(Aws::Utils::Json::JsonView jsonValue)
bool ProjectionHasBeenSet() const
void SetIndexSizeBytes(long long value)
const Projection & GetProjection() const
bool DistanceFunctionHasBeenSet() const
IndexStatus GetIndexStatus() const
void SetDistanceFunction(VectorDistanceFunction value)
VectorIndexDescription & WithSearchSchema(SearchSchemaT &&value)
VectorDistanceFunction GetDistanceFunction() const
void SetDimensions(long long value)
VectorIndexDescription & WithDimensions(long long value)
VectorIndexDescription & WithBackfilling(bool value)
VectorIndexDescription & WithDistanceFunction(VectorDistanceFunction value)
bool IndexArnHasBeenSet() const
const Aws::String & GetIndexArn() const
VectorIndexDescription & WithItemCount(long long value)
bool SearchSchemaHasBeenSet() const
bool DimensionsHasBeenSet() const
VectorIndexDescription & WithIndexArn(IndexArnT &&value)
VectorIndexDescription & WithIndexStatus(IndexStatus value)
void SetBackfilling(bool value)
bool IndexSizeBytesHasBeenSet() const
const Aws::String & GetIndexName() const
bool BackfillingHasBeenSet() const
const VectorAttributeDefinition & GetVectorAttribute() const
long long GetItemCount() const
bool VectorAttributeHasBeenSet() const
void SetIndexArn(IndexArnT &&value)
void SetSearchSchema(SearchSchemaT &&value)
bool ItemCountHasBeenSet() const
bool IndexNameHasBeenSet() const
bool GetBackfilling() const
void SetIndexName(IndexNameT &&value)
void SetVectorAttribute(VectorAttributeT &&value)
bool IndexStatusHasBeenSet() const
VectorIndexDescription & WithIndexSizeBytes(long long value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProjection(ProjectionT &&value)
VectorIndexDescription & WithVectorAttribute(VectorAttributeT &&value)
void SetIndexStatus(IndexStatus 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