AWS SDK for C++

AWS SDK for C++ Version 1.11.745

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgent {
21namespace Model {
22
30 public:
31 AWS_BEDROCKAGENT_API PromptFlowNodeSourceConfiguration() = default;
34 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const PromptFlowNodeResourceConfiguration& GetResource() const { return m_resource; }
41 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
42 template <typename ResourceT = PromptFlowNodeResourceConfiguration>
43 void SetResource(ResourceT&& value) {
44 m_resourceHasBeenSet = true;
45 m_resource = std::forward<ResourceT>(value);
46 }
47 template <typename ResourceT = PromptFlowNodeResourceConfiguration>
49 SetResource(std::forward<ResourceT>(value));
50 return *this;
51 }
53
55
58 inline const PromptFlowNodeInlineConfiguration& GetInline() const { return m_inline; }
59 inline bool InlineHasBeenSet() const { return m_inlineHasBeenSet; }
60 template <typename InlineT = PromptFlowNodeInlineConfiguration>
61 void SetInline(InlineT&& value) {
62 m_inlineHasBeenSet = true;
63 m_inline = std::forward<InlineT>(value);
64 }
65 template <typename InlineT = PromptFlowNodeInlineConfiguration>
67 SetInline(std::forward<InlineT>(value));
68 return *this;
69 }
71 private:
73
75 bool m_resourceHasBeenSet = false;
76 bool m_inlineHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace BedrockAgent
81} // 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
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue