AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetMLEndpointResult.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptunedata/model/MlResourceDefinition.h>
10#include <aws/neptunedata/model/MlConfigDefinition.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace neptunedata
26{
27namespace Model
28{
30 {
31 public:
32 AWS_NEPTUNEDATA_API GetMLEndpointResult() = default;
35
36
38
41 inline const Aws::String& GetStatus() const { return m_status; }
42 template<typename StatusT = Aws::String>
43 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
44 template<typename StatusT = Aws::String>
45 GetMLEndpointResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
47
49
52 inline const Aws::String& GetId() const { return m_id; }
53 template<typename IdT = Aws::String>
54 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
55 template<typename IdT = Aws::String>
56 GetMLEndpointResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
58
60
63 inline const MlResourceDefinition& GetEndpoint() const { return m_endpoint; }
64 template<typename EndpointT = MlResourceDefinition>
65 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
66 template<typename EndpointT = MlResourceDefinition>
67 GetMLEndpointResult& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
69
71
74 inline const MlConfigDefinition& GetEndpointConfig() const { return m_endpointConfig; }
75 template<typename EndpointConfigT = MlConfigDefinition>
76 void SetEndpointConfig(EndpointConfigT&& value) { m_endpointConfigHasBeenSet = true; m_endpointConfig = std::forward<EndpointConfigT>(value); }
77 template<typename EndpointConfigT = MlConfigDefinition>
78 GetMLEndpointResult& WithEndpointConfig(EndpointConfigT&& value) { SetEndpointConfig(std::forward<EndpointConfigT>(value)); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template<typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
86 template<typename RequestIdT = Aws::String>
87 GetMLEndpointResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
89 private:
90
91 Aws::String m_status;
92 bool m_statusHasBeenSet = false;
93
94 Aws::String m_id;
95 bool m_idHasBeenSet = false;
96
97 MlResourceDefinition m_endpoint;
98 bool m_endpointHasBeenSet = false;
99
100 MlConfigDefinition m_endpointConfig;
101 bool m_endpointConfigHasBeenSet = false;
102
103 Aws::String m_requestId;
104 bool m_requestIdHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace neptunedata
109} // 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
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