AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
RetrieveConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/KnowledgeBaseRetrievalConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Bedrock
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCK_API RetrieveConfig() = default;
37 AWS_BEDROCK_API RetrieveConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetKnowledgeBaseId() const { return m_knowledgeBaseId; }
47 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
48 template<typename KnowledgeBaseIdT = Aws::String>
49 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
50 template<typename KnowledgeBaseIdT = Aws::String>
51 RetrieveConfig& WithKnowledgeBaseId(KnowledgeBaseIdT&& value) { SetKnowledgeBaseId(std::forward<KnowledgeBaseIdT>(value)); return *this;}
53
55
58 inline const KnowledgeBaseRetrievalConfiguration& GetKnowledgeBaseRetrievalConfiguration() const { return m_knowledgeBaseRetrievalConfiguration; }
59 inline bool KnowledgeBaseRetrievalConfigurationHasBeenSet() const { return m_knowledgeBaseRetrievalConfigurationHasBeenSet; }
60 template<typename KnowledgeBaseRetrievalConfigurationT = KnowledgeBaseRetrievalConfiguration>
61 void SetKnowledgeBaseRetrievalConfiguration(KnowledgeBaseRetrievalConfigurationT&& value) { m_knowledgeBaseRetrievalConfigurationHasBeenSet = true; m_knowledgeBaseRetrievalConfiguration = std::forward<KnowledgeBaseRetrievalConfigurationT>(value); }
62 template<typename KnowledgeBaseRetrievalConfigurationT = KnowledgeBaseRetrievalConfiguration>
63 RetrieveConfig& WithKnowledgeBaseRetrievalConfiguration(KnowledgeBaseRetrievalConfigurationT&& value) { SetKnowledgeBaseRetrievalConfiguration(std::forward<KnowledgeBaseRetrievalConfigurationT>(value)); return *this;}
65 private:
66
67 Aws::String m_knowledgeBaseId;
68 bool m_knowledgeBaseIdHasBeenSet = false;
69
70 KnowledgeBaseRetrievalConfiguration m_knowledgeBaseRetrievalConfiguration;
71 bool m_knowledgeBaseRetrievalConfigurationHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Bedrock
76} // namespace Aws
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
bool KnowledgeBaseRetrievalConfigurationHasBeenSet() const
const Aws::String & GetKnowledgeBaseId() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
RetrieveConfig & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetKnowledgeBaseRetrievalConfiguration(KnowledgeBaseRetrievalConfigurationT &&value)
AWS_BEDROCK_API RetrieveConfig()=default
AWS_BEDROCK_API RetrieveConfig(Aws::Utils::Json::JsonView jsonValue)
const KnowledgeBaseRetrievalConfiguration & GetKnowledgeBaseRetrievalConfiguration() const
AWS_BEDROCK_API RetrieveConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
RetrieveConfig & WithKnowledgeBaseRetrievalConfiguration(KnowledgeBaseRetrievalConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue