AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
S3VectorsConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgent {
20namespace Model {
21
29 public:
30 AWS_BEDROCKAGENT_API S3VectorsConfiguration() = default;
33 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetVectorBucketArn() const { return m_vectorBucketArn; }
41 inline bool VectorBucketArnHasBeenSet() const { return m_vectorBucketArnHasBeenSet; }
42 template <typename VectorBucketArnT = Aws::String>
44 m_vectorBucketArnHasBeenSet = true;
45 m_vectorBucketArn = std::forward<VectorBucketArnT>(value);
46 }
47 template <typename VectorBucketArnT = Aws::String>
49 SetVectorBucketArn(std::forward<VectorBucketArnT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetIndexArn() const { return m_indexArn; }
61 inline bool IndexArnHasBeenSet() const { return m_indexArnHasBeenSet; }
62 template <typename IndexArnT = Aws::String>
63 void SetIndexArn(IndexArnT&& value) {
64 m_indexArnHasBeenSet = true;
65 m_indexArn = std::forward<IndexArnT>(value);
66 }
67 template <typename IndexArnT = Aws::String>
69 SetIndexArn(std::forward<IndexArnT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetIndexName() const { return m_indexName; }
80 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
81 template <typename IndexNameT = Aws::String>
82 void SetIndexName(IndexNameT&& value) {
83 m_indexNameHasBeenSet = true;
84 m_indexName = std::forward<IndexNameT>(value);
85 }
86 template <typename IndexNameT = Aws::String>
88 SetIndexName(std::forward<IndexNameT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_vectorBucketArn;
94
95 Aws::String m_indexArn;
96
97 Aws::String m_indexName;
98 bool m_vectorBucketArnHasBeenSet = false;
99 bool m_indexArnHasBeenSet = false;
100 bool m_indexNameHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace BedrockAgent
105} // namespace Aws
S3VectorsConfiguration & WithIndexName(IndexNameT &&value)
AWS_BEDROCKAGENT_API S3VectorsConfiguration()=default
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
S3VectorsConfiguration & WithIndexArn(IndexArnT &&value)
S3VectorsConfiguration & WithVectorBucketArn(VectorBucketArnT &&value)
AWS_BEDROCKAGENT_API S3VectorsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API S3VectorsConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue