AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScannedItemCount.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_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 GuardDuty
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_GUARDDUTY_API ScannedItemCount();
33 AWS_GUARDDUTY_API ScannedItemCount(Aws::Utils::Json::JsonView jsonValue);
35 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetTotalGb() const{ return m_totalGb; }
43 inline bool TotalGbHasBeenSet() const { return m_totalGbHasBeenSet; }
44 inline void SetTotalGb(int value) { m_totalGbHasBeenSet = true; m_totalGb = value; }
45 inline ScannedItemCount& WithTotalGb(int value) { SetTotalGb(value); return *this;}
47
49
52 inline int GetFiles() const{ return m_files; }
53 inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; }
54 inline void SetFiles(int value) { m_filesHasBeenSet = true; m_files = value; }
55 inline ScannedItemCount& WithFiles(int value) { SetFiles(value); return *this;}
57
59
62 inline int GetVolumes() const{ return m_volumes; }
63 inline bool VolumesHasBeenSet() const { return m_volumesHasBeenSet; }
64 inline void SetVolumes(int value) { m_volumesHasBeenSet = true; m_volumes = value; }
65 inline ScannedItemCount& WithVolumes(int value) { SetVolumes(value); return *this;}
67 private:
68
69 int m_totalGb;
70 bool m_totalGbHasBeenSet = false;
71
72 int m_files;
73 bool m_filesHasBeenSet = false;
74
75 int m_volumes;
76 bool m_volumesHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace GuardDuty
81} // 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::Utils::Json::JsonValue JsonValue