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

An object that describes how email sent during the predictive inbox placement * test was handled by a certain email provider.

See Also:

AWS * API Reference

*/ class IspPlacement { public: AWS_SESV2_API IspPlacement(); AWS_SESV2_API IspPlacement(Aws::Utils::Json::JsonView jsonValue); AWS_SESV2_API IspPlacement& 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 IspPlacement& WithIspName(const Aws::String& value) { SetIspName(value); return *this;} /** *

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

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

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

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

An object that contains inbox placement metrics for a specific email * provider.

*/ inline const PlacementStatistics& GetPlacementStatistics() const{ return m_placementStatistics; } /** *

An object that contains inbox placement metrics for a specific email * provider.

*/ inline bool PlacementStatisticsHasBeenSet() const { return m_placementStatisticsHasBeenSet; } /** *

An object that contains inbox placement metrics for a specific email * provider.

*/ inline void SetPlacementStatistics(const PlacementStatistics& value) { m_placementStatisticsHasBeenSet = true; m_placementStatistics = value; } /** *

An object that contains inbox placement metrics for a specific email * provider.

*/ inline void SetPlacementStatistics(PlacementStatistics&& value) { m_placementStatisticsHasBeenSet = true; m_placementStatistics = std::move(value); } /** *

An object that contains inbox placement metrics for a specific email * provider.

*/ inline IspPlacement& WithPlacementStatistics(const PlacementStatistics& value) { SetPlacementStatistics(value); return *this;} /** *

An object that contains inbox placement metrics for a specific email * provider.

*/ inline IspPlacement& WithPlacementStatistics(PlacementStatistics&& value) { SetPlacementStatistics(std::move(value)); return *this;} private: Aws::String m_ispName; bool m_ispNameHasBeenSet = false; PlacementStatistics m_placementStatistics; bool m_placementStatisticsHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws