/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #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 email sent from one of your * email domains to a specific email provider.

See Also:

AWS * API Reference

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

The name of the email provider that the inbox placement data applies to.

*/ inline const Aws::String& GetIspName() const{ return m_ispName; } /** *

The name of the email provider that the inbox placement data applies to.

*/ inline bool IspNameHasBeenSet() const { return m_ispNameHasBeenSet; } /** *

The name of the email provider that the inbox placement data applies to.

*/ inline void SetIspName(const Aws::String& value) { m_ispNameHasBeenSet = true; m_ispName = value; } /** *

The name of the email provider that the inbox placement data applies to.

*/ inline void SetIspName(Aws::String&& value) { m_ispNameHasBeenSet = true; m_ispName = std::move(value); } /** *

The name of the email provider that the inbox placement data applies to.

*/ inline void SetIspName(const char* value) { m_ispNameHasBeenSet = true; m_ispName.assign(value); } /** *

The name of the email provider that the inbox placement data applies to.

*/ inline DomainIspPlacement& WithIspName(const Aws::String& value) { SetIspName(value); return *this;} /** *

The name of the email provider that the inbox placement data applies to.

*/ inline DomainIspPlacement& WithIspName(Aws::String&& value) { SetIspName(std::move(value)); return *this;} /** *

The name of the email provider that the inbox placement data applies to.

*/ inline DomainIspPlacement& WithIspName(const char* value) { SetIspName(value); return *this;} /** *

The total number of messages that were sent from the selected domain to the * specified email provider that arrived in recipients' inboxes.

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

The total number of messages that were sent from the selected domain to the * specified email provider that arrived in recipients' inboxes.

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

The total number of messages that were sent from the selected domain to the * specified email provider that arrived in recipients' inboxes.

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

The total number of messages that were sent from the selected domain to the * specified email provider that arrived in recipients' inboxes.

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

The total number of messages that were sent from the selected domain to the * specified email provider that arrived in recipients' spam or junk mail * folders.

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

The total number of messages that were sent from the selected domain to the * specified email provider that arrived in recipients' spam or junk mail * folders.

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

The total number of messages that were sent from the selected domain to the * specified email provider 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 messages that were sent from the selected domain to the * specified email provider that arrived in recipients' spam or junk mail * folders.

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

The percentage of messages that were sent from the selected domain to the * specified email provider that arrived in recipients' inboxes.

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

The percentage of messages that were sent from the selected domain to the * specified email provider that arrived in recipients' inboxes.

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

The percentage of messages that were sent from the selected domain to the * specified email provider that arrived in recipients' inboxes.

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

The percentage of messages that were sent from the selected domain to the * specified email provider that arrived in recipients' inboxes.

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

The percentage of messages that were sent from the selected domain to the * specified email provider that arrived in recipients' spam or junk mail * folders.

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

The percentage of messages that were sent from the selected domain to the * specified email provider that arrived in recipients' spam or junk mail * folders.

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

The percentage of messages that were sent from the selected domain to the * specified email provider that arrived in recipients' spam or junk mail * folders.

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

The percentage of messages that were sent from the selected domain to the * specified email provider that arrived in recipients' spam or junk mail * folders.

*/ inline DomainIspPlacement& WithSpamPercentage(double value) { SetSpamPercentage(value); return *this;} private: Aws::String m_ispName; bool m_ispNameHasBeenSet = false; long long m_inboxRawCount; bool m_inboxRawCountHasBeenSet = false; long long m_spamRawCount; bool m_spamRawCountHasBeenSet = false; double m_inboxPercentage; bool m_inboxPercentageHasBeenSet = false; double m_spamPercentage; bool m_spamPercentageHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws