AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportStatistics.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudTrail
20{
21namespace Model
22{
23
34 {
35 public:
36 AWS_CLOUDTRAIL_API ImportStatistics();
37 AWS_CLOUDTRAIL_API ImportStatistics(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline long long GetPrefixesFound() const{ return m_prefixesFound; }
47 inline bool PrefixesFoundHasBeenSet() const { return m_prefixesFoundHasBeenSet; }
48 inline void SetPrefixesFound(long long value) { m_prefixesFoundHasBeenSet = true; m_prefixesFound = value; }
49 inline ImportStatistics& WithPrefixesFound(long long value) { SetPrefixesFound(value); return *this;}
51
53
56 inline long long GetPrefixesCompleted() const{ return m_prefixesCompleted; }
57 inline bool PrefixesCompletedHasBeenSet() const { return m_prefixesCompletedHasBeenSet; }
58 inline void SetPrefixesCompleted(long long value) { m_prefixesCompletedHasBeenSet = true; m_prefixesCompleted = value; }
59 inline ImportStatistics& WithPrefixesCompleted(long long value) { SetPrefixesCompleted(value); return *this;}
61
63
66 inline long long GetFilesCompleted() const{ return m_filesCompleted; }
67 inline bool FilesCompletedHasBeenSet() const { return m_filesCompletedHasBeenSet; }
68 inline void SetFilesCompleted(long long value) { m_filesCompletedHasBeenSet = true; m_filesCompleted = value; }
69 inline ImportStatistics& WithFilesCompleted(long long value) { SetFilesCompleted(value); return *this;}
71
73
76 inline long long GetEventsCompleted() const{ return m_eventsCompleted; }
77 inline bool EventsCompletedHasBeenSet() const { return m_eventsCompletedHasBeenSet; }
78 inline void SetEventsCompleted(long long value) { m_eventsCompletedHasBeenSet = true; m_eventsCompleted = value; }
79 inline ImportStatistics& WithEventsCompleted(long long value) { SetEventsCompleted(value); return *this;}
81
83
86 inline long long GetFailedEntries() const{ return m_failedEntries; }
87 inline bool FailedEntriesHasBeenSet() const { return m_failedEntriesHasBeenSet; }
88 inline void SetFailedEntries(long long value) { m_failedEntriesHasBeenSet = true; m_failedEntries = value; }
89 inline ImportStatistics& WithFailedEntries(long long value) { SetFailedEntries(value); return *this;}
91 private:
92
93 long long m_prefixesFound;
94 bool m_prefixesFoundHasBeenSet = false;
95
96 long long m_prefixesCompleted;
97 bool m_prefixesCompletedHasBeenSet = false;
98
99 long long m_filesCompleted;
100 bool m_filesCompletedHasBeenSet = false;
101
102 long long m_eventsCompleted;
103 bool m_eventsCompletedHasBeenSet = false;
104
105 long long m_failedEntries;
106 bool m_failedEntriesHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CloudTrail
111} // namespace Aws
ImportStatistics & WithPrefixesCompleted(long long value)
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