AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Detector.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
32 {
33 public:
34 AWS_FRAUDDETECTOR_API Detector();
35 AWS_FRAUDDETECTOR_API Detector(Aws::Utils::Json::JsonView jsonValue);
36 AWS_FRAUDDETECTOR_API Detector& 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 Detector& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
50 inline Detector& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
51 inline Detector& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline Detector& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline Detector& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline Detector& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
72 inline const Aws::String& GetEventTypeName() const{ return m_eventTypeName; }
73 inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; }
74 inline void SetEventTypeName(const Aws::String& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = value; }
75 inline void SetEventTypeName(Aws::String&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::move(value); }
76 inline void SetEventTypeName(const char* value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName.assign(value); }
77 inline Detector& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;}
78 inline Detector& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;}
79 inline Detector& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;}
81
83
86 inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
87 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
88 inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
89 inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
90 inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
91 inline Detector& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
92 inline Detector& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
93 inline Detector& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
95
97
100 inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
101 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
102 inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
103 inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
104 inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
105 inline Detector& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
106 inline Detector& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
107 inline Detector& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
109
111
114 inline const Aws::String& GetArn() const{ return m_arn; }
115 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
116 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
117 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
118 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
119 inline Detector& WithArn(const Aws::String& value) { SetArn(value); return *this;}
120 inline Detector& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
121 inline Detector& WithArn(const char* value) { SetArn(value); return *this;}
123 private:
124
125 Aws::String m_detectorId;
126 bool m_detectorIdHasBeenSet = false;
127
128 Aws::String m_description;
129 bool m_descriptionHasBeenSet = false;
130
131 Aws::String m_eventTypeName;
132 bool m_eventTypeNameHasBeenSet = false;
133
134 Aws::String m_lastUpdatedTime;
135 bool m_lastUpdatedTimeHasBeenSet = false;
136
137 Aws::String m_createdTime;
138 bool m_createdTimeHasBeenSet = false;
139
140 Aws::String m_arn;
141 bool m_arnHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace FraudDetector
146} // namespace Aws
Detector & WithLastUpdatedTime(Aws::String &&value)
Definition Detector.h:92
void SetDescription(const Aws::String &value)
Definition Detector.h:60
void SetDescription(const char *value)
Definition Detector.h:62
void SetCreatedTime(Aws::String &&value)
Definition Detector.h:103
const Aws::String & GetCreatedTime() const
Definition Detector.h:100
Detector & WithArn(const char *value)
Definition Detector.h:121
void SetCreatedTime(const char *value)
Definition Detector.h:104
Detector & WithArn(const Aws::String &value)
Definition Detector.h:119
void SetLastUpdatedTime(Aws::String &&value)
Definition Detector.h:89
Detector & WithDescription(const char *value)
Definition Detector.h:65
void SetEventTypeName(const Aws::String &value)
Definition Detector.h:74
AWS_FRAUDDETECTOR_API Detector()
Detector & WithDetectorId(const char *value)
Definition Detector.h:51
void SetArn(const char *value)
Definition Detector.h:118
Detector & WithEventTypeName(const char *value)
Definition Detector.h:79
void SetEventTypeName(Aws::String &&value)
Definition Detector.h:75
void SetLastUpdatedTime(const char *value)
Definition Detector.h:90
const Aws::String & GetArn() const
Definition Detector.h:114
void SetDetectorId(Aws::String &&value)
Definition Detector.h:47
void SetArn(const Aws::String &value)
Definition Detector.h:116
void SetEventTypeName(const char *value)
Definition Detector.h:76
Detector & WithEventTypeName(const Aws::String &value)
Definition Detector.h:77
Detector & WithArn(Aws::String &&value)
Definition Detector.h:120
Detector & WithEventTypeName(Aws::String &&value)
Definition Detector.h:78
void SetDescription(Aws::String &&value)
Definition Detector.h:61
Detector & WithDetectorId(Aws::String &&value)
Definition Detector.h:50
AWS_FRAUDDETECTOR_API Detector(Aws::Utils::Json::JsonView jsonValue)
Detector & WithDescription(Aws::String &&value)
Definition Detector.h:64
Detector & WithCreatedTime(Aws::String &&value)
Definition Detector.h:106
void SetArn(Aws::String &&value)
Definition Detector.h:117
Detector & WithDetectorId(const Aws::String &value)
Definition Detector.h:49
Detector & WithCreatedTime(const char *value)
Definition Detector.h:107
const Aws::String & GetDescription() const
Definition Detector.h:58
void SetDetectorId(const char *value)
Definition Detector.h:48
void SetCreatedTime(const Aws::String &value)
Definition Detector.h:102
const Aws::String & GetEventTypeName() const
Definition Detector.h:72
AWS_FRAUDDETECTOR_API Detector & operator=(Aws::Utils::Json::JsonView jsonValue)
Detector & WithDescription(const Aws::String &value)
Definition Detector.h:63
void SetDetectorId(const Aws::String &value)
Definition Detector.h:46
Detector & WithLastUpdatedTime(const Aws::String &value)
Definition Detector.h:91
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDetectorId() const
Definition Detector.h:44
void SetLastUpdatedTime(const Aws::String &value)
Definition Detector.h:88
Detector & WithLastUpdatedTime(const char *value)
Definition Detector.h:93
const Aws::String & GetLastUpdatedTime() const
Definition Detector.h:86
Detector & WithCreatedTime(const Aws::String &value)
Definition Detector.h:105
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue