AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateMLModelResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/machinelearning/MachineLearning_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace MachineLearning {
22namespace Model {
33 public:
34 AWS_MACHINELEARNING_API CreateMLModelResult() = 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 CreateMLModelResult& 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 CreateMLModelResult& WithRequestId(RequestIdT&& value) {
67 SetRequestId(std::forward<RequestIdT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_mLModelId;
73
74 Aws::String m_requestId;
75 bool m_mLModelIdHasBeenSet = false;
76 bool m_requestIdHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace MachineLearning
81} // namespace Aws
AWS_MACHINELEARNING_API CreateMLModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MACHINELEARNING_API CreateMLModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateMLModelResult & WithMLModelId(MLModelIdT &&value)
AWS_MACHINELEARNING_API CreateMLModelResult()=default
CreateMLModelResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue