AWS SDK for C++  1.9.15
AWS SDK for C++
EventType.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace FraudDetector
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline EventType& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline EventType& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline EventType& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline const Aws::String& GetDescription() const{ return m_description; }
86 
90  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 
95  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
96 
100  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
101 
105  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
106 
110  inline EventType& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
111 
115  inline EventType& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
116 
120  inline EventType& WithDescription(const char* value) { SetDescription(value); return *this;}
121 
122 
126  inline const Aws::Vector<Aws::String>& GetEventVariables() const{ return m_eventVariables; }
127 
131  inline bool EventVariablesHasBeenSet() const { return m_eventVariablesHasBeenSet; }
132 
136  inline void SetEventVariables(const Aws::Vector<Aws::String>& value) { m_eventVariablesHasBeenSet = true; m_eventVariables = value; }
137 
141  inline void SetEventVariables(Aws::Vector<Aws::String>&& value) { m_eventVariablesHasBeenSet = true; m_eventVariables = std::move(value); }
142 
146  inline EventType& WithEventVariables(const Aws::Vector<Aws::String>& value) { SetEventVariables(value); return *this;}
147 
151  inline EventType& WithEventVariables(Aws::Vector<Aws::String>&& value) { SetEventVariables(std::move(value)); return *this;}
152 
156  inline EventType& AddEventVariables(const Aws::String& value) { m_eventVariablesHasBeenSet = true; m_eventVariables.push_back(value); return *this; }
157 
161  inline EventType& AddEventVariables(Aws::String&& value) { m_eventVariablesHasBeenSet = true; m_eventVariables.push_back(std::move(value)); return *this; }
162 
166  inline EventType& AddEventVariables(const char* value) { m_eventVariablesHasBeenSet = true; m_eventVariables.push_back(value); return *this; }
167 
168 
172  inline const Aws::Vector<Aws::String>& GetLabels() const{ return m_labels; }
173 
177  inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
178 
182  inline void SetLabels(const Aws::Vector<Aws::String>& value) { m_labelsHasBeenSet = true; m_labels = value; }
183 
187  inline void SetLabels(Aws::Vector<Aws::String>&& value) { m_labelsHasBeenSet = true; m_labels = std::move(value); }
188 
192  inline EventType& WithLabels(const Aws::Vector<Aws::String>& value) { SetLabels(value); return *this;}
193 
197  inline EventType& WithLabels(Aws::Vector<Aws::String>&& value) { SetLabels(std::move(value)); return *this;}
198 
202  inline EventType& AddLabels(const Aws::String& value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
203 
207  inline EventType& AddLabels(Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.push_back(std::move(value)); return *this; }
208 
212  inline EventType& AddLabels(const char* value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
213 
214 
218  inline const Aws::Vector<Aws::String>& GetEntityTypes() const{ return m_entityTypes; }
219 
223  inline bool EntityTypesHasBeenSet() const { return m_entityTypesHasBeenSet; }
224 
228  inline void SetEntityTypes(const Aws::Vector<Aws::String>& value) { m_entityTypesHasBeenSet = true; m_entityTypes = value; }
229 
233  inline void SetEntityTypes(Aws::Vector<Aws::String>&& value) { m_entityTypesHasBeenSet = true; m_entityTypes = std::move(value); }
234 
238  inline EventType& WithEntityTypes(const Aws::Vector<Aws::String>& value) { SetEntityTypes(value); return *this;}
239 
243  inline EventType& WithEntityTypes(Aws::Vector<Aws::String>&& value) { SetEntityTypes(std::move(value)); return *this;}
244 
248  inline EventType& AddEntityTypes(const Aws::String& value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(value); return *this; }
249 
253  inline EventType& AddEntityTypes(Aws::String&& value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(std::move(value)); return *this; }
254 
258  inline EventType& AddEntityTypes(const char* value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(value); return *this; }
259 
260 
264  inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
265 
269  inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
270 
274  inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
275 
279  inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
280 
284  inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
285 
289  inline EventType& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
290 
294  inline EventType& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
295 
299  inline EventType& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
300 
301 
305  inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
306 
310  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
311 
315  inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
316 
320  inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
321 
325  inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
326 
330  inline EventType& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
331 
335  inline EventType& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
336 
340  inline EventType& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
341 
342 
346  inline const Aws::String& GetArn() const{ return m_arn; }
347 
351  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
352 
356  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
357 
361  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
362 
366  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
367 
371  inline EventType& WithArn(const Aws::String& value) { SetArn(value); return *this;}
372 
376  inline EventType& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
377 
381  inline EventType& WithArn(const char* value) { SetArn(value); return *this;}
382 
383  private:
384 
385  Aws::String m_name;
386  bool m_nameHasBeenSet;
387 
388  Aws::String m_description;
389  bool m_descriptionHasBeenSet;
390 
391  Aws::Vector<Aws::String> m_eventVariables;
392  bool m_eventVariablesHasBeenSet;
393 
394  Aws::Vector<Aws::String> m_labels;
395  bool m_labelsHasBeenSet;
396 
397  Aws::Vector<Aws::String> m_entityTypes;
398  bool m_entityTypesHasBeenSet;
399 
400  Aws::String m_lastUpdatedTime;
401  bool m_lastUpdatedTimeHasBeenSet;
402 
403  Aws::String m_createdTime;
404  bool m_createdTimeHasBeenSet;
405 
406  Aws::String m_arn;
407  bool m_arnHasBeenSet;
408  };
409 
410 } // namespace Model
411 } // namespace FraudDetector
412 } // namespace Aws
Aws::FraudDetector::Model::EventType::SetName
void SetName(Aws::String &&value)
Definition: EventType.h:59
Aws::FraudDetector::Model::EventType::EntityTypesHasBeenSet
bool EntityTypesHasBeenSet() const
Definition: EventType.h:223
Aws::FraudDetector::Model::EventType::GetDescription
const Aws::String & GetDescription() const
Definition: EventType.h:85
Aws::FraudDetector::Model::EventType::WithArn
EventType & WithArn(Aws::String &&value)
Definition: EventType.h:376
Aws::FraudDetector::Model::EventType::AddEventVariables
EventType & AddEventVariables(const Aws::String &value)
Definition: EventType.h:156
Aws::FraudDetector::Model::EventType::AddEventVariables
EventType & AddEventVariables(Aws::String &&value)
Definition: EventType.h:161
Aws::FraudDetector::Model::EventType::AddEntityTypes
EventType & AddEntityTypes(const char *value)
Definition: EventType.h:258
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::EventType::WithCreatedTime
EventType & WithCreatedTime(const char *value)
Definition: EventType.h:340
Aws::FraudDetector::Model::EventType::WithLastUpdatedTime
EventType & WithLastUpdatedTime(const char *value)
Definition: EventType.h:299
Aws::FraudDetector::Model::EventType::WithDescription
EventType & WithDescription(const char *value)
Definition: EventType.h:120
Aws::FraudDetector::Model::EventType::WithLabels
EventType & WithLabels(const Aws::Vector< Aws::String > &value)
Definition: EventType.h:192
Aws::FraudDetector::Model::EventType::SetLabels
void SetLabels(const Aws::Vector< Aws::String > &value)
Definition: EventType.h:182
Aws::FraudDetector::Model::EventType::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: EventType.h:90
Aws::FraudDetector::Model::EventType::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: EventType.h:310
Aws::FraudDetector::Model::EventType::SetName
void SetName(const char *value)
Definition: EventType.h:64
Aws::FraudDetector::Model::EventType::WithLastUpdatedTime
EventType & WithLastUpdatedTime(Aws::String &&value)
Definition: EventType.h:294
Aws::FraudDetector::Model::EventType::SetDescription
void SetDescription(Aws::String &&value)
Definition: EventType.h:100
Aws::FraudDetector::Model::EventType::SetEventVariables
void SetEventVariables(const Aws::Vector< Aws::String > &value)
Definition: EventType.h:136
Aws::FraudDetector::Model::EventType::WithArn
EventType & WithArn(const char *value)
Definition: EventType.h:381
Aws::FraudDetector::Model::EventType::GetLastUpdatedTime
const Aws::String & GetLastUpdatedTime() const
Definition: EventType.h:264
Aws::FraudDetector::Model::EventType::WithCreatedTime
EventType & WithCreatedTime(Aws::String &&value)
Definition: EventType.h:335
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::FraudDetector::Model::EventType::GetEventVariables
const Aws::Vector< Aws::String > & GetEventVariables() const
Definition: EventType.h:126
Aws::FraudDetector::Model::EventType::AddEventVariables
EventType & AddEventVariables(const char *value)
Definition: EventType.h:166
Aws::FraudDetector::Model::EventType::WithLastUpdatedTime
EventType & WithLastUpdatedTime(const Aws::String &value)
Definition: EventType.h:289
Aws::FraudDetector::Model::EventType::EventType
EventType()
Aws::FraudDetector::Model::EventType::GetCreatedTime
const Aws::String & GetCreatedTime() const
Definition: EventType.h:305
Aws::FraudDetector::Model::EventType::GetName
const Aws::String & GetName() const
Definition: EventType.h:44
AWSVector.h
Aws::FraudDetector::Model::EventType::AddEntityTypes
EventType & AddEntityTypes(const Aws::String &value)
Definition: EventType.h:248
Aws::FraudDetector::Model::EventType::WithEventVariables
EventType & WithEventVariables(Aws::Vector< Aws::String > &&value)
Definition: EventType.h:151
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::EventType::LabelsHasBeenSet
bool LabelsHasBeenSet() const
Definition: EventType.h:177
Aws::FraudDetector::Model::EventType::SetArn
void SetArn(Aws::String &&value)
Definition: EventType.h:361
Aws::FraudDetector::Model::EventType::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::EventType::SetLastUpdatedTime
void SetLastUpdatedTime(const Aws::String &value)
Definition: EventType.h:274
Aws::FraudDetector::Model::EventType::AddLabels
EventType & AddLabels(const char *value)
Definition: EventType.h:212
Aws::FraudDetector::Model::EventType::EventVariablesHasBeenSet
bool EventVariablesHasBeenSet() const
Definition: EventType.h:131
Aws::FraudDetector::Model::EventType::GetArn
const Aws::String & GetArn() const
Definition: EventType.h:346
Aws::FraudDetector::Model::EventType::SetEntityTypes
void SetEntityTypes(const Aws::Vector< Aws::String > &value)
Definition: EventType.h:228
Aws::FraudDetector::Model::EventType::WithLabels
EventType & WithLabels(Aws::Vector< Aws::String > &&value)
Definition: EventType.h:197
Aws::FraudDetector::Model::EventType::SetLastUpdatedTime
void SetLastUpdatedTime(Aws::String &&value)
Definition: EventType.h:279
Aws::FraudDetector::Model::EventType::WithName
EventType & WithName(const Aws::String &value)
Definition: EventType.h:69
Aws::FraudDetector::Model::EventType::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: EventType.h:351
Aws::FraudDetector::Model::EventType::SetEntityTypes
void SetEntityTypes(Aws::Vector< Aws::String > &&value)
Definition: EventType.h:233
Aws::FraudDetector::Model::EventType::WithEntityTypes
EventType & WithEntityTypes(Aws::Vector< Aws::String > &&value)
Definition: EventType.h:243
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::FraudDetector::Model::EventType::AddLabels
EventType & AddLabels(Aws::String &&value)
Definition: EventType.h:207
Aws::FraudDetector::Model::EventType::WithCreatedTime
EventType & WithCreatedTime(const Aws::String &value)
Definition: EventType.h:330
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::EventType::AddEntityTypes
EventType & AddEntityTypes(Aws::String &&value)
Definition: EventType.h:253
Aws::FraudDetector::Model::EventType::WithEntityTypes
EventType & WithEntityTypes(const Aws::Vector< Aws::String > &value)
Definition: EventType.h:238
Aws::FraudDetector::Model::EventType::LastUpdatedTimeHasBeenSet
bool LastUpdatedTimeHasBeenSet() const
Definition: EventType.h:269
Aws::FraudDetector::Model::EventType::SetCreatedTime
void SetCreatedTime(const Aws::String &value)
Definition: EventType.h:315
Aws::FraudDetector::Model::EventType
Definition: EventType.h:33
Aws::FraudDetector::Model::EventType::SetCreatedTime
void SetCreatedTime(Aws::String &&value)
Definition: EventType.h:320
Aws::FraudDetector::Model::EventType::operator=
EventType & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::EventType::SetDescription
void SetDescription(const Aws::String &value)
Definition: EventType.h:95
Aws::FraudDetector::Model::EventType::SetName
void SetName(const Aws::String &value)
Definition: EventType.h:54
Aws::FraudDetector::Model::EventType::NameHasBeenSet
bool NameHasBeenSet() const
Definition: EventType.h:49
Aws::FraudDetector::Model::EventType::SetLabels
void SetLabels(Aws::Vector< Aws::String > &&value)
Definition: EventType.h:187
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::EventType::SetArn
void SetArn(const char *value)
Definition: EventType.h:366
Aws::FraudDetector::Model::EventType::EventType
EventType(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::EventType::WithDescription
EventType & WithDescription(Aws::String &&value)
Definition: EventType.h:115
Aws::FraudDetector::Model::EventType::WithEventVariables
EventType & WithEventVariables(const Aws::Vector< Aws::String > &value)
Definition: EventType.h:146
Aws::FraudDetector::Model::EventType::WithName
EventType & WithName(const char *value)
Definition: EventType.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::EventType::SetArn
void SetArn(const Aws::String &value)
Definition: EventType.h:356
Aws::FraudDetector::Model::EventType::WithDescription
EventType & WithDescription(const Aws::String &value)
Definition: EventType.h:110
Aws::FraudDetector::Model::EventType::SetLastUpdatedTime
void SetLastUpdatedTime(const char *value)
Definition: EventType.h:284
Aws::FraudDetector::Model::EventType::WithArn
EventType & WithArn(const Aws::String &value)
Definition: EventType.h:371
Aws::FraudDetector::Model::EventType::WithName
EventType & WithName(Aws::String &&value)
Definition: EventType.h:74
Aws::FraudDetector::Model::EventType::GetEntityTypes
const Aws::Vector< Aws::String > & GetEntityTypes() const
Definition: EventType.h:218
Aws::FraudDetector::Model::EventType::GetLabels
const Aws::Vector< Aws::String > & GetLabels() const
Definition: EventType.h:172
Aws::FraudDetector::Model::EventType::SetDescription
void SetDescription(const char *value)
Definition: EventType.h:105
Aws::FraudDetector::Model::EventType::AddLabels
EventType & AddLabels(const Aws::String &value)
Definition: EventType.h:202
Aws::FraudDetector::Model::EventType::SetEventVariables
void SetEventVariables(Aws::Vector< Aws::String > &&value)
Definition: EventType.h:141
Aws::FraudDetector::Model::EventType::SetCreatedTime
void SetCreatedTime(const char *value)
Definition: EventType.h:325