7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/Caller.h>
9#include <aws/bedrock-agent-runtime/model/Trace.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace BedrockAgentRuntime {
50 template <
typename CallerChainT = Aws::Vector<Caller>>
52 m_callerChainHasBeenSet =
true;
53 m_callerChain = std::forward<CallerChainT>(value);
55 template <
typename CallerChainT = Aws::Vector<Caller>>
60 template <
typename CallerChainT = Caller>
62 m_callerChainHasBeenSet =
true;
63 m_callerChain.emplace_back(std::forward<CallerChainT>(value));
74 template <
typename CollaboratorNameT = Aws::String>
76 m_collaboratorNameHasBeenSet =
true;
77 m_collaboratorName = std::forward<CollaboratorNameT>(value);
79 template <
typename CollaboratorNameT = Aws::String>
92 template <
typename EventTimeT = Aws::Utils::DateTime>
94 m_eventTimeHasBeenSet =
true;
95 m_eventTime = std::forward<EventTimeT>(value);
97 template <
typename EventTimeT = Aws::Utils::DateTime>
110 template <
typename SessionIdT = Aws::String>
112 m_sessionIdHasBeenSet =
true;
113 m_sessionId = std::forward<SessionIdT>(value);
115 template <
typename SessionIdT = Aws::String>
133 template <
typename TraceT = Trace>
135 m_traceHasBeenSet =
true;
136 m_trace = std::forward<TraceT>(value);
138 template <
typename TraceT = Trace>
140 SetTrace(std::forward<TraceT>(value));
154 bool m_callerChainHasBeenSet =
false;
155 bool m_collaboratorNameHasBeenSet =
false;
156 bool m_eventTimeHasBeenSet =
false;
157 bool m_sessionIdHasBeenSet =
false;
158 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue