AWS SDK for C++

AWS SDK for C++ Version 1.11.509

Loading...
Searching...
No Matches
KnowledgeBaseFlowNodeConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/GuardrailConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.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 BedrockAgent
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_BEDROCKAGENT_API KnowledgeBaseFlowNodeConfiguration();
44 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const GuardrailConfiguration& GetGuardrailConfiguration() const{ return m_guardrailConfiguration; }
53 inline bool GuardrailConfigurationHasBeenSet() const { return m_guardrailConfigurationHasBeenSet; }
54 inline void SetGuardrailConfiguration(const GuardrailConfiguration& value) { m_guardrailConfigurationHasBeenSet = true; m_guardrailConfiguration = value; }
55 inline void SetGuardrailConfiguration(GuardrailConfiguration&& value) { m_guardrailConfigurationHasBeenSet = true; m_guardrailConfiguration = std::move(value); }
59
61
64 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
65 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
66 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; }
67 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); }
68 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); }
70 inline KnowledgeBaseFlowNodeConfiguration& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
71 inline KnowledgeBaseFlowNodeConfiguration& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
73
75
81 inline const Aws::String& GetModelId() const{ return m_modelId; }
82 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
83 inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
84 inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
85 inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
86 inline KnowledgeBaseFlowNodeConfiguration& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
87 inline KnowledgeBaseFlowNodeConfiguration& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
88 inline KnowledgeBaseFlowNodeConfiguration& WithModelId(const char* value) { SetModelId(value); return *this;}
90 private:
91
92 GuardrailConfiguration m_guardrailConfiguration;
93 bool m_guardrailConfigurationHasBeenSet = false;
94
95 Aws::String m_knowledgeBaseId;
96 bool m_knowledgeBaseIdHasBeenSet = false;
97
98 Aws::String m_modelId;
99 bool m_modelIdHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace BedrockAgent
104} // namespace Aws
AWS_BEDROCKAGENT_API KnowledgeBaseFlowNodeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseFlowNodeConfiguration & WithKnowledgeBaseId(const Aws::String &value)
KnowledgeBaseFlowNodeConfiguration & WithModelId(const Aws::String &value)
KnowledgeBaseFlowNodeConfiguration & WithModelId(Aws::String &&value)
AWS_BEDROCKAGENT_API KnowledgeBaseFlowNodeConfiguration(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseFlowNodeConfiguration & WithKnowledgeBaseId(Aws::String &&value)
KnowledgeBaseFlowNodeConfiguration & WithGuardrailConfiguration(GuardrailConfiguration &&value)
KnowledgeBaseFlowNodeConfiguration & WithGuardrailConfiguration(const GuardrailConfiguration &value)
KnowledgeBaseFlowNodeConfiguration & WithKnowledgeBaseId(const char *value)
KnowledgeBaseFlowNodeConfiguration & WithModelId(const char *value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue