AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VolumeStatistics.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_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 PinpointEmail
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_PINPOINTEMAIL_API VolumeStatistics();
34 AWS_PINPOINTEMAIL_API VolumeStatistics(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PINPOINTEMAIL_API VolumeStatistics& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline long long GetInboxRawCount() const{ return m_inboxRawCount; }
44 inline bool InboxRawCountHasBeenSet() const { return m_inboxRawCountHasBeenSet; }
45 inline void SetInboxRawCount(long long value) { m_inboxRawCountHasBeenSet = true; m_inboxRawCount = value; }
46 inline VolumeStatistics& WithInboxRawCount(long long value) { SetInboxRawCount(value); return *this;}
48
50
54 inline long long GetSpamRawCount() const{ return m_spamRawCount; }
55 inline bool SpamRawCountHasBeenSet() const { return m_spamRawCountHasBeenSet; }
56 inline void SetSpamRawCount(long long value) { m_spamRawCountHasBeenSet = true; m_spamRawCount = value; }
57 inline VolumeStatistics& WithSpamRawCount(long long value) { SetSpamRawCount(value); return *this;}
59
61
65 inline long long GetProjectedInbox() const{ return m_projectedInbox; }
66 inline bool ProjectedInboxHasBeenSet() const { return m_projectedInboxHasBeenSet; }
67 inline void SetProjectedInbox(long long value) { m_projectedInboxHasBeenSet = true; m_projectedInbox = value; }
68 inline VolumeStatistics& WithProjectedInbox(long long value) { SetProjectedInbox(value); return *this;}
70
72
76 inline long long GetProjectedSpam() const{ return m_projectedSpam; }
77 inline bool ProjectedSpamHasBeenSet() const { return m_projectedSpamHasBeenSet; }
78 inline void SetProjectedSpam(long long value) { m_projectedSpamHasBeenSet = true; m_projectedSpam = value; }
79 inline VolumeStatistics& WithProjectedSpam(long long value) { SetProjectedSpam(value); return *this;}
81 private:
82
83 long long m_inboxRawCount;
84 bool m_inboxRawCountHasBeenSet = false;
85
86 long long m_spamRawCount;
87 bool m_spamRawCountHasBeenSet = false;
88
89 long long m_projectedInbox;
90 bool m_projectedInboxHasBeenSet = false;
91
92 long long m_projectedSpam;
93 bool m_projectedSpamHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace PinpointEmail
98} // namespace Aws
AWS_PINPOINTEMAIL_API VolumeStatistics(Aws::Utils::Json::JsonView jsonValue)
VolumeStatistics & WithProjectedInbox(long long value)
AWS_PINPOINTEMAIL_API VolumeStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
VolumeStatistics & WithProjectedSpam(long long value)
VolumeStatistics & WithSpamRawCount(long long value)
VolumeStatistics & WithInboxRawCount(long long value)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue