AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename InlineT = PromptFlowNodeInlineConfiguration>
49 void SetInline(InlineT&& value) { m_inlineHasBeenSet = true; m_inline = std::forward<InlineT>(value); }
50 template<typename InlineT = PromptFlowNodeInlineConfiguration>
51 PromptFlowNodeSourceConfiguration& WithInline(InlineT&& value) { SetInline(std::forward<InlineT>(value)); return *this;}
53
55
58 inline const PromptFlowNodeResourceConfiguration& GetResource() const { return m_resource; }
59 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
60 template<typename ResourceT = PromptFlowNodeResourceConfiguration>
61 void SetResource(ResourceT&& value) { m_resourceHasBeenSet = true; m_resource = std::forward<ResourceT>(value); }
62 template<typename ResourceT = PromptFlowNodeResourceConfiguration>
63 PromptFlowNodeSourceConfiguration& WithResource(ResourceT&& value) { SetResource(std::forward<ResourceT>(value)); return *this;}
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
PromptFlowNodeSourceConfiguration & WithResource(ResourceT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
PromptFlowNodeSourceConfiguration & WithInline(InlineT &&value)
AWS_BEDROCKAGENT_API PromptFlowNodeSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API PromptFlowNodeSourceConfiguration()=default
AWS_BEDROCKAGENT_API PromptFlowNodeSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
const PromptFlowNodeResourceConfiguration & GetResource() const
Aws::Utils::Json::JsonValue JsonValue