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
48 inline void SetEndpointName(
const char* value) { m_endpointNameHasBeenSet =
true; m_endpointName.assign(value); }
62 inline void SetContentType(
const char* value) { m_contentTypeHasBeenSet =
true; m_contentType.assign(value); }
76 inline void SetAccept(
const char* value) { m_acceptHasBeenSet =
true; m_accept.assign(value); }
104 inline void SetCustomAttributes(
const char* value) { m_customAttributesHasBeenSet =
true; m_customAttributes.assign(value); }
119 inline void SetInferenceId(
const char* value) { m_inferenceIdHasBeenSet =
true; m_inferenceId.assign(value); }
133 inline void SetInputLocation(
const char* value) { m_inputLocationHasBeenSet =
true; m_inputLocation.assign(value); }
146 inline void SetRequestTTLSeconds(
int value) { m_requestTTLSecondsHasBeenSet =
true; m_requestTTLSeconds = value; }
163 bool m_endpointNameHasBeenSet =
false;
166 bool m_contentTypeHasBeenSet =
false;
169 bool m_acceptHasBeenSet =
false;
172 bool m_customAttributesHasBeenSet =
false;
175 bool m_inferenceIdHasBeenSet =
false;
178 bool m_inputLocationHasBeenSet =
false;
180 int m_requestTTLSeconds;
181 bool m_requestTTLSecondsHasBeenSet =
false;
183 int m_invocationTimeoutSeconds;
184 bool m_invocationTimeoutSecondsHasBeenSet =
false;
void SetAccept(const Aws::String &value)
void SetInputLocation(const Aws::String &value)
bool CustomAttributesHasBeenSet() const
InvokeEndpointAsyncRequest & WithAccept(const char *value)
void SetEndpointName(const Aws::String &value)
void SetInferenceId(const Aws::String &value)
InvokeEndpointAsyncRequest & WithRequestTTLSeconds(int value)
virtual const char * GetServiceRequestName() const override
bool InferenceIdHasBeenSet() const
InvokeEndpointAsyncRequest & WithContentType(Aws::String &&value)
bool RequestTTLSecondsHasBeenSet() const
InvokeEndpointAsyncRequest & WithContentType(const Aws::String &value)
void SetCustomAttributes(const char *value)
InvokeEndpointAsyncRequest & WithContentType(const char *value)
const Aws::String & GetAccept() const
InvokeEndpointAsyncRequest & WithCustomAttributes(const Aws::String &value)
const Aws::String & GetCustomAttributes() const
void SetAccept(const char *value)
void SetEndpointName(Aws::String &&value)
InvokeEndpointAsyncRequest & WithInferenceId(Aws::String &&value)
const Aws::String & GetInferenceId() const
bool ContentTypeHasBeenSet() const
InvokeEndpointAsyncRequest & WithEndpointName(Aws::String &&value)
void SetInputLocation(Aws::String &&value)
InvokeEndpointAsyncRequest & WithAccept(const Aws::String &value)
bool EndpointNameHasBeenSet() const
InvokeEndpointAsyncRequest & WithEndpointName(const char *value)
void SetContentType(Aws::String &&value)
void SetInvocationTimeoutSeconds(int value)
InvokeEndpointAsyncRequest & WithInputLocation(Aws::String &&value)
AWS_SAGEMAKERRUNTIME_API Aws::String SerializePayload() const override
bool InputLocationHasBeenSet() const
const Aws::String & GetInputLocation() const
void SetCustomAttributes(Aws::String &&value)
void SetInferenceId(Aws::String &&value)
bool InvocationTimeoutSecondsHasBeenSet() const
InvokeEndpointAsyncRequest & WithCustomAttributes(Aws::String &&value)
InvokeEndpointAsyncRequest & WithInferenceId(const char *value)
InvokeEndpointAsyncRequest & WithInferenceId(const Aws::String &value)
InvokeEndpointAsyncRequest & WithInputLocation(const Aws::String &value)
InvokeEndpointAsyncRequest & WithAccept(Aws::String &&value)
const Aws::String & GetContentType() const
int GetRequestTTLSeconds() const
InvokeEndpointAsyncRequest & WithInvocationTimeoutSeconds(int value)
void SetCustomAttributes(const Aws::String &value)
void SetContentType(const Aws::String &value)
void SetRequestTTLSeconds(int value)
void SetInputLocation(const char *value)
bool AcceptHasBeenSet() const
void SetAccept(Aws::String &&value)
AWS_SAGEMAKERRUNTIME_API InvokeEndpointAsyncRequest()
void SetEndpointName(const char *value)
InvokeEndpointAsyncRequest & WithInputLocation(const char *value)
InvokeEndpointAsyncRequest & WithCustomAttributes(const char *value)
void SetContentType(const char *value)
AWS_SAGEMAKERRUNTIME_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetEndpointName() const
InvokeEndpointAsyncRequest & WithEndpointName(const Aws::String &value)
void SetInferenceId(const char *value)
int GetInvocationTimeoutSeconds() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String