7#include <aws/sagemaker-runtime/SageMakerRuntime_EXPORTS.h>
8#include <aws/sagemaker-runtime/SageMakerRuntimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
15namespace SageMakerRuntime
45 template<
typename Endpo
intNameT = Aws::String>
46 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet =
true; m_endpointName = std::forward<EndpointNameT>(value); }
47 template<
typename Endpo
intNameT = Aws::String>
57 template<
typename AcceptT = Aws::String>
58 void SetAccept(AcceptT&& value) { m_acceptHasBeenSet =
true; m_accept = std::forward<AcceptT>(value); }
59 template<
typename AcceptT = Aws::String>
83 template<
typename CustomAttributesT = Aws::String>
84 void SetCustomAttributes(CustomAttributesT&& value) { m_customAttributesHasBeenSet =
true; m_customAttributes = std::forward<CustomAttributesT>(value); }
85 template<
typename CustomAttributesT = Aws::String>
95 template<
typename TargetModelT = Aws::String>
96 void SetTargetModel(TargetModelT&& value) { m_targetModelHasBeenSet =
true; m_targetModel = std::forward<TargetModelT>(value); }
97 template<
typename TargetModelT = Aws::String>
113 template<
typename TargetVariantT = Aws::String>
114 void SetTargetVariant(TargetVariantT&& value) { m_targetVariantHasBeenSet =
true; m_targetVariant = std::forward<TargetVariantT>(value); }
115 template<
typename TargetVariantT = Aws::String>
127 template<
typename TargetContainerHostnameT = Aws::String>
128 void SetTargetContainerHostname(TargetContainerHostnameT&& value) { m_targetContainerHostnameHasBeenSet =
true; m_targetContainerHostname = std::forward<TargetContainerHostnameT>(value); }
129 template<
typename TargetContainerHostnameT = Aws::String>
142 template<
typename InferenceIdT = Aws::String>
143 void SetInferenceId(InferenceIdT&& value) { m_inferenceIdHasBeenSet =
true; m_inferenceId = std::forward<InferenceIdT>(value); }
144 template<
typename InferenceIdT = Aws::String>
158 template<
typename EnableExplanationsT = Aws::String>
159 void SetEnableExplanations(EnableExplanationsT&& value) { m_enableExplanationsHasBeenSet =
true; m_enableExplanations = std::forward<EnableExplanationsT>(value); }
160 template<
typename EnableExplanationsT = Aws::String>
171 template<
typename InferenceComponentNameT = Aws::String>
172 void SetInferenceComponentName(InferenceComponentNameT&& value) { m_inferenceComponentNameHasBeenSet =
true; m_inferenceComponentName = std::forward<InferenceComponentNameT>(value); }
173 template<
typename InferenceComponentNameT = Aws::String>
193 template<
typename SessionIdT = Aws::String>
194 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet =
true; m_sessionId = std::forward<SessionIdT>(value); }
195 template<
typename SessionIdT = Aws::String>
201 bool m_endpointNameHasBeenSet =
false;
205 bool m_acceptHasBeenSet =
false;
208 bool m_customAttributesHasBeenSet =
false;
211 bool m_targetModelHasBeenSet =
false;
214 bool m_targetVariantHasBeenSet =
false;
217 bool m_targetContainerHostnameHasBeenSet =
false;
220 bool m_inferenceIdHasBeenSet =
false;
223 bool m_enableExplanationsHasBeenSet =
false;
226 bool m_inferenceComponentNameHasBeenSet =
false;
229 bool m_sessionIdHasBeenSet =
false;
bool EndpointNameHasBeenSet() const
bool EnableExplanationsHasBeenSet() const
bool InferenceComponentNameHasBeenSet() const
InvokeEndpointRequest & WithEndpointName(EndpointNameT &&value)
InvokeEndpointRequest & WithTargetVariant(TargetVariantT &&value)
const Aws::String & GetAccept() const
InvokeEndpointRequest & WithInferenceId(InferenceIdT &&value)
void SetInferenceComponentName(InferenceComponentNameT &&value)
bool TargetContainerHostnameHasBeenSet() const
InvokeEndpointRequest & WithAccept(AcceptT &&value)
InvokeEndpointRequest & WithCustomAttributes(CustomAttributesT &&value)
InvokeEndpointRequest & WithEnableExplanations(EnableExplanationsT &&value)
const Aws::String & GetEndpointName() const
const Aws::String & GetTargetModel() const
bool InferenceIdHasBeenSet() const
bool TargetModelHasBeenSet() const
void SetTargetModel(TargetModelT &&value)
void SetEnableExplanations(EnableExplanationsT &&value)
void SetSessionId(SessionIdT &&value)
bool CustomAttributesHasBeenSet() const
bool TargetVariantHasBeenSet() const
const Aws::String & GetCustomAttributes() const
const Aws::String & GetTargetContainerHostname() const
void SetInferenceId(InferenceIdT &&value)
AWS_SAGEMAKERRUNTIME_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKERRUNTIME_API InvokeEndpointRequest()=default
void SetCustomAttributes(CustomAttributesT &&value)
const Aws::String & GetInferenceId() const
bool SessionIdHasBeenSet() const
InvokeEndpointRequest & WithSessionId(SessionIdT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSessionId() const
InvokeEndpointRequest & WithTargetModel(TargetModelT &&value)
const Aws::String & GetInferenceComponentName() const
InvokeEndpointRequest & WithTargetContainerHostname(TargetContainerHostnameT &&value)
void SetTargetVariant(TargetVariantT &&value)
const Aws::String & GetEnableExplanations() const
void SetTargetContainerHostname(TargetContainerHostnameT &&value)
InvokeEndpointRequest & WithInferenceComponentName(InferenceComponentNameT &&value)
void SetEndpointName(EndpointNameT &&value)
bool AcceptHasBeenSet() const
const Aws::String & GetTargetVariant() const
void SetAccept(AcceptT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String