AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
InvokeInferenceRouterAsyncResult.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-inference-router-runtime/SageMakerInferenceRouterRuntime_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 SageMakerInferenceRouterRuntime {
23namespace Model {
25 public:
26 AWS_SAGEMAKERINFERENCEROUTERRUNTIME_API InvokeInferenceRouterAsyncResult() = default;
27 AWS_SAGEMAKERINFERENCEROUTERRUNTIME_API InvokeInferenceRouterAsyncResult(
29 AWS_SAGEMAKERINFERENCEROUTERRUNTIME_API InvokeInferenceRouterAsyncResult& operator=(
31
33
38 inline const Aws::String& GetInferenceId() const { return m_inferenceId; }
39 template <typename InferenceIdT = Aws::String>
40 void SetInferenceId(InferenceIdT&& value) {
41 m_inferenceIdHasBeenSet = true;
42 m_inferenceId = std::forward<InferenceIdT>(value);
43 }
44 template <typename InferenceIdT = Aws::String>
46 SetInferenceId(std::forward<InferenceIdT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetOutputLocation() const { return m_outputLocation; }
57 template <typename OutputLocationT = Aws::String>
58 void SetOutputLocation(OutputLocationT&& value) {
59 m_outputLocationHasBeenSet = true;
60 m_outputLocation = std::forward<OutputLocationT>(value);
61 }
62 template <typename OutputLocationT = Aws::String>
64 SetOutputLocation(std::forward<OutputLocationT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetFailureLocation() const { return m_failureLocation; }
75 template <typename FailureLocationT = Aws::String>
76 void SetFailureLocation(FailureLocationT&& value) {
77 m_failureLocationHasBeenSet = true;
78 m_failureLocation = std::forward<FailureLocationT>(value);
79 }
80 template <typename FailureLocationT = Aws::String>
82 SetFailureLocation(std::forward<FailureLocationT>(value));
83 return *this;
84 }
86
88
89 inline const Aws::String& GetRequestId() const { return m_requestId; }
90 template <typename RequestIdT = Aws::String>
91 void SetRequestId(RequestIdT&& value) {
92 m_requestIdHasBeenSet = true;
93 m_requestId = std::forward<RequestIdT>(value);
94 }
95 template <typename RequestIdT = Aws::String>
97 SetRequestId(std::forward<RequestIdT>(value));
98 return *this;
99 }
101 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
102
103 private:
104 Aws::String m_inferenceId;
105
106 Aws::String m_outputLocation;
107
108 Aws::String m_failureLocation;
109
110 Aws::String m_requestId;
111 Aws::Http::HttpResponseCode m_HttpResponseCode;
112 bool m_inferenceIdHasBeenSet = false;
113 bool m_outputLocationHasBeenSet = false;
114 bool m_failureLocationHasBeenSet = false;
115 bool m_requestIdHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace SageMakerInferenceRouterRuntime
120} // namespace Aws
InvokeInferenceRouterAsyncResult & WithFailureLocation(FailureLocationT &&value)
AWS_SAGEMAKERINFERENCEROUTERRUNTIME_API InvokeInferenceRouterAsyncResult()=default
AWS_SAGEMAKERINFERENCEROUTERRUNTIME_API InvokeInferenceRouterAsyncResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKERINFERENCEROUTERRUNTIME_API InvokeInferenceRouterAsyncResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue