7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 AgentAliasIdT = Aws::String>
57 void SetAgentAliasId(AgentAliasIdT&& value) { m_agentAliasIdHasBeenSet =
true; m_agentAliasId = std::forward<AgentAliasIdT>(value); }
58 template<
typename AgentAliasIdT = Aws::String>
68 template<
typename AgentIdT = Aws::String>
69 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet =
true; m_agentId = std::forward<AgentIdT>(value); }
70 template<
typename AgentIdT = Aws::String>
80 template<
typename AgentVersionT = Aws::String>
81 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet =
true; m_agentVersion = std::forward<AgentVersionT>(value); }
82 template<
typename AgentVersionT = Aws::String>
92 template<
typename CallerChainT = Aws::Vector<Caller>>
93 void SetCallerChain(CallerChainT&& value) { m_callerChainHasBeenSet =
true; m_callerChain = std::forward<CallerChainT>(value); }
94 template<
typename CallerChainT = Aws::Vector<Caller>>
96 template<
typename CallerChainT = Caller>
97 TracePart&
AddCallerChain(CallerChainT&& value) { m_callerChainHasBeenSet =
true; m_callerChain.emplace_back(std::forward<CallerChainT>(value));
return *
this; }
106 template<
typename CollaboratorNameT = Aws::String>
107 void SetCollaboratorName(CollaboratorNameT&& value) { m_collaboratorNameHasBeenSet =
true; m_collaboratorName = std::forward<CollaboratorNameT>(value); }
108 template<
typename CollaboratorNameT = Aws::String>
118 template<
typename EventTimeT = Aws::Utils::DateTime>
119 void SetEventTime(EventTimeT&& value) { m_eventTimeHasBeenSet =
true; m_eventTime = std::forward<EventTimeT>(value); }
120 template<
typename EventTimeT = Aws::Utils::DateTime>
130 template<
typename SessionIdT = Aws::String>
131 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet =
true; m_sessionId = std::forward<SessionIdT>(value); }
132 template<
typename SessionIdT = Aws::String>
147 template<
typename TraceT = Trace>
148 void SetTrace(TraceT&& value) { m_traceHasBeenSet =
true; m_trace = std::forward<TraceT>(value); }
149 template<
typename TraceT = Trace>
155 bool m_agentAliasIdHasBeenSet =
false;
158 bool m_agentIdHasBeenSet =
false;
161 bool m_agentVersionHasBeenSet =
false;
164 bool m_callerChainHasBeenSet =
false;
167 bool m_collaboratorNameHasBeenSet =
false;
170 bool m_eventTimeHasBeenSet =
false;
173 bool m_sessionIdHasBeenSet =
false;
176 bool m_traceHasBeenSet =
false;
bool SessionIdHasBeenSet() const
const Aws::String & GetAgentAliasId() const
TracePart & WithCollaboratorName(CollaboratorNameT &&value)
bool AgentAliasIdHasBeenSet() const
const Aws::Vector< Caller > & GetCallerChain() const
const Aws::String & GetSessionId() const
const Aws::Utils::DateTime & GetEventTime() const
const Aws::String & GetAgentVersion() const
void SetTrace(TraceT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSessionId(SessionIdT &&value)
void SetAgentAliasId(AgentAliasIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API TracePart & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EventTimeHasBeenSet() const
bool CallerChainHasBeenSet() const
TracePart & WithTrace(TraceT &&value)
void SetAgentId(AgentIdT &&value)
void SetEventTime(EventTimeT &&value)
TracePart & AddCallerChain(CallerChainT &&value)
bool AgentIdHasBeenSet() const
bool TraceHasBeenSet() const
bool AgentVersionHasBeenSet() const
TracePart & WithEventTime(EventTimeT &&value)
AWS_BEDROCKAGENTRUNTIME_API TracePart(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCollaboratorName() const
void SetCollaboratorName(CollaboratorNameT &&value)
TracePart & WithSessionId(SessionIdT &&value)
TracePart & WithAgentAliasId(AgentAliasIdT &&value)
void SetCallerChain(CallerChainT &&value)
TracePart & WithAgentId(AgentIdT &&value)
const Aws::String & GetAgentId() const
void SetAgentVersion(AgentVersionT &&value)
AWS_BEDROCKAGENTRUNTIME_API TracePart()=default
bool CollaboratorNameHasBeenSet() const
const Trace & GetTrace() const
TracePart & WithAgentVersion(AgentVersionT &&value)
TracePart & WithCallerChain(CallerChainT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue