AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateRealtimeEndpointResult.h
1
6#pragma once
7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/machinelearning/model/RealtimeEndpointInfo.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace MachineLearning
25{
26namespace Model
27{
39 {
40 public:
41 AWS_MACHINELEARNING_API CreateRealtimeEndpointResult() = default;
44
45
47
52 inline const Aws::String& GetMLModelId() const { return m_mLModelId; }
53 template<typename MLModelIdT = Aws::String>
54 void SetMLModelId(MLModelIdT&& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = std::forward<MLModelIdT>(value); }
55 template<typename MLModelIdT = Aws::String>
56 CreateRealtimeEndpointResult& WithMLModelId(MLModelIdT&& value) { SetMLModelId(std::forward<MLModelIdT>(value)); return *this;}
58
60
63 inline const RealtimeEndpointInfo& GetRealtimeEndpointInfo() const { return m_realtimeEndpointInfo; }
64 template<typename RealtimeEndpointInfoT = RealtimeEndpointInfo>
65 void SetRealtimeEndpointInfo(RealtimeEndpointInfoT&& value) { m_realtimeEndpointInfoHasBeenSet = true; m_realtimeEndpointInfo = std::forward<RealtimeEndpointInfoT>(value); }
66 template<typename RealtimeEndpointInfoT = RealtimeEndpointInfo>
67 CreateRealtimeEndpointResult& WithRealtimeEndpointInfo(RealtimeEndpointInfoT&& value) { SetRealtimeEndpointInfo(std::forward<RealtimeEndpointInfoT>(value)); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template<typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
75 template<typename RequestIdT = Aws::String>
76 CreateRealtimeEndpointResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
78 private:
79
80 Aws::String m_mLModelId;
81 bool m_mLModelIdHasBeenSet = false;
82
83 RealtimeEndpointInfo m_realtimeEndpointInfo;
84 bool m_realtimeEndpointInfoHasBeenSet = false;
85
86 Aws::String m_requestId;
87 bool m_requestIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace MachineLearning
92} // 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