AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateRealtimeEndpointResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/machinelearning/MachineLearning_EXPORTS.h>
9#include <aws/machinelearning/model/RealtimeEndpointInfo.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace MachineLearning {
23namespace Model {
35 public:
36 AWS_MACHINELEARNING_API CreateRealtimeEndpointResult() = default;
39
41
46 inline const Aws::String& GetMLModelId() const { return m_mLModelId; }
47 template <typename MLModelIdT = Aws::String>
48 void SetMLModelId(MLModelIdT&& value) {
49 m_mLModelIdHasBeenSet = true;
50 m_mLModelId = std::forward<MLModelIdT>(value);
51 }
52 template <typename MLModelIdT = Aws::String>
54 SetMLModelId(std::forward<MLModelIdT>(value));
55 return *this;
56 }
58
60
63 inline const RealtimeEndpointInfo& GetRealtimeEndpointInfo() const { return m_realtimeEndpointInfo; }
64 template <typename RealtimeEndpointInfoT = RealtimeEndpointInfo>
65 void SetRealtimeEndpointInfo(RealtimeEndpointInfoT&& value) {
66 m_realtimeEndpointInfoHasBeenSet = true;
67 m_realtimeEndpointInfo = std::forward<RealtimeEndpointInfoT>(value);
68 }
69 template <typename RealtimeEndpointInfoT = RealtimeEndpointInfo>
71 SetRealtimeEndpointInfo(std::forward<RealtimeEndpointInfoT>(value));
72 return *this;
73 }
75
77
78 inline const Aws::String& GetRequestId() const { return m_requestId; }
79 template <typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) {
81 m_requestIdHasBeenSet = true;
82 m_requestId = std::forward<RequestIdT>(value);
83 }
84 template <typename RequestIdT = Aws::String>
86 SetRequestId(std::forward<RequestIdT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_mLModelId;
92
93 RealtimeEndpointInfo m_realtimeEndpointInfo;
94
95 Aws::String m_requestId;
96 bool m_mLModelIdHasBeenSet = false;
97 bool m_realtimeEndpointInfoHasBeenSet = false;
98 bool m_requestIdHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace MachineLearning
103} // 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