AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
33
34
36
41 inline const Aws::String& GetInferenceId() const{ return m_inferenceId; }
42 inline void SetInferenceId(const Aws::String& value) { m_inferenceId = value; }
43 inline void SetInferenceId(Aws::String&& value) { m_inferenceId = std::move(value); }
44 inline void SetInferenceId(const char* value) { m_inferenceId.assign(value); }
45 inline InvokeEndpointAsyncResult& WithInferenceId(const Aws::String& value) { SetInferenceId(value); return *this;}
46 inline InvokeEndpointAsyncResult& WithInferenceId(Aws::String&& value) { SetInferenceId(std::move(value)); return *this;}
47 inline InvokeEndpointAsyncResult& WithInferenceId(const char* value) { SetInferenceId(value); return *this;}
49
51
54 inline const Aws::String& GetOutputLocation() const{ return m_outputLocation; }
55 inline void SetOutputLocation(const Aws::String& value) { m_outputLocation = value; }
56 inline void SetOutputLocation(Aws::String&& value) { m_outputLocation = std::move(value); }
57 inline void SetOutputLocation(const char* value) { m_outputLocation.assign(value); }
58 inline InvokeEndpointAsyncResult& WithOutputLocation(const Aws::String& value) { SetOutputLocation(value); return *this;}
59 inline InvokeEndpointAsyncResult& WithOutputLocation(Aws::String&& value) { SetOutputLocation(std::move(value)); return *this;}
60 inline InvokeEndpointAsyncResult& WithOutputLocation(const char* value) { SetOutputLocation(value); return *this;}
62
64
67 inline const Aws::String& GetFailureLocation() const{ return m_failureLocation; }
68 inline void SetFailureLocation(const Aws::String& value) { m_failureLocation = value; }
69 inline void SetFailureLocation(Aws::String&& value) { m_failureLocation = std::move(value); }
70 inline void SetFailureLocation(const char* value) { m_failureLocation.assign(value); }
71 inline InvokeEndpointAsyncResult& WithFailureLocation(const Aws::String& value) { SetFailureLocation(value); return *this;}
72 inline InvokeEndpointAsyncResult& WithFailureLocation(Aws::String&& value) { SetFailureLocation(std::move(value)); return *this;}
73 inline InvokeEndpointAsyncResult& WithFailureLocation(const char* value) { SetFailureLocation(value); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline InvokeEndpointAsyncResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline InvokeEndpointAsyncResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline InvokeEndpointAsyncResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
88 Aws::String m_inferenceId;
89
90 Aws::String m_outputLocation;
91
92 Aws::String m_failureLocation;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace SageMakerRuntime
99} // namespace Aws
AWS_SAGEMAKERRUNTIME_API InvokeEndpointAsyncResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
InvokeEndpointAsyncResult & WithOutputLocation(const char *value)
InvokeEndpointAsyncResult & WithRequestId(const Aws::String &value)
InvokeEndpointAsyncResult & WithFailureLocation(const char *value)
InvokeEndpointAsyncResult & WithInferenceId(Aws::String &&value)
InvokeEndpointAsyncResult & WithFailureLocation(Aws::String &&value)
InvokeEndpointAsyncResult & WithInferenceId(const char *value)
AWS_SAGEMAKERRUNTIME_API InvokeEndpointAsyncResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
InvokeEndpointAsyncResult & WithOutputLocation(const Aws::String &value)
InvokeEndpointAsyncResult & WithRequestId(const char *value)
InvokeEndpointAsyncResult & WithFailureLocation(const Aws::String &value)
InvokeEndpointAsyncResult & WithOutputLocation(Aws::String &&value)
InvokeEndpointAsyncResult & WithInferenceId(const Aws::String &value)
InvokeEndpointAsyncResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue