7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/CustomOrchestrationTraceEvent.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace BedrockAgentRuntime {
42 template <
typename EventT = CustomOrchestrationTraceEvent>
44 m_eventHasBeenSet =
true;
45 m_event = std::forward<EventT>(value);
47 template <
typename EventT = CustomOrchestrationTraceEvent>
49 SetEvent(std::forward<EventT>(value));
60 template <
typename TraceIdT = Aws::String>
62 m_traceIdHasBeenSet =
true;
63 m_traceId = std::forward<TraceIdT>(value);
65 template <
typename TraceIdT = Aws::String>
75 bool m_eventHasBeenSet =
false;
76 bool m_traceIdHasBeenSet =
false;
CustomOrchestrationTrace & WithEvent(EventT &&value)
AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTrace()=default
const CustomOrchestrationTraceEvent & GetEvent() const
const Aws::String & GetTraceId() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool EventHasBeenSet() const
void SetEvent(EventT &&value)
AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTrace & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTrace(Aws::Utils::Json::JsonView jsonValue)
CustomOrchestrationTrace & WithTraceId(TraceIdT &&value)
void SetTraceId(TraceIdT &&value)
bool TraceIdHasBeenSet() const
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