7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AccessDeniedException.h>
9#include <aws/bedrock-agent-runtime/model/BadGatewayException.h>
10#include <aws/bedrock-agent-runtime/model/PayloadPart.h>
11#include <aws/bedrock-agent-runtime/model/ConflictException.h>
12#include <aws/bedrock-agent-runtime/model/DependencyFailedException.h>
13#include <aws/bedrock-agent-runtime/model/FilePart.h>
14#include <aws/bedrock-agent-runtime/model/InternalServerException.h>
15#include <aws/bedrock-agent-runtime/model/ResourceNotFoundException.h>
16#include <aws/bedrock-agent-runtime/model/ReturnControlPayload.h>
17#include <aws/bedrock-agent-runtime/model/ServiceQuotaExceededException.h>
18#include <aws/bedrock-agent-runtime/model/ThrottlingException.h>
19#include <aws/bedrock-agent-runtime/model/TracePart.h>
20#include <aws/bedrock-agent-runtime/model/ValidationException.h>
33namespace BedrockAgentRuntime
60 inline void SetAccessDeniedException(
const AccessDeniedException& value) { m_accessDeniedExceptionHasBeenSet =
true; m_accessDeniedException = value; }
61 inline void SetAccessDeniedException(AccessDeniedException&& value) { m_accessDeniedExceptionHasBeenSet =
true; m_accessDeniedException = std::move(value); }
98 inline void SetConflictException(
const ConflictException& value) { m_conflictExceptionHasBeenSet =
true; m_conflictException = value; }
99 inline void SetConflictException(ConflictException&& value) { m_conflictExceptionHasBeenSet =
true; m_conflictException = std::move(value); }
125 inline void SetFiles(
FilePart&& value) { m_filesHasBeenSet =
true; m_files = std::move(value); }
136 inline void SetInternalServerException(
const InternalServerException& value) { m_internalServerExceptionHasBeenSet =
true; m_internalServerException = value; }
137 inline void SetInternalServerException(InternalServerException&& value) { m_internalServerExceptionHasBeenSet =
true; m_internalServerException = std::move(value); }
149 inline void SetResourceNotFoundException(
const ResourceNotFoundException& value) { m_resourceNotFoundExceptionHasBeenSet =
true; m_resourceNotFoundException = value; }
150 inline void SetResourceNotFoundException(ResourceNotFoundException&& value) { m_resourceNotFoundExceptionHasBeenSet =
true; m_resourceNotFoundException = std::move(value); }
176 inline void SetServiceQuotaExceededException(
const ServiceQuotaExceededException& value) { m_serviceQuotaExceededExceptionHasBeenSet =
true; m_serviceQuotaExceededException = value; }
177 inline void SetServiceQuotaExceededException(ServiceQuotaExceededException&& value) { m_serviceQuotaExceededExceptionHasBeenSet =
true; m_serviceQuotaExceededException = std::move(value); }
188 inline void SetThrottlingException(
const ThrottlingException& value) { m_throttlingExceptionHasBeenSet =
true; m_throttlingException = value; }
189 inline void SetThrottlingException(ThrottlingException&& value) { m_throttlingExceptionHasBeenSet =
true; m_throttlingException = std::move(value); }
206 inline void SetTrace(
TracePart&& value) { m_traceHasBeenSet =
true; m_trace = std::move(value); }
218 inline void SetValidationException(
const ValidationException& value) { m_validationExceptionHasBeenSet =
true; m_validationException = value; }
219 inline void SetValidationException(ValidationException&& value) { m_validationExceptionHasBeenSet =
true; m_validationException = std::move(value); }
225 AccessDeniedException m_accessDeniedException;
226 bool m_accessDeniedExceptionHasBeenSet =
false;
229 bool m_badGatewayExceptionHasBeenSet =
false;
232 bool m_chunkHasBeenSet =
false;
234 ConflictException m_conflictException;
235 bool m_conflictExceptionHasBeenSet =
false;
238 bool m_dependencyFailedExceptionHasBeenSet =
false;
241 bool m_filesHasBeenSet =
false;
243 InternalServerException m_internalServerException;
244 bool m_internalServerExceptionHasBeenSet =
false;
246 ResourceNotFoundException m_resourceNotFoundException;
247 bool m_resourceNotFoundExceptionHasBeenSet =
false;
250 bool m_returnControlHasBeenSet =
false;
252 ServiceQuotaExceededException m_serviceQuotaExceededException;
253 bool m_serviceQuotaExceededExceptionHasBeenSet =
false;
255 ThrottlingException m_throttlingException;
256 bool m_throttlingExceptionHasBeenSet =
false;
259 bool m_traceHasBeenSet =
false;
261 ValidationException m_validationException;
262 bool m_validationExceptionHasBeenSet =
false;
bool ValidationExceptionHasBeenSet() const
ResponseStream & WithResourceNotFoundException(const ResourceNotFoundException &value)
ResponseStream & WithConflictException(ConflictException &&value)
const BadGatewayException & GetBadGatewayException() const
ResponseStream & WithServiceQuotaExceededException(const ServiceQuotaExceededException &value)
AWS_BEDROCKAGENTRUNTIME_API ResponseStream(Aws::Utils::Json::JsonView jsonValue)
ResponseStream & WithReturnControl(ReturnControlPayload &&value)
ResponseStream & WithChunk(PayloadPart &&value)
void SetBadGatewayException(BadGatewayException &&value)
void SetConflictException(ConflictException &&value)
const AccessDeniedException & GetAccessDeniedException() const
ResponseStream & WithServiceQuotaExceededException(ServiceQuotaExceededException &&value)
ResponseStream & WithValidationException(ValidationException &&value)
void SetThrottlingException(ThrottlingException &&value)
void SetReturnControl(const ReturnControlPayload &value)
ResponseStream & WithDependencyFailedException(DependencyFailedException &&value)
ResponseStream & WithTrace(const TracePart &value)
const DependencyFailedException & GetDependencyFailedException() const
void SetAccessDeniedException(AccessDeniedException &&value)
ResponseStream & WithAccessDeniedException(AccessDeniedException &&value)
const ReturnControlPayload & GetReturnControl() const
bool ChunkHasBeenSet() const
ResponseStream & WithFiles(const FilePart &value)
void SetReturnControl(ReturnControlPayload &&value)
ResponseStream & WithBadGatewayException(const BadGatewayException &value)
ResponseStream & WithTrace(TracePart &&value)
void SetFiles(FilePart &&value)
ResponseStream & WithBadGatewayException(BadGatewayException &&value)
bool ThrottlingExceptionHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API ResponseStream & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ConflictExceptionHasBeenSet() const
void SetChunk(PayloadPart &&value)
bool DependencyFailedExceptionHasBeenSet() const
void SetTrace(const TracePart &value)
ResponseStream & WithFiles(FilePart &&value)
void SetConflictException(const ConflictException &value)
const TracePart & GetTrace() const
ResponseStream & WithAccessDeniedException(const AccessDeniedException &value)
ResponseStream & WithDependencyFailedException(const DependencyFailedException &value)
void SetThrottlingException(const ThrottlingException &value)
bool ReturnControlHasBeenSet() const
bool InternalServerExceptionHasBeenSet() const
void SetResourceNotFoundException(ResourceNotFoundException &&value)
void SetServiceQuotaExceededException(const ServiceQuotaExceededException &value)
void SetResourceNotFoundException(const ResourceNotFoundException &value)
void SetServiceQuotaExceededException(ServiceQuotaExceededException &&value)
void SetDependencyFailedException(DependencyFailedException &&value)
ResponseStream & WithValidationException(const ValidationException &value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
ResponseStream & WithInternalServerException(InternalServerException &&value)
void SetAccessDeniedException(const AccessDeniedException &value)
void SetValidationException(const ValidationException &value)
const ValidationException & GetValidationException() const
bool ResourceNotFoundExceptionHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API ResponseStream()
bool BadGatewayExceptionHasBeenSet() const
const PayloadPart & GetChunk() const
ResponseStream & WithChunk(const PayloadPart &value)
void SetChunk(const PayloadPart &value)
const ConflictException & GetConflictException() const
void SetInternalServerException(const InternalServerException &value)
const ThrottlingException & GetThrottlingException() const
ResponseStream & WithResourceNotFoundException(ResourceNotFoundException &&value)
const FilePart & GetFiles() const
void SetInternalServerException(InternalServerException &&value)
bool ServiceQuotaExceededExceptionHasBeenSet() const
void SetFiles(const FilePart &value)
ResponseStream & WithConflictException(const ConflictException &value)
void SetBadGatewayException(const BadGatewayException &value)
void SetValidationException(ValidationException &&value)
const ServiceQuotaExceededException & GetServiceQuotaExceededException() const
ResponseStream & WithReturnControl(const ReturnControlPayload &value)
ResponseStream & WithInternalServerException(const InternalServerException &value)
const InternalServerException & GetInternalServerException() const
bool TraceHasBeenSet() const
void SetTrace(TracePart &&value)
const ResourceNotFoundException & GetResourceNotFoundException() const
bool AccessDeniedExceptionHasBeenSet() const
ResponseStream & WithThrottlingException(const ThrottlingException &value)
ResponseStream & WithThrottlingException(ThrottlingException &&value)
void SetDependencyFailedException(const DependencyFailedException &value)
bool FilesHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue