AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename DetectorIdT = Aws::String>
47 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::forward<DetectorIdT>(value); }
48 template<typename DetectorIdT = Aws::String>
49 Detector& WithDetectorId(DetectorIdT&& value) { SetDetectorId(std::forward<DetectorIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template<typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
60 template<typename DescriptionT = Aws::String>
61 Detector& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
63
65
68 inline const Aws::String& GetEventTypeName() const { return m_eventTypeName; }
69 inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; }
70 template<typename EventTypeNameT = Aws::String>
71 void SetEventTypeName(EventTypeNameT&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::forward<EventTypeNameT>(value); }
72 template<typename EventTypeNameT = Aws::String>
73 Detector& WithEventTypeName(EventTypeNameT&& value) { SetEventTypeName(std::forward<EventTypeNameT>(value)); return *this;}
75
77
80 inline const Aws::String& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
81 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
82 template<typename LastUpdatedTimeT = Aws::String>
83 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
84 template<typename LastUpdatedTimeT = Aws::String>
85 Detector& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
87
89
92 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
93 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
94 template<typename CreatedTimeT = Aws::String>
95 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
96 template<typename CreatedTimeT = Aws::String>
97 Detector& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
99
101
104 inline const Aws::String& GetArn() const { return m_arn; }
105 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
106 template<typename ArnT = Aws::String>
107 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
108 template<typename ArnT = Aws::String>
109 Detector& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
111 private:
112
113 Aws::String m_detectorId;
114 bool m_detectorIdHasBeenSet = false;
115
116 Aws::String m_description;
117 bool m_descriptionHasBeenSet = false;
118
119 Aws::String m_eventTypeName;
120 bool m_eventTypeNameHasBeenSet = false;
121
122 Aws::String m_lastUpdatedTime;
123 bool m_lastUpdatedTimeHasBeenSet = false;
124
125 Aws::String m_createdTime;
126 bool m_createdTimeHasBeenSet = false;
127
128 Aws::String m_arn;
129 bool m_arnHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace FraudDetector
134} // namespace Aws
Detector & WithCreatedTime(CreatedTimeT &&value)
Definition Detector.h:97
const Aws::String & GetCreatedTime() const
Definition Detector.h:92
void SetDetectorId(DetectorIdT &&value)
Definition Detector.h:47
Detector & WithArn(ArnT &&value)
Definition Detector.h:109
const Aws::String & GetArn() const
Definition Detector.h:104
void SetDescription(DescriptionT &&value)
Definition Detector.h:59
void SetCreatedTime(CreatedTimeT &&value)
Definition Detector.h:95
Detector & WithDetectorId(DetectorIdT &&value)
Definition Detector.h:49
AWS_FRAUDDETECTOR_API Detector(Aws::Utils::Json::JsonView jsonValue)
Detector & WithDescription(DescriptionT &&value)
Definition Detector.h:61
Detector & WithLastUpdatedTime(LastUpdatedTimeT &&value)
Definition Detector.h:85
const Aws::String & GetDescription() const
Definition Detector.h:56
Detector & WithEventTypeName(EventTypeNameT &&value)
Definition Detector.h:73
const Aws::String & GetEventTypeName() const
Definition Detector.h:68
AWS_FRAUDDETECTOR_API Detector & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
Definition Detector.h:83
AWS_FRAUDDETECTOR_API Detector()=default
const Aws::String & GetDetectorId() const
Definition Detector.h:44
void SetEventTypeName(EventTypeNameT &&value)
Definition Detector.h:71
const Aws::String & GetLastUpdatedTime() const
Definition Detector.h:80
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue