AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgent
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_BEDROCKAGENT_API S3VectorsConfiguration() = default;
36 AWS_BEDROCKAGENT_API S3VectorsConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetIndexArn() const { return m_indexArn; }
48 inline bool IndexArnHasBeenSet() const { return m_indexArnHasBeenSet; }
49 template<typename IndexArnT = Aws::String>
50 void SetIndexArn(IndexArnT&& value) { m_indexArnHasBeenSet = true; m_indexArn = std::forward<IndexArnT>(value); }
51 template<typename IndexArnT = Aws::String>
52 S3VectorsConfiguration& WithIndexArn(IndexArnT&& value) { SetIndexArn(std::forward<IndexArnT>(value)); return *this;}
54
56
60 inline const Aws::String& GetIndexName() const { return m_indexName; }
61 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
62 template<typename IndexNameT = Aws::String>
63 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
64 template<typename IndexNameT = Aws::String>
65 S3VectorsConfiguration& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
67
69
73 inline const Aws::String& GetVectorBucketArn() const { return m_vectorBucketArn; }
74 inline bool VectorBucketArnHasBeenSet() const { return m_vectorBucketArnHasBeenSet; }
75 template<typename VectorBucketArnT = Aws::String>
76 void SetVectorBucketArn(VectorBucketArnT&& value) { m_vectorBucketArnHasBeenSet = true; m_vectorBucketArn = std::forward<VectorBucketArnT>(value); }
77 template<typename VectorBucketArnT = Aws::String>
78 S3VectorsConfiguration& WithVectorBucketArn(VectorBucketArnT&& value) { SetVectorBucketArn(std::forward<VectorBucketArnT>(value)); return *this;}
80 private:
81
82 Aws::String m_indexArn;
83 bool m_indexArnHasBeenSet = false;
84
85 Aws::String m_indexName;
86 bool m_indexNameHasBeenSet = false;
87
88 Aws::String m_vectorBucketArn;
89 bool m_vectorBucketArnHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace BedrockAgent
94} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue