7#include <aws/s3vectors/S3Vectors_EXPORTS.h>
8#include <aws/s3vectors/S3VectorsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/s3vectors/model/PutInputVector.h>
43 template<
typename VectorBucketNameT = Aws::String>
44 void SetVectorBucketName(VectorBucketNameT&& value) { m_vectorBucketNameHasBeenSet =
true; m_vectorBucketName = std::forward<VectorBucketNameT>(value); }
45 template<
typename VectorBucketNameT = Aws::String>
55 template<
typename IndexNameT = Aws::String>
56 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet =
true; m_indexName = std::forward<IndexNameT>(value); }
57 template<
typename IndexNameT = Aws::String>
67 template<
typename IndexArnT = Aws::String>
68 void SetIndexArn(IndexArnT&& value) { m_indexArnHasBeenSet =
true; m_indexArn = std::forward<IndexArnT>(value); }
69 template<
typename IndexArnT = Aws::String>
82 template<
typename VectorsT = Aws::Vector<PutInputVector>>
83 void SetVectors(VectorsT&& value) { m_vectorsHasBeenSet =
true; m_vectors = std::forward<VectorsT>(value); }
84 template<
typename VectorsT = Aws::Vector<PutInputVector>>
86 template<
typename VectorsT = PutInputVector>
87 PutVectorsRequest&
AddVectors(VectorsT&& value) { m_vectorsHasBeenSet =
true; m_vectors.emplace_back(std::forward<VectorsT>(value));
return *
this; }
92 bool m_vectorBucketNameHasBeenSet =
false;
95 bool m_indexNameHasBeenSet =
false;
98 bool m_indexArnHasBeenSet =
false;
101 bool m_vectorsHasBeenSet =
false;
const Aws::String & GetIndexArn() const
const Aws::String & GetIndexName() const
AWS_S3VECTORS_API Aws::String SerializePayload() const override
PutVectorsRequest & WithIndexName(IndexNameT &&value)
PutVectorsRequest & WithIndexArn(IndexArnT &&value)
PutVectorsRequest & AddVectors(VectorsT &&value)
void SetVectors(VectorsT &&value)
PutVectorsRequest & WithVectorBucketName(VectorBucketNameT &&value)
PutVectorsRequest & WithVectors(VectorsT &&value)
void SetIndexName(IndexNameT &&value)
bool VectorBucketNameHasBeenSet() const
void SetIndexArn(IndexArnT &&value)
bool IndexArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< PutInputVector > & GetVectors() const
bool IndexNameHasBeenSet() const
AWS_S3VECTORS_API PutVectorsRequest()=default
void SetVectorBucketName(VectorBucketNameT &&value)
const Aws::String & GetVectorBucketName() const
bool VectorsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector