35 AWS_CONTEXT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
44 template <
typename TraceEventT = AgenticRetrieveTraceEvent>
46 m_traceEventHasBeenSet =
true;
47 m_traceEvent = std::forward<TraceEventT>(value);
49 template <
typename TraceEventT = AgenticRetrieveTraceEvent>
63 template <
typename ResponseEventT = AgenticRetrieveResponseEvent>
65 m_responseEventHasBeenSet =
true;
66 m_responseEvent = std::forward<ResponseEventT>(value);
68 template <
typename ResponseEventT = AgenticRetrieveResponseEvent>
82 template <
typename ResultT = AgenticRetrieveResultEvent>
84 m_resultHasBeenSet =
true;
85 m_result = std::forward<ResultT>(value);
87 template <
typename ResultT = AgenticRetrieveResultEvent>
101 template <
typename AccessDeniedExceptionT = ContextError>
103 m_accessDeniedExceptionHasBeenSet =
true;
104 m_accessDeniedException = std::forward<AccessDeniedExceptionT>(value);
106 template <
typename AccessDeniedExceptionT = ContextError>
120 template <
typename ResourceNotFoundExceptionT = ResourceNotFoundException>
122 m_resourceNotFoundExceptionHasBeenSet =
true;
123 m_resourceNotFoundException = std::forward<ResourceNotFoundExceptionT>(value);
125 template <
typename ResourceNotFoundExceptionT = ResourceNotFoundException>
139 template <
typename InternalServerExceptionT = ContextError>
141 m_internalServerExceptionHasBeenSet =
true;
142 m_internalServerException = std::forward<InternalServerExceptionT>(value);
144 template <
typename InternalServerExceptionT = ContextError>
162 bool m_traceEventHasBeenSet =
false;
163 bool m_responseEventHasBeenSet =
false;
164 bool m_resultHasBeenSet =
false;
165 bool m_accessDeniedExceptionHasBeenSet =
false;
166 bool m_resourceNotFoundExceptionHasBeenSet =
false;
167 bool m_internalServerExceptionHasBeenSet =
false;
const ContextError & GetAccessDeniedException() const
AgenticRetrieveStreamOutput & WithInternalServerException(InternalServerExceptionT &&value)
AWS_CONTEXT_API AgenticRetrieveStreamOutput & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetTraceEvent(TraceEventT &&value)
AgenticRetrieveStreamOutput & WithResourceNotFoundException(ResourceNotFoundExceptionT &&value)
const ResourceNotFoundException & GetResourceNotFoundException() const
AgenticRetrieveStreamOutput & WithResult(ResultT &&value)
AgenticRetrieveStreamOutput & WithAccessDeniedException(AccessDeniedExceptionT &&value)
void SetResult(ResultT &&value)
AWS_CONTEXT_API AgenticRetrieveStreamOutput(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const ContextError & GetInternalServerException() const
bool ResourceNotFoundExceptionHasBeenSet() const
bool AccessDeniedExceptionHasBeenSet() const
const AgenticRetrieveResultEvent & GetResult() const
void SetResponseEvent(ResponseEventT &&value)
bool ResponseEventHasBeenSet() const
AgenticRetrieveStreamOutput & WithTraceEvent(TraceEventT &&value)
const AgenticRetrieveTraceEvent & GetTraceEvent() const
AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetAccessDeniedException(AccessDeniedExceptionT &&value)
void SetInternalServerException(InternalServerExceptionT &&value)
AgenticRetrieveStreamOutput & WithResponseEvent(ResponseEventT &&value)
const AgenticRetrieveResponseEvent & GetResponseEvent() const
AWS_CONTEXT_API AgenticRetrieveStreamOutput()=default
void SetResourceNotFoundException(ResourceNotFoundExceptionT &&value)
bool InternalServerExceptionHasBeenSet() const