AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InvokeEndpointAsyncResult.h
1
6#pragma once
7#include <aws/sagemaker-runtime/SageMakerRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SageMakerRuntime
24{
25namespace Model
26{
28 {
29 public:
30 AWS_SAGEMAKERRUNTIME_API InvokeEndpointAsyncResult() = default;
33
34
36
41 inline const Aws::String& GetInferenceId() const { return m_inferenceId; }
42 template<typename InferenceIdT = Aws::String>
43 void SetInferenceId(InferenceIdT&& value) { m_inferenceIdHasBeenSet = true; m_inferenceId = std::forward<InferenceIdT>(value); }
44 template<typename InferenceIdT = Aws::String>
45 InvokeEndpointAsyncResult& WithInferenceId(InferenceIdT&& value) { SetInferenceId(std::forward<InferenceIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetOutputLocation() const { return m_outputLocation; }
53 template<typename OutputLocationT = Aws::String>
54 void SetOutputLocation(OutputLocationT&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::forward<OutputLocationT>(value); }
55 template<typename OutputLocationT = Aws::String>
56 InvokeEndpointAsyncResult& WithOutputLocation(OutputLocationT&& value) { SetOutputLocation(std::forward<OutputLocationT>(value)); return *this;}
58
60
63 inline const Aws::String& GetFailureLocation() const { return m_failureLocation; }
64 template<typename FailureLocationT = Aws::String>
65 void SetFailureLocation(FailureLocationT&& value) { m_failureLocationHasBeenSet = true; m_failureLocation = std::forward<FailureLocationT>(value); }
66 template<typename FailureLocationT = Aws::String>
67 InvokeEndpointAsyncResult& WithFailureLocation(FailureLocationT&& value) { SetFailureLocation(std::forward<FailureLocationT>(value)); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template<typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
75 template<typename RequestIdT = Aws::String>
76 InvokeEndpointAsyncResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
78 private:
79
80 Aws::String m_inferenceId;
81 bool m_inferenceIdHasBeenSet = false;
82
83 Aws::String m_outputLocation;
84 bool m_outputLocationHasBeenSet = false;
85
86 Aws::String m_failureLocation;
87 bool m_failureLocationHasBeenSet = false;
88
89 Aws::String m_requestId;
90 bool m_requestIdHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SageMakerRuntime
95} // namespace Aws
InvokeEndpointAsyncResult & WithInferenceId(InferenceIdT &&value)
AWS_SAGEMAKERRUNTIME_API InvokeEndpointAsyncResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
InvokeEndpointAsyncResult & WithOutputLocation(OutputLocationT &&value)
AWS_SAGEMAKERRUNTIME_API InvokeEndpointAsyncResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
InvokeEndpointAsyncResult & WithRequestId(RequestIdT &&value)
AWS_SAGEMAKERRUNTIME_API InvokeEndpointAsyncResult()=default
InvokeEndpointAsyncResult & WithFailureLocation(FailureLocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue