/** * 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 information about the amount of email that was * delivered to recipients.

See Also:

AWS * API Reference

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

The total number of emails that arrived in recipients' inboxes.

*/ inline long long GetInboxRawCount() const{ return m_inboxRawCount; } /** *

The total number of emails that arrived in recipients' inboxes.

*/ inline bool InboxRawCountHasBeenSet() const { return m_inboxRawCountHasBeenSet; } /** *

The total number of emails that arrived in recipients' inboxes.

*/ inline void SetInboxRawCount(long long value) { m_inboxRawCountHasBeenSet = true; m_inboxRawCount = value; } /** *

The total number of emails that arrived in recipients' inboxes.

*/ inline VolumeStatistics& WithInboxRawCount(long long value) { SetInboxRawCount(value); return *this;} /** *

The total number of emails that arrived in recipients' spam or junk mail * folders.

*/ inline long long GetSpamRawCount() const{ return m_spamRawCount; } /** *

The total number of emails that arrived in recipients' spam or junk mail * folders.

*/ inline bool SpamRawCountHasBeenSet() const { return m_spamRawCountHasBeenSet; } /** *

The total number of emails that arrived in recipients' spam or junk mail * folders.

*/ inline void SetSpamRawCount(long long value) { m_spamRawCountHasBeenSet = true; m_spamRawCount = value; } /** *

The total number of emails that arrived in recipients' spam or junk mail * folders.

*/ inline VolumeStatistics& WithSpamRawCount(long long value) { SetSpamRawCount(value); return *this;} /** *

An estimate of the percentage of emails sent from the current domain that * will arrive in recipients' inboxes.

*/ inline long long GetProjectedInbox() const{ return m_projectedInbox; } /** *

An estimate of the percentage of emails sent from the current domain that * will arrive in recipients' inboxes.

*/ inline bool ProjectedInboxHasBeenSet() const { return m_projectedInboxHasBeenSet; } /** *

An estimate of the percentage of emails sent from the current domain that * will arrive in recipients' inboxes.

*/ inline void SetProjectedInbox(long long value) { m_projectedInboxHasBeenSet = true; m_projectedInbox = value; } /** *

An estimate of the percentage of emails sent from the current domain that * will arrive in recipients' inboxes.

*/ inline VolumeStatistics& WithProjectedInbox(long long value) { SetProjectedInbox(value); return *this;} /** *

An estimate of the percentage of emails sent from the current domain that * will arrive in recipients' spam or junk mail folders.

*/ inline long long GetProjectedSpam() const{ return m_projectedSpam; } /** *

An estimate of the percentage of emails sent from the current domain that * will arrive in recipients' spam or junk mail folders.

*/ inline bool ProjectedSpamHasBeenSet() const { return m_projectedSpamHasBeenSet; } /** *

An estimate of the percentage of emails sent from the current domain that * will arrive in recipients' spam or junk mail folders.

*/ inline void SetProjectedSpam(long long value) { m_projectedSpamHasBeenSet = true; m_projectedSpam = value; } /** *

An estimate of the percentage of emails sent from the current domain that * will arrive in recipients' spam or junk mail folders.

*/ inline VolumeStatistics& WithProjectedSpam(long long value) { SetProjectedSpam(value); return *this;} private: long long m_inboxRawCount; bool m_inboxRawCountHasBeenSet = false; long long m_spamRawCount; bool m_spamRawCountHasBeenSet = false; long long m_projectedInbox; bool m_projectedInboxHasBeenSet = false; long long m_projectedSpam; bool m_projectedSpamHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws