AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
ImportStatistics.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace CloudTrail {
17namespace Model {
18
29 public:
30 AWS_CLOUDTRAIL_API ImportStatistics() = default;
31 AWS_CLOUDTRAIL_API ImportStatistics(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline long long GetPrefixesFound() const { return m_prefixesFound; }
40 inline bool PrefixesFoundHasBeenSet() const { return m_prefixesFoundHasBeenSet; }
41 inline void SetPrefixesFound(long long value) {
42 m_prefixesFoundHasBeenSet = true;
43 m_prefixesFound = value;
44 }
45 inline ImportStatistics& WithPrefixesFound(long long value) {
46 SetPrefixesFound(value);
47 return *this;
48 }
50
52
55 inline long long GetPrefixesCompleted() const { return m_prefixesCompleted; }
56 inline bool PrefixesCompletedHasBeenSet() const { return m_prefixesCompletedHasBeenSet; }
57 inline void SetPrefixesCompleted(long long value) {
58 m_prefixesCompletedHasBeenSet = true;
59 m_prefixesCompleted = value;
60 }
61 inline ImportStatistics& WithPrefixesCompleted(long long value) {
63 return *this;
64 }
66
68
71 inline long long GetFilesCompleted() const { return m_filesCompleted; }
72 inline bool FilesCompletedHasBeenSet() const { return m_filesCompletedHasBeenSet; }
73 inline void SetFilesCompleted(long long value) {
74 m_filesCompletedHasBeenSet = true;
75 m_filesCompleted = value;
76 }
77 inline ImportStatistics& WithFilesCompleted(long long value) {
78 SetFilesCompleted(value);
79 return *this;
80 }
82
84
87 inline long long GetEventsCompleted() const { return m_eventsCompleted; }
88 inline bool EventsCompletedHasBeenSet() const { return m_eventsCompletedHasBeenSet; }
89 inline void SetEventsCompleted(long long value) {
90 m_eventsCompletedHasBeenSet = true;
91 m_eventsCompleted = value;
92 }
93 inline ImportStatistics& WithEventsCompleted(long long value) {
94 SetEventsCompleted(value);
95 return *this;
96 }
98
100
103 inline long long GetFailedEntries() const { return m_failedEntries; }
104 inline bool FailedEntriesHasBeenSet() const { return m_failedEntriesHasBeenSet; }
105 inline void SetFailedEntries(long long value) {
106 m_failedEntriesHasBeenSet = true;
107 m_failedEntries = value;
108 }
109 inline ImportStatistics& WithFailedEntries(long long value) {
110 SetFailedEntries(value);
111 return *this;
112 }
114 private:
115 long long m_prefixesFound{0};
116
117 long long m_prefixesCompleted{0};
118
119 long long m_filesCompleted{0};
120
121 long long m_eventsCompleted{0};
122
123 long long m_failedEntries{0};
124 bool m_prefixesFoundHasBeenSet = false;
125 bool m_prefixesCompletedHasBeenSet = false;
126 bool m_filesCompletedHasBeenSet = false;
127 bool m_eventsCompletedHasBeenSet = false;
128 bool m_failedEntriesHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace CloudTrail
133} // namespace Aws
ImportStatistics & WithPrefixesCompleted(long long value)
AWS_CLOUDTRAIL_API ImportStatistics()=default
ImportStatistics & WithFilesCompleted(long long value)
ImportStatistics & WithEventsCompleted(long long value)
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDTRAIL_API ImportStatistics(Aws::Utils::Json::JsonView jsonValue)
ImportStatistics & WithFailedEntries(long long value)
ImportStatistics & WithPrefixesFound(long long value)
AWS_CLOUDTRAIL_API ImportStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue