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

The results of the predictive inbox placement test.

See Also:

* AWS * API Reference

*/ class GetDeliverabilityTestReportResult { public: AWS_PINPOINTEMAIL_API GetDeliverabilityTestReportResult(); AWS_PINPOINTEMAIL_API GetDeliverabilityTestReportResult(const Aws::AmazonWebServiceResult& result); AWS_PINPOINTEMAIL_API GetDeliverabilityTestReportResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An object that contains the results of the predictive inbox placement * test.

*/ inline const DeliverabilityTestReport& GetDeliverabilityTestReport() const{ return m_deliverabilityTestReport; } /** *

An object that contains the results of the predictive inbox placement * test.

*/ inline void SetDeliverabilityTestReport(const DeliverabilityTestReport& value) { m_deliverabilityTestReport = value; } /** *

An object that contains the results of the predictive inbox placement * test.

*/ inline void SetDeliverabilityTestReport(DeliverabilityTestReport&& value) { m_deliverabilityTestReport = std::move(value); } /** *

An object that contains the results of the predictive inbox placement * test.

*/ inline GetDeliverabilityTestReportResult& WithDeliverabilityTestReport(const DeliverabilityTestReport& value) { SetDeliverabilityTestReport(value); return *this;} /** *

An object that contains the results of the predictive inbox placement * test.

*/ inline GetDeliverabilityTestReportResult& WithDeliverabilityTestReport(DeliverabilityTestReport&& value) { SetDeliverabilityTestReport(std::move(value)); return *this;} /** *

An object that specifies how many test messages that were sent during the * predictive inbox placement test were delivered to recipients' inboxes, how many * were sent to recipients' spam folders, and how many weren't delivered.

*/ inline const PlacementStatistics& GetOverallPlacement() const{ return m_overallPlacement; } /** *

An object that specifies how many test messages that were sent during the * predictive inbox placement test were delivered to recipients' inboxes, how many * were sent to recipients' spam folders, and how many weren't delivered.

*/ inline void SetOverallPlacement(const PlacementStatistics& value) { m_overallPlacement = value; } /** *

An object that specifies how many test messages that were sent during the * predictive inbox placement test were delivered to recipients' inboxes, how many * were sent to recipients' spam folders, and how many weren't delivered.

*/ inline void SetOverallPlacement(PlacementStatistics&& value) { m_overallPlacement = std::move(value); } /** *

An object that specifies how many test messages that were sent during the * predictive inbox placement test were delivered to recipients' inboxes, how many * were sent to recipients' spam folders, and how many weren't delivered.

*/ inline GetDeliverabilityTestReportResult& WithOverallPlacement(const PlacementStatistics& value) { SetOverallPlacement(value); return *this;} /** *

An object that specifies how many test messages that were sent during the * predictive inbox placement test were delivered to recipients' inboxes, how many * were sent to recipients' spam folders, and how many weren't delivered.

*/ inline GetDeliverabilityTestReportResult& WithOverallPlacement(PlacementStatistics&& value) { SetOverallPlacement(std::move(value)); return *this;} /** *

An object that describes how the test email was handled by several email * providers, including Gmail, Hotmail, Yahoo, AOL, and others.

*/ inline const Aws::Vector& GetIspPlacements() const{ return m_ispPlacements; } /** *

An object that describes how the test email was handled by several email * providers, including Gmail, Hotmail, Yahoo, AOL, and others.

*/ inline void SetIspPlacements(const Aws::Vector& value) { m_ispPlacements = value; } /** *

An object that describes how the test email was handled by several email * providers, including Gmail, Hotmail, Yahoo, AOL, and others.

*/ inline void SetIspPlacements(Aws::Vector&& value) { m_ispPlacements = std::move(value); } /** *

An object that describes how the test email was handled by several email * providers, including Gmail, Hotmail, Yahoo, AOL, and others.

*/ inline GetDeliverabilityTestReportResult& WithIspPlacements(const Aws::Vector& value) { SetIspPlacements(value); return *this;} /** *

An object that describes how the test email was handled by several email * providers, including Gmail, Hotmail, Yahoo, AOL, and others.

*/ inline GetDeliverabilityTestReportResult& WithIspPlacements(Aws::Vector&& value) { SetIspPlacements(std::move(value)); return *this;} /** *

An object that describes how the test email was handled by several email * providers, including Gmail, Hotmail, Yahoo, AOL, and others.

*/ inline GetDeliverabilityTestReportResult& AddIspPlacements(const IspPlacement& value) { m_ispPlacements.push_back(value); return *this; } /** *

An object that describes how the test email was handled by several email * providers, including Gmail, Hotmail, Yahoo, AOL, and others.

*/ inline GetDeliverabilityTestReportResult& AddIspPlacements(IspPlacement&& value) { m_ispPlacements.push_back(std::move(value)); return *this; } /** *

An object that contains the message that you sent when you performed this * predictive inbox placement test.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

An object that contains the message that you sent when you performed this * predictive inbox placement test.

*/ inline void SetMessage(const Aws::String& value) { m_message = value; } /** *

An object that contains the message that you sent when you performed this * predictive inbox placement test.

*/ inline void SetMessage(Aws::String&& value) { m_message = std::move(value); } /** *

An object that contains the message that you sent when you performed this * predictive inbox placement test.

*/ inline void SetMessage(const char* value) { m_message.assign(value); } /** *

An object that contains the message that you sent when you performed this * predictive inbox placement test.

*/ inline GetDeliverabilityTestReportResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

An object that contains the message that you sent when you performed this * predictive inbox placement test.

*/ inline GetDeliverabilityTestReportResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

An object that contains the message that you sent when you performed this * predictive inbox placement test.

*/ inline GetDeliverabilityTestReportResult& WithMessage(const char* value) { SetMessage(value); return *this;} /** *

An array of objects that define the tags (keys and values) that are * associated with the predictive inbox placement test.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

An array of objects that define the tags (keys and values) that are * associated with the predictive inbox placement test.

*/ inline void SetTags(const Aws::Vector& value) { m_tags = value; } /** *

An array of objects that define the tags (keys and values) that are * associated with the predictive inbox placement test.

*/ inline void SetTags(Aws::Vector&& value) { m_tags = std::move(value); } /** *

An array of objects that define the tags (keys and values) that are * associated with the predictive inbox placement test.

*/ inline GetDeliverabilityTestReportResult& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

An array of objects that define the tags (keys and values) that are * associated with the predictive inbox placement test.

*/ inline GetDeliverabilityTestReportResult& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

An array of objects that define the tags (keys and values) that are * associated with the predictive inbox placement test.

*/ inline GetDeliverabilityTestReportResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } /** *

An array of objects that define the tags (keys and values) that are * associated with the predictive inbox placement test.

*/ inline GetDeliverabilityTestReportResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetDeliverabilityTestReportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDeliverabilityTestReportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDeliverabilityTestReportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: DeliverabilityTestReport m_deliverabilityTestReport; PlacementStatistics m_overallPlacement; Aws::Vector m_ispPlacements; Aws::String m_message; Aws::Vector m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace PinpointEmail } // namespace Aws