7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AgenticRetrieveAction.h>
9#include <aws/bedrock-agent-runtime/model/AgenticRetrieveFailure.h>
10#include <aws/bedrock-agent-runtime/model/AgenticRetrieveSourceMetadata.h>
11#include <aws/bedrock-agent-runtime/model/AgenticRetrieveStatus.h>
12#include <aws/bedrock-agent-runtime/model/AgenticRetrieveStep.h>
13#include <aws/bedrock-agent-runtime/model/AgenticRetrieveTraceResultItem.h>
14#include <aws/bedrock-agent-runtime/model/AgenticRetrieveWarning.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
27namespace BedrockAgentRuntime {
49 template <
typename ActionsT = Aws::Vector<AgenticRetrieveAction>>
51 m_actionsHasBeenSet =
true;
52 m_actions = std::forward<ActionsT>(value);
54 template <
typename ActionsT = Aws::Vector<AgenticRetrieveAction>>
59 template <
typename ActionsT = AgenticRetrieveAction>
61 m_actionsHasBeenSet =
true;
62 m_actions.emplace_back(std::forward<ActionsT>(value));
73 template <
typename FailuresT = Aws::Vector<AgenticRetrieveFailure>>
75 m_failuresHasBeenSet =
true;
76 m_failures = std::forward<FailuresT>(value);
78 template <
typename FailuresT = Aws::Vector<AgenticRetrieveFailure>>
83 template <
typename FailuresT = AgenticRetrieveFailure>
85 m_failuresHasBeenSet =
true;
86 m_failures.emplace_back(std::forward<FailuresT>(value));
97 template <
typename MessageT = Aws::String>
99 m_messageHasBeenSet =
true;
100 m_message = std::forward<MessageT>(value);
102 template <
typename MessageT = Aws::String>
115 template <
typename RetrievalMetadataT = Aws::Vector<AgenticRetrieveSourceMetadata>>
117 m_retrievalMetadataHasBeenSet =
true;
118 m_retrievalMetadata = std::forward<RetrievalMetadataT>(value);
120 template <
typename RetrievalMetadataT = Aws::Vector<AgenticRetrieveSourceMetadata>>
125 template <
typename RetrievalMetadataT = AgenticRetrieveSourceMetadata>
127 m_retrievalMetadataHasBeenSet =
true;
128 m_retrievalMetadata.emplace_back(std::forward<RetrievalMetadataT>(value));
139 template <
typename RetrievalResponseT = Aws::Vector<AgenticRetrieveTraceResultItem>>
141 m_retrievalResponseHasBeenSet =
true;
142 m_retrievalResponse = std::forward<RetrievalResponseT>(value);
144 template <
typename RetrievalResponseT = Aws::Vector<AgenticRetrieveTraceResultItem>>
149 template <
typename RetrievalResponseT = AgenticRetrieveTraceResultItem>
151 m_retrievalResponseHasBeenSet =
true;
152 m_retrievalResponse.emplace_back(std::forward<RetrievalResponseT>(value));
164 m_statusHasBeenSet =
true;
180 m_stepHasBeenSet =
true;
195 template <
typename WarningsT = Aws::Vector<AgenticRetrieveWarning>>
197 m_warningsHasBeenSet =
true;
198 m_warnings = std::forward<WarningsT>(value);
200 template <
typename WarningsT = Aws::Vector<AgenticRetrieveWarning>>
205 template <
typename WarningsT = AgenticRetrieveWarning>
207 m_warningsHasBeenSet =
true;
208 m_warnings.emplace_back(std::forward<WarningsT>(value));
228 bool m_actionsHasBeenSet =
false;
229 bool m_failuresHasBeenSet =
false;
230 bool m_messageHasBeenSet =
false;
231 bool m_retrievalMetadataHasBeenSet =
false;
232 bool m_retrievalResponseHasBeenSet =
false;
233 bool m_statusHasBeenSet =
false;
234 bool m_stepHasBeenSet =
false;
235 bool m_warningsHasBeenSet =
false;
void SetMessage(MessageT &&value)
bool MessageHasBeenSet() const
void SetStatus(AgenticRetrieveStatus value)
AgenticRetrieveTraceEventAttributes & WithStep(AgenticRetrieveStep value)
const Aws::Vector< AgenticRetrieveTraceResultItem > & GetRetrievalResponse() const
bool RetrievalResponseHasBeenSet() const
AgenticRetrieveTraceEventAttributes & WithMessage(MessageT &&value)
void SetFailures(FailuresT &&value)
void SetActions(ActionsT &&value)
bool RetrievalMetadataHasBeenSet() const
AgenticRetrieveTraceEventAttributes & WithRetrievalResponse(RetrievalResponseT &&value)
AgenticRetrieveTraceEventAttributes & AddRetrievalResponse(RetrievalResponseT &&value)
AgenticRetrieveTraceEventAttributes & WithRetrievalMetadata(RetrievalMetadataT &&value)
AgenticRetrieveTraceEventAttributes & AddWarnings(WarningsT &&value)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveTraceEventAttributes(Aws::Utils::Json::JsonView jsonValue)
void SetRetrievalResponse(RetrievalResponseT &&value)
const Aws::Vector< AgenticRetrieveFailure > & GetFailures() const
AgenticRetrieveTraceEventAttributes & WithFailures(FailuresT &&value)
bool ActionsHasBeenSet() const
AgenticRetrieveTraceEventAttributes & WithWarnings(WarningsT &&value)
bool StepHasBeenSet() const
void SetRetrievalMetadata(RetrievalMetadataT &&value)
void SetStep(AgenticRetrieveStep value)
const Aws::String & GetMessage() const
AgenticRetrieveStep GetStep() const
const Aws::Vector< AgenticRetrieveSourceMetadata > & GetRetrievalMetadata() const
const Aws::Vector< AgenticRetrieveWarning > & GetWarnings() const
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveTraceEventAttributes()=default
const Aws::Vector< AgenticRetrieveAction > & GetActions() const
AgenticRetrieveTraceEventAttributes & AddFailures(FailuresT &&value)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveTraceEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
void SetWarnings(WarningsT &&value)
AgenticRetrieveTraceEventAttributes & WithActions(ActionsT &&value)
bool WarningsHasBeenSet() const
AgenticRetrieveTraceEventAttributes & AddActions(ActionsT &&value)
AgenticRetrieveTraceEventAttributes & WithStatus(AgenticRetrieveStatus value)
bool FailuresHasBeenSet() const
AgenticRetrieveStatus GetStatus() const
AgenticRetrieveTraceEventAttributes & AddRetrievalMetadata(RetrievalMetadataT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
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