AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentRuntime {
21namespace Model {
22
31 public:
32 AWS_BEDROCKAGENTRUNTIME_API FlowInputField() = default;
35 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const FlowExecutionContent& GetContent() const { return m_content; }
43 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
44 template <typename ContentT = FlowExecutionContent>
45 void SetContent(ContentT&& value) {
46 m_contentHasBeenSet = true;
47 m_content = std::forward<ContentT>(value);
48 }
49 template <typename ContentT = FlowExecutionContent>
51 SetContent(std::forward<ContentT>(value));
52 return *this;
53 }
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) {
64 m_nameHasBeenSet = true;
65 m_name = std::forward<NameT>(value);
66 }
67 template <typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
70 return *this;
71 }
73 private:
74 FlowExecutionContent m_content;
75
76 Aws::String m_name;
77 bool m_contentHasBeenSet = false;
78 bool m_nameHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace BedrockAgentRuntime
83} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue