AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
RejectedLogEventsInfo.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace CloudWatchLogs {
17namespace Model {
18
25 public:
26 AWS_CLOUDWATCHLOGS_API RejectedLogEventsInfo() = default;
27 AWS_CLOUDWATCHLOGS_API RejectedLogEventsInfo(Aws::Utils::Json::JsonView jsonValue);
29 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
36 inline int GetTooNewLogEventStartIndex() const { return m_tooNewLogEventStartIndex; }
37 inline bool TooNewLogEventStartIndexHasBeenSet() const { return m_tooNewLogEventStartIndexHasBeenSet; }
38 inline void SetTooNewLogEventStartIndex(int value) {
39 m_tooNewLogEventStartIndexHasBeenSet = true;
40 m_tooNewLogEventStartIndex = value;
41 }
44 return *this;
45 }
47
49
52 inline int GetTooOldLogEventEndIndex() const { return m_tooOldLogEventEndIndex; }
53 inline bool TooOldLogEventEndIndexHasBeenSet() const { return m_tooOldLogEventEndIndexHasBeenSet; }
54 inline void SetTooOldLogEventEndIndex(int value) {
55 m_tooOldLogEventEndIndexHasBeenSet = true;
56 m_tooOldLogEventEndIndex = value;
57 }
60 return *this;
61 }
63
65
68 inline int GetExpiredLogEventEndIndex() const { return m_expiredLogEventEndIndex; }
69 inline bool ExpiredLogEventEndIndexHasBeenSet() const { return m_expiredLogEventEndIndexHasBeenSet; }
70 inline void SetExpiredLogEventEndIndex(int value) {
71 m_expiredLogEventEndIndexHasBeenSet = true;
72 m_expiredLogEventEndIndex = value;
73 }
76 return *this;
77 }
79 private:
80 int m_tooNewLogEventStartIndex{0};
81
82 int m_tooOldLogEventEndIndex{0};
83
84 int m_expiredLogEventEndIndex{0};
85 bool m_tooNewLogEventStartIndexHasBeenSet = false;
86 bool m_tooOldLogEventEndIndexHasBeenSet = false;
87 bool m_expiredLogEventEndIndexHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace CloudWatchLogs
92} // namespace Aws
AWS_CLOUDWATCHLOGS_API RejectedLogEventsInfo(Aws::Utils::Json::JsonView jsonValue)
RejectedLogEventsInfo & WithTooOldLogEventEndIndex(int value)
AWS_CLOUDWATCHLOGS_API RejectedLogEventsInfo()=default
RejectedLogEventsInfo & WithExpiredLogEventEndIndex(int value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHLOGS_API RejectedLogEventsInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
RejectedLogEventsInfo & WithTooNewLogEventStartIndex(int value)
Aws::Utils::Json::JsonValue JsonValue