/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SESV2 { namespace Model { /** *

An object that contains inbox placement data for an email * provider.

See Also:

AWS * API Reference

*/ class PlacementStatistics { public: AWS_SESV2_API PlacementStatistics(); AWS_SESV2_API PlacementStatistics(Aws::Utils::Json::JsonView jsonValue); AWS_SESV2_API PlacementStatistics& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The percentage of emails that arrived in recipients' inboxes during the * predictive inbox placement test.

*/ inline double GetInboxPercentage() const{ return m_inboxPercentage; } /** *

The percentage of emails that arrived in recipients' inboxes during the * predictive inbox placement test.

*/ inline bool InboxPercentageHasBeenSet() const { return m_inboxPercentageHasBeenSet; } /** *

The percentage of emails that arrived in recipients' inboxes during the * predictive inbox placement test.

*/ inline void SetInboxPercentage(double value) { m_inboxPercentageHasBeenSet = true; m_inboxPercentage = value; } /** *

The percentage of emails that arrived in recipients' inboxes during the * predictive inbox placement test.

*/ inline PlacementStatistics& WithInboxPercentage(double value) { SetInboxPercentage(value); return *this;} /** *

The percentage of emails that arrived in recipients' spam or junk mail * folders during the predictive inbox placement test.

*/ inline double GetSpamPercentage() const{ return m_spamPercentage; } /** *

The percentage of emails that arrived in recipients' spam or junk mail * folders during the predictive inbox placement test.

*/ inline bool SpamPercentageHasBeenSet() const { return m_spamPercentageHasBeenSet; } /** *

The percentage of emails that arrived in recipients' spam or junk mail * folders during the predictive inbox placement test.

*/ inline void SetSpamPercentage(double value) { m_spamPercentageHasBeenSet = true; m_spamPercentage = value; } /** *

The percentage of emails that arrived in recipients' spam or junk mail * folders during the predictive inbox placement test.

*/ inline PlacementStatistics& WithSpamPercentage(double value) { SetSpamPercentage(value); return *this;} /** *

The percentage of emails that didn't arrive in recipients' inboxes at all * during the predictive inbox placement test.

*/ inline double GetMissingPercentage() const{ return m_missingPercentage; } /** *

The percentage of emails that didn't arrive in recipients' inboxes at all * during the predictive inbox placement test.

*/ inline bool MissingPercentageHasBeenSet() const { return m_missingPercentageHasBeenSet; } /** *

The percentage of emails that didn't arrive in recipients' inboxes at all * during the predictive inbox placement test.

*/ inline void SetMissingPercentage(double value) { m_missingPercentageHasBeenSet = true; m_missingPercentage = value; } /** *

The percentage of emails that didn't arrive in recipients' inboxes at all * during the predictive inbox placement test.

*/ inline PlacementStatistics& WithMissingPercentage(double value) { SetMissingPercentage(value); return *this;} /** *

The percentage of emails that were authenticated by using Sender Policy * Framework (SPF) during the predictive inbox placement test.

*/ inline double GetSpfPercentage() const{ return m_spfPercentage; } /** *

The percentage of emails that were authenticated by using Sender Policy * Framework (SPF) during the predictive inbox placement test.

*/ inline bool SpfPercentageHasBeenSet() const { return m_spfPercentageHasBeenSet; } /** *

The percentage of emails that were authenticated by using Sender Policy * Framework (SPF) during the predictive inbox placement test.

*/ inline void SetSpfPercentage(double value) { m_spfPercentageHasBeenSet = true; m_spfPercentage = value; } /** *

The percentage of emails that were authenticated by using Sender Policy * Framework (SPF) during the predictive inbox placement test.

*/ inline PlacementStatistics& WithSpfPercentage(double value) { SetSpfPercentage(value); return *this;} /** *

The percentage of emails that were authenticated by using DomainKeys * Identified Mail (DKIM) during the predictive inbox placement test.

*/ inline double GetDkimPercentage() const{ return m_dkimPercentage; } /** *

The percentage of emails that were authenticated by using DomainKeys * Identified Mail (DKIM) during the predictive inbox placement test.

*/ inline bool DkimPercentageHasBeenSet() const { return m_dkimPercentageHasBeenSet; } /** *

The percentage of emails that were authenticated by using DomainKeys * Identified Mail (DKIM) during the predictive inbox placement test.

*/ inline void SetDkimPercentage(double value) { m_dkimPercentageHasBeenSet = true; m_dkimPercentage = value; } /** *

The percentage of emails that were authenticated by using DomainKeys * Identified Mail (DKIM) during the predictive inbox placement test.

*/ inline PlacementStatistics& WithDkimPercentage(double value) { SetDkimPercentage(value); return *this;} private: double m_inboxPercentage; bool m_inboxPercentageHasBeenSet = false; double m_spamPercentage; bool m_spamPercentageHasBeenSet = false; double m_missingPercentage; bool m_missingPercentageHasBeenSet = false; double m_spfPercentage; bool m_spfPercentageHasBeenSet = false; double m_dkimPercentage; bool m_dkimPercentageHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws