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

Represents the rejected events.

See Also:

AWS * API Reference

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

The log events that are too new.

*/ inline int GetTooNewLogEventStartIndex() const{ return m_tooNewLogEventStartIndex; } /** *

The log events that are too new.

*/ inline bool TooNewLogEventStartIndexHasBeenSet() const { return m_tooNewLogEventStartIndexHasBeenSet; } /** *

The log events that are too new.

*/ inline void SetTooNewLogEventStartIndex(int value) { m_tooNewLogEventStartIndexHasBeenSet = true; m_tooNewLogEventStartIndex = value; } /** *

The log events that are too new.

*/ inline RejectedLogEventsInfo& WithTooNewLogEventStartIndex(int value) { SetTooNewLogEventStartIndex(value); return *this;} /** *

The log events that are dated too far in the past.

*/ inline int GetTooOldLogEventEndIndex() const{ return m_tooOldLogEventEndIndex; } /** *

The log events that are dated too far in the past.

*/ inline bool TooOldLogEventEndIndexHasBeenSet() const { return m_tooOldLogEventEndIndexHasBeenSet; } /** *

The log events that are dated too far in the past.

*/ inline void SetTooOldLogEventEndIndex(int value) { m_tooOldLogEventEndIndexHasBeenSet = true; m_tooOldLogEventEndIndex = value; } /** *

The log events that are dated too far in the past.

*/ inline RejectedLogEventsInfo& WithTooOldLogEventEndIndex(int value) { SetTooOldLogEventEndIndex(value); return *this;} /** *

The expired log events.

*/ inline int GetExpiredLogEventEndIndex() const{ return m_expiredLogEventEndIndex; } /** *

The expired log events.

*/ inline bool ExpiredLogEventEndIndexHasBeenSet() const { return m_expiredLogEventEndIndexHasBeenSet; } /** *

The expired log events.

*/ inline void SetExpiredLogEventEndIndex(int value) { m_expiredLogEventEndIndexHasBeenSet = true; m_expiredLogEventEndIndex = value; } /** *

The expired log events.

*/ inline RejectedLogEventsInfo& WithExpiredLogEventEndIndex(int value) { SetExpiredLogEventEndIndex(value); return *this;} private: int m_tooNewLogEventStartIndex; bool m_tooNewLogEventStartIndexHasBeenSet = false; int m_tooOldLogEventEndIndex; bool m_tooOldLogEventEndIndexHasBeenSet = false; int m_expiredLogEventEndIndex; bool m_expiredLogEventEndIndexHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchLogs } // namespace Aws