AWS SDK for C++  1.9.70
AWS SDK for C++
Model.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:
35  Model();
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 Model& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
70 
74  inline Model& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
75 
79  inline Model& 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 Model& WithModelType(const ModelTypeEnum& value) { SetModelType(value); return *this;}
106 
110  inline Model& WithModelType(ModelTypeEnum&& value) { SetModelType(std::move(value)); return *this;}
111 
112 
116  inline const Aws::String& GetDescription() const{ return m_description; }
117 
121  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
122 
126  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
127 
131  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
132 
136  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
137 
141  inline Model& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
142 
146  inline Model& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
147 
151  inline Model& WithDescription(const char* value) { SetDescription(value); return *this;}
152 
153 
157  inline const Aws::String& GetEventTypeName() const{ return m_eventTypeName; }
158 
162  inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; }
163 
167  inline void SetEventTypeName(const Aws::String& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = value; }
168 
172  inline void SetEventTypeName(Aws::String&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::move(value); }
173 
177  inline void SetEventTypeName(const char* value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName.assign(value); }
178 
182  inline Model& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;}
183 
187  inline Model& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;}
188 
192  inline Model& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;}
193 
194 
198  inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
199 
203  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
204 
208  inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
209 
213  inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
214 
218  inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
219 
223  inline Model& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
224 
228  inline Model& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
229 
233  inline Model& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
234 
235 
239  inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
240 
244  inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
245 
249  inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
250 
254  inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
255 
259  inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
260 
264  inline Model& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
265 
269  inline Model& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
270 
274  inline Model& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
275 
276 
280  inline const Aws::String& GetArn() const{ return m_arn; }
281 
285  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
286 
290  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
291 
295  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
296 
300  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
301 
305  inline Model& WithArn(const Aws::String& value) { SetArn(value); return *this;}
306 
310  inline Model& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
311 
315  inline Model& WithArn(const char* value) { SetArn(value); return *this;}
316 
317  private:
318 
319  Aws::String m_modelId;
320  bool m_modelIdHasBeenSet;
321 
322  ModelTypeEnum m_modelType;
323  bool m_modelTypeHasBeenSet;
324 
325  Aws::String m_description;
326  bool m_descriptionHasBeenSet;
327 
328  Aws::String m_eventTypeName;
329  bool m_eventTypeNameHasBeenSet;
330 
331  Aws::String m_createdTime;
332  bool m_createdTimeHasBeenSet;
333 
334  Aws::String m_lastUpdatedTime;
335  bool m_lastUpdatedTimeHasBeenSet;
336 
337  Aws::String m_arn;
338  bool m_arnHasBeenSet;
339  };
340 
341 } // namespace Model
342 } // namespace FraudDetector
343 } // namespace Aws
Aws::FraudDetector::Model::Model::SetArn
void SetArn(Aws::String &&value)
Definition: Model.h:295
Aws::FraudDetector::Model::Model::SetLastUpdatedTime
void SetLastUpdatedTime(const Aws::String &value)
Definition: Model.h:249
Aws::FraudDetector::Model::Model::WithLastUpdatedTime
Model & WithLastUpdatedTime(const char *value)
Definition: Model.h:274
Aws::FraudDetector::Model::Model::SetCreatedTime
void SetCreatedTime(Aws::String &&value)
Definition: Model.h:213
Aws::FraudDetector::Model::Model::WithDescription
Model & WithDescription(const Aws::String &value)
Definition: Model.h:141
Aws::FraudDetector::Model::Model::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::Model::SetModelType
void SetModelType(const ModelTypeEnum &value)
Definition: Model.h:95
Aws::FraudDetector::Model::Model::GetEventTypeName
const Aws::String & GetEventTypeName() const
Definition: Model.h:157
Aws::FraudDetector::Model::Model::LastUpdatedTimeHasBeenSet
bool LastUpdatedTimeHasBeenSet() const
Definition: Model.h:244
Aws::FraudDetector::Model::Model::SetEventTypeName
void SetEventTypeName(const char *value)
Definition: Model.h:177
Aws::FraudDetector::Model::Model::GetArn
const Aws::String & GetArn() const
Definition: Model.h:280
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::ModelTypeEnum
ModelTypeEnum
Definition: ModelTypeEnum.h:17
Aws::FraudDetector::Model::Model::SetCreatedTime
void SetCreatedTime(const char *value)
Definition: Model.h:218
Aws::FraudDetector::Model::Model::WithDescription
Model & WithDescription(Aws::String &&value)
Definition: Model.h:146
ModelTypeEnum.h
Aws::FraudDetector::Model::Model::WithEventTypeName
Model & WithEventTypeName(Aws::String &&value)
Definition: Model.h:187
Aws::FraudDetector::Model::Model::Model
Model()
Aws::FraudDetector::Model::Model::GetLastUpdatedTime
const Aws::String & GetLastUpdatedTime() const
Definition: Model.h:239
Aws::FraudDetector::Model::Model::SetArn
void SetArn(const char *value)
Definition: Model.h:300
Aws::FraudDetector::Model::Model::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Model.h:121
Aws::FraudDetector::Model::Model::EventTypeNameHasBeenSet
bool EventTypeNameHasBeenSet() const
Definition: Model.h:162
Aws::FraudDetector::Model::Model::SetDescription
void SetDescription(const char *value)
Definition: Model.h:136
Aws::FraudDetector::Model::Model::WithDescription
Model & WithDescription(const char *value)
Definition: Model.h:151
Aws::FraudDetector::Model::Model::SetDescription
void SetDescription(const Aws::String &value)
Definition: Model.h:126
Aws::FraudDetector::Model::Model::GetDescription
const Aws::String & GetDescription() const
Definition: Model.h:116
Aws::FraudDetector::Model::Model::ModelIdHasBeenSet
bool ModelIdHasBeenSet() const
Definition: Model.h:49
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::Model::WithCreatedTime
Model & WithCreatedTime(Aws::String &&value)
Definition: Model.h:228
Aws::FraudDetector::Model::Model::Model
Model(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::Model::WithLastUpdatedTime
Model & WithLastUpdatedTime(Aws::String &&value)
Definition: Model.h:269
Aws::FraudDetector::Model::Model::WithLastUpdatedTime
Model & WithLastUpdatedTime(const Aws::String &value)
Definition: Model.h:264
Aws::FraudDetector::Model::Model::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: Model.h:203
Aws::FraudDetector::Model::Model::SetEventTypeName
void SetEventTypeName(Aws::String &&value)
Definition: Model.h:172
Aws::FraudDetector::Model::Model::WithCreatedTime
Model & WithCreatedTime(const Aws::String &value)
Definition: Model.h:223
Aws::FraudDetector::Model::Model::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Model.h:285
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::FraudDetector::Model::Model::WithCreatedTime
Model & WithCreatedTime(const char *value)
Definition: Model.h:233
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::Model::GetCreatedTime
const Aws::String & GetCreatedTime() const
Definition: Model.h:198
Aws::FraudDetector::Model::Model::SetLastUpdatedTime
void SetLastUpdatedTime(const char *value)
Definition: Model.h:259
Aws::FraudDetector::Model::Model::SetCreatedTime
void SetCreatedTime(const Aws::String &value)
Definition: Model.h:208
Aws::FraudDetector::Model::Model::SetModelType
void SetModelType(ModelTypeEnum &&value)
Definition: Model.h:100
Aws::FraudDetector::Model::Model::SetLastUpdatedTime
void SetLastUpdatedTime(Aws::String &&value)
Definition: Model.h:254
Aws::FraudDetector::Model::Model::WithArn
Model & WithArn(const Aws::String &value)
Definition: Model.h:305
Aws::FraudDetector::Model::Model::ModelTypeHasBeenSet
bool ModelTypeHasBeenSet() const
Definition: Model.h:90
Aws::FraudDetector::Model::Model::SetModelId
void SetModelId(const char *value)
Definition: Model.h:64
Aws::FraudDetector::Model::Model
Definition: Model.h:33
Aws::FraudDetector::Model::Model::SetEventTypeName
void SetEventTypeName(const Aws::String &value)
Definition: Model.h:167
Aws::FraudDetector::Model::Model::WithModelType
Model & WithModelType(ModelTypeEnum &&value)
Definition: Model.h:110
Aws::FraudDetector::Model::Model::SetModelId
void SetModelId(Aws::String &&value)
Definition: Model.h:59
Aws::FraudDetector::Model::Model::WithModelType
Model & WithModelType(const ModelTypeEnum &value)
Definition: Model.h:105
Aws::FraudDetector::Model::Model::SetArn
void SetArn(const Aws::String &value)
Definition: Model.h:290
Aws::FraudDetector::Model::Model::WithArn
Model & WithArn(const char *value)
Definition: Model.h:315
Aws::FraudDetector::Model::Model::WithModelId
Model & WithModelId(const Aws::String &value)
Definition: Model.h:69
Aws::FraudDetector::Model::Model::SetModelId
void SetModelId(const Aws::String &value)
Definition: Model.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::Model::WithEventTypeName
Model & WithEventTypeName(const Aws::String &value)
Definition: Model.h:182
Aws::FraudDetector::Model::Model::WithModelId
Model & WithModelId(Aws::String &&value)
Definition: Model.h:74
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::Model::GetModelType
const ModelTypeEnum & GetModelType() const
Definition: Model.h:85
Aws::FraudDetector::Model::Model::WithArn
Model & WithArn(Aws::String &&value)
Definition: Model.h:310
Aws::FraudDetector::Model::Model::WithModelId
Model & WithModelId(const char *value)
Definition: Model.h:79
Aws::FraudDetector::Model::Model::GetModelId
const Aws::String & GetModelId() const
Definition: Model.h:44
Aws::FraudDetector::Model::Model::operator=
Model & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::Model::WithEventTypeName
Model & WithEventTypeName(const char *value)
Definition: Model.h:192
Aws::FraudDetector::Model::Model::SetDescription
void SetDescription(Aws::String &&value)
Definition: Model.h:131