AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetMLEndpointResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptunedata/Neptunedata_EXPORTS.h>
10#include <aws/neptunedata/model/MlConfigDefinition.h>
11#include <aws/neptunedata/model/MlResourceDefinition.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace neptunedata {
25namespace Model {
27 public:
28 AWS_NEPTUNEDATA_API GetMLEndpointResult() = default;
31
33
36 inline const Aws::String& GetStatus() const { return m_status; }
37 template <typename StatusT = Aws::String>
38 void SetStatus(StatusT&& value) {
39 m_statusHasBeenSet = true;
40 m_status = std::forward<StatusT>(value);
41 }
42 template <typename StatusT = Aws::String>
43 GetMLEndpointResult& WithStatus(StatusT&& value) {
44 SetStatus(std::forward<StatusT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetId() const { return m_id; }
54 template <typename IdT = Aws::String>
55 void SetId(IdT&& value) {
56 m_idHasBeenSet = true;
57 m_id = std::forward<IdT>(value);
58 }
59 template <typename IdT = Aws::String>
61 SetId(std::forward<IdT>(value));
62 return *this;
63 }
65
67
70 inline const MlResourceDefinition& GetEndpoint() const { return m_endpoint; }
71 template <typename EndpointT = MlResourceDefinition>
72 void SetEndpoint(EndpointT&& value) {
73 m_endpointHasBeenSet = true;
74 m_endpoint = std::forward<EndpointT>(value);
75 }
76 template <typename EndpointT = MlResourceDefinition>
77 GetMLEndpointResult& WithEndpoint(EndpointT&& value) {
78 SetEndpoint(std::forward<EndpointT>(value));
79 return *this;
80 }
82
84
87 inline const MlConfigDefinition& GetEndpointConfig() const { return m_endpointConfig; }
88 template <typename EndpointConfigT = MlConfigDefinition>
89 void SetEndpointConfig(EndpointConfigT&& value) {
90 m_endpointConfigHasBeenSet = true;
91 m_endpointConfig = std::forward<EndpointConfigT>(value);
92 }
93 template <typename EndpointConfigT = MlConfigDefinition>
94 GetMLEndpointResult& WithEndpointConfig(EndpointConfigT&& value) {
95 SetEndpointConfig(std::forward<EndpointConfigT>(value));
96 return *this;
97 }
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 template <typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) {
105 m_requestIdHasBeenSet = true;
106 m_requestId = std::forward<RequestIdT>(value);
107 }
108 template <typename RequestIdT = Aws::String>
109 GetMLEndpointResult& WithRequestId(RequestIdT&& value) {
110 SetRequestId(std::forward<RequestIdT>(value));
111 return *this;
112 }
114 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
115
116 private:
117 Aws::String m_status;
118
119 Aws::String m_id;
120
121 MlResourceDefinition m_endpoint;
122
123 MlConfigDefinition m_endpointConfig;
124
125 Aws::String m_requestId;
126 Aws::Http::HttpResponseCode m_HttpResponseCode;
127 bool m_statusHasBeenSet = false;
128 bool m_idHasBeenSet = false;
129 bool m_endpointHasBeenSet = false;
130 bool m_endpointConfigHasBeenSet = false;
131 bool m_requestIdHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace neptunedata
136} // namespace Aws
AWS_NEPTUNEDATA_API GetMLEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMLEndpointResult & WithStatus(StatusT &&value)
GetMLEndpointResult & WithEndpointConfig(EndpointConfigT &&value)
const MlResourceDefinition & GetEndpoint() const
AWS_NEPTUNEDATA_API GetMLEndpointResult()=default
const MlConfigDefinition & GetEndpointConfig() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetMLEndpointResult & WithEndpoint(EndpointT &&value)
void SetEndpointConfig(EndpointConfigT &&value)
GetMLEndpointResult & WithId(IdT &&value)
GetMLEndpointResult & WithRequestId(RequestIdT &&value)
AWS_NEPTUNEDATA_API GetMLEndpointResult & operator=(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