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/InlineAgentPayloadPart.h>
10#include <aws/bedrock-agent-runtime/model/DependencyFailedException.h>
11#include <aws/bedrock-agent-runtime/model/InlineAgentFilePart.h>
12#include <aws/bedrock-agent-runtime/model/InternalServerException.h>
13#include <aws/bedrock-agent-runtime/model/InlineAgentReturnControlPayload.h>
14#include <aws/bedrock-agent-runtime/model/InlineAgentTracePart.h>
27namespace BedrockAgentRuntime
54 template<
typename AccessDeniedExceptionT = BedrockAgentRuntimeError>
55 void SetAccessDeniedException(AccessDeniedExceptionT&& value) { m_accessDeniedExceptionHasBeenSet =
true; m_accessDeniedException = std::forward<AccessDeniedExceptionT>(value); }
56 template<
typename AccessDeniedExceptionT = BedrockAgentRuntimeError>
67 template<
typename BadGatewayExceptionT = BadGatewayException>
68 void SetBadGatewayException(BadGatewayExceptionT&& value) { m_badGatewayExceptionHasBeenSet =
true; m_badGatewayException = std::forward<BadGatewayExceptionT>(value); }
69 template<
typename BadGatewayExceptionT = BadGatewayException>
79 template<
typename ChunkT = InlineAgentPayloadPart>
80 void SetChunk(ChunkT&& value) { m_chunkHasBeenSet =
true; m_chunk = std::forward<ChunkT>(value); }
81 template<
typename ChunkT = InlineAgentPayloadPart>
92 template<
typename ConflictExceptionT = BedrockAgentRuntimeError>
93 void SetConflictException(ConflictExceptionT&& value) { m_conflictExceptionHasBeenSet =
true; m_conflictException = std::forward<ConflictExceptionT>(value); }
94 template<
typename ConflictExceptionT = BedrockAgentRuntimeError>
105 template<
typename DependencyFailedExceptionT = DependencyFailedException>
106 void SetDependencyFailedException(DependencyFailedExceptionT&& value) { m_dependencyFailedExceptionHasBeenSet =
true; m_dependencyFailedException = std::forward<DependencyFailedExceptionT>(value); }
107 template<
typename DependencyFailedExceptionT = DependencyFailedException>
118 template<
typename FilesT = InlineAgentFilePart>
119 void SetFiles(FilesT&& value) { m_filesHasBeenSet =
true; m_files = std::forward<FilesT>(value); }
120 template<
typename FilesT = InlineAgentFilePart>
130 template<
typename InternalServerExceptionT = InternalServerException>
131 void SetInternalServerException(InternalServerExceptionT&& value) { m_internalServerExceptionHasBeenSet =
true; m_internalServerException = std::forward<InternalServerExceptionT>(value); }
132 template<
typename InternalServerExceptionT = InternalServerException>
143 template<
typename ResourceNotFoundExceptionT = BedrockAgentRuntimeError>
144 void SetResourceNotFoundException(ResourceNotFoundExceptionT&& value) { m_resourceNotFoundExceptionHasBeenSet =
true; m_resourceNotFoundException = std::forward<ResourceNotFoundExceptionT>(value); }
145 template<
typename ResourceNotFoundExceptionT = BedrockAgentRuntimeError>
157 template<
typename ReturnControlT = InlineAgentReturnControlPayload>
158 void SetReturnControl(ReturnControlT&& value) { m_returnControlHasBeenSet =
true; m_returnControl = std::forward<ReturnControlT>(value); }
159 template<
typename ReturnControlT = InlineAgentReturnControlPayload>
170 template<
typename ServiceQuotaExceededExceptionT = BedrockAgentRuntimeError>
171 void SetServiceQuotaExceededException(ServiceQuotaExceededExceptionT&& value) { m_serviceQuotaExceededExceptionHasBeenSet =
true; m_serviceQuotaExceededException = std::forward<ServiceQuotaExceededExceptionT>(value); }
172 template<
typename ServiceQuotaExceededExceptionT = BedrockAgentRuntimeError>
182 template<
typename ThrottlingExceptionT = BedrockAgentRuntimeError>
183 void SetThrottlingException(ThrottlingExceptionT&& value) { m_throttlingExceptionHasBeenSet =
true; m_throttlingException = std::forward<ThrottlingExceptionT>(value); }
184 template<
typename ThrottlingExceptionT = BedrockAgentRuntimeError>
199 template<
typename TraceT = InlineAgentTracePart>
200 void SetTrace(TraceT&& value) { m_traceHasBeenSet =
true; m_trace = std::forward<TraceT>(value); }
201 template<
typename TraceT = InlineAgentTracePart>
212 template<
typename Val
idationExceptionT = BedrockAgentRuntimeError>
213 void SetValidationException(ValidationExceptionT&& value) { m_validationExceptionHasBeenSet =
true; m_validationException = std::forward<ValidationExceptionT>(value); }
214 template<
typename Val
idationExceptionT = BedrockAgentRuntimeError>
220 bool m_accessDeniedExceptionHasBeenSet =
false;
223 bool m_badGatewayExceptionHasBeenSet =
false;
226 bool m_chunkHasBeenSet =
false;
229 bool m_conflictExceptionHasBeenSet =
false;
232 bool m_dependencyFailedExceptionHasBeenSet =
false;
235 bool m_filesHasBeenSet =
false;
238 bool m_internalServerExceptionHasBeenSet =
false;
241 bool m_resourceNotFoundExceptionHasBeenSet =
false;
244 bool m_returnControlHasBeenSet =
false;
247 bool m_serviceQuotaExceededExceptionHasBeenSet =
false;
250 bool m_throttlingExceptionHasBeenSet =
false;
253 bool m_traceHasBeenSet =
false;
256 bool m_validationExceptionHasBeenSet =
false;
bool ReturnControlHasBeenSet() const
void SetAccessDeniedException(AccessDeniedExceptionT &&value)
const BedrockAgentRuntimeError & GetThrottlingException() const
bool ChunkHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API InlineAgentResponseStream()=default
void SetServiceQuotaExceededException(ServiceQuotaExceededExceptionT &&value)
const BedrockAgentRuntimeError & GetConflictException() const
bool FilesHasBeenSet() const
bool ServiceQuotaExceededExceptionHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API InlineAgentResponseStream(Aws::Utils::Json::JsonView jsonValue)
InlineAgentResponseStream & WithInternalServerException(InternalServerExceptionT &&value)
void SetReturnControl(ReturnControlT &&value)
bool ValidationExceptionHasBeenSet() const
InlineAgentResponseStream & WithReturnControl(ReturnControlT &&value)
InlineAgentResponseStream & WithConflictException(ConflictExceptionT &&value)
InlineAgentResponseStream & WithServiceQuotaExceededException(ServiceQuotaExceededExceptionT &&value)
InlineAgentResponseStream & WithBadGatewayException(BadGatewayExceptionT &&value)
const DependencyFailedException & GetDependencyFailedException() const
void SetBadGatewayException(BadGatewayExceptionT &&value)
InlineAgentResponseStream & WithAccessDeniedException(AccessDeniedExceptionT &&value)
const BedrockAgentRuntimeError & GetAccessDeniedException() const
void SetTrace(TraceT &&value)
AWS_BEDROCKAGENTRUNTIME_API InlineAgentResponseStream & operator=(Aws::Utils::Json::JsonView jsonValue)
bool InternalServerExceptionHasBeenSet() const
bool ResourceNotFoundExceptionHasBeenSet() const
const InlineAgentTracePart & GetTrace() const
const InlineAgentReturnControlPayload & GetReturnControl() const
const InlineAgentPayloadPart & GetChunk() const
const InternalServerException & GetInternalServerException() const
void SetChunk(ChunkT &&value)
const InlineAgentFilePart & GetFiles() const
void SetInternalServerException(InternalServerExceptionT &&value)
bool AccessDeniedExceptionHasBeenSet() const
const BadGatewayException & GetBadGatewayException() const
InlineAgentResponseStream & WithTrace(TraceT &&value)
InlineAgentResponseStream & WithValidationException(ValidationExceptionT &&value)
InlineAgentResponseStream & WithThrottlingException(ThrottlingExceptionT &&value)
bool ThrottlingExceptionHasBeenSet() const
void SetThrottlingException(ThrottlingExceptionT &&value)
bool TraceHasBeenSet() const
const BedrockAgentRuntimeError & GetValidationException() const
const BedrockAgentRuntimeError & GetResourceNotFoundException() const
void SetConflictException(ConflictExceptionT &&value)
bool DependencyFailedExceptionHasBeenSet() const
void SetDependencyFailedException(DependencyFailedExceptionT &&value)
void SetFiles(FilesT &&value)
bool BadGatewayExceptionHasBeenSet() const
InlineAgentResponseStream & WithChunk(ChunkT &&value)
InlineAgentResponseStream & WithFiles(FilesT &&value)
InlineAgentResponseStream & WithResourceNotFoundException(ResourceNotFoundExceptionT &&value)
void SetResourceNotFoundException(ResourceNotFoundExceptionT &&value)
void SetValidationException(ValidationExceptionT &&value)
const BedrockAgentRuntimeError & GetServiceQuotaExceededException() const
InlineAgentResponseStream & WithDependencyFailedException(DependencyFailedExceptionT &&value)
bool ConflictExceptionHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue