7#include <aws/sagemaker-runtime/SageMakerRuntime_EXPORTS.h>
8#include <aws/sagemaker-runtime/SageMakerRuntimeRequest.h>
9#include <aws/sagemaker-runtime/model/InvokeEndpointWithResponseStreamHandler.h>
10#include <aws/core/utils/event/EventStreamDecoder.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/Array.h>
17namespace SageMakerRuntime
33 inline virtual const char*
GetServiceRequestName()
const override {
return "InvokeEndpointWithResponseStream"; }
69 inline void SetEndpointName(
const char* value) { m_endpointNameHasBeenSet =
true; m_endpointName.assign(value); }
83 inline void SetAccept(
const char* value) { m_acceptHasBeenSet =
true; m_accept.assign(value); }
111 inline void SetCustomAttributes(
const char* value) { m_customAttributesHasBeenSet =
true; m_customAttributes.assign(value); }
131 inline void SetTargetVariant(
const char* value) { m_targetVariantHasBeenSet =
true; m_targetVariant.assign(value); }
147 inline void SetTargetContainerHostname(
const char* value) { m_targetContainerHostnameHasBeenSet =
true; m_targetContainerHostname.assign(value); }
161 inline void SetInferenceId(
const char* value) { m_inferenceIdHasBeenSet =
true; m_inferenceId.assign(value); }
177 inline void SetInferenceComponentName(
const char* value) { m_inferenceComponentNameHasBeenSet =
true; m_inferenceComponentName.assign(value); }
196 inline void SetSessionId(
const char* value) { m_sessionIdHasBeenSet =
true; m_sessionId.assign(value); }
204 bool m_endpointNameHasBeenSet =
false;
208 bool m_acceptHasBeenSet =
false;
211 bool m_customAttributesHasBeenSet =
false;
214 bool m_targetVariantHasBeenSet =
false;
217 bool m_targetContainerHostnameHasBeenSet =
false;
220 bool m_inferenceIdHasBeenSet =
false;
223 bool m_inferenceComponentNameHasBeenSet =
false;
226 bool m_sessionIdHasBeenSet =
false;
bool AcceptHasBeenSet() const
void SetInferenceId(Aws::String &&value)
InvokeEndpointWithResponseStreamRequest & WithTargetContainerHostname(const char *value)
bool InferenceIdHasBeenSet() const
InvokeEndpointWithResponseStreamRequest & WithInferenceId(const char *value)
const Aws::String & GetInferenceId() const
const InvokeEndpointWithResponseStreamHandler & GetEventStreamHandler() const
Aws::Utils::Event::EventStreamDecoder & GetEventStreamDecoder()
const Aws::String & GetEndpointName() const
const Aws::String & GetCustomAttributes() const
void SetCustomAttributes(Aws::String &&value)
InvokeEndpointWithResponseStreamRequest & WithTargetContainerHostname(Aws::String &&value)
InvokeEndpointWithResponseStreamRequest & WithTargetContainerHostname(const Aws::String &value)
void SetCustomAttributes(const Aws::String &value)
InvokeEndpointWithResponseStreamRequest & WithSessionId(Aws::String &&value)
InvokeEndpointWithResponseStreamRequest & WithAccept(const char *value)
const Aws::String & GetInferenceComponentName() const
const Aws::String & GetAccept() const
void SetTargetContainerHostname(const char *value)
InvokeEndpointWithResponseStreamRequest & WithInferenceComponentName(const char *value)
void SetAccept(Aws::String &&value)
void SetInferenceComponentName(Aws::String &&value)
void SetCustomAttributes(const char *value)
void SetEndpointName(const char *value)
InvokeEndpointWithResponseStreamRequest & WithEndpointName(Aws::String &&value)
void SetInferenceComponentName(const char *value)
const Aws::String & GetSessionId() const
void SetTargetVariant(const char *value)
void SetAccept(const char *value)
AWS_SAGEMAKERRUNTIME_API InvokeEndpointWithResponseStreamRequest()
InvokeEndpointWithResponseStreamRequest & WithAccept(const Aws::String &value)
void SetEventStreamHandler(const InvokeEndpointWithResponseStreamHandler &value)
InvokeEndpointWithResponseStreamRequest & WithTargetVariant(const Aws::String &value)
bool CustomAttributesHasBeenSet() const
void SetAccept(const Aws::String &value)
InvokeEndpointWithResponseStreamRequest & WithCustomAttributes(Aws::String &&value)
InvokeEndpointWithResponseStreamRequest & WithEndpointName(const char *value)
InvokeEndpointWithResponseStreamRequest & WithInferenceId(const Aws::String &value)
bool SessionIdHasBeenSet() const
void SetEndpointName(const Aws::String &value)
const Aws::String & GetTargetVariant() const
InvokeEndpointWithResponseStreamRequest & WithCustomAttributes(const char *value)
void SetTargetContainerHostname(Aws::String &&value)
void SetTargetVariant(Aws::String &&value)
void SetSessionId(const Aws::String &value)
InvokeEndpointWithResponseStreamRequest & WithTargetVariant(Aws::String &&value)
void SetTargetContainerHostname(const Aws::String &value)
const Aws::String & GetTargetContainerHostname() const
void SetEndpointName(Aws::String &&value)
InvokeEndpointWithResponseStreamRequest & WithSessionId(const char *value)
InvokeEndpointWithResponseStreamRequest & WithCustomAttributes(const Aws::String &value)
InvokeEndpointWithResponseStreamRequest & WithInferenceId(Aws::String &&value)
InvokeEndpointWithResponseStreamRequest & WithInferenceComponentName(const Aws::String &value)
void SetInferenceComponentName(const Aws::String &value)
bool EndpointNameHasBeenSet() const
AWS_SAGEMAKERRUNTIME_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool TargetContainerHostnameHasBeenSet() const
InvokeEndpointWithResponseStreamRequest & WithEndpointName(const Aws::String &value)
InvokeEndpointWithResponseStreamRequest & WithAccept(Aws::String &&value)
void SetSessionId(Aws::String &&value)
void SetSessionId(const char *value)
void SetInferenceId(const Aws::String &value)
InvokeEndpointWithResponseStreamRequest & WithInferenceComponentName(Aws::String &&value)
InvokeEndpointWithResponseStreamRequest & WithTargetVariant(const char *value)
InvokeEndpointWithResponseStreamRequest & WithSessionId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool TargetVariantHasBeenSet() const
bool InferenceComponentNameHasBeenSet() const
InvokeEndpointWithResponseStreamRequest & WithEventStreamHandler(const InvokeEndpointWithResponseStreamHandler &value)
void SetInferenceId(const char *value)
void SetTargetVariant(const Aws::String &value)
void ResetEventStreamHandler(EventStreamHandler *handler)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String