AWS SDK for C++  1.9.159
AWS SDK for C++
ModelVersion.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace FraudDetector
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetModelId() const{ return m_modelId; }
45 
49  inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
50 
54  inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
55 
59  inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
60 
64  inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
65 
69  inline ModelVersion& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
70 
74  inline ModelVersion& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
75 
79  inline ModelVersion& WithModelId(const char* value) { SetModelId(value); return *this;}
80 
81 
85  inline const ModelTypeEnum& GetModelType() const{ return m_modelType; }
86 
90  inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
91 
95  inline void SetModelType(const ModelTypeEnum& value) { m_modelTypeHasBeenSet = true; m_modelType = value; }
96 
100  inline void SetModelType(ModelTypeEnum&& value) { m_modelTypeHasBeenSet = true; m_modelType = std::move(value); }
101 
105  inline ModelVersion& WithModelType(const ModelTypeEnum& value) { SetModelType(value); return *this;}
106 
110  inline ModelVersion& WithModelType(ModelTypeEnum&& value) { SetModelType(std::move(value)); return *this;}
111 
112 
116  inline const Aws::String& GetModelVersionNumber() const{ return m_modelVersionNumber; }
117 
121  inline bool ModelVersionNumberHasBeenSet() const { return m_modelVersionNumberHasBeenSet; }
122 
126  inline void SetModelVersionNumber(const Aws::String& value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber = value; }
127 
131  inline void SetModelVersionNumber(Aws::String&& value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber = std::move(value); }
132 
136  inline void SetModelVersionNumber(const char* value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber.assign(value); }
137 
141  inline ModelVersion& WithModelVersionNumber(const Aws::String& value) { SetModelVersionNumber(value); return *this;}
142 
146  inline ModelVersion& WithModelVersionNumber(Aws::String&& value) { SetModelVersionNumber(std::move(value)); return *this;}
147 
151  inline ModelVersion& WithModelVersionNumber(const char* value) { SetModelVersionNumber(value); return *this;}
152 
153 
157  inline const Aws::String& GetArn() const{ return m_arn; }
158 
162  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
163 
167  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
168 
172  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
173 
177  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
178 
182  inline ModelVersion& WithArn(const Aws::String& value) { SetArn(value); return *this;}
183 
187  inline ModelVersion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
188 
192  inline ModelVersion& WithArn(const char* value) { SetArn(value); return *this;}
193 
194  private:
195 
196  Aws::String m_modelId;
197  bool m_modelIdHasBeenSet;
198 
199  ModelTypeEnum m_modelType;
200  bool m_modelTypeHasBeenSet;
201 
202  Aws::String m_modelVersionNumber;
203  bool m_modelVersionNumberHasBeenSet;
204 
205  Aws::String m_arn;
206  bool m_arnHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace FraudDetector
211 } // namespace Aws
Aws::FraudDetector::Model::ModelVersion::SetModelId
void SetModelId(Aws::String &&value)
Definition: ModelVersion.h:59
Aws::FraudDetector::Model::ModelVersion::WithModelVersionNumber
ModelVersion & WithModelVersionNumber(const Aws::String &value)
Definition: ModelVersion.h:141
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::ModelTypeEnum
ModelTypeEnum
Definition: ModelTypeEnum.h:17
Aws::FraudDetector::Model::ModelVersion::SetArn
void SetArn(const Aws::String &value)
Definition: ModelVersion.h:167
Aws::FraudDetector::Model::ModelVersion::SetModelType
void SetModelType(const ModelTypeEnum &value)
Definition: ModelVersion.h:95
Aws::FraudDetector::Model::ModelVersion::operator=
ModelVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::ModelVersion::WithModelType
ModelVersion & WithModelType(const ModelTypeEnum &value)
Definition: ModelVersion.h:105
ModelTypeEnum.h
Aws::FraudDetector::Model::ModelVersion::WithModelVersionNumber
ModelVersion & WithModelVersionNumber(const char *value)
Definition: ModelVersion.h:151
Aws::FraudDetector::Model::ModelVersion::WithArn
ModelVersion & WithArn(const Aws::String &value)
Definition: ModelVersion.h:182
Aws::FraudDetector::Model::ModelVersion::SetArn
void SetArn(const char *value)
Definition: ModelVersion.h:177
Aws::FraudDetector::Model::ModelVersion::SetModelId
void SetModelId(const char *value)
Definition: ModelVersion.h:64
Aws::FraudDetector::Model::ModelVersion::ModelIdHasBeenSet
bool ModelIdHasBeenSet() const
Definition: ModelVersion.h:49
Aws::FraudDetector::Model::ModelVersion::SetModelVersionNumber
void SetModelVersionNumber(const char *value)
Definition: ModelVersion.h:136
Aws::FraudDetector::Model::ModelVersion::SetModelId
void SetModelId(const Aws::String &value)
Definition: ModelVersion.h:54
Aws::FraudDetector::Model::ModelVersion::GetArn
const Aws::String & GetArn() const
Definition: ModelVersion.h:157
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::ModelVersion::GetModelVersionNumber
const Aws::String & GetModelVersionNumber() const
Definition: ModelVersion.h:116
Aws::FraudDetector::Model::ModelVersion::ModelVersion
ModelVersion(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::ModelVersion::WithModelId
ModelVersion & WithModelId(const char *value)
Definition: ModelVersion.h:79
Aws::FraudDetector::Model::ModelVersion::WithModelId
ModelVersion & WithModelId(const Aws::String &value)
Definition: ModelVersion.h:69
Aws::FraudDetector::Model::ModelVersion::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::ModelVersion::ModelVersion
ModelVersion()
Aws::FraudDetector::Model::ModelVersion::SetArn
void SetArn(Aws::String &&value)
Definition: ModelVersion.h:172
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::FraudDetector::Model::ModelVersion::SetModelVersionNumber
void SetModelVersionNumber(const Aws::String &value)
Definition: ModelVersion.h:126
Aws::FraudDetector::Model::ModelVersion::GetModelId
const Aws::String & GetModelId() const
Definition: ModelVersion.h:44
Aws::FraudDetector::Model::ModelVersion::WithModelId
ModelVersion & WithModelId(Aws::String &&value)
Definition: ModelVersion.h:74
Aws::FraudDetector::Model::ModelVersion::WithArn
ModelVersion & WithArn(const char *value)
Definition: ModelVersion.h:192
Aws::FraudDetector::Model::ModelVersion::SetModelType
void SetModelType(ModelTypeEnum &&value)
Definition: ModelVersion.h:100
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::ModelVersion
Definition: ModelVersion.h:33
Aws::FraudDetector::Model::ModelVersion::ModelVersionNumberHasBeenSet
bool ModelVersionNumberHasBeenSet() const
Definition: ModelVersion.h:121
Aws::FraudDetector::Model::ModelVersion::WithModelVersionNumber
ModelVersion & WithModelVersionNumber(Aws::String &&value)
Definition: ModelVersion.h:146
Aws::FraudDetector::Model::ModelVersion::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ModelVersion.h:162
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::ModelVersion::GetModelType
const ModelTypeEnum & GetModelType() const
Definition: ModelVersion.h:85
Aws::FraudDetector::Model::ModelVersion::WithModelType
ModelVersion & WithModelType(ModelTypeEnum &&value)
Definition: ModelVersion.h:110
Aws::FraudDetector::Model::ModelVersion::SetModelVersionNumber
void SetModelVersionNumber(Aws::String &&value)
Definition: ModelVersion.h:131
Aws::FraudDetector::Model::ModelVersion::WithArn
ModelVersion & WithArn(Aws::String &&value)
Definition: ModelVersion.h:187
Aws::FraudDetector::Model::ModelVersion::ModelTypeHasBeenSet
bool ModelTypeHasBeenSet() const
Definition: ModelVersion.h:90