AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PlacementStatistics.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 PlacementStatistics();
34 AWS_PINPOINTEMAIL_API PlacementStatistics(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PINPOINTEMAIL_API PlacementStatistics& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline double GetInboxPercentage() const{ return m_inboxPercentage; }
45 inline bool InboxPercentageHasBeenSet() const { return m_inboxPercentageHasBeenSet; }
46 inline void SetInboxPercentage(double value) { m_inboxPercentageHasBeenSet = true; m_inboxPercentage = value; }
47 inline PlacementStatistics& WithInboxPercentage(double value) { SetInboxPercentage(value); return *this;}
49
51
55 inline double GetSpamPercentage() const{ return m_spamPercentage; }
56 inline bool SpamPercentageHasBeenSet() const { return m_spamPercentageHasBeenSet; }
57 inline void SetSpamPercentage(double value) { m_spamPercentageHasBeenSet = true; m_spamPercentage = value; }
58 inline PlacementStatistics& WithSpamPercentage(double value) { SetSpamPercentage(value); return *this;}
60
62
66 inline double GetMissingPercentage() const{ return m_missingPercentage; }
67 inline bool MissingPercentageHasBeenSet() const { return m_missingPercentageHasBeenSet; }
68 inline void SetMissingPercentage(double value) { m_missingPercentageHasBeenSet = true; m_missingPercentage = value; }
69 inline PlacementStatistics& WithMissingPercentage(double value) { SetMissingPercentage(value); return *this;}
71
73
77 inline double GetSpfPercentage() const{ return m_spfPercentage; }
78 inline bool SpfPercentageHasBeenSet() const { return m_spfPercentageHasBeenSet; }
79 inline void SetSpfPercentage(double value) { m_spfPercentageHasBeenSet = true; m_spfPercentage = value; }
80 inline PlacementStatistics& WithSpfPercentage(double value) { SetSpfPercentage(value); return *this;}
82
84
88 inline double GetDkimPercentage() const{ return m_dkimPercentage; }
89 inline bool DkimPercentageHasBeenSet() const { return m_dkimPercentageHasBeenSet; }
90 inline void SetDkimPercentage(double value) { m_dkimPercentageHasBeenSet = true; m_dkimPercentage = value; }
91 inline PlacementStatistics& WithDkimPercentage(double value) { SetDkimPercentage(value); return *this;}
93 private:
94
95 double m_inboxPercentage;
96 bool m_inboxPercentageHasBeenSet = false;
97
98 double m_spamPercentage;
99 bool m_spamPercentageHasBeenSet = false;
100
101 double m_missingPercentage;
102 bool m_missingPercentageHasBeenSet = false;
103
104 double m_spfPercentage;
105 bool m_spfPercentageHasBeenSet = false;
106
107 double m_dkimPercentage;
108 bool m_dkimPercentageHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace PinpointEmail
113} // namespace Aws
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINTEMAIL_API PlacementStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
PlacementStatistics & WithMissingPercentage(double value)
AWS_PINPOINTEMAIL_API PlacementStatistics(Aws::Utils::Json::JsonView jsonValue)
PlacementStatistics & WithInboxPercentage(double value)
PlacementStatistics & WithSpamPercentage(double value)
PlacementStatistics & WithSpfPercentage(double value)
PlacementStatistics & WithDkimPercentage(double value)
Aws::Utils::Json::JsonValue JsonValue