AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PromptFlowNodeSourceConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/PromptFlowNodeInlineConfiguration.h>
9#include <aws/bedrock-agent/model/PromptFlowNodeResourceConfiguration.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
34 {
35 public:
36 AWS_BEDROCKAGENT_API PromptFlowNodeSourceConfiguration();
39 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const PromptFlowNodeInlineConfiguration& GetInline() const{ return m_inline; }
47 inline bool InlineHasBeenSet() const { return m_inlineHasBeenSet; }
48 inline void SetInline(const PromptFlowNodeInlineConfiguration& value) { m_inlineHasBeenSet = true; m_inline = value; }
49 inline void SetInline(PromptFlowNodeInlineConfiguration&& value) { m_inlineHasBeenSet = true; m_inline = std::move(value); }
53
55
58 inline const PromptFlowNodeResourceConfiguration& GetResource() const{ return m_resource; }
59 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
60 inline void SetResource(const PromptFlowNodeResourceConfiguration& value) { m_resourceHasBeenSet = true; m_resource = value; }
61 inline void SetResource(PromptFlowNodeResourceConfiguration&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
65 private:
66
68 bool m_inlineHasBeenSet = false;
69
71 bool m_resourceHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace BedrockAgent
76} // namespace Aws
void SetResource(const PromptFlowNodeResourceConfiguration &value)
PromptFlowNodeSourceConfiguration & WithResource(const PromptFlowNodeResourceConfiguration &value)
PromptFlowNodeSourceConfiguration & WithInline(PromptFlowNodeInlineConfiguration &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API PromptFlowNodeSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
PromptFlowNodeSourceConfiguration & WithInline(const PromptFlowNodeInlineConfiguration &value)
AWS_BEDROCKAGENT_API PromptFlowNodeSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetInline(const PromptFlowNodeInlineConfiguration &value)
PromptFlowNodeSourceConfiguration & WithResource(PromptFlowNodeResourceConfiguration &&value)
const PromptFlowNodeResourceConfiguration & GetResource() const
Aws::Utils::Json::JsonValue JsonValue