AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
DeleteRealtimeEndpointResult.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 {
34 public:
35 AWS_MACHINELEARNING_API DeleteRealtimeEndpointResult() = default;
38
40
45 inline const Aws::String& GetMLModelId() const { return m_mLModelId; }
46 template <typename MLModelIdT = Aws::String>
47 void SetMLModelId(MLModelIdT&& value) {
48 m_mLModelIdHasBeenSet = true;
49 m_mLModelId = std::forward<MLModelIdT>(value);
50 }
51 template <typename MLModelIdT = Aws::String>
53 SetMLModelId(std::forward<MLModelIdT>(value));
54 return *this;
55 }
57
59
62 inline const RealtimeEndpointInfo& GetRealtimeEndpointInfo() const { return m_realtimeEndpointInfo; }
63 template <typename RealtimeEndpointInfoT = RealtimeEndpointInfo>
64 void SetRealtimeEndpointInfo(RealtimeEndpointInfoT&& value) {
65 m_realtimeEndpointInfoHasBeenSet = true;
66 m_realtimeEndpointInfo = std::forward<RealtimeEndpointInfoT>(value);
67 }
68 template <typename RealtimeEndpointInfoT = RealtimeEndpointInfo>
70 SetRealtimeEndpointInfo(std::forward<RealtimeEndpointInfoT>(value));
71 return *this;
72 }
74
76
77 inline const Aws::String& GetRequestId() const { return m_requestId; }
78 template <typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) {
80 m_requestIdHasBeenSet = true;
81 m_requestId = std::forward<RequestIdT>(value);
82 }
83 template <typename RequestIdT = Aws::String>
85 SetRequestId(std::forward<RequestIdT>(value));
86 return *this;
87 }
89 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
90
91 private:
92 Aws::String m_mLModelId;
93
94 RealtimeEndpointInfo m_realtimeEndpointInfo;
95
96 Aws::String m_requestId;
97 Aws::Http::HttpResponseCode m_HttpResponseCode;
98 bool m_mLModelIdHasBeenSet = false;
99 bool m_realtimeEndpointInfoHasBeenSet = false;
100 bool m_requestIdHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace MachineLearning
105} // namespace Aws
AWS_MACHINELEARNING_API DeleteRealtimeEndpointResult()=default
DeleteRealtimeEndpointResult & WithRequestId(RequestIdT &&value)
DeleteRealtimeEndpointResult & WithMLModelId(MLModelIdT &&value)
AWS_MACHINELEARNING_API DeleteRealtimeEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MACHINELEARNING_API DeleteRealtimeEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteRealtimeEndpointResult & WithRealtimeEndpointInfo(RealtimeEndpointInfoT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue