AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
UpdateMLModelResult.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
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 {
32 public:
33 AWS_MACHINELEARNING_API UpdateMLModelResult() = default;
36
38
43 inline const Aws::String& GetMLModelId() const { return m_mLModelId; }
44 template <typename MLModelIdT = Aws::String>
45 void SetMLModelId(MLModelIdT&& value) {
46 m_mLModelIdHasBeenSet = true;
47 m_mLModelId = std::forward<MLModelIdT>(value);
48 }
49 template <typename MLModelIdT = Aws::String>
50 UpdateMLModelResult& WithMLModelId(MLModelIdT&& value) {
51 SetMLModelId(std::forward<MLModelIdT>(value));
52 return *this;
53 }
55
57
58 inline const Aws::String& GetRequestId() const { return m_requestId; }
59 template <typename RequestIdT = Aws::String>
60 void SetRequestId(RequestIdT&& value) {
61 m_requestIdHasBeenSet = true;
62 m_requestId = std::forward<RequestIdT>(value);
63 }
64 template <typename RequestIdT = Aws::String>
65 UpdateMLModelResult& WithRequestId(RequestIdT&& value) {
66 SetRequestId(std::forward<RequestIdT>(value));
67 return *this;
68 }
70 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
71
72 private:
73 Aws::String m_mLModelId;
74
75 Aws::String m_requestId;
76 Aws::Http::HttpResponseCode m_HttpResponseCode;
77 bool m_mLModelIdHasBeenSet = false;
78 bool m_requestIdHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace MachineLearning
83} // namespace Aws
UpdateMLModelResult & WithMLModelId(MLModelIdT &&value)
AWS_MACHINELEARNING_API UpdateMLModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MACHINELEARNING_API UpdateMLModelResult()=default
UpdateMLModelResult & WithRequestId(RequestIdT &&value)
AWS_MACHINELEARNING_API UpdateMLModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue