AWS SDK for C++

AWS SDK for C++ Version 1.11.786

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