/** * 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 contains information about the inbox placement data settings * for a verified domain that’s associated with your Amazon Web Services account. * This data is available only if you enabled the Deliverability dashboard for the * domain.

See Also:

AWS * API Reference

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

Specifies whether inbox placement data is being tracked for the domain.

*/ inline bool GetGlobal() const{ return m_global; } /** *

Specifies whether inbox placement data is being tracked for the domain.

*/ inline bool GlobalHasBeenSet() const { return m_globalHasBeenSet; } /** *

Specifies whether inbox placement data is being tracked for the domain.

*/ inline void SetGlobal(bool value) { m_globalHasBeenSet = true; m_global = value; } /** *

Specifies whether inbox placement data is being tracked for the domain.

*/ inline InboxPlacementTrackingOption& WithGlobal(bool value) { SetGlobal(value); return *this;} /** *

An array of strings, one for each major email provider that the inbox * placement data applies to.

*/ inline const Aws::Vector& GetTrackedIsps() const{ return m_trackedIsps; } /** *

An array of strings, one for each major email provider that the inbox * placement data applies to.

*/ inline bool TrackedIspsHasBeenSet() const { return m_trackedIspsHasBeenSet; } /** *

An array of strings, one for each major email provider that the inbox * placement data applies to.

*/ inline void SetTrackedIsps(const Aws::Vector& value) { m_trackedIspsHasBeenSet = true; m_trackedIsps = value; } /** *

An array of strings, one for each major email provider that the inbox * placement data applies to.

*/ inline void SetTrackedIsps(Aws::Vector&& value) { m_trackedIspsHasBeenSet = true; m_trackedIsps = std::move(value); } /** *

An array of strings, one for each major email provider that the inbox * placement data applies to.

*/ inline InboxPlacementTrackingOption& WithTrackedIsps(const Aws::Vector& value) { SetTrackedIsps(value); return *this;} /** *

An array of strings, one for each major email provider that the inbox * placement data applies to.

*/ inline InboxPlacementTrackingOption& WithTrackedIsps(Aws::Vector&& value) { SetTrackedIsps(std::move(value)); return *this;} /** *

An array of strings, one for each major email provider that the inbox * placement data applies to.

*/ inline InboxPlacementTrackingOption& AddTrackedIsps(const Aws::String& value) { m_trackedIspsHasBeenSet = true; m_trackedIsps.push_back(value); return *this; } /** *

An array of strings, one for each major email provider that the inbox * placement data applies to.

*/ inline InboxPlacementTrackingOption& AddTrackedIsps(Aws::String&& value) { m_trackedIspsHasBeenSet = true; m_trackedIsps.push_back(std::move(value)); return *this; } /** *

An array of strings, one for each major email provider that the inbox * placement data applies to.

*/ inline InboxPlacementTrackingOption& AddTrackedIsps(const char* value) { m_trackedIspsHasBeenSet = true; m_trackedIsps.push_back(value); return *this; } private: bool m_global; bool m_globalHasBeenSet = false; Aws::Vector m_trackedIsps; bool m_trackedIspsHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws