AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FlowInputField.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/FlowExecutionContent.h>
9#include <aws/core/utils/memory/stl/AWSString.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 BedrockAgentRuntime
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_BEDROCKAGENTRUNTIME_API FlowInputField() = default;
38 AWS_BEDROCKAGENTRUNTIME_API FlowInputField(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API FlowInputField& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const FlowExecutionContent& GetContent() const { return m_content; }
49 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
50 template<typename ContentT = FlowExecutionContent>
51 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
52 template<typename ContentT = FlowExecutionContent>
53 FlowInputField& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template<typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
64 template<typename NameT = Aws::String>
65 FlowInputField& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
67 private:
68
69 FlowExecutionContent m_content;
70 bool m_contentHasBeenSet = false;
71
72 Aws::String m_name;
73 bool m_nameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace BedrockAgentRuntime
78} // namespace Aws
const FlowExecutionContent & GetContent() const
AWS_BEDROCKAGENTRUNTIME_API FlowInputField()=default
FlowInputField & WithName(NameT &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowInputField(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API FlowInputField & operator=(Aws::Utils::Json::JsonView jsonValue)
FlowInputField & WithContent(ContentT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue