AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
NodeInputEvent.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/NodeInputField.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime {
23namespace Model {
24
33 public:
34 AWS_BEDROCKAGENTRUNTIME_API NodeInputEvent() = default;
37 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::Vector<NodeInputField>& GetFields() const { return m_fields; }
44 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
45 template <typename FieldsT = Aws::Vector<NodeInputField>>
46 void SetFields(FieldsT&& value) {
47 m_fieldsHasBeenSet = true;
48 m_fields = std::forward<FieldsT>(value);
49 }
50 template <typename FieldsT = Aws::Vector<NodeInputField>>
52 SetFields(std::forward<FieldsT>(value));
53 return *this;
54 }
55 template <typename FieldsT = NodeInputField>
57 m_fieldsHasBeenSet = true;
58 m_fields.emplace_back(std::forward<FieldsT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetNodeName() const { return m_nodeName; }
68 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
69 template <typename NodeNameT = Aws::String>
70 void SetNodeName(NodeNameT&& value) {
71 m_nodeNameHasBeenSet = true;
72 m_nodeName = std::forward<NodeNameT>(value);
73 }
74 template <typename NodeNameT = Aws::String>
76 SetNodeName(std::forward<NodeNameT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
86 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
87 template <typename TimestampT = Aws::Utils::DateTime>
88 void SetTimestamp(TimestampT&& value) {
89 m_timestampHasBeenSet = true;
90 m_timestamp = std::forward<TimestampT>(value);
91 }
92 template <typename TimestampT = Aws::Utils::DateTime>
94 SetTimestamp(std::forward<TimestampT>(value));
95 return *this;
96 }
98 private:
100
101 Aws::String m_nodeName;
102
103 Aws::Utils::DateTime m_timestamp{};
104 bool m_fieldsHasBeenSet = false;
105 bool m_nodeNameHasBeenSet = false;
106 bool m_timestampHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace BedrockAgentRuntime
111} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API NodeInputEvent()=default
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< NodeInputField > & GetFields() const
NodeInputEvent & WithFields(FieldsT &&value)
const Aws::Utils::DateTime & GetTimestamp() const
NodeInputEvent & AddFields(FieldsT &&value)
NodeInputEvent & WithNodeName(NodeNameT &&value)
AWS_BEDROCKAGENTRUNTIME_API NodeInputEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API NodeInputEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
NodeInputEvent & WithTimestamp(TimestampT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue