AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
InvokeEndpointAsyncResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker-runtime/SageMakerRuntime_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace SageMakerRuntime {
23namespace Model {
25 public:
26 AWS_SAGEMAKERRUNTIME_API InvokeEndpointAsyncResult() = default;
29
31
36 inline const Aws::String& GetInferenceId() const { return m_inferenceId; }
37 template <typename InferenceIdT = Aws::String>
38 void SetInferenceId(InferenceIdT&& value) {
39 m_inferenceIdHasBeenSet = true;
40 m_inferenceId = std::forward<InferenceIdT>(value);
41 }
42 template <typename InferenceIdT = Aws::String>
44 SetInferenceId(std::forward<InferenceIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetOutputLocation() const { return m_outputLocation; }
54 template <typename OutputLocationT = Aws::String>
55 void SetOutputLocation(OutputLocationT&& value) {
56 m_outputLocationHasBeenSet = true;
57 m_outputLocation = std::forward<OutputLocationT>(value);
58 }
59 template <typename OutputLocationT = Aws::String>
61 SetOutputLocation(std::forward<OutputLocationT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetFailureLocation() const { return m_failureLocation; }
71 template <typename FailureLocationT = Aws::String>
72 void SetFailureLocation(FailureLocationT&& value) {
73 m_failureLocationHasBeenSet = true;
74 m_failureLocation = std::forward<FailureLocationT>(value);
75 }
76 template <typename FailureLocationT = Aws::String>
78 SetFailureLocation(std::forward<FailureLocationT>(value));
79 return *this;
80 }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template <typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) {
88 m_requestIdHasBeenSet = true;
89 m_requestId = std::forward<RequestIdT>(value);
90 }
91 template <typename RequestIdT = Aws::String>
93 SetRequestId(std::forward<RequestIdT>(value));
94 return *this;
95 }
97 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
98
99 private:
100 Aws::String m_inferenceId;
101
102 Aws::String m_outputLocation;
103
104 Aws::String m_failureLocation;
105
106 Aws::String m_requestId;
107 Aws::Http::HttpResponseCode m_HttpResponseCode;
108 bool m_inferenceIdHasBeenSet = false;
109 bool m_outputLocationHasBeenSet = false;
110 bool m_failureLocationHasBeenSet = false;
111 bool m_requestIdHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace SageMakerRuntime
116} // 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