7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/FlowExecutionErrorType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace BedrockAgentRuntime {
44 m_errorHasBeenSet =
true;
59 template <
typename MessageT = Aws::String>
61 m_messageHasBeenSet =
true;
62 m_message = std::forward<MessageT>(value);
64 template <
typename MessageT = Aws::String>
78 template <
typename NodeNameT = Aws::String>
80 m_nodeNameHasBeenSet =
true;
81 m_nodeName = std::forward<NodeNameT>(value);
83 template <
typename NodeNameT = Aws::String>
95 bool m_errorHasBeenSet =
false;
96 bool m_messageHasBeenSet =
false;
97 bool m_nodeNameHasBeenSet =
false;
bool MessageHasBeenSet() const
const Aws::String & GetNodeName() const
bool NodeNameHasBeenSet() const
FlowExecutionError & WithMessage(MessageT &&value)
FlowExecutionError & WithError(FlowExecutionErrorType value)
void SetError(FlowExecutionErrorType value)
const Aws::String & GetMessage() const
void SetMessage(MessageT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API FlowExecutionError()=default
AWS_BEDROCKAGENTRUNTIME_API FlowExecutionError(Aws::Utils::Json::JsonView jsonValue)
bool ErrorHasBeenSet() const
FlowExecutionErrorType GetError() const
void SetNodeName(NodeNameT &&value)
FlowExecutionError & WithNodeName(NodeNameT &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowExecutionError & operator=(Aws::Utils::Json::JsonView jsonValue)
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