AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateModelVersionResult.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/frauddetector/model/ModelTypeEnum.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 FraudDetector
25{
26namespace Model
27{
29 {
30 public:
31 AWS_FRAUDDETECTOR_API UpdateModelVersionResult();
34
35
37
40 inline const Aws::String& GetModelId() const{ return m_modelId; }
41 inline void SetModelId(const Aws::String& value) { m_modelId = value; }
42 inline void SetModelId(Aws::String&& value) { m_modelId = std::move(value); }
43 inline void SetModelId(const char* value) { m_modelId.assign(value); }
44 inline UpdateModelVersionResult& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
45 inline UpdateModelVersionResult& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
46 inline UpdateModelVersionResult& WithModelId(const char* value) { SetModelId(value); return *this;}
48
50
53 inline const ModelTypeEnum& GetModelType() const{ return m_modelType; }
54 inline void SetModelType(const ModelTypeEnum& value) { m_modelType = value; }
55 inline void SetModelType(ModelTypeEnum&& value) { m_modelType = std::move(value); }
56 inline UpdateModelVersionResult& WithModelType(const ModelTypeEnum& value) { SetModelType(value); return *this;}
57 inline UpdateModelVersionResult& WithModelType(ModelTypeEnum&& value) { SetModelType(std::move(value)); return *this;}
59
61
64 inline const Aws::String& GetModelVersionNumber() const{ return m_modelVersionNumber; }
65 inline void SetModelVersionNumber(const Aws::String& value) { m_modelVersionNumber = value; }
66 inline void SetModelVersionNumber(Aws::String&& value) { m_modelVersionNumber = std::move(value); }
67 inline void SetModelVersionNumber(const char* value) { m_modelVersionNumber.assign(value); }
69 inline UpdateModelVersionResult& WithModelVersionNumber(Aws::String&& value) { SetModelVersionNumber(std::move(value)); return *this;}
70 inline UpdateModelVersionResult& WithModelVersionNumber(const char* value) { SetModelVersionNumber(value); return *this;}
72
74
77 inline const Aws::String& GetStatus() const{ return m_status; }
78 inline void SetStatus(const Aws::String& value) { m_status = value; }
79 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
80 inline void SetStatus(const char* value) { m_status.assign(value); }
81 inline UpdateModelVersionResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
82 inline UpdateModelVersionResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
83 inline UpdateModelVersionResult& WithStatus(const char* value) { SetStatus(value); return *this;}
85
87
88 inline const Aws::String& GetRequestId() const{ return m_requestId; }
89 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
90 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
91 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
92 inline UpdateModelVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline UpdateModelVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline UpdateModelVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 private:
97
98 Aws::String m_modelId;
99
100 ModelTypeEnum m_modelType;
101
102 Aws::String m_modelVersionNumber;
103
104 Aws::String m_status;
105
106 Aws::String m_requestId;
107 };
108
109} // namespace Model
110} // namespace FraudDetector
111} // namespace Aws
UpdateModelVersionResult & WithModelVersionNumber(const Aws::String &value)
UpdateModelVersionResult & WithModelType(const ModelTypeEnum &value)
UpdateModelVersionResult & WithModelId(Aws::String &&value)
UpdateModelVersionResult & WithModelId(const Aws::String &value)
UpdateModelVersionResult & WithRequestId(const Aws::String &value)
UpdateModelVersionResult & WithModelVersionNumber(const char *value)
UpdateModelVersionResult & WithModelId(const char *value)
UpdateModelVersionResult & WithRequestId(Aws::String &&value)
UpdateModelVersionResult & WithModelType(ModelTypeEnum &&value)
UpdateModelVersionResult & WithRequestId(const char *value)
UpdateModelVersionResult & WithModelVersionNumber(Aws::String &&value)
AWS_FRAUDDETECTOR_API UpdateModelVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateModelVersionResult & WithStatus(const Aws::String &value)
UpdateModelVersionResult & WithStatus(Aws::String &&value)
AWS_FRAUDDETECTOR_API UpdateModelVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateModelVersionResult & WithStatus(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue