AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IngestedEventStatistics.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 IngestedEventStatistics();
35 AWS_FRAUDDETECTOR_API IngestedEventStatistics(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline long long GetNumberOfEvents() const{ return m_numberOfEvents; }
45 inline bool NumberOfEventsHasBeenSet() const { return m_numberOfEventsHasBeenSet; }
46 inline void SetNumberOfEvents(long long value) { m_numberOfEventsHasBeenSet = true; m_numberOfEvents = value; }
47 inline IngestedEventStatistics& WithNumberOfEvents(long long value) { SetNumberOfEvents(value); return *this;}
49
51
54 inline long long GetEventDataSizeInBytes() const{ return m_eventDataSizeInBytes; }
55 inline bool EventDataSizeInBytesHasBeenSet() const { return m_eventDataSizeInBytesHasBeenSet; }
56 inline void SetEventDataSizeInBytes(long long value) { m_eventDataSizeInBytesHasBeenSet = true; m_eventDataSizeInBytes = value; }
57 inline IngestedEventStatistics& WithEventDataSizeInBytes(long long value) { SetEventDataSizeInBytes(value); return *this;}
59
61
64 inline const Aws::String& GetLeastRecentEvent() const{ return m_leastRecentEvent; }
65 inline bool LeastRecentEventHasBeenSet() const { return m_leastRecentEventHasBeenSet; }
66 inline void SetLeastRecentEvent(const Aws::String& value) { m_leastRecentEventHasBeenSet = true; m_leastRecentEvent = value; }
67 inline void SetLeastRecentEvent(Aws::String&& value) { m_leastRecentEventHasBeenSet = true; m_leastRecentEvent = std::move(value); }
68 inline void SetLeastRecentEvent(const char* value) { m_leastRecentEventHasBeenSet = true; m_leastRecentEvent.assign(value); }
69 inline IngestedEventStatistics& WithLeastRecentEvent(const Aws::String& value) { SetLeastRecentEvent(value); return *this;}
70 inline IngestedEventStatistics& WithLeastRecentEvent(Aws::String&& value) { SetLeastRecentEvent(std::move(value)); return *this;}
71 inline IngestedEventStatistics& WithLeastRecentEvent(const char* value) { SetLeastRecentEvent(value); return *this;}
73
75
78 inline const Aws::String& GetMostRecentEvent() const{ return m_mostRecentEvent; }
79 inline bool MostRecentEventHasBeenSet() const { return m_mostRecentEventHasBeenSet; }
80 inline void SetMostRecentEvent(const Aws::String& value) { m_mostRecentEventHasBeenSet = true; m_mostRecentEvent = value; }
81 inline void SetMostRecentEvent(Aws::String&& value) { m_mostRecentEventHasBeenSet = true; m_mostRecentEvent = std::move(value); }
82 inline void SetMostRecentEvent(const char* value) { m_mostRecentEventHasBeenSet = true; m_mostRecentEvent.assign(value); }
83 inline IngestedEventStatistics& WithMostRecentEvent(const Aws::String& value) { SetMostRecentEvent(value); return *this;}
84 inline IngestedEventStatistics& WithMostRecentEvent(Aws::String&& value) { SetMostRecentEvent(std::move(value)); return *this;}
85 inline IngestedEventStatistics& WithMostRecentEvent(const char* value) { SetMostRecentEvent(value); return *this;}
87
89
92 inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
93 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
94 inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
95 inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
96 inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
97 inline IngestedEventStatistics& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
98 inline IngestedEventStatistics& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
99 inline IngestedEventStatistics& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
101 private:
102
103 long long m_numberOfEvents;
104 bool m_numberOfEventsHasBeenSet = false;
105
106 long long m_eventDataSizeInBytes;
107 bool m_eventDataSizeInBytesHasBeenSet = false;
108
109 Aws::String m_leastRecentEvent;
110 bool m_leastRecentEventHasBeenSet = false;
111
112 Aws::String m_mostRecentEvent;
113 bool m_mostRecentEventHasBeenSet = false;
114
115 Aws::String m_lastUpdatedTime;
116 bool m_lastUpdatedTimeHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace FraudDetector
121} // namespace Aws
IngestedEventStatistics & WithEventDataSizeInBytes(long long value)
IngestedEventStatistics & WithLastUpdatedTime(const Aws::String &value)
IngestedEventStatistics & WithLastUpdatedTime(Aws::String &&value)
IngestedEventStatistics & WithMostRecentEvent(const char *value)
IngestedEventStatistics & WithLeastRecentEvent(Aws::String &&value)
AWS_FRAUDDETECTOR_API IngestedEventStatistics(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
IngestedEventStatistics & WithLeastRecentEvent(const char *value)
IngestedEventStatistics & WithMostRecentEvent(const Aws::String &value)
IngestedEventStatistics & WithLeastRecentEvent(const Aws::String &value)
IngestedEventStatistics & WithNumberOfEvents(long long value)
IngestedEventStatistics & WithMostRecentEvent(Aws::String &&value)
IngestedEventStatistics & WithLastUpdatedTime(const char *value)
AWS_FRAUDDETECTOR_API IngestedEventStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue