7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace BedrockAgentRuntime
49 inline void SetFailureReason(
const char* value) { m_failureReasonHasBeenSet =
true; m_failureReason.assign(value); }
63 inline void SetTraceId(
const char* value) { m_traceIdHasBeenSet =
true; m_traceId.assign(value); }
71 bool m_failureReasonHasBeenSet =
false;
74 bool m_traceIdHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API FailureTrace & operator=(Aws::Utils::Json::JsonView jsonValue)
FailureTrace & WithFailureReason(const char *value)
void SetFailureReason(const Aws::String &value)
void SetTraceId(const Aws::String &value)
AWS_BEDROCKAGENTRUNTIME_API FailureTrace(Aws::Utils::Json::JsonView jsonValue)
FailureTrace & WithTraceId(const char *value)
const Aws::String & GetFailureReason() const
bool TraceIdHasBeenSet() const
void SetTraceId(const char *value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
FailureTrace & WithFailureReason(const Aws::String &value)
bool FailureReasonHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API FailureTrace()
void SetFailureReason(const char *value)
FailureTrace & WithFailureReason(Aws::String &&value)
FailureTrace & WithTraceId(Aws::String &&value)
void SetTraceId(Aws::String &&value)
const Aws::String & GetTraceId() const
void SetFailureReason(Aws::String &&value)
FailureTrace & WithTraceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue