7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3vectors/S3Vectors_EXPORTS.h>
10#include <aws/s3vectors/model/DataType.h>
11#include <aws/s3vectors/model/DistanceMetric.h>
12#include <aws/s3vectors/model/EncryptionConfiguration.h>
13#include <aws/s3vectors/model/IndexMode.h>
14#include <aws/s3vectors/model/MetadataConfiguration.h>
35 AWS_S3VECTORS_API
Index() =
default;
46 template <
typename VectorBucketNameT = Aws::String>
48 m_vectorBucketNameHasBeenSet =
true;
49 m_vectorBucketName = std::forward<VectorBucketNameT>(value);
51 template <
typename VectorBucketNameT = Aws::String>
64 template <
typename IndexNameT = Aws::String>
66 m_indexNameHasBeenSet =
true;
67 m_indexName = std::forward<IndexNameT>(value);
69 template <
typename IndexNameT = Aws::String>
82 template <
typename IndexArnT = Aws::String>
84 m_indexArnHasBeenSet =
true;
85 m_indexArn = std::forward<IndexArnT>(value);
87 template <
typename IndexArnT = Aws::String>
100 template <
typename CreationTimeT = Aws::Utils::DateTime>
102 m_creationTimeHasBeenSet =
true;
103 m_creationTime = std::forward<CreationTimeT>(value);
105 template <
typename CreationTimeT = Aws::Utils::DateTime>
119 m_dataTypeHasBeenSet =
true;
136 m_dimensionHasBeenSet =
true;
152 m_distanceMetricHasBeenSet =
true;
153 m_distanceMetric = value;
167 template <
typename MetadataConfigurationT = MetadataConfiguration>
169 m_metadataConfigurationHasBeenSet =
true;
170 m_metadataConfiguration = std::forward<MetadataConfigurationT>(value);
172 template <
typename MetadataConfigurationT = MetadataConfiguration>
187 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
189 m_encryptionConfigurationHasBeenSet =
true;
190 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
192 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
209 m_indexModeHasBeenSet =
true;
232 MetadataConfiguration m_metadataConfiguration;
234 EncryptionConfiguration m_encryptionConfiguration;
237 bool m_vectorBucketNameHasBeenSet =
false;
238 bool m_indexNameHasBeenSet =
false;
239 bool m_indexArnHasBeenSet =
false;
240 bool m_creationTimeHasBeenSet =
false;
241 bool m_dataTypeHasBeenSet =
false;
242 bool m_dimensionHasBeenSet =
false;
243 bool m_distanceMetricHasBeenSet =
false;
244 bool m_metadataConfigurationHasBeenSet =
false;
245 bool m_encryptionConfigurationHasBeenSet =
false;
246 bool m_indexModeHasBeenSet =
false;
void SetVectorBucketName(VectorBucketNameT &&value)
void SetDimension(int value)
void SetIndexMode(IndexMode value)
AWS_S3VECTORS_API Index & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDistanceMetric(DistanceMetric value)
bool DistanceMetricHasBeenSet() const
const Aws::String & GetIndexName() const
void SetIndexName(IndexNameT &&value)
void SetIndexArn(IndexArnT &&value)
const Aws::String & GetVectorBucketName() const
Index & WithCreationTime(CreationTimeT &&value)
bool VectorBucketNameHasBeenSet() const
Index & WithDataType(DataType value)
Index & WithDistanceMetric(DistanceMetric value)
void SetMetadataConfiguration(MetadataConfigurationT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
DataType GetDataType() const
bool DimensionHasBeenSet() const
bool IndexArnHasBeenSet() const
AWS_S3VECTORS_API Index()=default
AWS_S3VECTORS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetIndexArn() const
IndexMode GetIndexMode() const
Index & WithMetadataConfiguration(MetadataConfigurationT &&value)
Index & WithIndexArn(IndexArnT &&value)
bool IndexNameHasBeenSet() const
Index & WithVectorBucketName(VectorBucketNameT &&value)
AWS_S3VECTORS_API Index(Aws::Utils::Json::JsonView jsonValue)
bool DataTypeHasBeenSet() const
const MetadataConfiguration & GetMetadataConfiguration() const
Index & WithIndexName(IndexNameT &&value)
bool EncryptionConfigurationHasBeenSet() const
bool MetadataConfigurationHasBeenSet() const
void SetDataType(DataType value)
Index & WithDimension(int value)
Index & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
bool CreationTimeHasBeenSet() const
Index & WithIndexMode(IndexMode value)
DistanceMetric GetDistanceMetric() const
bool IndexModeHasBeenSet() const
void SetCreationTime(CreationTimeT &&value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue