AWS SDK for C++

AWS SDK for C++ Version 1.11.509

Loading...
Searching...
No Matches
PromptFlowNodeConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/GuardrailConfiguration.h>
9#include <aws/bedrock-agent/model/PromptFlowNodeSourceConfiguration.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
40 {
41 public:
42 AWS_BEDROCKAGENT_API PromptFlowNodeConfiguration();
45 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const GuardrailConfiguration& GetGuardrailConfiguration() const{ return m_guardrailConfiguration; }
54 inline bool GuardrailConfigurationHasBeenSet() const { return m_guardrailConfigurationHasBeenSet; }
55 inline void SetGuardrailConfiguration(const GuardrailConfiguration& value) { m_guardrailConfigurationHasBeenSet = true; m_guardrailConfiguration = value; }
56 inline void SetGuardrailConfiguration(GuardrailConfiguration&& value) { m_guardrailConfigurationHasBeenSet = true; m_guardrailConfiguration = std::move(value); }
60
62
65 inline const PromptFlowNodeSourceConfiguration& GetSourceConfiguration() const{ return m_sourceConfiguration; }
66 inline bool SourceConfigurationHasBeenSet() const { return m_sourceConfigurationHasBeenSet; }
67 inline void SetSourceConfiguration(const PromptFlowNodeSourceConfiguration& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = value; }
68 inline void SetSourceConfiguration(PromptFlowNodeSourceConfiguration&& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = std::move(value); }
72 private:
73
74 GuardrailConfiguration m_guardrailConfiguration;
75 bool m_guardrailConfigurationHasBeenSet = false;
76
77 PromptFlowNodeSourceConfiguration m_sourceConfiguration;
78 bool m_sourceConfigurationHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace BedrockAgent
83} // namespace Aws
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourceConfiguration(const PromptFlowNodeSourceConfiguration &value)
PromptFlowNodeConfiguration & WithSourceConfiguration(PromptFlowNodeSourceConfiguration &&value)
const GuardrailConfiguration & GetGuardrailConfiguration() const
PromptFlowNodeConfiguration & WithGuardrailConfiguration(GuardrailConfiguration &&value)
PromptFlowNodeConfiguration & WithGuardrailConfiguration(const GuardrailConfiguration &value)
PromptFlowNodeConfiguration & WithSourceConfiguration(const PromptFlowNodeSourceConfiguration &value)
AWS_BEDROCKAGENT_API PromptFlowNodeConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetGuardrailConfiguration(const GuardrailConfiguration &value)
const PromptFlowNodeSourceConfiguration & GetSourceConfiguration() const
AWS_BEDROCKAGENT_API PromptFlowNodeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourceConfiguration(PromptFlowNodeSourceConfiguration &&value)
Aws::Utils::Json::JsonValue JsonValue