7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/FlowErrorCode.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace BedrockAgentRuntime {
45 m_errorCodeHasBeenSet =
true;
60 template <
typename ErrorMessageT = Aws::String>
62 m_errorMessageHasBeenSet =
true;
63 m_errorMessage = std::forward<ErrorMessageT>(value);
65 template <
typename ErrorMessageT = Aws::String>
78 template <
typename TimestampT = Aws::Utils::DateTime>
80 m_timestampHasBeenSet =
true;
81 m_timestamp = std::forward<TimestampT>(value);
83 template <
typename TimestampT = Aws::Utils::DateTime>
95 bool m_errorCodeHasBeenSet =
false;
96 bool m_errorMessageHasBeenSet =
false;
97 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::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