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 AgentAliasIdT = Aws::String>
52 m_agentAliasIdHasBeenSet =
true;
53 m_agentAliasId = std::forward<AgentAliasIdT>(value);
55 template <
typename AgentAliasIdT = Aws::String>
68 template <
typename AgentIdT = Aws::String>
70 m_agentIdHasBeenSet =
true;
71 m_agentId = std::forward<AgentIdT>(value);
73 template <
typename AgentIdT = Aws::String>
86 template <
typename AgentVersionT = Aws::String>
88 m_agentVersionHasBeenSet =
true;
89 m_agentVersion = std::forward<AgentVersionT>(value);
91 template <
typename AgentVersionT = Aws::String>
104 template <
typename CallerChainT = Aws::Vector<Caller>>
106 m_callerChainHasBeenSet =
true;
107 m_callerChain = std::forward<CallerChainT>(value);
109 template <
typename CallerChainT = Aws::Vector<Caller>>
114 template <
typename CallerChainT = Caller>
116 m_callerChainHasBeenSet =
true;
117 m_callerChain.emplace_back(std::forward<CallerChainT>(value));
128 template <
typename CollaboratorNameT = Aws::String>
130 m_collaboratorNameHasBeenSet =
true;
131 m_collaboratorName = std::forward<CollaboratorNameT>(value);
133 template <
typename CollaboratorNameT = Aws::String>
146 template <
typename EventTimeT = Aws::Utils::DateTime>
148 m_eventTimeHasBeenSet =
true;
149 m_eventTime = std::forward<EventTimeT>(value);
151 template <
typename EventTimeT = Aws::Utils::DateTime>
164 template <
typename SessionIdT = Aws::String>
166 m_sessionIdHasBeenSet =
true;
167 m_sessionId = std::forward<SessionIdT>(value);
169 template <
typename SessionIdT = Aws::String>
187 template <
typename TraceT = Trace>
189 m_traceHasBeenSet =
true;
190 m_trace = std::forward<TraceT>(value);
192 template <
typename TraceT = Trace>
194 SetTrace(std::forward<TraceT>(value));
214 bool m_agentAliasIdHasBeenSet =
false;
215 bool m_agentIdHasBeenSet =
false;
216 bool m_agentVersionHasBeenSet =
false;
217 bool m_callerChainHasBeenSet =
false;
218 bool m_collaboratorNameHasBeenSet =
false;
219 bool m_eventTimeHasBeenSet =
false;
220 bool m_sessionIdHasBeenSet =
false;
221 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::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