7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/NodeErrorCode.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace BedrockAgentRuntime {
46 m_errorCodeHasBeenSet =
true;
61 template <
typename ErrorMessageT = Aws::String>
63 m_errorMessageHasBeenSet =
true;
64 m_errorMessage = std::forward<ErrorMessageT>(value);
66 template <
typename ErrorMessageT = Aws::String>
79 template <
typename NodeNameT = Aws::String>
81 m_nodeNameHasBeenSet =
true;
82 m_nodeName = std::forward<NodeNameT>(value);
84 template <
typename NodeNameT = Aws::String>
97 template <
typename TimestampT = Aws::Utils::DateTime>
99 m_timestampHasBeenSet =
true;
100 m_timestamp = std::forward<TimestampT>(value);
102 template <
typename TimestampT = Aws::Utils::DateTime>
116 bool m_errorCodeHasBeenSet =
false;
117 bool m_errorMessageHasBeenSet =
false;
118 bool m_nodeNameHasBeenSet =
false;
119 bool m_timestampHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API NodeFailureEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
NodeFailureEvent & WithErrorCode(NodeErrorCode value)
bool TimestampHasBeenSet() const
const Aws::String & GetErrorMessage() const
NodeFailureEvent & WithErrorMessage(ErrorMessageT &&value)
void SetNodeName(NodeNameT &&value)
const Aws::Utils::DateTime & GetTimestamp() const
NodeFailureEvent & WithTimestamp(TimestampT &&value)
bool ErrorMessageHasBeenSet() const
void SetErrorCode(NodeErrorCode value)
bool NodeNameHasBeenSet() const
NodeFailureEvent & WithNodeName(NodeNameT &&value)
NodeErrorCode GetErrorCode() const
bool ErrorCodeHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API NodeFailureEvent()=default
AWS_BEDROCKAGENTRUNTIME_API NodeFailureEvent(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(ErrorMessageT &&value)
const Aws::String & GetNodeName() const
void SetTimestamp(TimestampT &&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