AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EventPredictionSummary.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
33 {
34 public:
35 AWS_FRAUDDETECTOR_API EventPredictionSummary() = default;
36 AWS_FRAUDDETECTOR_API EventPredictionSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEventId() const { return m_eventId; }
46 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
47 template<typename EventIdT = Aws::String>
48 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet = true; m_eventId = std::forward<EventIdT>(value); }
49 template<typename EventIdT = Aws::String>
50 EventPredictionSummary& WithEventId(EventIdT&& value) { SetEventId(std::forward<EventIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetEventTypeName() const { return m_eventTypeName; }
58 inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; }
59 template<typename EventTypeNameT = Aws::String>
60 void SetEventTypeName(EventTypeNameT&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::forward<EventTypeNameT>(value); }
61 template<typename EventTypeNameT = Aws::String>
62 EventPredictionSummary& WithEventTypeName(EventTypeNameT&& value) { SetEventTypeName(std::forward<EventTypeNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetEventTimestamp() const { return m_eventTimestamp; }
70 inline bool EventTimestampHasBeenSet() const { return m_eventTimestampHasBeenSet; }
71 template<typename EventTimestampT = Aws::String>
72 void SetEventTimestamp(EventTimestampT&& value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp = std::forward<EventTimestampT>(value); }
73 template<typename EventTimestampT = Aws::String>
74 EventPredictionSummary& WithEventTimestamp(EventTimestampT&& value) { SetEventTimestamp(std::forward<EventTimestampT>(value)); return *this;}
76
78
81 inline const Aws::String& GetPredictionTimestamp() const { return m_predictionTimestamp; }
82 inline bool PredictionTimestampHasBeenSet() const { return m_predictionTimestampHasBeenSet; }
83 template<typename PredictionTimestampT = Aws::String>
84 void SetPredictionTimestamp(PredictionTimestampT&& value) { m_predictionTimestampHasBeenSet = true; m_predictionTimestamp = std::forward<PredictionTimestampT>(value); }
85 template<typename PredictionTimestampT = Aws::String>
86 EventPredictionSummary& WithPredictionTimestamp(PredictionTimestampT&& value) { SetPredictionTimestamp(std::forward<PredictionTimestampT>(value)); return *this;}
88
90
93 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
94 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
95 template<typename DetectorIdT = Aws::String>
96 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::forward<DetectorIdT>(value); }
97 template<typename DetectorIdT = Aws::String>
98 EventPredictionSummary& WithDetectorId(DetectorIdT&& value) { SetDetectorId(std::forward<DetectorIdT>(value)); return *this;}
100
102
105 inline const Aws::String& GetDetectorVersionId() const { return m_detectorVersionId; }
106 inline bool DetectorVersionIdHasBeenSet() const { return m_detectorVersionIdHasBeenSet; }
107 template<typename DetectorVersionIdT = Aws::String>
108 void SetDetectorVersionId(DetectorVersionIdT&& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = std::forward<DetectorVersionIdT>(value); }
109 template<typename DetectorVersionIdT = Aws::String>
110 EventPredictionSummary& WithDetectorVersionId(DetectorVersionIdT&& value) { SetDetectorVersionId(std::forward<DetectorVersionIdT>(value)); return *this;}
112 private:
113
114 Aws::String m_eventId;
115 bool m_eventIdHasBeenSet = false;
116
117 Aws::String m_eventTypeName;
118 bool m_eventTypeNameHasBeenSet = false;
119
120 Aws::String m_eventTimestamp;
121 bool m_eventTimestampHasBeenSet = false;
122
123 Aws::String m_predictionTimestamp;
124 bool m_predictionTimestampHasBeenSet = false;
125
126 Aws::String m_detectorId;
127 bool m_detectorIdHasBeenSet = false;
128
129 Aws::String m_detectorVersionId;
130 bool m_detectorVersionIdHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace FraudDetector
135} // namespace Aws
EventPredictionSummary & WithPredictionTimestamp(PredictionTimestampT &&value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FRAUDDETECTOR_API EventPredictionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPredictionTimestamp(PredictionTimestampT &&value)
EventPredictionSummary & WithEventTypeName(EventTypeNameT &&value)
EventPredictionSummary & WithEventTimestamp(EventTimestampT &&value)
EventPredictionSummary & WithDetectorVersionId(DetectorVersionIdT &&value)
AWS_FRAUDDETECTOR_API EventPredictionSummary(Aws::Utils::Json::JsonView jsonValue)
EventPredictionSummary & WithEventId(EventIdT &&value)
EventPredictionSummary & WithDetectorId(DetectorIdT &&value)
AWS_FRAUDDETECTOR_API EventPredictionSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue