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>
22namespace BedrockAgentRuntime
59 template<
typename MessageT = Aws::String>
60 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
61 template<
typename MessageT = Aws::String>
72 template<
typename NodeNameT = Aws::String>
73 void SetNodeName(NodeNameT&& value) { m_nodeNameHasBeenSet =
true; m_nodeName = std::forward<NodeNameT>(value); }
74 template<
typename NodeNameT = Aws::String>
80 bool m_errorHasBeenSet =
false;
83 bool m_messageHasBeenSet =
false;
86 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue