AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
InvokeEndpointAsyncResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker-runtime/SageMakerRuntime_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace SageMakerRuntime {
22namespace Model {
24 public:
25 AWS_SAGEMAKERRUNTIME_API InvokeEndpointAsyncResult() = default;
28
30
35 inline const Aws::String& GetInferenceId() const { return m_inferenceId; }
36 template <typename InferenceIdT = Aws::String>
37 void SetInferenceId(InferenceIdT&& value) {
38 m_inferenceIdHasBeenSet = true;
39 m_inferenceId = std::forward<InferenceIdT>(value);
40 }
41 template <typename InferenceIdT = Aws::String>
43 SetInferenceId(std::forward<InferenceIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetOutputLocation() const { return m_outputLocation; }
53 template <typename OutputLocationT = Aws::String>
54 void SetOutputLocation(OutputLocationT&& value) {
55 m_outputLocationHasBeenSet = true;
56 m_outputLocation = std::forward<OutputLocationT>(value);
57 }
58 template <typename OutputLocationT = Aws::String>
60 SetOutputLocation(std::forward<OutputLocationT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetFailureLocation() const { return m_failureLocation; }
70 template <typename FailureLocationT = Aws::String>
71 void SetFailureLocation(FailureLocationT&& value) {
72 m_failureLocationHasBeenSet = true;
73 m_failureLocation = std::forward<FailureLocationT>(value);
74 }
75 template <typename FailureLocationT = Aws::String>
77 SetFailureLocation(std::forward<FailureLocationT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_inferenceId;
98
99 Aws::String m_outputLocation;
100
101 Aws::String m_failureLocation;
102
103 Aws::String m_requestId;
104 bool m_inferenceIdHasBeenSet = false;
105 bool m_outputLocationHasBeenSet = false;
106 bool m_failureLocationHasBeenSet = false;
107 bool m_requestIdHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace SageMakerRuntime
112} // 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