7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AgenticRetrieveResponseEvent.h>
9#include <aws/bedrock-agent-runtime/model/AgenticRetrieveResultEvent.h>
10#include <aws/bedrock-agent-runtime/model/AgenticRetrieveTraceEvent.h>
11#include <aws/bedrock-agent-runtime/model/BadGatewayException.h>
12#include <aws/bedrock-agent-runtime/model/DependencyFailedException.h>
13#include <aws/bedrock-agent-runtime/model/InternalServerException.h>
24namespace BedrockAgentRuntime {
46 template <
typename AccessDeniedExceptionT = BedrockAgentRuntimeError>
48 m_accessDeniedExceptionHasBeenSet =
true;
49 m_accessDeniedException = std::forward<AccessDeniedExceptionT>(value);
51 template <
typename AccessDeniedExceptionT = BedrockAgentRuntimeError>
64 template <
typename BadGatewayExceptionT = BadGatewayException>
66 m_badGatewayExceptionHasBeenSet =
true;
67 m_badGatewayException = std::forward<BadGatewayExceptionT>(value);
69 template <
typename BadGatewayExceptionT = BadGatewayException>
82 template <
typename ConflictExceptionT = BedrockAgentRuntimeError>
84 m_conflictExceptionHasBeenSet =
true;
85 m_conflictException = std::forward<ConflictExceptionT>(value);
87 template <
typename ConflictExceptionT = BedrockAgentRuntimeError>
100 template <
typename DependencyFailedExceptionT = DependencyFailedException>
102 m_dependencyFailedExceptionHasBeenSet =
true;
103 m_dependencyFailedException = std::forward<DependencyFailedExceptionT>(value);
105 template <
typename DependencyFailedExceptionT = DependencyFailedException>
118 template <
typename InternalServerExceptionT = InternalServerException>
120 m_internalServerExceptionHasBeenSet =
true;
121 m_internalServerException = std::forward<InternalServerExceptionT>(value);
123 template <
typename InternalServerExceptionT = InternalServerException>
136 template <
typename ResourceNotFoundExceptionT = BedrockAgentRuntimeError>
138 m_resourceNotFoundExceptionHasBeenSet =
true;
139 m_resourceNotFoundException = std::forward<ResourceNotFoundExceptionT>(value);
141 template <
typename ResourceNotFoundExceptionT = BedrockAgentRuntimeError>
155 template <
typename ResponseEventT = AgenticRetrieveResponseEvent>
157 m_responseEventHasBeenSet =
true;
158 m_responseEvent = std::forward<ResponseEventT>(value);
160 template <
typename ResponseEventT = AgenticRetrieveResponseEvent>
173 template <
typename ResultT = AgenticRetrieveResultEvent>
175 m_resultHasBeenSet =
true;
176 m_result = std::forward<ResultT>(value);
178 template <
typename ResultT = AgenticRetrieveResultEvent>
191 template <
typename ServiceQuotaExceededExceptionT = BedrockAgentRuntimeError>
193 m_serviceQuotaExceededExceptionHasBeenSet =
true;
194 m_serviceQuotaExceededException = std::forward<ServiceQuotaExceededExceptionT>(value);
196 template <
typename ServiceQuotaExceededExceptionT = BedrockAgentRuntimeError>
209 template <
typename ThrottlingExceptionT = BedrockAgentRuntimeError>
211 m_throttlingExceptionHasBeenSet =
true;
212 m_throttlingException = std::forward<ThrottlingExceptionT>(value);
214 template <
typename ThrottlingExceptionT = BedrockAgentRuntimeError>
227 template <
typename TraceEventT = AgenticRetrieveTraceEvent>
229 m_traceEventHasBeenSet =
true;
230 m_traceEvent = std::forward<TraceEventT>(value);
232 template <
typename TraceEventT = AgenticRetrieveTraceEvent>
245 template <
typename Val
idationExceptionT = BedrockAgentRuntimeError>
247 m_validationExceptionHasBeenSet =
true;
248 m_validationException = std::forward<ValidationExceptionT>(value);
250 template <
typename Val
idationExceptionT = BedrockAgentRuntimeError>
280 bool m_accessDeniedExceptionHasBeenSet =
false;
281 bool m_badGatewayExceptionHasBeenSet =
false;
282 bool m_conflictExceptionHasBeenSet =
false;
283 bool m_dependencyFailedExceptionHasBeenSet =
false;
284 bool m_internalServerExceptionHasBeenSet =
false;
285 bool m_resourceNotFoundExceptionHasBeenSet =
false;
286 bool m_responseEventHasBeenSet =
false;
287 bool m_resultHasBeenSet =
false;
288 bool m_serviceQuotaExceededExceptionHasBeenSet =
false;
289 bool m_throttlingExceptionHasBeenSet =
false;
290 bool m_traceEventHasBeenSet =
false;
291 bool m_validationExceptionHasBeenSet =
false;
bool ConflictExceptionHasBeenSet() const
void SetBadGatewayException(BadGatewayExceptionT &&value)
AgenticRetrieveStreamResponseOutput & WithBadGatewayException(BadGatewayExceptionT &&value)
void SetResourceNotFoundException(ResourceNotFoundExceptionT &&value)
bool TraceEventHasBeenSet() const
void SetServiceQuotaExceededException(ServiceQuotaExceededExceptionT &&value)
bool ThrottlingExceptionHasBeenSet() const
AgenticRetrieveStreamResponseOutput & WithInternalServerException(InternalServerExceptionT &&value)
bool AccessDeniedExceptionHasBeenSet() const
AgenticRetrieveStreamResponseOutput & WithServiceQuotaExceededException(ServiceQuotaExceededExceptionT &&value)
const BedrockAgentRuntimeError & GetAccessDeniedException() const
bool ResponseEventHasBeenSet() const
const BedrockAgentRuntimeError & GetThrottlingException() const
AgenticRetrieveStreamResponseOutput & WithResult(ResultT &&value)
AgenticRetrieveStreamResponseOutput & WithAccessDeniedException(AccessDeniedExceptionT &&value)
void SetThrottlingException(ThrottlingExceptionT &&value)
void SetResponseEvent(ResponseEventT &&value)
AgenticRetrieveStreamResponseOutput & WithValidationException(ValidationExceptionT &&value)
const AgenticRetrieveResponseEvent & GetResponseEvent() const
bool BadGatewayExceptionHasBeenSet() const
const BedrockAgentRuntimeError & GetServiceQuotaExceededException() const
AgenticRetrieveStreamResponseOutput & WithResourceNotFoundException(ResourceNotFoundExceptionT &&value)
const BadGatewayException & GetBadGatewayException() const
void SetTraceEvent(TraceEventT &&value)
void SetResult(ResultT &&value)
bool ResultHasBeenSet() const
void SetAccessDeniedException(AccessDeniedExceptionT &&value)
void SetInternalServerException(InternalServerExceptionT &&value)
const DependencyFailedException & GetDependencyFailedException() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AgenticRetrieveStreamResponseOutput & WithThrottlingException(ThrottlingExceptionT &&value)
const InternalServerException & GetInternalServerException() const
bool ValidationExceptionHasBeenSet() const
const AgenticRetrieveResultEvent & GetResult() const
bool InternalServerExceptionHasBeenSet() const
void SetConflictException(ConflictExceptionT &&value)
bool DependencyFailedExceptionHasBeenSet() const
const BedrockAgentRuntimeError & GetConflictException() const
bool ServiceQuotaExceededExceptionHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveStreamResponseOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
const AgenticRetrieveTraceEvent & GetTraceEvent() const
void SetDependencyFailedException(DependencyFailedExceptionT &&value)
void SetValidationException(ValidationExceptionT &&value)
AgenticRetrieveStreamResponseOutput & WithDependencyFailedException(DependencyFailedExceptionT &&value)
AgenticRetrieveStreamResponseOutput & WithResponseEvent(ResponseEventT &&value)
bool ResourceNotFoundExceptionHasBeenSet() const
const BedrockAgentRuntimeError & GetValidationException() const
const BedrockAgentRuntimeError & GetResourceNotFoundException() const
AgenticRetrieveStreamResponseOutput & WithTraceEvent(TraceEventT &&value)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveStreamResponseOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveStreamResponseOutput()=default
AgenticRetrieveStreamResponseOutput & WithConflictException(ConflictExceptionT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue