7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/stream/ResponseStream.h>
10#include <aws/sagemaker-runtime/SageMakerRuntime_EXPORTS.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
18namespace SageMakerRuntime {
54 template <
typename ContentTypeT = Aws::String>
56 m_contentTypeHasBeenSet =
true;
57 m_contentType = std::forward<ContentTypeT>(value);
59 template <
typename ContentTypeT = Aws::String>
71 template <
typename InvokedProductionVariantT = Aws::String>
73 m_invokedProductionVariantHasBeenSet =
true;
74 m_invokedProductionVariant = std::forward<InvokedProductionVariantT>(value);
76 template <
typename InvokedProductionVariantT = Aws::String>
103 template <
typename CustomAttributesT = Aws::String>
105 m_customAttributesHasBeenSet =
true;
106 m_customAttributes = std::forward<CustomAttributesT>(value);
108 template <
typename CustomAttributesT = Aws::String>
121 template <
typename NewSessionIdT = Aws::String>
123 m_newSessionIdHasBeenSet =
true;
124 m_newSessionId = std::forward<NewSessionIdT>(value);
126 template <
typename NewSessionIdT = Aws::String>
139 template <
typename ClosedSessionIdT = Aws::String>
141 m_closedSessionIdHasBeenSet =
true;
142 m_closedSessionId = std::forward<ClosedSessionIdT>(value);
144 template <
typename ClosedSessionIdT = Aws::String>
154 template <
typename RequestIdT = Aws::String>
156 m_requestIdHasBeenSet =
true;
157 m_requestId = std::forward<RequestIdT>(value);
159 template <
typename RequestIdT = Aws::String>
179 bool m_bodyHasBeenSet =
false;
180 bool m_contentTypeHasBeenSet =
false;
181 bool m_invokedProductionVariantHasBeenSet =
false;
182 bool m_customAttributesHasBeenSet =
false;
183 bool m_newSessionIdHasBeenSet =
false;
184 bool m_closedSessionIdHasBeenSet =
false;
185 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