AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
UpdateMetadataConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3vectors/S3VectorsRequest.h>
9#include <aws/s3vectors/S3Vectors_EXPORTS.h>
10#include <aws/s3vectors/model/MetadataConfigurationAdd.h>
11#include <aws/s3vectors/model/MetadataConfigurationDelete.h>
12
13#include <utility>
14
15namespace Aws {
16namespace S3Vectors {
17namespace Model {
18
22 public:
23 AWS_S3VECTORS_API UpdateMetadataConfigurationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateMetadataConfiguration"; }
30
31 AWS_S3VECTORS_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetVectorBucketName() const { return m_vectorBucketName; }
38 inline bool VectorBucketNameHasBeenSet() const { return m_vectorBucketNameHasBeenSet; }
39 template <typename VectorBucketNameT = Aws::String>
40 void SetVectorBucketName(VectorBucketNameT&& value) {
41 m_vectorBucketNameHasBeenSet = true;
42 m_vectorBucketName = std::forward<VectorBucketNameT>(value);
43 }
44 template <typename VectorBucketNameT = Aws::String>
46 SetVectorBucketName(std::forward<VectorBucketNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetIndexName() const { return m_indexName; }
56 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
57 template <typename IndexNameT = Aws::String>
58 void SetIndexName(IndexNameT&& value) {
59 m_indexNameHasBeenSet = true;
60 m_indexName = std::forward<IndexNameT>(value);
61 }
62 template <typename IndexNameT = Aws::String>
64 SetIndexName(std::forward<IndexNameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetIndexArn() const { return m_indexArn; }
74 inline bool IndexArnHasBeenSet() const { return m_indexArnHasBeenSet; }
75 template <typename IndexArnT = Aws::String>
76 void SetIndexArn(IndexArnT&& value) {
77 m_indexArnHasBeenSet = true;
78 m_indexArn = std::forward<IndexArnT>(value);
79 }
80 template <typename IndexArnT = Aws::String>
82 SetIndexArn(std::forward<IndexArnT>(value));
83 return *this;
84 }
86
88
91 inline const MetadataConfigurationAdd& GetAdd() const { return m_add; }
92 inline bool AddHasBeenSet() const { return m_addHasBeenSet; }
93 template <typename AddT = MetadataConfigurationAdd>
94 void SetAdd(AddT&& value) {
95 m_addHasBeenSet = true;
96 m_add = std::forward<AddT>(value);
97 }
98 template <typename AddT = MetadataConfigurationAdd>
100 SetAdd(std::forward<AddT>(value));
101 return *this;
102 }
104
106
109 inline const MetadataConfigurationDelete& GetDelete() const { return m_delete; }
110 inline bool DeleteHasBeenSet() const { return m_deleteHasBeenSet; }
111 template <typename DeleteT = MetadataConfigurationDelete>
112 void SetDelete(DeleteT&& value) {
113 m_deleteHasBeenSet = true;
114 m_delete = std::forward<DeleteT>(value);
115 }
116 template <typename DeleteT = MetadataConfigurationDelete>
118 SetDelete(std::forward<DeleteT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_vectorBucketName;
124
125 Aws::String m_indexName;
126
127 Aws::String m_indexArn;
128
130
132 bool m_vectorBucketNameHasBeenSet = false;
133 bool m_indexNameHasBeenSet = false;
134 bool m_indexArnHasBeenSet = false;
135 bool m_addHasBeenSet = false;
136 bool m_deleteHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace S3Vectors
141} // namespace Aws
AWS_S3VECTORS_API UpdateMetadataConfigurationRequest()=default
UpdateMetadataConfigurationRequest & WithIndexName(IndexNameT &&value)
AWS_S3VECTORS_API Aws::String SerializePayload() const override
UpdateMetadataConfigurationRequest & WithVectorBucketName(VectorBucketNameT &&value)
UpdateMetadataConfigurationRequest & WithDelete(DeleteT &&value)
UpdateMetadataConfigurationRequest & WithIndexArn(IndexArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String