AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KnowledgeBaseFlowNodeConfiguration.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
38 {
39 public:
40 AWS_BEDROCKAGENT_API KnowledgeBaseFlowNodeConfiguration();
43 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
51 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
52 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; }
53 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); }
54 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); }
56 inline KnowledgeBaseFlowNodeConfiguration& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
57 inline KnowledgeBaseFlowNodeConfiguration& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
59
61
67 inline const Aws::String& GetModelId() const{ return m_modelId; }
68 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
69 inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
70 inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
71 inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
72 inline KnowledgeBaseFlowNodeConfiguration& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
73 inline KnowledgeBaseFlowNodeConfiguration& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
74 inline KnowledgeBaseFlowNodeConfiguration& WithModelId(const char* value) { SetModelId(value); return *this;}
76 private:
77
78 Aws::String m_knowledgeBaseId;
79 bool m_knowledgeBaseIdHasBeenSet = false;
80
81 Aws::String m_modelId;
82 bool m_modelIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace BedrockAgent
87} // 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 & 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