AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
CreateRealtimeEndpointResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/machinelearning/MachineLearning_EXPORTS.h>
10#include <aws/machinelearning/model/RealtimeEndpointInfo.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace MachineLearning {
24namespace Model {
36 public:
37 AWS_MACHINELEARNING_API CreateRealtimeEndpointResult() = default;
40
42
47 inline const Aws::String& GetMLModelId() const { return m_mLModelId; }
48 template <typename MLModelIdT = Aws::String>
49 void SetMLModelId(MLModelIdT&& value) {
50 m_mLModelIdHasBeenSet = true;
51 m_mLModelId = std::forward<MLModelIdT>(value);
52 }
53 template <typename MLModelIdT = Aws::String>
55 SetMLModelId(std::forward<MLModelIdT>(value));
56 return *this;
57 }
59
61
64 inline const RealtimeEndpointInfo& GetRealtimeEndpointInfo() const { return m_realtimeEndpointInfo; }
65 template <typename RealtimeEndpointInfoT = RealtimeEndpointInfo>
66 void SetRealtimeEndpointInfo(RealtimeEndpointInfoT&& value) {
67 m_realtimeEndpointInfoHasBeenSet = true;
68 m_realtimeEndpointInfo = std::forward<RealtimeEndpointInfoT>(value);
69 }
70 template <typename RealtimeEndpointInfoT = RealtimeEndpointInfo>
72 SetRealtimeEndpointInfo(std::forward<RealtimeEndpointInfoT>(value));
73 return *this;
74 }
76
78
79 inline const Aws::String& GetRequestId() const { return m_requestId; }
80 template <typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) {
82 m_requestIdHasBeenSet = true;
83 m_requestId = std::forward<RequestIdT>(value);
84 }
85 template <typename RequestIdT = Aws::String>
87 SetRequestId(std::forward<RequestIdT>(value));
88 return *this;
89 }
91 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
92
93 private:
94 Aws::String m_mLModelId;
95
96 RealtimeEndpointInfo m_realtimeEndpointInfo;
97
98 Aws::String m_requestId;
99 Aws::Http::HttpResponseCode m_HttpResponseCode;
100 bool m_mLModelIdHasBeenSet = false;
101 bool m_realtimeEndpointInfoHasBeenSet = false;
102 bool m_requestIdHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace MachineLearning
107} // namespace Aws
CreateRealtimeEndpointResult & WithRealtimeEndpointInfo(RealtimeEndpointInfoT &&value)
AWS_MACHINELEARNING_API CreateRealtimeEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRealtimeEndpointResult & WithMLModelId(MLModelIdT &&value)
AWS_MACHINELEARNING_API CreateRealtimeEndpointResult()=default
AWS_MACHINELEARNING_API CreateRealtimeEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRealtimeEndpointResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue