AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename LeastRecentEventT = Aws::String>
67 void SetLeastRecentEvent(LeastRecentEventT&& value) { m_leastRecentEventHasBeenSet = true; m_leastRecentEvent = std::forward<LeastRecentEventT>(value); }
68 template<typename LeastRecentEventT = Aws::String>
69 IngestedEventStatistics& WithLeastRecentEvent(LeastRecentEventT&& value) { SetLeastRecentEvent(std::forward<LeastRecentEventT>(value)); return *this;}
71
73
76 inline const Aws::String& GetMostRecentEvent() const { return m_mostRecentEvent; }
77 inline bool MostRecentEventHasBeenSet() const { return m_mostRecentEventHasBeenSet; }
78 template<typename MostRecentEventT = Aws::String>
79 void SetMostRecentEvent(MostRecentEventT&& value) { m_mostRecentEventHasBeenSet = true; m_mostRecentEvent = std::forward<MostRecentEventT>(value); }
80 template<typename MostRecentEventT = Aws::String>
81 IngestedEventStatistics& WithMostRecentEvent(MostRecentEventT&& value) { SetMostRecentEvent(std::forward<MostRecentEventT>(value)); return *this;}
83
85
88 inline const Aws::String& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
89 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
90 template<typename LastUpdatedTimeT = Aws::String>
91 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
92 template<typename LastUpdatedTimeT = Aws::String>
93 IngestedEventStatistics& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
95 private:
96
97 long long m_numberOfEvents{0};
98 bool m_numberOfEventsHasBeenSet = false;
99
100 long long m_eventDataSizeInBytes{0};
101 bool m_eventDataSizeInBytesHasBeenSet = false;
102
103 Aws::String m_leastRecentEvent;
104 bool m_leastRecentEventHasBeenSet = false;
105
106 Aws::String m_mostRecentEvent;
107 bool m_mostRecentEventHasBeenSet = false;
108
109 Aws::String m_lastUpdatedTime;
110 bool m_lastUpdatedTimeHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace FraudDetector
115} // namespace Aws
IngestedEventStatistics & WithLeastRecentEvent(LeastRecentEventT &&value)
IngestedEventStatistics & WithEventDataSizeInBytes(long long value)
IngestedEventStatistics & WithMostRecentEvent(MostRecentEventT &&value)
IngestedEventStatistics & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_FRAUDDETECTOR_API IngestedEventStatistics(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FRAUDDETECTOR_API IngestedEventStatistics()=default
IngestedEventStatistics & WithNumberOfEvents(long long 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