7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/BadGatewayException.h>
9#include <aws/bedrock-agent-runtime/model/DependencyFailedException.h>
10#include <aws/bedrock-agent-runtime/model/FlowCompletionEvent.h>
11#include <aws/bedrock-agent-runtime/model/FlowMultiTurnInputRequestEvent.h>
12#include <aws/bedrock-agent-runtime/model/FlowOutputEvent.h>
13#include <aws/bedrock-agent-runtime/model/FlowTraceEvent.h>
14#include <aws/bedrock-agent-runtime/model/InternalServerException.h>
27namespace BedrockAgentRuntime
53 template<
typename AccessDeniedExceptionT = BedrockAgentRuntimeError>
54 void SetAccessDeniedException(AccessDeniedExceptionT&& value) { m_accessDeniedExceptionHasBeenSet =
true; m_accessDeniedException = std::forward<AccessDeniedExceptionT>(value); }
55 template<
typename AccessDeniedExceptionT = BedrockAgentRuntimeError>
66 template<
typename BadGatewayExceptionT = BadGatewayException>
67 void SetBadGatewayException(BadGatewayExceptionT&& value) { m_badGatewayExceptionHasBeenSet =
true; m_badGatewayException = std::forward<BadGatewayExceptionT>(value); }
68 template<
typename BadGatewayExceptionT = BadGatewayException>
79 template<
typename ConflictExceptionT = BedrockAgentRuntimeError>
80 void SetConflictException(ConflictExceptionT&& value) { m_conflictExceptionHasBeenSet =
true; m_conflictException = std::forward<ConflictExceptionT>(value); }
81 template<
typename ConflictExceptionT = BedrockAgentRuntimeError>
92 template<
typename DependencyFailedExceptionT = DependencyFailedException>
93 void SetDependencyFailedException(DependencyFailedExceptionT&& value) { m_dependencyFailedExceptionHasBeenSet =
true; m_dependencyFailedException = std::forward<DependencyFailedExceptionT>(value); }
94 template<
typename DependencyFailedExceptionT = DependencyFailedException>
104 template<
typename FlowCompletionEventT = FlowCompletionEvent>
105 void SetFlowCompletionEvent(FlowCompletionEventT&& value) { m_flowCompletionEventHasBeenSet =
true; m_flowCompletionEvent = std::forward<FlowCompletionEventT>(value); }
106 template<
typename FlowCompletionEventT = FlowCompletionEvent>
117 template<
typename FlowMultiTurnInputRequestEventT = FlowMultiTurnInputRequestEvent>
118 void SetFlowMultiTurnInputRequestEvent(FlowMultiTurnInputRequestEventT&& value) { m_flowMultiTurnInputRequestEventHasBeenSet =
true; m_flowMultiTurnInputRequestEvent = std::forward<FlowMultiTurnInputRequestEventT>(value); }
119 template<
typename FlowMultiTurnInputRequestEventT = FlowMultiTurnInputRequestEvent>
129 template<
typename FlowOutputEventT = FlowOutputEvent>
130 void SetFlowOutputEvent(FlowOutputEventT&& value) { m_flowOutputEventHasBeenSet =
true; m_flowOutputEvent = std::forward<FlowOutputEventT>(value); }
131 template<
typename FlowOutputEventT = FlowOutputEvent>
142 template<
typename FlowTraceEventT = FlowTraceEvent>
143 void SetFlowTraceEvent(FlowTraceEventT&& value) { m_flowTraceEventHasBeenSet =
true; m_flowTraceEvent = std::forward<FlowTraceEventT>(value); }
144 template<
typename FlowTraceEventT = FlowTraceEvent>
154 template<
typename InternalServerExceptionT = InternalServerException>
155 void SetInternalServerException(InternalServerExceptionT&& value) { m_internalServerExceptionHasBeenSet =
true; m_internalServerException = std::forward<InternalServerExceptionT>(value); }
156 template<
typename InternalServerExceptionT = InternalServerException>
167 template<
typename ResourceNotFoundExceptionT = BedrockAgentRuntimeError>
168 void SetResourceNotFoundException(ResourceNotFoundExceptionT&& value) { m_resourceNotFoundExceptionHasBeenSet =
true; m_resourceNotFoundException = std::forward<ResourceNotFoundExceptionT>(value); }
169 template<
typename ResourceNotFoundExceptionT = BedrockAgentRuntimeError>
180 template<
typename ServiceQuotaExceededExceptionT = BedrockAgentRuntimeError>
181 void SetServiceQuotaExceededException(ServiceQuotaExceededExceptionT&& value) { m_serviceQuotaExceededExceptionHasBeenSet =
true; m_serviceQuotaExceededException = std::forward<ServiceQuotaExceededExceptionT>(value); }
182 template<
typename ServiceQuotaExceededExceptionT = BedrockAgentRuntimeError>
192 template<
typename ThrottlingExceptionT = BedrockAgentRuntimeError>
193 void SetThrottlingException(ThrottlingExceptionT&& value) { m_throttlingExceptionHasBeenSet =
true; m_throttlingException = std::forward<ThrottlingExceptionT>(value); }
194 template<
typename ThrottlingExceptionT = BedrockAgentRuntimeError>
205 template<
typename Val
idationExceptionT = BedrockAgentRuntimeError>
206 void SetValidationException(ValidationExceptionT&& value) { m_validationExceptionHasBeenSet =
true; m_validationException = std::forward<ValidationExceptionT>(value); }
207 template<
typename Val
idationExceptionT = BedrockAgentRuntimeError>
213 bool m_accessDeniedExceptionHasBeenSet =
false;
216 bool m_badGatewayExceptionHasBeenSet =
false;
219 bool m_conflictExceptionHasBeenSet =
false;
222 bool m_dependencyFailedExceptionHasBeenSet =
false;
225 bool m_flowCompletionEventHasBeenSet =
false;
228 bool m_flowMultiTurnInputRequestEventHasBeenSet =
false;
231 bool m_flowOutputEventHasBeenSet =
false;
234 bool m_flowTraceEventHasBeenSet =
false;
237 bool m_internalServerExceptionHasBeenSet =
false;
240 bool m_resourceNotFoundExceptionHasBeenSet =
false;
243 bool m_serviceQuotaExceededExceptionHasBeenSet =
false;
246 bool m_throttlingExceptionHasBeenSet =
false;
249 bool m_validationExceptionHasBeenSet =
false;
void SetAccessDeniedException(AccessDeniedExceptionT &&value)
bool DependencyFailedExceptionHasBeenSet() const
const BedrockAgentRuntimeError & GetThrottlingException() const
void SetBadGatewayException(BadGatewayExceptionT &&value)
FlowResponseStream & WithAccessDeniedException(AccessDeniedExceptionT &&value)
FlowResponseStream & WithServiceQuotaExceededException(ServiceQuotaExceededExceptionT &&value)
void SetFlowTraceEvent(FlowTraceEventT &&value)
const InternalServerException & GetInternalServerException() const
bool FlowTraceEventHasBeenSet() const
void SetFlowCompletionEvent(FlowCompletionEventT &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowResponseStream & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ConflictExceptionHasBeenSet() const
bool FlowCompletionEventHasBeenSet() const
bool ServiceQuotaExceededExceptionHasBeenSet() const
bool FlowMultiTurnInputRequestEventHasBeenSet() const
bool AccessDeniedExceptionHasBeenSet() const
const BadGatewayException & GetBadGatewayException() const
const BedrockAgentRuntimeError & GetValidationException() const
FlowResponseStream & WithBadGatewayException(BadGatewayExceptionT &&value)
void SetThrottlingException(ThrottlingExceptionT &&value)
FlowResponseStream & WithFlowTraceEvent(FlowTraceEventT &&value)
bool InternalServerExceptionHasBeenSet() const
bool BadGatewayExceptionHasBeenSet() const
FlowResponseStream & WithValidationException(ValidationExceptionT &&value)
void SetConflictException(ConflictExceptionT &&value)
FlowResponseStream & WithResourceNotFoundException(ResourceNotFoundExceptionT &&value)
FlowResponseStream & WithFlowMultiTurnInputRequestEvent(FlowMultiTurnInputRequestEventT &&value)
const BedrockAgentRuntimeError & GetServiceQuotaExceededException() const
const FlowOutputEvent & GetFlowOutputEvent() const
void SetFlowMultiTurnInputRequestEvent(FlowMultiTurnInputRequestEventT &&value)
FlowResponseStream & WithConflictException(ConflictExceptionT &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowResponseStream()=default
bool ValidationExceptionHasBeenSet() const
bool FlowOutputEventHasBeenSet() const
const BedrockAgentRuntimeError & GetResourceNotFoundException() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
FlowResponseStream & WithThrottlingException(ThrottlingExceptionT &&value)
void SetFlowOutputEvent(FlowOutputEventT &&value)
const BedrockAgentRuntimeError & GetAccessDeniedException() const
void SetResourceNotFoundException(ResourceNotFoundExceptionT &&value)
const BedrockAgentRuntimeError & GetConflictException() const
bool ResourceNotFoundExceptionHasBeenSet() const
const FlowMultiTurnInputRequestEvent & GetFlowMultiTurnInputRequestEvent() const
bool ThrottlingExceptionHasBeenSet() const
const FlowCompletionEvent & GetFlowCompletionEvent() const
FlowResponseStream & WithInternalServerException(InternalServerExceptionT &&value)
void SetInternalServerException(InternalServerExceptionT &&value)
const FlowTraceEvent & GetFlowTraceEvent() const
void SetServiceQuotaExceededException(ServiceQuotaExceededExceptionT &&value)
void SetDependencyFailedException(DependencyFailedExceptionT &&value)
void SetValidationException(ValidationExceptionT &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowResponseStream(Aws::Utils::Json::JsonView jsonValue)
const DependencyFailedException & GetDependencyFailedException() const
FlowResponseStream & WithDependencyFailedException(DependencyFailedExceptionT &&value)
FlowResponseStream & WithFlowOutputEvent(FlowOutputEventT &&value)
FlowResponseStream & WithFlowCompletionEvent(FlowCompletionEventT &&value)
Aws::Utils::Json::JsonValue JsonValue