7#include <aws/sagemaker-runtime/SageMakerRuntime_EXPORTS.h>
8#include <aws/sagemaker-runtime/SageMakerRuntimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace SageMakerRuntime
46 template<
typename Endpo
intNameT = Aws::String>
47 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet =
true; m_endpointName = std::forward<EndpointNameT>(value); }
48 template<
typename Endpo
intNameT = Aws::String>
58 template<
typename ContentTypeT = Aws::String>
59 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
60 template<
typename ContentTypeT = Aws::String>
70 template<
typename AcceptT = Aws::String>
71 void SetAccept(AcceptT&& value) { m_acceptHasBeenSet =
true; m_accept = std::forward<AcceptT>(value); }
72 template<
typename AcceptT = Aws::String>
96 template<
typename CustomAttributesT = Aws::String>
97 void SetCustomAttributes(CustomAttributesT&& value) { m_customAttributesHasBeenSet =
true; m_customAttributes = std::forward<CustomAttributesT>(value); }
98 template<
typename CustomAttributesT = Aws::String>
109 template<
typename InferenceIdT = Aws::String>
110 void SetInferenceId(InferenceIdT&& value) { m_inferenceIdHasBeenSet =
true; m_inferenceId = std::forward<InferenceIdT>(value); }
111 template<
typename InferenceIdT = Aws::String>
121 template<
typename InputLocationT = Aws::String>
122 void SetInputLocation(InputLocationT&& value) { m_inputLocationHasBeenSet =
true; m_inputLocation = std::forward<InputLocationT>(value); }
123 template<
typename InputLocationT = Aws::String>
134 inline void SetRequestTTLSeconds(
int value) { m_requestTTLSecondsHasBeenSet =
true; m_requestTTLSeconds = value; }
151 bool m_endpointNameHasBeenSet =
false;
154 bool m_contentTypeHasBeenSet =
false;
157 bool m_acceptHasBeenSet =
false;
160 bool m_customAttributesHasBeenSet =
false;
163 bool m_inferenceIdHasBeenSet =
false;
166 bool m_inputLocationHasBeenSet =
false;
168 int m_requestTTLSeconds{0};
169 bool m_requestTTLSecondsHasBeenSet =
false;
171 int m_invocationTimeoutSeconds{0};
172 bool m_invocationTimeoutSecondsHasBeenSet =
false;
InvokeEndpointAsyncRequest & WithContentType(ContentTypeT &&value)
bool CustomAttributesHasBeenSet() const
InvokeEndpointAsyncRequest & WithCustomAttributes(CustomAttributesT &&value)
InvokeEndpointAsyncRequest & WithRequestTTLSeconds(int value)
virtual const char * GetServiceRequestName() const override
InvokeEndpointAsyncRequest & WithAccept(AcceptT &&value)
bool InferenceIdHasBeenSet() const
bool RequestTTLSecondsHasBeenSet() const
void SetAccept(AcceptT &&value)
const Aws::String & GetAccept() const
const Aws::String & GetCustomAttributes() const
void SetCustomAttributes(CustomAttributesT &&value)
const Aws::String & GetInferenceId() const
bool ContentTypeHasBeenSet() const
bool EndpointNameHasBeenSet() const
void SetEndpointName(EndpointNameT &&value)
void SetInvocationTimeoutSeconds(int value)
AWS_SAGEMAKERRUNTIME_API Aws::String SerializePayload() const override
bool InputLocationHasBeenSet() const
const Aws::String & GetInputLocation() const
bool InvocationTimeoutSecondsHasBeenSet() const
InvokeEndpointAsyncRequest & WithEndpointName(EndpointNameT &&value)
InvokeEndpointAsyncRequest & WithInputLocation(InputLocationT &&value)
const Aws::String & GetContentType() const
int GetRequestTTLSeconds() const
InvokeEndpointAsyncRequest & WithInvocationTimeoutSeconds(int value)
void SetInputLocation(InputLocationT &&value)
void SetRequestTTLSeconds(int value)
bool AcceptHasBeenSet() const
void SetInferenceId(InferenceIdT &&value)
InvokeEndpointAsyncRequest & WithInferenceId(InferenceIdT &&value)
AWS_SAGEMAKERRUNTIME_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetEndpointName() const
AWS_SAGEMAKERRUNTIME_API InvokeEndpointAsyncRequest()=default
int GetInvocationTimeoutSeconds() const
void SetContentType(ContentTypeT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String