AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleDetail.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/Language.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FraudDetector
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_FRAUDDETECTOR_API RuleDetail();
37 AWS_FRAUDDETECTOR_API RuleDetail(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FRAUDDETECTOR_API RuleDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetRuleId() const{ return m_ruleId; }
47 inline bool RuleIdHasBeenSet() const { return m_ruleIdHasBeenSet; }
48 inline void SetRuleId(const Aws::String& value) { m_ruleIdHasBeenSet = true; m_ruleId = value; }
49 inline void SetRuleId(Aws::String&& value) { m_ruleIdHasBeenSet = true; m_ruleId = std::move(value); }
50 inline void SetRuleId(const char* value) { m_ruleIdHasBeenSet = true; m_ruleId.assign(value); }
51 inline RuleDetail& WithRuleId(const Aws::String& value) { SetRuleId(value); return *this;}
52 inline RuleDetail& WithRuleId(Aws::String&& value) { SetRuleId(std::move(value)); return *this;}
53 inline RuleDetail& WithRuleId(const char* value) { SetRuleId(value); return *this;}
55
57
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
65 inline RuleDetail& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline RuleDetail& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline RuleDetail& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
74 inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
75 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
76 inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
77 inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
78 inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
79 inline RuleDetail& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
80 inline RuleDetail& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
81 inline RuleDetail& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
83
85
88 inline const Aws::String& GetRuleVersion() const{ return m_ruleVersion; }
89 inline bool RuleVersionHasBeenSet() const { return m_ruleVersionHasBeenSet; }
90 inline void SetRuleVersion(const Aws::String& value) { m_ruleVersionHasBeenSet = true; m_ruleVersion = value; }
91 inline void SetRuleVersion(Aws::String&& value) { m_ruleVersionHasBeenSet = true; m_ruleVersion = std::move(value); }
92 inline void SetRuleVersion(const char* value) { m_ruleVersionHasBeenSet = true; m_ruleVersion.assign(value); }
93 inline RuleDetail& WithRuleVersion(const Aws::String& value) { SetRuleVersion(value); return *this;}
94 inline RuleDetail& WithRuleVersion(Aws::String&& value) { SetRuleVersion(std::move(value)); return *this;}
95 inline RuleDetail& WithRuleVersion(const char* value) { SetRuleVersion(value); return *this;}
97
99
102 inline const Aws::String& GetExpression() const{ return m_expression; }
103 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
104 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
105 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
106 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
107 inline RuleDetail& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
108 inline RuleDetail& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
109 inline RuleDetail& WithExpression(const char* value) { SetExpression(value); return *this;}
111
113
116 inline const Language& GetLanguage() const{ return m_language; }
117 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
118 inline void SetLanguage(const Language& value) { m_languageHasBeenSet = true; m_language = value; }
119 inline void SetLanguage(Language&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
120 inline RuleDetail& WithLanguage(const Language& value) { SetLanguage(value); return *this;}
121 inline RuleDetail& WithLanguage(Language&& value) { SetLanguage(std::move(value)); return *this;}
123
125
128 inline const Aws::Vector<Aws::String>& GetOutcomes() const{ return m_outcomes; }
129 inline bool OutcomesHasBeenSet() const { return m_outcomesHasBeenSet; }
130 inline void SetOutcomes(const Aws::Vector<Aws::String>& value) { m_outcomesHasBeenSet = true; m_outcomes = value; }
131 inline void SetOutcomes(Aws::Vector<Aws::String>&& value) { m_outcomesHasBeenSet = true; m_outcomes = std::move(value); }
132 inline RuleDetail& WithOutcomes(const Aws::Vector<Aws::String>& value) { SetOutcomes(value); return *this;}
133 inline RuleDetail& WithOutcomes(Aws::Vector<Aws::String>&& value) { SetOutcomes(std::move(value)); return *this;}
134 inline RuleDetail& AddOutcomes(const Aws::String& value) { m_outcomesHasBeenSet = true; m_outcomes.push_back(value); return *this; }
135 inline RuleDetail& AddOutcomes(Aws::String&& value) { m_outcomesHasBeenSet = true; m_outcomes.push_back(std::move(value)); return *this; }
136 inline RuleDetail& AddOutcomes(const char* value) { m_outcomesHasBeenSet = true; m_outcomes.push_back(value); return *this; }
138
140
143 inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
144 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
145 inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
146 inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
147 inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
148 inline RuleDetail& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
149 inline RuleDetail& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
150 inline RuleDetail& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
152
154
157 inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
158 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
159 inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
160 inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
161 inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
162 inline RuleDetail& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
163 inline RuleDetail& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
164 inline RuleDetail& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
166
168
171 inline const Aws::String& GetArn() const{ return m_arn; }
172 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
173 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
174 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
175 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
176 inline RuleDetail& WithArn(const Aws::String& value) { SetArn(value); return *this;}
177 inline RuleDetail& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
178 inline RuleDetail& WithArn(const char* value) { SetArn(value); return *this;}
180 private:
181
182 Aws::String m_ruleId;
183 bool m_ruleIdHasBeenSet = false;
184
185 Aws::String m_description;
186 bool m_descriptionHasBeenSet = false;
187
188 Aws::String m_detectorId;
189 bool m_detectorIdHasBeenSet = false;
190
191 Aws::String m_ruleVersion;
192 bool m_ruleVersionHasBeenSet = false;
193
194 Aws::String m_expression;
195 bool m_expressionHasBeenSet = false;
196
197 Language m_language;
198 bool m_languageHasBeenSet = false;
199
200 Aws::Vector<Aws::String> m_outcomes;
201 bool m_outcomesHasBeenSet = false;
202
203 Aws::String m_lastUpdatedTime;
204 bool m_lastUpdatedTimeHasBeenSet = false;
205
206 Aws::String m_createdTime;
207 bool m_createdTimeHasBeenSet = false;
208
209 Aws::String m_arn;
210 bool m_arnHasBeenSet = false;
211 };
212
213} // namespace Model
214} // namespace FraudDetector
215} // namespace Aws
RuleDetail & WithLanguage(const Language &value)
Definition RuleDetail.h:120
void SetLastUpdatedTime(const Aws::String &value)
Definition RuleDetail.h:145
void SetRuleVersion(Aws::String &&value)
Definition RuleDetail.h:91
void SetOutcomes(const Aws::Vector< Aws::String > &value)
Definition RuleDetail.h:130
RuleDetail & WithArn(Aws::String &&value)
Definition RuleDetail.h:177
const Aws::String & GetDescription() const
Definition RuleDetail.h:60
RuleDetail & WithDescription(const Aws::String &value)
Definition RuleDetail.h:65
void SetLanguage(Language &&value)
Definition RuleDetail.h:119
RuleDetail & WithArn(const char *value)
Definition RuleDetail.h:178
RuleDetail & WithExpression(const char *value)
Definition RuleDetail.h:109
const Aws::String & GetCreatedTime() const
Definition RuleDetail.h:157
void SetDescription(Aws::String &&value)
Definition RuleDetail.h:63
RuleDetail & AddOutcomes(const Aws::String &value)
Definition RuleDetail.h:134
RuleDetail & WithCreatedTime(const Aws::String &value)
Definition RuleDetail.h:162
RuleDetail & WithLastUpdatedTime(Aws::String &&value)
Definition RuleDetail.h:149
AWS_FRAUDDETECTOR_API RuleDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Language & GetLanguage() const
Definition RuleDetail.h:116
const Aws::String & GetArn() const
Definition RuleDetail.h:171
RuleDetail & WithExpression(const Aws::String &value)
Definition RuleDetail.h:107
void SetArn(const char *value)
Definition RuleDetail.h:175
void SetRuleId(Aws::String &&value)
Definition RuleDetail.h:49
RuleDetail & WithOutcomes(const Aws::Vector< Aws::String > &value)
Definition RuleDetail.h:132
const Aws::Vector< Aws::String > & GetOutcomes() const
Definition RuleDetail.h:128
RuleDetail & WithRuleId(const char *value)
Definition RuleDetail.h:53
RuleDetail & AddOutcomes(Aws::String &&value)
Definition RuleDetail.h:135
void SetDetectorId(Aws::String &&value)
Definition RuleDetail.h:77
const Aws::String & GetDetectorId() const
Definition RuleDetail.h:74
RuleDetail & WithDetectorId(const Aws::String &value)
Definition RuleDetail.h:79
RuleDetail & WithArn(const Aws::String &value)
Definition RuleDetail.h:176
RuleDetail & WithRuleVersion(const char *value)
Definition RuleDetail.h:95
RuleDetail & WithDetectorId(const char *value)
Definition RuleDetail.h:81
void SetCreatedTime(Aws::String &&value)
Definition RuleDetail.h:160
RuleDetail & WithLanguage(Language &&value)
Definition RuleDetail.h:121
RuleDetail & WithExpression(Aws::String &&value)
Definition RuleDetail.h:108
RuleDetail & WithRuleVersion(Aws::String &&value)
Definition RuleDetail.h:94
const Aws::String & GetExpression() const
Definition RuleDetail.h:102
RuleDetail & WithDetectorId(Aws::String &&value)
Definition RuleDetail.h:80
void SetDescription(const char *value)
Definition RuleDetail.h:64
void SetRuleId(const Aws::String &value)
Definition RuleDetail.h:48
RuleDetail & WithCreatedTime(Aws::String &&value)
Definition RuleDetail.h:163
void SetDetectorId(const char *value)
Definition RuleDetail.h:78
void SetArn(const Aws::String &value)
Definition RuleDetail.h:173
void SetDescription(const Aws::String &value)
Definition RuleDetail.h:62
const Aws::String & GetLastUpdatedTime() const
Definition RuleDetail.h:143
RuleDetail & WithLastUpdatedTime(const char *value)
Definition RuleDetail.h:150
void SetRuleId(const char *value)
Definition RuleDetail.h:50
RuleDetail & WithRuleVersion(const Aws::String &value)
Definition RuleDetail.h:93
RuleDetail & WithOutcomes(Aws::Vector< Aws::String > &&value)
Definition RuleDetail.h:133
RuleDetail & WithDescription(const char *value)
Definition RuleDetail.h:67
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExpression(const char *value)
Definition RuleDetail.h:106
RuleDetail & WithRuleId(Aws::String &&value)
Definition RuleDetail.h:52
void SetArn(Aws::String &&value)
Definition RuleDetail.h:174
RuleDetail & WithDescription(Aws::String &&value)
Definition RuleDetail.h:66
void SetLastUpdatedTime(const char *value)
Definition RuleDetail.h:147
void SetLastUpdatedTime(Aws::String &&value)
Definition RuleDetail.h:146
RuleDetail & AddOutcomes(const char *value)
Definition RuleDetail.h:136
RuleDetail & WithRuleId(const Aws::String &value)
Definition RuleDetail.h:51
void SetOutcomes(Aws::Vector< Aws::String > &&value)
Definition RuleDetail.h:131
const Aws::String & GetRuleId() const
Definition RuleDetail.h:46
const Aws::String & GetRuleVersion() const
Definition RuleDetail.h:88
RuleDetail & WithLastUpdatedTime(const Aws::String &value)
Definition RuleDetail.h:148
void SetCreatedTime(const char *value)
Definition RuleDetail.h:161
AWS_FRAUDDETECTOR_API RuleDetail(Aws::Utils::Json::JsonView jsonValue)
void SetExpression(Aws::String &&value)
Definition RuleDetail.h:105
void SetExpression(const Aws::String &value)
Definition RuleDetail.h:104
void SetLanguage(const Language &value)
Definition RuleDetail.h:118
void SetRuleVersion(const Aws::String &value)
Definition RuleDetail.h:90
void SetCreatedTime(const Aws::String &value)
Definition RuleDetail.h:159
void SetRuleVersion(const char *value)
Definition RuleDetail.h:92
void SetDetectorId(const Aws::String &value)
Definition RuleDetail.h:76
RuleDetail & WithCreatedTime(const char *value)
Definition RuleDetail.h:164
AWS_FRAUDDETECTOR_API RuleDetail()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue