7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/FlowErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
23namespace BedrockAgentRuntime
60 template<
typename ErrorMessageT = Aws::String>
61 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
62 template<
typename ErrorMessageT = Aws::String>
72 template<
typename TimestampT = Aws::Utils::DateTime>
73 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
74 template<
typename TimestampT = Aws::Utils::DateTime>
80 bool m_errorCodeHasBeenSet =
false;
83 bool m_errorMessageHasBeenSet =
false;
86 bool m_timestampHasBeenSet =
false;
const Aws::Utils::DateTime & GetTimestamp() const
FlowFailureEvent & WithErrorCode(FlowErrorCode value)
FlowFailureEvent & WithErrorMessage(ErrorMessageT &&value)
void SetTimestamp(TimestampT &&value)
FlowErrorCode GetErrorCode() const
FlowFailureEvent & WithTimestamp(TimestampT &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowFailureEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ErrorCodeHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API FlowFailureEvent(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorMessage() const
void SetErrorCode(FlowErrorCode value)
AWS_BEDROCKAGENTRUNTIME_API FlowFailureEvent()=default
bool TimestampHasBeenSet() const
bool ErrorMessageHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorMessage(ErrorMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue