AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Model.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{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FraudDetector
23{
24namespace Model
25{
26
32 class Model
33 {
34 public:
35 AWS_FRAUDDETECTOR_API Model();
36 AWS_FRAUDDETECTOR_API Model(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FRAUDDETECTOR_API Model& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetModelId() const{ return m_modelId; }
46 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
47 inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
48 inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
49 inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
50 inline Model& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
51 inline Model& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
52 inline Model& WithModelId(const char* value) { SetModelId(value); return *this;}
54
56
59 inline const ModelTypeEnum& GetModelType() const{ return m_modelType; }
60 inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
61 inline void SetModelType(const ModelTypeEnum& value) { m_modelTypeHasBeenSet = true; m_modelType = value; }
62 inline void SetModelType(ModelTypeEnum&& value) { m_modelTypeHasBeenSet = true; m_modelType = std::move(value); }
63 inline Model& WithModelType(const ModelTypeEnum& value) { SetModelType(value); return *this;}
64 inline Model& WithModelType(ModelTypeEnum&& value) { SetModelType(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
74 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
75 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
76 inline Model& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
77 inline Model& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
78 inline Model& WithDescription(const char* value) { SetDescription(value); return *this;}
80
82
85 inline const Aws::String& GetEventTypeName() const{ return m_eventTypeName; }
86 inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; }
87 inline void SetEventTypeName(const Aws::String& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = value; }
88 inline void SetEventTypeName(Aws::String&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::move(value); }
89 inline void SetEventTypeName(const char* value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName.assign(value); }
90 inline Model& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;}
91 inline Model& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;}
92 inline Model& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;}
94
96
99 inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
100 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
101 inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
102 inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
103 inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
104 inline Model& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
105 inline Model& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
106 inline Model& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
108
110
113 inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
114 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
115 inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
116 inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
117 inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
118 inline Model& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
119 inline Model& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
120 inline Model& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
122
124
127 inline const Aws::String& GetArn() const{ return m_arn; }
128 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
129 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
130 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
131 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
132 inline Model& WithArn(const Aws::String& value) { SetArn(value); return *this;}
133 inline Model& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
134 inline Model& WithArn(const char* value) { SetArn(value); return *this;}
136 private:
137
138 Aws::String m_modelId;
139 bool m_modelIdHasBeenSet = false;
140
141 ModelTypeEnum m_modelType;
142 bool m_modelTypeHasBeenSet = false;
143
144 Aws::String m_description;
145 bool m_descriptionHasBeenSet = false;
146
147 Aws::String m_eventTypeName;
148 bool m_eventTypeNameHasBeenSet = false;
149
150 Aws::String m_createdTime;
151 bool m_createdTimeHasBeenSet = false;
152
153 Aws::String m_lastUpdatedTime;
154 bool m_lastUpdatedTimeHasBeenSet = false;
155
156 Aws::String m_arn;
157 bool m_arnHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace FraudDetector
162} // namespace Aws
Model & WithLastUpdatedTime(const Aws::String &value)
Definition Model.h:118
bool LastUpdatedTimeHasBeenSet() const
Definition Model.h:114
void SetCreatedTime(const char *value)
Definition Model.h:103
const Aws::String & GetArn() const
Definition Model.h:127
void SetModelId(const Aws::String &value)
Definition Model.h:47
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
Model & WithModelId(Aws::String &&value)
Definition Model.h:51
const Aws::String & GetLastUpdatedTime() const
Definition Model.h:113
void SetModelId(Aws::String &&value)
Definition Model.h:48
Model & WithArn(Aws::String &&value)
Definition Model.h:133
AWS_FRAUDDETECTOR_API Model()
void SetDescription(Aws::String &&value)
Definition Model.h:74
bool ModelTypeHasBeenSet() const
Definition Model.h:60
void SetArn(const Aws::String &value)
Definition Model.h:129
Model & WithLastUpdatedTime(Aws::String &&value)
Definition Model.h:119
AWS_FRAUDDETECTOR_API Model(Aws::Utils::Json::JsonView jsonValue)
Model & WithLastUpdatedTime(const char *value)
Definition Model.h:120
const Aws::String & GetCreatedTime() const
Definition Model.h:99
const Aws::String & GetEventTypeName() const
Definition Model.h:85
Model & WithEventTypeName(const char *value)
Definition Model.h:92
Model & WithModelId(const char *value)
Definition Model.h:52
bool EventTypeNameHasBeenSet() const
Definition Model.h:86
void SetArn(const char *value)
Definition Model.h:131
AWS_FRAUDDETECTOR_API Model & operator=(Aws::Utils::Json::JsonView jsonValue)
Model & WithDescription(const Aws::String &value)
Definition Model.h:76
bool CreatedTimeHasBeenSet() const
Definition Model.h:100
void SetModelId(const char *value)
Definition Model.h:49
void SetDescription(const Aws::String &value)
Definition Model.h:73
void SetEventTypeName(const char *value)
Definition Model.h:89
void SetModelType(ModelTypeEnum &&value)
Definition Model.h:62
Model & WithCreatedTime(const Aws::String &value)
Definition Model.h:104
Model & WithModelId(const Aws::String &value)
Definition Model.h:50
Model & WithCreatedTime(Aws::String &&value)
Definition Model.h:105
Model & WithDescription(const char *value)
Definition Model.h:78
bool DescriptionHasBeenSet() const
Definition Model.h:72
Model & WithArn(const Aws::String &value)
Definition Model.h:132
void SetDescription(const char *value)
Definition Model.h:75
void SetEventTypeName(const Aws::String &value)
Definition Model.h:87
Model & WithEventTypeName(Aws::String &&value)
Definition Model.h:91
Model & WithArn(const char *value)
Definition Model.h:134
Model & WithDescription(Aws::String &&value)
Definition Model.h:77
Model & WithModelType(ModelTypeEnum &&value)
Definition Model.h:64
Model & WithCreatedTime(const char *value)
Definition Model.h:106
void SetEventTypeName(Aws::String &&value)
Definition Model.h:88
void SetCreatedTime(Aws::String &&value)
Definition Model.h:102
bool ModelIdHasBeenSet() const
Definition Model.h:46
void SetModelType(const ModelTypeEnum &value)
Definition Model.h:61
const ModelTypeEnum & GetModelType() const
Definition Model.h:59
const Aws::String & GetModelId() const
Definition Model.h:45
Model & WithEventTypeName(const Aws::String &value)
Definition Model.h:90
void SetLastUpdatedTime(Aws::String &&value)
Definition Model.h:116
void SetArn(Aws::String &&value)
Definition Model.h:130
Model & WithModelType(const ModelTypeEnum &value)
Definition Model.h:63
const Aws::String & GetDescription() const
Definition Model.h:71
void SetLastUpdatedTime(const char *value)
Definition Model.h:117
void SetLastUpdatedTime(const Aws::String &value)
Definition Model.h:115
void SetCreatedTime(const Aws::String &value)
Definition Model.h:101
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue