7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/bedrock-agent-runtime/model/Trace.h>
12#include <aws/bedrock-agent-runtime/model/Caller.h>
25namespace BedrockAgentRuntime
56 template<
typename CallerChainT = Aws::Vector<Caller>>
57 void SetCallerChain(CallerChainT&& value) { m_callerChainHasBeenSet =
true; m_callerChain = std::forward<CallerChainT>(value); }
58 template<
typename CallerChainT = Aws::Vector<Caller>>
60 template<
typename CallerChainT = Caller>
70 template<
typename CollaboratorNameT = Aws::String>
71 void SetCollaboratorName(CollaboratorNameT&& value) { m_collaboratorNameHasBeenSet =
true; m_collaboratorName = std::forward<CollaboratorNameT>(value); }
72 template<
typename CollaboratorNameT = Aws::String>
82 template<
typename EventTimeT = Aws::Utils::DateTime>
83 void SetEventTime(EventTimeT&& value) { m_eventTimeHasBeenSet =
true; m_eventTime = std::forward<EventTimeT>(value); }
84 template<
typename EventTimeT = Aws::Utils::DateTime>
94 template<
typename SessionIdT = Aws::String>
95 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet =
true; m_sessionId = std::forward<SessionIdT>(value); }
96 template<
typename SessionIdT = Aws::String>
111 template<
typename TraceT = Trace>
112 void SetTrace(TraceT&& value) { m_traceHasBeenSet =
true; m_trace = std::forward<TraceT>(value); }
113 template<
typename TraceT = Trace>
119 bool m_callerChainHasBeenSet =
false;
122 bool m_collaboratorNameHasBeenSet =
false;
125 bool m_eventTimeHasBeenSet =
false;
128 bool m_sessionIdHasBeenSet =
false;
131 bool m_traceHasBeenSet =
false;
const Aws::Vector< Caller > & GetCallerChain() const
bool CallerChainHasBeenSet() const
InlineAgentTracePart & WithCollaboratorName(CollaboratorNameT &&value)
const Trace & GetTrace() const
bool EventTimeHasBeenSet() const
bool TraceHasBeenSet() const
void SetEventTime(EventTimeT &&value)
InlineAgentTracePart & WithCallerChain(CallerChainT &&value)
const Aws::String & GetCollaboratorName() const
bool CollaboratorNameHasBeenSet() const
InlineAgentTracePart & WithEventTime(EventTimeT &&value)
void SetCollaboratorName(CollaboratorNameT &&value)
const Aws::String & GetSessionId() const
InlineAgentTracePart & AddCallerChain(CallerChainT &&value)
void SetCallerChain(CallerChainT &&value)
InlineAgentTracePart & WithTrace(TraceT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API InlineAgentTracePart(Aws::Utils::Json::JsonView jsonValue)
bool SessionIdHasBeenSet() const
void SetTrace(TraceT &&value)
InlineAgentTracePart & WithSessionId(SessionIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API InlineAgentTracePart()=default
void SetSessionId(SessionIdT &&value)
const Aws::Utils::DateTime & GetEventTime() const
AWS_BEDROCKAGENTRUNTIME_API InlineAgentTracePart & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue