AWS SDK for C++  1.9.15
AWS SDK for C++
CreateModelVersionResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace FraudDetector
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetModelId() const{ return m_modelId; }
40 
44  inline void SetModelId(const Aws::String& value) { m_modelId = value; }
45 
49  inline void SetModelId(Aws::String&& value) { m_modelId = std::move(value); }
50 
54  inline void SetModelId(const char* value) { m_modelId.assign(value); }
55 
59  inline CreateModelVersionResult& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
60 
64  inline CreateModelVersionResult& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
65 
69  inline CreateModelVersionResult& WithModelId(const char* value) { SetModelId(value); return *this;}
70 
71 
75  inline const ModelTypeEnum& GetModelType() const{ return m_modelType; }
76 
80  inline void SetModelType(const ModelTypeEnum& value) { m_modelType = value; }
81 
85  inline void SetModelType(ModelTypeEnum&& value) { m_modelType = std::move(value); }
86 
90  inline CreateModelVersionResult& WithModelType(const ModelTypeEnum& value) { SetModelType(value); return *this;}
91 
95  inline CreateModelVersionResult& WithModelType(ModelTypeEnum&& value) { SetModelType(std::move(value)); return *this;}
96 
97 
101  inline const Aws::String& GetModelVersionNumber() const{ return m_modelVersionNumber; }
102 
106  inline void SetModelVersionNumber(const Aws::String& value) { m_modelVersionNumber = value; }
107 
111  inline void SetModelVersionNumber(Aws::String&& value) { m_modelVersionNumber = std::move(value); }
112 
116  inline void SetModelVersionNumber(const char* value) { m_modelVersionNumber.assign(value); }
117 
121  inline CreateModelVersionResult& WithModelVersionNumber(const Aws::String& value) { SetModelVersionNumber(value); return *this;}
122 
126  inline CreateModelVersionResult& WithModelVersionNumber(Aws::String&& value) { SetModelVersionNumber(std::move(value)); return *this;}
127 
131  inline CreateModelVersionResult& WithModelVersionNumber(const char* value) { SetModelVersionNumber(value); return *this;}
132 
133 
137  inline const Aws::String& GetStatus() const{ return m_status; }
138 
142  inline void SetStatus(const Aws::String& value) { m_status = value; }
143 
147  inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
148 
152  inline void SetStatus(const char* value) { m_status.assign(value); }
153 
157  inline CreateModelVersionResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
158 
162  inline CreateModelVersionResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
163 
167  inline CreateModelVersionResult& WithStatus(const char* value) { SetStatus(value); return *this;}
168 
169  private:
170 
171  Aws::String m_modelId;
172 
173  ModelTypeEnum m_modelType;
174 
175  Aws::String m_modelVersionNumber;
176 
177  Aws::String m_status;
178  };
179 
180 } // namespace Model
181 } // namespace FraudDetector
182 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::FraudDetector::Model::CreateModelVersionResult::WithModelId
CreateModelVersionResult & WithModelId(const char *value)
Definition: CreateModelVersionResult.h:69
Aws::FraudDetector::Model::CreateModelVersionResult::WithModelVersionNumber
CreateModelVersionResult & WithModelVersionNumber(Aws::String &&value)
Definition: CreateModelVersionResult.h:126
Aws::FraudDetector::Model::CreateModelVersionResult::SetModelId
void SetModelId(const Aws::String &value)
Definition: CreateModelVersionResult.h:44
Aws::FraudDetector::Model::CreateModelVersionResult::WithStatus
CreateModelVersionResult & WithStatus(const char *value)
Definition: CreateModelVersionResult.h:167
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::ModelTypeEnum
ModelTypeEnum
Definition: ModelTypeEnum.h:17
Aws::FraudDetector::Model::CreateModelVersionResult::WithModelId
CreateModelVersionResult & WithModelId(Aws::String &&value)
Definition: CreateModelVersionResult.h:64
Aws::FraudDetector::Model::CreateModelVersionResult::SetModelId
void SetModelId(Aws::String &&value)
Definition: CreateModelVersionResult.h:49
ModelTypeEnum.h
Aws::FraudDetector::Model::CreateModelVersionResult::SetModelId
void SetModelId(const char *value)
Definition: CreateModelVersionResult.h:54
Aws::FraudDetector::Model::CreateModelVersionResult::SetStatus
void SetStatus(const char *value)
Definition: CreateModelVersionResult.h:152
Aws::FraudDetector::Model::CreateModelVersionResult::WithStatus
CreateModelVersionResult & WithStatus(Aws::String &&value)
Definition: CreateModelVersionResult.h:162
Aws::FraudDetector::Model::CreateModelVersionResult::WithModelId
CreateModelVersionResult & WithModelId(const Aws::String &value)
Definition: CreateModelVersionResult.h:59
Aws::FraudDetector::Model::CreateModelVersionResult
Definition: CreateModelVersionResult.h:29
Aws::FraudDetector::Model::CreateModelVersionResult::SetModelType
void SetModelType(const ModelTypeEnum &value)
Definition: CreateModelVersionResult.h:80
Aws::FraudDetector::Model::CreateModelVersionResult::SetStatus
void SetStatus(const Aws::String &value)
Definition: CreateModelVersionResult.h:142
Aws::FraudDetector::Model::CreateModelVersionResult::CreateModelVersionResult
CreateModelVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::CreateModelVersionResult::WithStatus
CreateModelVersionResult & WithStatus(const Aws::String &value)
Definition: CreateModelVersionResult.h:157
Aws::FraudDetector::Model::CreateModelVersionResult::WithModelType
CreateModelVersionResult & WithModelType(ModelTypeEnum &&value)
Definition: CreateModelVersionResult.h:95
Aws::FraudDetector::Model::CreateModelVersionResult::WithModelVersionNumber
CreateModelVersionResult & WithModelVersionNumber(const Aws::String &value)
Definition: CreateModelVersionResult.h:121
Aws::FraudDetector::Model::CreateModelVersionResult::SetModelVersionNumber
void SetModelVersionNumber(Aws::String &&value)
Definition: CreateModelVersionResult.h:111
Aws::FraudDetector::Model::CreateModelVersionResult::SetModelVersionNumber
void SetModelVersionNumber(const Aws::String &value)
Definition: CreateModelVersionResult.h:106
Aws::FraudDetector::Model::CreateModelVersionResult::GetModelId
const Aws::String & GetModelId() const
Definition: CreateModelVersionResult.h:39
AWSString.h
Aws::FraudDetector::Model::CreateModelVersionResult::SetModelType
void SetModelType(ModelTypeEnum &&value)
Definition: CreateModelVersionResult.h:85
Aws::FraudDetector::Model::CreateModelVersionResult::GetModelVersionNumber
const Aws::String & GetModelVersionNumber() const
Definition: CreateModelVersionResult.h:101
Aws::FraudDetector::Model::CreateModelVersionResult::operator=
CreateModelVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::FraudDetector::Model::CreateModelVersionResult::SetStatus
void SetStatus(Aws::String &&value)
Definition: CreateModelVersionResult.h:147
Aws::FraudDetector::Model::CreateModelVersionResult::CreateModelVersionResult
CreateModelVersionResult()
Aws::FraudDetector::Model::CreateModelVersionResult::GetModelType
const ModelTypeEnum & GetModelType() const
Definition: CreateModelVersionResult.h:75
Aws::FraudDetector::Model::CreateModelVersionResult::WithModelVersionNumber
CreateModelVersionResult & WithModelVersionNumber(const char *value)
Definition: CreateModelVersionResult.h:131
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::CreateModelVersionResult::WithModelType
CreateModelVersionResult & WithModelType(const ModelTypeEnum &value)
Definition: CreateModelVersionResult.h:90
Aws::FraudDetector::Model::CreateModelVersionResult::SetModelVersionNumber
void SetModelVersionNumber(const char *value)
Definition: CreateModelVersionResult.h:116
Aws::FraudDetector::Model::CreateModelVersionResult::GetStatus
const Aws::String & GetStatus() const
Definition: CreateModelVersionResult.h:137