AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ScannedItemCount.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace GuardDuty {
17namespace Model {
18
25 public:
26 AWS_GUARDDUTY_API ScannedItemCount() = default;
27 AWS_GUARDDUTY_API ScannedItemCount(Aws::Utils::Json::JsonView jsonValue);
29 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetTotalGb() const { return m_totalGb; }
36 inline bool TotalGbHasBeenSet() const { return m_totalGbHasBeenSet; }
37 inline void SetTotalGb(int value) {
38 m_totalGbHasBeenSet = true;
39 m_totalGb = value;
40 }
41 inline ScannedItemCount& WithTotalGb(int value) {
42 SetTotalGb(value);
43 return *this;
44 }
46
48
51 inline int GetFiles() const { return m_files; }
52 inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; }
53 inline void SetFiles(int value) {
54 m_filesHasBeenSet = true;
55 m_files = value;
56 }
57 inline ScannedItemCount& WithFiles(int value) {
58 SetFiles(value);
59 return *this;
60 }
62
64
67 inline int GetVolumes() const { return m_volumes; }
68 inline bool VolumesHasBeenSet() const { return m_volumesHasBeenSet; }
69 inline void SetVolumes(int value) {
70 m_volumesHasBeenSet = true;
71 m_volumes = value;
72 }
73 inline ScannedItemCount& WithVolumes(int value) {
74 SetVolumes(value);
75 return *this;
76 }
78 private:
79 int m_totalGb{0};
80
81 int m_files{0};
82
83 int m_volumes{0};
84 bool m_totalGbHasBeenSet = false;
85 bool m_filesHasBeenSet = false;
86 bool m_volumesHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace GuardDuty
91} // namespace Aws
AWS_GUARDDUTY_API ScannedItemCount & operator=(Aws::Utils::Json::JsonView jsonValue)
ScannedItemCount & WithFiles(int value)
ScannedItemCount & WithVolumes(int value)
ScannedItemCount & WithTotalGb(int value)
AWS_GUARDDUTY_API ScannedItemCount(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API ScannedItemCount()=default
Aws::Utils::Json::JsonValue JsonValue