AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RetrieveAndGenerateConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/ExternalSourcesRetrieveAndGenerateConfiguration.h>
9#include <aws/bedrock-agent-runtime/model/KnowledgeBaseRetrieveAndGenerateConfiguration.h>
10#include <aws/bedrock-agent-runtime/model/RetrieveAndGenerateType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgentRuntime
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_BEDROCKAGENTRUNTIME_API RetrieveAndGenerateConfiguration();
41 AWS_BEDROCKAGENTRUNTIME_API RetrieveAndGenerateConfiguration(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const ExternalSourcesRetrieveAndGenerateConfiguration& GetExternalSourcesConfiguration() const{ return m_externalSourcesConfiguration; }
52 inline bool ExternalSourcesConfigurationHasBeenSet() const { return m_externalSourcesConfigurationHasBeenSet; }
53 inline void SetExternalSourcesConfiguration(const ExternalSourcesRetrieveAndGenerateConfiguration& value) { m_externalSourcesConfigurationHasBeenSet = true; m_externalSourcesConfiguration = value; }
54 inline void SetExternalSourcesConfiguration(ExternalSourcesRetrieveAndGenerateConfiguration&& value) { m_externalSourcesConfigurationHasBeenSet = true; m_externalSourcesConfiguration = std::move(value); }
58
60
64 inline const KnowledgeBaseRetrieveAndGenerateConfiguration& GetKnowledgeBaseConfiguration() const{ return m_knowledgeBaseConfiguration; }
65 inline bool KnowledgeBaseConfigurationHasBeenSet() const { return m_knowledgeBaseConfigurationHasBeenSet; }
66 inline void SetKnowledgeBaseConfiguration(const KnowledgeBaseRetrieveAndGenerateConfiguration& value) { m_knowledgeBaseConfigurationHasBeenSet = true; m_knowledgeBaseConfiguration = value; }
67 inline void SetKnowledgeBaseConfiguration(KnowledgeBaseRetrieveAndGenerateConfiguration&& value) { m_knowledgeBaseConfigurationHasBeenSet = true; m_knowledgeBaseConfiguration = std::move(value); }
71
73
79 inline const RetrieveAndGenerateType& GetType() const{ return m_type; }
80 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
81 inline void SetType(const RetrieveAndGenerateType& value) { m_typeHasBeenSet = true; m_type = value; }
82 inline void SetType(RetrieveAndGenerateType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
83 inline RetrieveAndGenerateConfiguration& WithType(const RetrieveAndGenerateType& value) { SetType(value); return *this;}
84 inline RetrieveAndGenerateConfiguration& WithType(RetrieveAndGenerateType&& value) { SetType(std::move(value)); return *this;}
86 private:
87
88 ExternalSourcesRetrieveAndGenerateConfiguration m_externalSourcesConfiguration;
89 bool m_externalSourcesConfigurationHasBeenSet = false;
90
91 KnowledgeBaseRetrieveAndGenerateConfiguration m_knowledgeBaseConfiguration;
92 bool m_knowledgeBaseConfigurationHasBeenSet = false;
93
95 bool m_typeHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace BedrockAgentRuntime
100} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API RetrieveAndGenerateConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API RetrieveAndGenerateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ExternalSourcesRetrieveAndGenerateConfiguration & GetExternalSourcesConfiguration() const
const KnowledgeBaseRetrieveAndGenerateConfiguration & GetKnowledgeBaseConfiguration() const
RetrieveAndGenerateConfiguration & WithKnowledgeBaseConfiguration(KnowledgeBaseRetrieveAndGenerateConfiguration &&value)
RetrieveAndGenerateConfiguration & WithKnowledgeBaseConfiguration(const KnowledgeBaseRetrieveAndGenerateConfiguration &value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKnowledgeBaseConfiguration(KnowledgeBaseRetrieveAndGenerateConfiguration &&value)
RetrieveAndGenerateConfiguration & WithExternalSourcesConfiguration(const ExternalSourcesRetrieveAndGenerateConfiguration &value)
RetrieveAndGenerateConfiguration & WithType(const RetrieveAndGenerateType &value)
RetrieveAndGenerateConfiguration & WithType(RetrieveAndGenerateType &&value)
void SetKnowledgeBaseConfiguration(const KnowledgeBaseRetrieveAndGenerateConfiguration &value)
RetrieveAndGenerateConfiguration & WithExternalSourcesConfiguration(ExternalSourcesRetrieveAndGenerateConfiguration &&value)
void SetExternalSourcesConfiguration(const ExternalSourcesRetrieveAndGenerateConfiguration &value)
void SetExternalSourcesConfiguration(ExternalSourcesRetrieveAndGenerateConfiguration &&value)
Aws::Utils::Json::JsonValue JsonValue