AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateModelVersionResult.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 CreateModelVersionResult();
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 CreateModelVersionResult& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
45 inline CreateModelVersionResult& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
46 inline CreateModelVersionResult& 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 CreateModelVersionResult& WithModelType(const ModelTypeEnum& value) { SetModelType(value); return *this;}
57 inline CreateModelVersionResult& 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 CreateModelVersionResult& WithModelVersionNumber(Aws::String&& value) { SetModelVersionNumber(std::move(value)); return *this;}
70 inline CreateModelVersionResult& 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 CreateModelVersionResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
82 inline CreateModelVersionResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
83 inline CreateModelVersionResult& 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 CreateModelVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline CreateModelVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline CreateModelVersionResult& 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
CreateModelVersionResult & WithModelVersionNumber(Aws::String &&value)
CreateModelVersionResult & WithRequestId(Aws::String &&value)
CreateModelVersionResult & WithModelId(Aws::String &&value)
CreateModelVersionResult & WithModelType(ModelTypeEnum &&value)
CreateModelVersionResult & WithModelId(const char *value)
CreateModelVersionResult & WithRequestId(const char *value)
CreateModelVersionResult & WithModelVersionNumber(const Aws::String &value)
CreateModelVersionResult & WithStatus(const char *value)
CreateModelVersionResult & WithRequestId(const Aws::String &value)
CreateModelVersionResult & WithModelId(const Aws::String &value)
CreateModelVersionResult & WithModelVersionNumber(const char *value)
AWS_FRAUDDETECTOR_API CreateModelVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateModelVersionResult & WithStatus(const Aws::String &value)
AWS_FRAUDDETECTOR_API CreateModelVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateModelVersionResult & WithModelType(const ModelTypeEnum &value)
CreateModelVersionResult & WithStatus(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue