AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Rule.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FraudDetector
22{
23namespace Model
24{
25
31 class Rule
32 {
33 public:
34 AWS_FRAUDDETECTOR_API Rule();
35 AWS_FRAUDDETECTOR_API Rule(Aws::Utils::Json::JsonView jsonValue);
36 AWS_FRAUDDETECTOR_API Rule& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
45 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
46 inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
47 inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
48 inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
49 inline Rule& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
50 inline Rule& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
51 inline Rule& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
53
55
58 inline const Aws::String& GetRuleId() const{ return m_ruleId; }
59 inline bool RuleIdHasBeenSet() const { return m_ruleIdHasBeenSet; }
60 inline void SetRuleId(const Aws::String& value) { m_ruleIdHasBeenSet = true; m_ruleId = value; }
61 inline void SetRuleId(Aws::String&& value) { m_ruleIdHasBeenSet = true; m_ruleId = std::move(value); }
62 inline void SetRuleId(const char* value) { m_ruleIdHasBeenSet = true; m_ruleId.assign(value); }
63 inline Rule& WithRuleId(const Aws::String& value) { SetRuleId(value); return *this;}
64 inline Rule& WithRuleId(Aws::String&& value) { SetRuleId(std::move(value)); return *this;}
65 inline Rule& WithRuleId(const char* value) { SetRuleId(value); return *this;}
67
69
72 inline const Aws::String& GetRuleVersion() const{ return m_ruleVersion; }
73 inline bool RuleVersionHasBeenSet() const { return m_ruleVersionHasBeenSet; }
74 inline void SetRuleVersion(const Aws::String& value) { m_ruleVersionHasBeenSet = true; m_ruleVersion = value; }
75 inline void SetRuleVersion(Aws::String&& value) { m_ruleVersionHasBeenSet = true; m_ruleVersion = std::move(value); }
76 inline void SetRuleVersion(const char* value) { m_ruleVersionHasBeenSet = true; m_ruleVersion.assign(value); }
77 inline Rule& WithRuleVersion(const Aws::String& value) { SetRuleVersion(value); return *this;}
78 inline Rule& WithRuleVersion(Aws::String&& value) { SetRuleVersion(std::move(value)); return *this;}
79 inline Rule& WithRuleVersion(const char* value) { SetRuleVersion(value); return *this;}
81 private:
82
83 Aws::String m_detectorId;
84 bool m_detectorIdHasBeenSet = false;
85
86 Aws::String m_ruleId;
87 bool m_ruleIdHasBeenSet = false;
88
89 Aws::String m_ruleVersion;
90 bool m_ruleVersionHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace FraudDetector
95} // namespace Aws
void SetRuleId(const Aws::String &value)
Definition Rule.h:60
Rule & WithRuleId(Aws::String &&value)
Definition Rule.h:64
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
Rule & WithRuleId(const char *value)
Definition Rule.h:65
const Aws::String & GetRuleVersion() const
Definition Rule.h:72
void SetDetectorId(const char *value)
Definition Rule.h:48
Rule & WithRuleVersion(const char *value)
Definition Rule.h:79
Rule & WithRuleVersion(Aws::String &&value)
Definition Rule.h:78
void SetRuleVersion(const char *value)
Definition Rule.h:76
Rule & WithRuleId(const Aws::String &value)
Definition Rule.h:63
Rule & WithDetectorId(const char *value)
Definition Rule.h:51
Rule & WithDetectorId(const Aws::String &value)
Definition Rule.h:49
Rule & WithRuleVersion(const Aws::String &value)
Definition Rule.h:77
bool DetectorIdHasBeenSet() const
Definition Rule.h:45
const Aws::String & GetDetectorId() const
Definition Rule.h:44
AWS_FRAUDDETECTOR_API Rule(Aws::Utils::Json::JsonView jsonValue)
void SetRuleId(const char *value)
Definition Rule.h:62
void SetRuleVersion(Aws::String &&value)
Definition Rule.h:75
bool RuleVersionHasBeenSet() const
Definition Rule.h:73
Rule & WithDetectorId(Aws::String &&value)
Definition Rule.h:50
void SetDetectorId(Aws::String &&value)
Definition Rule.h:47
const Aws::String & GetRuleId() const
Definition Rule.h:58
AWS_FRAUDDETECTOR_API Rule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API Rule()
void SetDetectorId(const Aws::String &value)
Definition Rule.h:46
bool RuleIdHasBeenSet() const
Definition Rule.h:59
void SetRuleVersion(const Aws::String &value)
Definition Rule.h:74
void SetRuleId(Aws::String &&value)
Definition Rule.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue