AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename GuardrailConfigurationT = GuardrailConfiguration>
56 void SetGuardrailConfiguration(GuardrailConfigurationT&& value) { m_guardrailConfigurationHasBeenSet = true; m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value); }
57 template<typename GuardrailConfigurationT = GuardrailConfiguration>
58 PromptFlowNodeConfiguration& WithGuardrailConfiguration(GuardrailConfigurationT&& value) { SetGuardrailConfiguration(std::forward<GuardrailConfigurationT>(value)); return *this;}
60
62
65 inline const PromptFlowNodeSourceConfiguration& GetSourceConfiguration() const { return m_sourceConfiguration; }
66 inline bool SourceConfigurationHasBeenSet() const { return m_sourceConfigurationHasBeenSet; }
67 template<typename SourceConfigurationT = PromptFlowNodeSourceConfiguration>
68 void SetSourceConfiguration(SourceConfigurationT&& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = std::forward<SourceConfigurationT>(value); }
69 template<typename SourceConfigurationT = PromptFlowNodeSourceConfiguration>
70 PromptFlowNodeConfiguration& WithSourceConfiguration(SourceConfigurationT&& value) { SetSourceConfiguration(std::forward<SourceConfigurationT>(value)); return *this;}
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
const GuardrailConfiguration & GetGuardrailConfiguration() const
PromptFlowNodeConfiguration & WithSourceConfiguration(SourceConfigurationT &&value)
AWS_BEDROCKAGENT_API PromptFlowNodeConfiguration()=default
PromptFlowNodeConfiguration & WithGuardrailConfiguration(GuardrailConfigurationT &&value)
AWS_BEDROCKAGENT_API PromptFlowNodeConfiguration(Aws::Utils::Json::JsonView jsonValue)
const PromptFlowNodeSourceConfiguration & GetSourceConfiguration() const
AWS_BEDROCKAGENT_API PromptFlowNodeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue