/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FraudDetector { namespace Model { /** *

Data about the stored events.

See Also:

AWS * API Reference

*/ class IngestedEventStatistics { public: AWS_FRAUDDETECTOR_API IngestedEventStatistics(); AWS_FRAUDDETECTOR_API IngestedEventStatistics(Aws::Utils::Json::JsonView jsonValue); AWS_FRAUDDETECTOR_API IngestedEventStatistics& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The number of stored events.

*/ inline long long GetNumberOfEvents() const{ return m_numberOfEvents; } /** *

The number of stored events.

*/ inline bool NumberOfEventsHasBeenSet() const { return m_numberOfEventsHasBeenSet; } /** *

The number of stored events.

*/ inline void SetNumberOfEvents(long long value) { m_numberOfEventsHasBeenSet = true; m_numberOfEvents = value; } /** *

The number of stored events.

*/ inline IngestedEventStatistics& WithNumberOfEvents(long long value) { SetNumberOfEvents(value); return *this;} /** *

The total size of the stored events.

*/ inline long long GetEventDataSizeInBytes() const{ return m_eventDataSizeInBytes; } /** *

The total size of the stored events.

*/ inline bool EventDataSizeInBytesHasBeenSet() const { return m_eventDataSizeInBytesHasBeenSet; } /** *

The total size of the stored events.

*/ inline void SetEventDataSizeInBytes(long long value) { m_eventDataSizeInBytesHasBeenSet = true; m_eventDataSizeInBytes = value; } /** *

The total size of the stored events.

*/ inline IngestedEventStatistics& WithEventDataSizeInBytes(long long value) { SetEventDataSizeInBytes(value); return *this;} /** *

The oldest stored event.

*/ inline const Aws::String& GetLeastRecentEvent() const{ return m_leastRecentEvent; } /** *

The oldest stored event.

*/ inline bool LeastRecentEventHasBeenSet() const { return m_leastRecentEventHasBeenSet; } /** *

The oldest stored event.

*/ inline void SetLeastRecentEvent(const Aws::String& value) { m_leastRecentEventHasBeenSet = true; m_leastRecentEvent = value; } /** *

The oldest stored event.

*/ inline void SetLeastRecentEvent(Aws::String&& value) { m_leastRecentEventHasBeenSet = true; m_leastRecentEvent = std::move(value); } /** *

The oldest stored event.

*/ inline void SetLeastRecentEvent(const char* value) { m_leastRecentEventHasBeenSet = true; m_leastRecentEvent.assign(value); } /** *

The oldest stored event.

*/ inline IngestedEventStatistics& WithLeastRecentEvent(const Aws::String& value) { SetLeastRecentEvent(value); return *this;} /** *

The oldest stored event.

*/ inline IngestedEventStatistics& WithLeastRecentEvent(Aws::String&& value) { SetLeastRecentEvent(std::move(value)); return *this;} /** *

The oldest stored event.

*/ inline IngestedEventStatistics& WithLeastRecentEvent(const char* value) { SetLeastRecentEvent(value); return *this;} /** *

The newest stored event.

*/ inline const Aws::String& GetMostRecentEvent() const{ return m_mostRecentEvent; } /** *

The newest stored event.

*/ inline bool MostRecentEventHasBeenSet() const { return m_mostRecentEventHasBeenSet; } /** *

The newest stored event.

*/ inline void SetMostRecentEvent(const Aws::String& value) { m_mostRecentEventHasBeenSet = true; m_mostRecentEvent = value; } /** *

The newest stored event.

*/ inline void SetMostRecentEvent(Aws::String&& value) { m_mostRecentEventHasBeenSet = true; m_mostRecentEvent = std::move(value); } /** *

The newest stored event.

*/ inline void SetMostRecentEvent(const char* value) { m_mostRecentEventHasBeenSet = true; m_mostRecentEvent.assign(value); } /** *

The newest stored event.

*/ inline IngestedEventStatistics& WithMostRecentEvent(const Aws::String& value) { SetMostRecentEvent(value); return *this;} /** *

The newest stored event.

*/ inline IngestedEventStatistics& WithMostRecentEvent(Aws::String&& value) { SetMostRecentEvent(std::move(value)); return *this;} /** *

The newest stored event.

*/ inline IngestedEventStatistics& WithMostRecentEvent(const char* value) { SetMostRecentEvent(value); return *this;} /** *

Timestamp of when the stored event was last updated.

*/ inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *

Timestamp of when the stored event was last updated.

*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *

Timestamp of when the stored event was last updated.

*/ inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *

Timestamp of when the stored event was last updated.

*/ inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *

Timestamp of when the stored event was last updated.

*/ inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); } /** *

Timestamp of when the stored event was last updated.

*/ inline IngestedEventStatistics& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;} /** *

Timestamp of when the stored event was last updated.

*/ inline IngestedEventStatistics& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *

Timestamp of when the stored event was last updated.

*/ inline IngestedEventStatistics& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;} private: long long m_numberOfEvents; bool m_numberOfEventsHasBeenSet = false; long long m_eventDataSizeInBytes; bool m_eventDataSizeInBytesHasBeenSet = false; Aws::String m_leastRecentEvent; bool m_leastRecentEventHasBeenSet = false; Aws::String m_mostRecentEvent; bool m_mostRecentEventHasBeenSet = false; Aws::String m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws