AWS SDK for C++  1.9.14
AWS SDK for C++
RuleDetail.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace FraudDetector
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetRuleId() const{ return m_ruleId; }
46 
50  inline bool RuleIdHasBeenSet() const { return m_ruleIdHasBeenSet; }
51 
55  inline void SetRuleId(const Aws::String& value) { m_ruleIdHasBeenSet = true; m_ruleId = value; }
56 
60  inline void SetRuleId(Aws::String&& value) { m_ruleIdHasBeenSet = true; m_ruleId = std::move(value); }
61 
65  inline void SetRuleId(const char* value) { m_ruleIdHasBeenSet = true; m_ruleId.assign(value); }
66 
70  inline RuleDetail& WithRuleId(const Aws::String& value) { SetRuleId(value); return *this;}
71 
75  inline RuleDetail& WithRuleId(Aws::String&& value) { SetRuleId(std::move(value)); return *this;}
76 
80  inline RuleDetail& WithRuleId(const char* value) { SetRuleId(value); return *this;}
81 
82 
86  inline const Aws::String& GetDescription() const{ return m_description; }
87 
91  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 
96  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
97 
101  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
102 
106  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
107 
111  inline RuleDetail& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
112 
116  inline RuleDetail& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
117 
121  inline RuleDetail& WithDescription(const char* value) { SetDescription(value); return *this;}
122 
123 
127  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
128 
132  inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
133 
137  inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
138 
142  inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
143 
147  inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
148 
152  inline RuleDetail& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
153 
157  inline RuleDetail& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
158 
162  inline RuleDetail& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
163 
164 
168  inline const Aws::String& GetRuleVersion() const{ return m_ruleVersion; }
169 
173  inline bool RuleVersionHasBeenSet() const { return m_ruleVersionHasBeenSet; }
174 
178  inline void SetRuleVersion(const Aws::String& value) { m_ruleVersionHasBeenSet = true; m_ruleVersion = value; }
179 
183  inline void SetRuleVersion(Aws::String&& value) { m_ruleVersionHasBeenSet = true; m_ruleVersion = std::move(value); }
184 
188  inline void SetRuleVersion(const char* value) { m_ruleVersionHasBeenSet = true; m_ruleVersion.assign(value); }
189 
193  inline RuleDetail& WithRuleVersion(const Aws::String& value) { SetRuleVersion(value); return *this;}
194 
198  inline RuleDetail& WithRuleVersion(Aws::String&& value) { SetRuleVersion(std::move(value)); return *this;}
199 
203  inline RuleDetail& WithRuleVersion(const char* value) { SetRuleVersion(value); return *this;}
204 
205 
209  inline const Aws::String& GetExpression() const{ return m_expression; }
210 
214  inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
215 
219  inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
220 
224  inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
225 
229  inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
230 
234  inline RuleDetail& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
235 
239  inline RuleDetail& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
240 
244  inline RuleDetail& WithExpression(const char* value) { SetExpression(value); return *this;}
245 
246 
250  inline const Language& GetLanguage() const{ return m_language; }
251 
255  inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
256 
260  inline void SetLanguage(const Language& value) { m_languageHasBeenSet = true; m_language = value; }
261 
265  inline void SetLanguage(Language&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
266 
270  inline RuleDetail& WithLanguage(const Language& value) { SetLanguage(value); return *this;}
271 
275  inline RuleDetail& WithLanguage(Language&& value) { SetLanguage(std::move(value)); return *this;}
276 
277 
281  inline const Aws::Vector<Aws::String>& GetOutcomes() const{ return m_outcomes; }
282 
286  inline bool OutcomesHasBeenSet() const { return m_outcomesHasBeenSet; }
287 
291  inline void SetOutcomes(const Aws::Vector<Aws::String>& value) { m_outcomesHasBeenSet = true; m_outcomes = value; }
292 
296  inline void SetOutcomes(Aws::Vector<Aws::String>&& value) { m_outcomesHasBeenSet = true; m_outcomes = std::move(value); }
297 
301  inline RuleDetail& WithOutcomes(const Aws::Vector<Aws::String>& value) { SetOutcomes(value); return *this;}
302 
306  inline RuleDetail& WithOutcomes(Aws::Vector<Aws::String>&& value) { SetOutcomes(std::move(value)); return *this;}
307 
311  inline RuleDetail& AddOutcomes(const Aws::String& value) { m_outcomesHasBeenSet = true; m_outcomes.push_back(value); return *this; }
312 
316  inline RuleDetail& AddOutcomes(Aws::String&& value) { m_outcomesHasBeenSet = true; m_outcomes.push_back(std::move(value)); return *this; }
317 
321  inline RuleDetail& AddOutcomes(const char* value) { m_outcomesHasBeenSet = true; m_outcomes.push_back(value); return *this; }
322 
323 
327  inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
328 
332  inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
333 
337  inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
338 
342  inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
343 
347  inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
348 
352  inline RuleDetail& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
353 
357  inline RuleDetail& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
358 
362  inline RuleDetail& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
363 
364 
368  inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
369 
373  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
374 
378  inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
379 
383  inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
384 
388  inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
389 
393  inline RuleDetail& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
394 
398  inline RuleDetail& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
399 
403  inline RuleDetail& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
404 
405 
409  inline const Aws::String& GetArn() const{ return m_arn; }
410 
414  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
415 
419  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
420 
424  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
425 
429  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
430 
434  inline RuleDetail& WithArn(const Aws::String& value) { SetArn(value); return *this;}
435 
439  inline RuleDetail& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
440 
444  inline RuleDetail& WithArn(const char* value) { SetArn(value); return *this;}
445 
446  private:
447 
448  Aws::String m_ruleId;
449  bool m_ruleIdHasBeenSet;
450 
451  Aws::String m_description;
452  bool m_descriptionHasBeenSet;
453 
454  Aws::String m_detectorId;
455  bool m_detectorIdHasBeenSet;
456 
457  Aws::String m_ruleVersion;
458  bool m_ruleVersionHasBeenSet;
459 
460  Aws::String m_expression;
461  bool m_expressionHasBeenSet;
462 
463  Language m_language;
464  bool m_languageHasBeenSet;
465 
466  Aws::Vector<Aws::String> m_outcomes;
467  bool m_outcomesHasBeenSet;
468 
469  Aws::String m_lastUpdatedTime;
470  bool m_lastUpdatedTimeHasBeenSet;
471 
472  Aws::String m_createdTime;
473  bool m_createdTimeHasBeenSet;
474 
475  Aws::String m_arn;
476  bool m_arnHasBeenSet;
477  };
478 
479 } // namespace Model
480 } // namespace FraudDetector
481 } // namespace Aws
Aws::FraudDetector::Model::RuleDetail::SetRuleVersion
void SetRuleVersion(const char *value)
Definition: RuleDetail.h:188
Aws::FraudDetector::Model::RuleDetail::WithRuleId
RuleDetail & WithRuleId(const char *value)
Definition: RuleDetail.h:80
Language.h
Aws::FraudDetector::Model::RuleDetail::SetCreatedTime
void SetCreatedTime(const char *value)
Definition: RuleDetail.h:388
Aws::FraudDetector::Model::RuleDetail::GetCreatedTime
const Aws::String & GetCreatedTime() const
Definition: RuleDetail.h:368
Aws::FraudDetector::Model::RuleDetail::GetArn
const Aws::String & GetArn() const
Definition: RuleDetail.h:409
Aws::FraudDetector::Model::RuleDetail::WithRuleId
RuleDetail & WithRuleId(Aws::String &&value)
Definition: RuleDetail.h:75
Aws::FraudDetector::Model::RuleDetail::SetLastUpdatedTime
void SetLastUpdatedTime(const char *value)
Definition: RuleDetail.h:347
Aws::FraudDetector::Model::RuleDetail::WithRuleVersion
RuleDetail & WithRuleVersion(Aws::String &&value)
Definition: RuleDetail.h:198
Aws::FraudDetector::Model::RuleDetail::WithLanguage
RuleDetail & WithLanguage(Language &&value)
Definition: RuleDetail.h:275
Aws::FraudDetector::Model::RuleDetail::SetDescription
void SetDescription(const Aws::String &value)
Definition: RuleDetail.h:96
Aws::FraudDetector::Model::RuleDetail::AddOutcomes
RuleDetail & AddOutcomes(const char *value)
Definition: RuleDetail.h:321
Aws::FraudDetector::Model::RuleDetail::GetExpression
const Aws::String & GetExpression() const
Definition: RuleDetail.h:209
Aws::FraudDetector::Model::RuleDetail::SetExpression
void SetExpression(const Aws::String &value)
Definition: RuleDetail.h:219
Aws::FraudDetector::Model::RuleDetail::AddOutcomes
RuleDetail & AddOutcomes(Aws::String &&value)
Definition: RuleDetail.h:316
Aws::FraudDetector::Model::RuleDetail::WithArn
RuleDetail & WithArn(const Aws::String &value)
Definition: RuleDetail.h:434
Aws::FraudDetector::Model::RuleDetail::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: RuleDetail.h:414
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::RuleDetail::GetLanguage
const Language & GetLanguage() const
Definition: RuleDetail.h:250
Aws::FraudDetector::Model::RuleDetail::WithArn
RuleDetail & WithArn(Aws::String &&value)
Definition: RuleDetail.h:439
Aws::FraudDetector::Model::RuleDetail::SetDescription
void SetDescription(Aws::String &&value)
Definition: RuleDetail.h:101
Aws::FraudDetector::Model::RuleDetail::RuleDetail
RuleDetail()
Aws::FraudDetector::Model::RuleDetail::WithLanguage
RuleDetail & WithLanguage(const Language &value)
Definition: RuleDetail.h:270
Aws::FraudDetector::Model::RuleDetail::GetRuleId
const Aws::String & GetRuleId() const
Definition: RuleDetail.h:45
Aws::FraudDetector::Model::RuleDetail::RuleDetail
RuleDetail(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::RuleDetail::SetRuleId
void SetRuleId(Aws::String &&value)
Definition: RuleDetail.h:60
Aws::FraudDetector::Model::RuleDetail::WithRuleId
RuleDetail & WithRuleId(const Aws::String &value)
Definition: RuleDetail.h:70
Aws::FraudDetector::Model::RuleDetail::ExpressionHasBeenSet
bool ExpressionHasBeenSet() const
Definition: RuleDetail.h:214
Aws::FraudDetector::Model::RuleDetail::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: RuleDetail.h:127
Aws::FraudDetector::Model::RuleDetail::GetDescription
const Aws::String & GetDescription() const
Definition: RuleDetail.h:86
Aws::FraudDetector::Model::RuleDetail::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: RuleDetail.h:132
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::FraudDetector::Model::RuleDetail::SetCreatedTime
void SetCreatedTime(Aws::String &&value)
Definition: RuleDetail.h:383
Aws::FraudDetector::Model::RuleDetail::SetLastUpdatedTime
void SetLastUpdatedTime(const Aws::String &value)
Definition: RuleDetail.h:337
Aws::FraudDetector::Model::RuleDetail::RuleVersionHasBeenSet
bool RuleVersionHasBeenSet() const
Definition: RuleDetail.h:173
AWSVector.h
Aws::FraudDetector::Model::RuleDetail::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: RuleDetail.h:142
Aws::FraudDetector::Model::RuleDetail::SetRuleVersion
void SetRuleVersion(const Aws::String &value)
Definition: RuleDetail.h:178
Aws::FraudDetector::Model::RuleDetail::GetRuleVersion
const Aws::String & GetRuleVersion() const
Definition: RuleDetail.h:168
Aws::FraudDetector::Model::RuleDetail::WithRuleVersion
RuleDetail & WithRuleVersion(const char *value)
Definition: RuleDetail.h:203
Aws::FraudDetector::Model::RuleDetail::WithOutcomes
RuleDetail & WithOutcomes(const Aws::Vector< Aws::String > &value)
Definition: RuleDetail.h:301
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::RuleDetail::WithExpression
RuleDetail & WithExpression(Aws::String &&value)
Definition: RuleDetail.h:239
Aws::FraudDetector::Model::RuleDetail::SetDetectorId
void SetDetectorId(const char *value)
Definition: RuleDetail.h:147
Aws::FraudDetector::Model::RuleDetail::SetRuleId
void SetRuleId(const char *value)
Definition: RuleDetail.h:65
Aws::FraudDetector::Model::RuleDetail::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::RuleDetail::GetOutcomes
const Aws::Vector< Aws::String > & GetOutcomes() const
Definition: RuleDetail.h:281
Aws::FraudDetector::Model::RuleDetail::WithDetectorId
RuleDetail & WithDetectorId(const char *value)
Definition: RuleDetail.h:162
Aws::FraudDetector::Model::RuleDetail::SetArn
void SetArn(const char *value)
Definition: RuleDetail.h:429
Aws::FraudDetector::Model::RuleDetail::WithCreatedTime
RuleDetail & WithCreatedTime(const Aws::String &value)
Definition: RuleDetail.h:393
Aws::FraudDetector::Model::RuleDetail::SetExpression
void SetExpression(const char *value)
Definition: RuleDetail.h:229
Aws::FraudDetector::Model::RuleDetail::RuleIdHasBeenSet
bool RuleIdHasBeenSet() const
Definition: RuleDetail.h:50
Aws::FraudDetector::Model::RuleDetail::SetArn
void SetArn(const Aws::String &value)
Definition: RuleDetail.h:419
Aws::FraudDetector::Model::RuleDetail::AddOutcomes
RuleDetail & AddOutcomes(const Aws::String &value)
Definition: RuleDetail.h:311
Aws::FraudDetector::Model::RuleDetail::SetLanguage
void SetLanguage(Language &&value)
Definition: RuleDetail.h:265
Aws::FraudDetector::Model::RuleDetail::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: RuleDetail.h:91
Aws::FraudDetector::Model::RuleDetail::operator=
RuleDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::RuleDetail::GetLastUpdatedTime
const Aws::String & GetLastUpdatedTime() const
Definition: RuleDetail.h:327
Aws::FraudDetector::Model::RuleDetail::WithLastUpdatedTime
RuleDetail & WithLastUpdatedTime(Aws::String &&value)
Definition: RuleDetail.h:357
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::FraudDetector::Model::RuleDetail::WithLastUpdatedTime
RuleDetail & WithLastUpdatedTime(const Aws::String &value)
Definition: RuleDetail.h:352
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::RuleDetail::SetLastUpdatedTime
void SetLastUpdatedTime(Aws::String &&value)
Definition: RuleDetail.h:342
Aws::FraudDetector::Model::RuleDetail::SetArn
void SetArn(Aws::String &&value)
Definition: RuleDetail.h:424
Aws::FraudDetector::Model::RuleDetail::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: RuleDetail.h:137
Aws::FraudDetector::Model::RuleDetail::LanguageHasBeenSet
bool LanguageHasBeenSet() const
Definition: RuleDetail.h:255
Aws::FraudDetector::Model::RuleDetail::LastUpdatedTimeHasBeenSet
bool LastUpdatedTimeHasBeenSet() const
Definition: RuleDetail.h:332
Aws::FraudDetector::Model::RuleDetail::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: RuleDetail.h:373
Aws::FraudDetector::Model::RuleDetail::SetDescription
void SetDescription(const char *value)
Definition: RuleDetail.h:106
Aws::FraudDetector::Model::RuleDetail::WithLastUpdatedTime
RuleDetail & WithLastUpdatedTime(const char *value)
Definition: RuleDetail.h:362
Aws::FraudDetector::Model::RuleDetail::SetCreatedTime
void SetCreatedTime(const Aws::String &value)
Definition: RuleDetail.h:378
Aws::FraudDetector::Model::RuleDetail::SetRuleVersion
void SetRuleVersion(Aws::String &&value)
Definition: RuleDetail.h:183
Aws::FraudDetector::Model::RuleDetail::WithCreatedTime
RuleDetail & WithCreatedTime(Aws::String &&value)
Definition: RuleDetail.h:398
Aws::FraudDetector::Model::RuleDetail::WithDescription
RuleDetail & WithDescription(const char *value)
Definition: RuleDetail.h:121
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::RuleDetail::WithDescription
RuleDetail & WithDescription(const Aws::String &value)
Definition: RuleDetail.h:111
Aws::FraudDetector::Model::RuleDetail::WithDetectorId
RuleDetail & WithDetectorId(const Aws::String &value)
Definition: RuleDetail.h:152
Aws::FraudDetector::Model::RuleDetail::SetLanguage
void SetLanguage(const Language &value)
Definition: RuleDetail.h:260
Aws::FraudDetector::Model::RuleDetail::WithDetectorId
RuleDetail & WithDetectorId(Aws::String &&value)
Definition: RuleDetail.h:157
Aws::FraudDetector::Model::RuleDetail::WithCreatedTime
RuleDetail & WithCreatedTime(const char *value)
Definition: RuleDetail.h:403
Aws::FraudDetector::Model::RuleDetail::WithRuleVersion
RuleDetail & WithRuleVersion(const Aws::String &value)
Definition: RuleDetail.h:193
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::RuleDetail::SetRuleId
void SetRuleId(const Aws::String &value)
Definition: RuleDetail.h:55
Aws::FraudDetector::Model::RuleDetail
Definition: RuleDetail.h:34
Aws::FraudDetector::Model::RuleDetail::WithExpression
RuleDetail & WithExpression(const char *value)
Definition: RuleDetail.h:244
Aws::FraudDetector::Model::RuleDetail::WithDescription
RuleDetail & WithDescription(Aws::String &&value)
Definition: RuleDetail.h:116
Aws::FraudDetector::Model::RuleDetail::WithExpression
RuleDetail & WithExpression(const Aws::String &value)
Definition: RuleDetail.h:234
Aws::FraudDetector::Model::RuleDetail::SetOutcomes
void SetOutcomes(const Aws::Vector< Aws::String > &value)
Definition: RuleDetail.h:291
Aws::FraudDetector::Model::RuleDetail::SetExpression
void SetExpression(Aws::String &&value)
Definition: RuleDetail.h:224
Aws::FraudDetector::Model::RuleDetail::WithArn
RuleDetail & WithArn(const char *value)
Definition: RuleDetail.h:444
Aws::FraudDetector::Model::RuleDetail::WithOutcomes
RuleDetail & WithOutcomes(Aws::Vector< Aws::String > &&value)
Definition: RuleDetail.h:306
Aws::FraudDetector::Model::Language
Language
Definition: Language.h:17
Aws::FraudDetector::Model::RuleDetail::OutcomesHasBeenSet
bool OutcomesHasBeenSet() const
Definition: RuleDetail.h:286
Aws::FraudDetector::Model::RuleDetail::SetOutcomes
void SetOutcomes(Aws::Vector< Aws::String > &&value)
Definition: RuleDetail.h:296