/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMakerRuntime { namespace Model { class InvokeEndpointAsyncResult { public: AWS_SAGEMAKERRUNTIME_API InvokeEndpointAsyncResult(); AWS_SAGEMAKERRUNTIME_API InvokeEndpointAsyncResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKERRUNTIME_API InvokeEndpointAsyncResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Identifier for an inference request. This will be the same as the * InferenceId specified in the input. Amazon SageMaker will generate * an identifier for you if you do not specify one.

*/ inline const Aws::String& GetInferenceId() const{ return m_inferenceId; } /** *

Identifier for an inference request. This will be the same as the * InferenceId specified in the input. Amazon SageMaker will generate * an identifier for you if you do not specify one.

*/ inline void SetInferenceId(const Aws::String& value) { m_inferenceId = value; } /** *

Identifier for an inference request. This will be the same as the * InferenceId specified in the input. Amazon SageMaker will generate * an identifier for you if you do not specify one.

*/ inline void SetInferenceId(Aws::String&& value) { m_inferenceId = std::move(value); } /** *

Identifier for an inference request. This will be the same as the * InferenceId specified in the input. Amazon SageMaker will generate * an identifier for you if you do not specify one.

*/ inline void SetInferenceId(const char* value) { m_inferenceId.assign(value); } /** *

Identifier for an inference request. This will be the same as the * InferenceId specified in the input. Amazon SageMaker will generate * an identifier for you if you do not specify one.

*/ inline InvokeEndpointAsyncResult& WithInferenceId(const Aws::String& value) { SetInferenceId(value); return *this;} /** *

Identifier for an inference request. This will be the same as the * InferenceId specified in the input. Amazon SageMaker will generate * an identifier for you if you do not specify one.

*/ inline InvokeEndpointAsyncResult& WithInferenceId(Aws::String&& value) { SetInferenceId(std::move(value)); return *this;} /** *

Identifier for an inference request. This will be the same as the * InferenceId specified in the input. Amazon SageMaker will generate * an identifier for you if you do not specify one.

*/ inline InvokeEndpointAsyncResult& WithInferenceId(const char* value) { SetInferenceId(value); return *this;} /** *

The Amazon S3 URI where the inference response payload is stored.

*/ inline const Aws::String& GetOutputLocation() const{ return m_outputLocation; } /** *

The Amazon S3 URI where the inference response payload is stored.

*/ inline void SetOutputLocation(const Aws::String& value) { m_outputLocation = value; } /** *

The Amazon S3 URI where the inference response payload is stored.

*/ inline void SetOutputLocation(Aws::String&& value) { m_outputLocation = std::move(value); } /** *

The Amazon S3 URI where the inference response payload is stored.

*/ inline void SetOutputLocation(const char* value) { m_outputLocation.assign(value); } /** *

The Amazon S3 URI where the inference response payload is stored.

*/ inline InvokeEndpointAsyncResult& WithOutputLocation(const Aws::String& value) { SetOutputLocation(value); return *this;} /** *

The Amazon S3 URI where the inference response payload is stored.

*/ inline InvokeEndpointAsyncResult& WithOutputLocation(Aws::String&& value) { SetOutputLocation(std::move(value)); return *this;} /** *

The Amazon S3 URI where the inference response payload is stored.

*/ inline InvokeEndpointAsyncResult& WithOutputLocation(const char* value) { SetOutputLocation(value); return *this;} /** *

The Amazon S3 URI where the inference failure response payload is stored.

*/ inline const Aws::String& GetFailureLocation() const{ return m_failureLocation; } /** *

The Amazon S3 URI where the inference failure response payload is stored.

*/ inline void SetFailureLocation(const Aws::String& value) { m_failureLocation = value; } /** *

The Amazon S3 URI where the inference failure response payload is stored.

*/ inline void SetFailureLocation(Aws::String&& value) { m_failureLocation = std::move(value); } /** *

The Amazon S3 URI where the inference failure response payload is stored.

*/ inline void SetFailureLocation(const char* value) { m_failureLocation.assign(value); } /** *

The Amazon S3 URI where the inference failure response payload is stored.

*/ inline InvokeEndpointAsyncResult& WithFailureLocation(const Aws::String& value) { SetFailureLocation(value); return *this;} /** *

The Amazon S3 URI where the inference failure response payload is stored.

*/ inline InvokeEndpointAsyncResult& WithFailureLocation(Aws::String&& value) { SetFailureLocation(std::move(value)); return *this;} /** *

The Amazon S3 URI where the inference failure response payload is stored.

*/ inline InvokeEndpointAsyncResult& WithFailureLocation(const char* value) { SetFailureLocation(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline InvokeEndpointAsyncResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline InvokeEndpointAsyncResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline InvokeEndpointAsyncResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_inferenceId; Aws::String m_outputLocation; Aws::String m_failureLocation; Aws::String m_requestId; }; } // namespace Model } // namespace SageMakerRuntime } // namespace Aws