AWS SDK for C++  1.9.20
AWS SDK for C++
Detector.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace FraudDetector
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
44 
48  inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
49 
53  inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
54 
58  inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
59 
63  inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
64 
68  inline Detector& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
69 
73  inline Detector& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
74 
78  inline Detector& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
79 
80 
84  inline const Aws::String& GetDescription() const{ return m_description; }
85 
89  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 
94  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
95 
99  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
100 
104  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
105 
109  inline Detector& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
110 
114  inline Detector& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
115 
119  inline Detector& WithDescription(const char* value) { SetDescription(value); return *this;}
120 
121 
125  inline const Aws::String& GetEventTypeName() const{ return m_eventTypeName; }
126 
130  inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; }
131 
135  inline void SetEventTypeName(const Aws::String& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = value; }
136 
140  inline void SetEventTypeName(Aws::String&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::move(value); }
141 
145  inline void SetEventTypeName(const char* value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName.assign(value); }
146 
150  inline Detector& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;}
151 
155  inline Detector& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;}
156 
160  inline Detector& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;}
161 
162 
166  inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
167 
171  inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
172 
176  inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
177 
181  inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
182 
186  inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
187 
191  inline Detector& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
192 
196  inline Detector& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
197 
201  inline Detector& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
202 
203 
207  inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
208 
212  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
213 
217  inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
218 
222  inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
223 
227  inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
228 
232  inline Detector& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
233 
237  inline Detector& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
238 
242  inline Detector& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
243 
244 
248  inline const Aws::String& GetArn() const{ return m_arn; }
249 
253  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
254 
258  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
259 
263  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
264 
268  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
269 
273  inline Detector& WithArn(const Aws::String& value) { SetArn(value); return *this;}
274 
278  inline Detector& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
279 
283  inline Detector& WithArn(const char* value) { SetArn(value); return *this;}
284 
285  private:
286 
287  Aws::String m_detectorId;
288  bool m_detectorIdHasBeenSet;
289 
290  Aws::String m_description;
291  bool m_descriptionHasBeenSet;
292 
293  Aws::String m_eventTypeName;
294  bool m_eventTypeNameHasBeenSet;
295 
296  Aws::String m_lastUpdatedTime;
297  bool m_lastUpdatedTimeHasBeenSet;
298 
299  Aws::String m_createdTime;
300  bool m_createdTimeHasBeenSet;
301 
302  Aws::String m_arn;
303  bool m_arnHasBeenSet;
304  };
305 
306 } // namespace Model
307 } // namespace FraudDetector
308 } // namespace Aws
Aws::FraudDetector::Model::Detector::Detector
Detector(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::Detector::SetLastUpdatedTime
void SetLastUpdatedTime(Aws::String &&value)
Definition: Detector.h:181
Aws::FraudDetector::Model::Detector::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: Detector.h:48
Aws::FraudDetector::Model::Detector::SetArn
void SetArn(const Aws::String &value)
Definition: Detector.h:258
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::Detector::SetArn
void SetArn(Aws::String &&value)
Definition: Detector.h:263
Aws::FraudDetector::Model::Detector::SetArn
void SetArn(const char *value)
Definition: Detector.h:268
Aws::FraudDetector::Model::Detector::SetDescription
void SetDescription(const Aws::String &value)
Definition: Detector.h:94
Aws::FraudDetector::Model::Detector::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Detector.h:89
Aws::FraudDetector::Model::Detector::LastUpdatedTimeHasBeenSet
bool LastUpdatedTimeHasBeenSet() const
Definition: Detector.h:171
Aws::FraudDetector::Model::Detector::SetLastUpdatedTime
void SetLastUpdatedTime(const Aws::String &value)
Definition: Detector.h:176
Aws::FraudDetector::Model::Detector::SetEventTypeName
void SetEventTypeName(const char *value)
Definition: Detector.h:145
Aws::FraudDetector::Model::Detector::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::Detector::EventTypeNameHasBeenSet
bool EventTypeNameHasBeenSet() const
Definition: Detector.h:130
Aws::FraudDetector::Model::Detector::SetCreatedTime
void SetCreatedTime(Aws::String &&value)
Definition: Detector.h:222
Aws::FraudDetector::Model::Detector::WithEventTypeName
Detector & WithEventTypeName(Aws::String &&value)
Definition: Detector.h:155
Aws::FraudDetector::Model::Detector::WithDescription
Detector & WithDescription(const Aws::String &value)
Definition: Detector.h:109
Aws::FraudDetector::Model::Detector::WithDetectorId
Detector & WithDetectorId(Aws::String &&value)
Definition: Detector.h:73
Aws::FraudDetector::Model::Detector::WithDescription
Detector & WithDescription(const char *value)
Definition: Detector.h:119
Aws::FraudDetector::Model::Detector::WithLastUpdatedTime
Detector & WithLastUpdatedTime(const char *value)
Definition: Detector.h:201
Aws::FraudDetector::Model::Detector::SetCreatedTime
void SetCreatedTime(const Aws::String &value)
Definition: Detector.h:217
Aws::FraudDetector::Model::Detector::Detector
Detector()
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::Detector::WithDetectorId
Detector & WithDetectorId(const char *value)
Definition: Detector.h:78
Aws::FraudDetector::Model::Detector::WithLastUpdatedTime
Detector & WithLastUpdatedTime(Aws::String &&value)
Definition: Detector.h:196
Aws::FraudDetector::Model::Detector::SetEventTypeName
void SetEventTypeName(const Aws::String &value)
Definition: Detector.h:135
Aws::FraudDetector::Model::Detector::GetArn
const Aws::String & GetArn() const
Definition: Detector.h:248
Aws::FraudDetector::Model::Detector::WithDetectorId
Detector & WithDetectorId(const Aws::String &value)
Definition: Detector.h:68
Aws::FraudDetector::Model::Detector::WithArn
Detector & WithArn(const Aws::String &value)
Definition: Detector.h:273
Aws::FraudDetector::Model::Detector
Definition: Detector.h:32
Aws::FraudDetector::Model::Detector::SetDescription
void SetDescription(const char *value)
Definition: Detector.h:104
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::FraudDetector::Model::Detector::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: Detector.h:212
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::Detector::WithCreatedTime
Detector & WithCreatedTime(Aws::String &&value)
Definition: Detector.h:237
Aws::FraudDetector::Model::Detector::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Detector.h:253
Aws::FraudDetector::Model::Detector::GetLastUpdatedTime
const Aws::String & GetLastUpdatedTime() const
Definition: Detector.h:166
Aws::FraudDetector::Model::Detector::SetEventTypeName
void SetEventTypeName(Aws::String &&value)
Definition: Detector.h:140
Aws::FraudDetector::Model::Detector::WithCreatedTime
Detector & WithCreatedTime(const char *value)
Definition: Detector.h:242
Aws::FraudDetector::Model::Detector::SetDetectorId
void SetDetectorId(const char *value)
Definition: Detector.h:63
Aws::FraudDetector::Model::Detector::GetCreatedTime
const Aws::String & GetCreatedTime() const
Definition: Detector.h:207
Aws::FraudDetector::Model::Detector::WithArn
Detector & WithArn(const char *value)
Definition: Detector.h:283
Aws::FraudDetector::Model::Detector::WithEventTypeName
Detector & WithEventTypeName(const Aws::String &value)
Definition: Detector.h:150
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::Detector::WithLastUpdatedTime
Detector & WithLastUpdatedTime(const Aws::String &value)
Definition: Detector.h:191
Aws::FraudDetector::Model::Detector::WithDescription
Detector & WithDescription(Aws::String &&value)
Definition: Detector.h:114
Aws::FraudDetector::Model::Detector::SetCreatedTime
void SetCreatedTime(const char *value)
Definition: Detector.h:227
Aws::FraudDetector::Model::Detector::operator=
Detector & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::Detector::WithEventTypeName
Detector & WithEventTypeName(const char *value)
Definition: Detector.h:160
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::Detector::GetDescription
const Aws::String & GetDescription() const
Definition: Detector.h:84
Aws::FraudDetector::Model::Detector::GetEventTypeName
const Aws::String & GetEventTypeName() const
Definition: Detector.h:125
Aws::FraudDetector::Model::Detector::WithCreatedTime
Detector & WithCreatedTime(const Aws::String &value)
Definition: Detector.h:232
Aws::FraudDetector::Model::Detector::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: Detector.h:53
Aws::FraudDetector::Model::Detector::WithArn
Detector & WithArn(Aws::String &&value)
Definition: Detector.h:278
Aws::FraudDetector::Model::Detector::SetLastUpdatedTime
void SetLastUpdatedTime(const char *value)
Definition: Detector.h:186
Aws::FraudDetector::Model::Detector::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: Detector.h:43
Aws::FraudDetector::Model::Detector::SetDescription
void SetDescription(Aws::String &&value)
Definition: Detector.h:99
Aws::FraudDetector::Model::Detector::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: Detector.h:58