7#include <aws/sagemaker-runtime/SageMakerRuntime_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
18namespace SageMakerRuntime
60 template<
typename ContentTypeT = Aws::String>
61 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
62 template<
typename ContentTypeT = Aws::String>
71 template<
typename InvokedProductionVariantT = Aws::String>
72 void SetInvokedProductionVariant(InvokedProductionVariantT&& value) { m_invokedProductionVariantHasBeenSet =
true; m_invokedProductionVariant = std::forward<InvokedProductionVariantT>(value); }
73 template<
typename InvokedProductionVariantT = Aws::String>
97 template<
typename CustomAttributesT = Aws::String>
98 void SetCustomAttributes(CustomAttributesT&& value) { m_customAttributesHasBeenSet =
true; m_customAttributes = std::forward<CustomAttributesT>(value); }
99 template<
typename CustomAttributesT = Aws::String>
109 template<
typename NewSessionIdT = Aws::String>
110 void SetNewSessionId(NewSessionIdT&& value) { m_newSessionIdHasBeenSet =
true; m_newSessionId = std::forward<NewSessionIdT>(value); }
111 template<
typename NewSessionIdT = Aws::String>
121 template<
typename ClosedSessionIdT = Aws::String>
122 void SetClosedSessionId(ClosedSessionIdT&& value) { m_closedSessionIdHasBeenSet =
true; m_closedSessionId = std::forward<ClosedSessionIdT>(value); }
123 template<
typename ClosedSessionIdT = Aws::String>
130 template<
typename RequestIdT = Aws::String>
131 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
132 template<
typename RequestIdT = Aws::String>
138 bool m_bodyHasBeenSet =
false;
141 bool m_contentTypeHasBeenSet =
false;
144 bool m_invokedProductionVariantHasBeenSet =
false;
147 bool m_customAttributesHasBeenSet =
false;
150 bool m_newSessionIdHasBeenSet =
false;
153 bool m_closedSessionIdHasBeenSet =
false;
156 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetCustomAttributes() const
const Aws::String & GetNewSessionId() const
const Aws::String & GetClosedSessionId() const
void SetInvokedProductionVariant(InvokedProductionVariantT &&value)
InvokeEndpointResult & WithCustomAttributes(CustomAttributesT &&value)
InvokeEndpointResult & WithInvokedProductionVariant(InvokedProductionVariantT &&value)
InvokeEndpointResult & WithRequestId(RequestIdT &&value)
InvokeEndpointResult & WithClosedSessionId(ClosedSessionIdT &&value)
AWS_SAGEMAKERRUNTIME_API InvokeEndpointResult(InvokeEndpointResult &&)=default
InvokeEndpointResult & operator=(const InvokeEndpointResult &)=delete
InvokeEndpointResult & WithNewSessionId(NewSessionIdT &&value)
void SetClosedSessionId(ClosedSessionIdT &&value)
const Aws::String & GetInvokedProductionVariant() const
AWS_SAGEMAKERRUNTIME_API InvokeEndpointResult()=default
const Aws::String & GetRequestId() const
void SetContentType(ContentTypeT &&value)
void SetCustomAttributes(CustomAttributesT &&value)
AWS_SAGEMAKERRUNTIME_API InvokeEndpointResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
void SetNewSessionId(NewSessionIdT &&value)
InvokeEndpointResult & WithContentType(ContentTypeT &&value)
AWS_SAGEMAKERRUNTIME_API InvokeEndpointResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
Aws::IOStream & GetBody() const
void ReplaceBody(Aws::IOStream *body)
void SetRequestId(RequestIdT &&value)
AWS_SAGEMAKERRUNTIME_API InvokeEndpointResult & operator=(InvokeEndpointResult &&)=default
const Aws::String & GetContentType() const
InvokeEndpointResult(const InvokeEndpointResult &)=delete
Aws::IOStream & GetUnderlyingStream() const
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String