AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEventId(const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId = value; }
48 inline void SetEventId(Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); }
49 inline void SetEventId(const char* value) { m_eventIdHasBeenSet = true; m_eventId.assign(value); }
50 inline EventPredictionSummary& WithEventId(const Aws::String& value) { SetEventId(value); return *this;}
51 inline EventPredictionSummary& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;}
52 inline EventPredictionSummary& WithEventId(const char* value) { SetEventId(value); return *this;}
54
56
59 inline const Aws::String& GetEventTypeName() const{ return m_eventTypeName; }
60 inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; }
61 inline void SetEventTypeName(const Aws::String& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = value; }
62 inline void SetEventTypeName(Aws::String&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::move(value); }
63 inline void SetEventTypeName(const char* value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName.assign(value); }
64 inline EventPredictionSummary& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;}
65 inline EventPredictionSummary& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;}
66 inline EventPredictionSummary& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;}
68
70
73 inline const Aws::String& GetEventTimestamp() const{ return m_eventTimestamp; }
74 inline bool EventTimestampHasBeenSet() const { return m_eventTimestampHasBeenSet; }
75 inline void SetEventTimestamp(const Aws::String& value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp = value; }
76 inline void SetEventTimestamp(Aws::String&& value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp = std::move(value); }
77 inline void SetEventTimestamp(const char* value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp.assign(value); }
78 inline EventPredictionSummary& WithEventTimestamp(const Aws::String& value) { SetEventTimestamp(value); return *this;}
79 inline EventPredictionSummary& WithEventTimestamp(Aws::String&& value) { SetEventTimestamp(std::move(value)); return *this;}
80 inline EventPredictionSummary& WithEventTimestamp(const char* value) { SetEventTimestamp(value); return *this;}
82
84
87 inline const Aws::String& GetPredictionTimestamp() const{ return m_predictionTimestamp; }
88 inline bool PredictionTimestampHasBeenSet() const { return m_predictionTimestampHasBeenSet; }
89 inline void SetPredictionTimestamp(const Aws::String& value) { m_predictionTimestampHasBeenSet = true; m_predictionTimestamp = value; }
90 inline void SetPredictionTimestamp(Aws::String&& value) { m_predictionTimestampHasBeenSet = true; m_predictionTimestamp = std::move(value); }
91 inline void SetPredictionTimestamp(const char* value) { m_predictionTimestampHasBeenSet = true; m_predictionTimestamp.assign(value); }
93 inline EventPredictionSummary& WithPredictionTimestamp(Aws::String&& value) { SetPredictionTimestamp(std::move(value)); return *this;}
94 inline EventPredictionSummary& WithPredictionTimestamp(const char* value) { SetPredictionTimestamp(value); return *this;}
96
98
101 inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
102 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
103 inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
104 inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
105 inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
106 inline EventPredictionSummary& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
107 inline EventPredictionSummary& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
108 inline EventPredictionSummary& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
110
112
115 inline const Aws::String& GetDetectorVersionId() const{ return m_detectorVersionId; }
116 inline bool DetectorVersionIdHasBeenSet() const { return m_detectorVersionIdHasBeenSet; }
117 inline void SetDetectorVersionId(const Aws::String& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = value; }
118 inline void SetDetectorVersionId(Aws::String&& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = std::move(value); }
119 inline void SetDetectorVersionId(const char* value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId.assign(value); }
121 inline EventPredictionSummary& WithDetectorVersionId(Aws::String&& value) { SetDetectorVersionId(std::move(value)); return *this;}
122 inline EventPredictionSummary& WithDetectorVersionId(const char* value) { SetDetectorVersionId(value); return *this;}
124 private:
125
126 Aws::String m_eventId;
127 bool m_eventIdHasBeenSet = false;
128
129 Aws::String m_eventTypeName;
130 bool m_eventTypeNameHasBeenSet = false;
131
132 Aws::String m_eventTimestamp;
133 bool m_eventTimestampHasBeenSet = false;
134
135 Aws::String m_predictionTimestamp;
136 bool m_predictionTimestampHasBeenSet = false;
137
138 Aws::String m_detectorId;
139 bool m_detectorIdHasBeenSet = false;
140
141 Aws::String m_detectorVersionId;
142 bool m_detectorVersionIdHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace FraudDetector
147} // namespace Aws
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FRAUDDETECTOR_API EventPredictionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EventPredictionSummary & WithDetectorVersionId(const Aws::String &value)
EventPredictionSummary & WithEventTimestamp(const Aws::String &value)
EventPredictionSummary & WithEventTimestamp(Aws::String &&value)
EventPredictionSummary & WithEventTypeName(const char *value)
EventPredictionSummary & WithDetectorId(Aws::String &&value)
EventPredictionSummary & WithEventId(const char *value)
EventPredictionSummary & WithPredictionTimestamp(Aws::String &&value)
EventPredictionSummary & WithEventId(Aws::String &&value)
EventPredictionSummary & WithEventTypeName(Aws::String &&value)
EventPredictionSummary & WithEventTypeName(const Aws::String &value)
EventPredictionSummary & WithPredictionTimestamp(const char *value)
EventPredictionSummary & WithDetectorVersionId(Aws::String &&value)
EventPredictionSummary & WithDetectorId(const Aws::String &value)
EventPredictionSummary & WithDetectorId(const char *value)
EventPredictionSummary & WithDetectorVersionId(const char *value)
AWS_FRAUDDETECTOR_API EventPredictionSummary(Aws::Utils::Json::JsonView jsonValue)
EventPredictionSummary & WithEventTimestamp(const char *value)
EventPredictionSummary & WithEventId(const Aws::String &value)
EventPredictionSummary & WithPredictionTimestamp(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue