AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteVectorsRequest.h
1
6#pragma once
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 <utility>
12
13namespace Aws
14{
15namespace S3Vectors
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_S3VECTORS_API DeleteVectorsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteVectors"; }
32
33 AWS_S3VECTORS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetVectorBucketName() const { return m_vectorBucketName; }
41 inline bool VectorBucketNameHasBeenSet() const { return m_vectorBucketNameHasBeenSet; }
42 template<typename VectorBucketNameT = Aws::String>
43 void SetVectorBucketName(VectorBucketNameT&& value) { m_vectorBucketNameHasBeenSet = true; m_vectorBucketName = std::forward<VectorBucketNameT>(value); }
44 template<typename VectorBucketNameT = Aws::String>
45 DeleteVectorsRequest& WithVectorBucketName(VectorBucketNameT&& value) { SetVectorBucketName(std::forward<VectorBucketNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetIndexName() const { return m_indexName; }
53 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
54 template<typename IndexNameT = Aws::String>
55 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
56 template<typename IndexNameT = Aws::String>
57 DeleteVectorsRequest& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetIndexArn() const { return m_indexArn; }
65 inline bool IndexArnHasBeenSet() const { return m_indexArnHasBeenSet; }
66 template<typename IndexArnT = Aws::String>
67 void SetIndexArn(IndexArnT&& value) { m_indexArnHasBeenSet = true; m_indexArn = std::forward<IndexArnT>(value); }
68 template<typename IndexArnT = Aws::String>
69 DeleteVectorsRequest& WithIndexArn(IndexArnT&& value) { SetIndexArn(std::forward<IndexArnT>(value)); return *this;}
71
73
76 inline const Aws::Vector<Aws::String>& GetKeys() const { return m_keys; }
77 inline bool KeysHasBeenSet() const { return m_keysHasBeenSet; }
78 template<typename KeysT = Aws::Vector<Aws::String>>
79 void SetKeys(KeysT&& value) { m_keysHasBeenSet = true; m_keys = std::forward<KeysT>(value); }
80 template<typename KeysT = Aws::Vector<Aws::String>>
81 DeleteVectorsRequest& WithKeys(KeysT&& value) { SetKeys(std::forward<KeysT>(value)); return *this;}
82 template<typename KeysT = Aws::String>
83 DeleteVectorsRequest& AddKeys(KeysT&& value) { m_keysHasBeenSet = true; m_keys.emplace_back(std::forward<KeysT>(value)); return *this; }
85 private:
86
87 Aws::String m_vectorBucketName;
88 bool m_vectorBucketNameHasBeenSet = false;
89
90 Aws::String m_indexName;
91 bool m_indexNameHasBeenSet = false;
92
93 Aws::String m_indexArn;
94 bool m_indexArnHasBeenSet = false;
95
97 bool m_keysHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace S3Vectors
102} // namespace Aws
DeleteVectorsRequest & WithIndexArn(IndexArnT &&value)
DeleteVectorsRequest & WithVectorBucketName(VectorBucketNameT &&value)
DeleteVectorsRequest & WithKeys(KeysT &&value)
DeleteVectorsRequest & AddKeys(KeysT &&value)
AWS_S3VECTORS_API DeleteVectorsRequest()=default
DeleteVectorsRequest & WithIndexName(IndexNameT &&value)
void SetVectorBucketName(VectorBucketNameT &&value)
AWS_S3VECTORS_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetKeys() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector