/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 metadata related to a predictive inbox placement * test.

See Also:

AWS * API Reference

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

A unique string that identifies the predictive inbox placement test.

*/ inline const Aws::String& GetReportId() const{ return m_reportId; } /** *

A unique string that identifies the predictive inbox placement test.

*/ inline bool ReportIdHasBeenSet() const { return m_reportIdHasBeenSet; } /** *

A unique string that identifies the predictive inbox placement test.

*/ inline void SetReportId(const Aws::String& value) { m_reportIdHasBeenSet = true; m_reportId = value; } /** *

A unique string that identifies the predictive inbox placement test.

*/ inline void SetReportId(Aws::String&& value) { m_reportIdHasBeenSet = true; m_reportId = std::move(value); } /** *

A unique string that identifies the predictive inbox placement test.

*/ inline void SetReportId(const char* value) { m_reportIdHasBeenSet = true; m_reportId.assign(value); } /** *

A unique string that identifies the predictive inbox placement test.

*/ inline DeliverabilityTestReport& WithReportId(const Aws::String& value) { SetReportId(value); return *this;} /** *

A unique string that identifies the predictive inbox placement test.

*/ inline DeliverabilityTestReport& WithReportId(Aws::String&& value) { SetReportId(std::move(value)); return *this;} /** *

A unique string that identifies the predictive inbox placement test.

*/ inline DeliverabilityTestReport& WithReportId(const char* value) { SetReportId(value); return *this;} /** *

A name that helps you identify a predictive inbox placement test report.

*/ inline const Aws::String& GetReportName() const{ return m_reportName; } /** *

A name that helps you identify a predictive inbox placement test report.

*/ inline bool ReportNameHasBeenSet() const { return m_reportNameHasBeenSet; } /** *

A name that helps you identify a predictive inbox placement test report.

*/ inline void SetReportName(const Aws::String& value) { m_reportNameHasBeenSet = true; m_reportName = value; } /** *

A name that helps you identify a predictive inbox placement test report.

*/ inline void SetReportName(Aws::String&& value) { m_reportNameHasBeenSet = true; m_reportName = std::move(value); } /** *

A name that helps you identify a predictive inbox placement test report.

*/ inline void SetReportName(const char* value) { m_reportNameHasBeenSet = true; m_reportName.assign(value); } /** *

A name that helps you identify a predictive inbox placement test report.

*/ inline DeliverabilityTestReport& WithReportName(const Aws::String& value) { SetReportName(value); return *this;} /** *

A name that helps you identify a predictive inbox placement test report.

*/ inline DeliverabilityTestReport& WithReportName(Aws::String&& value) { SetReportName(std::move(value)); return *this;} /** *

A name that helps you identify a predictive inbox placement test report.

*/ inline DeliverabilityTestReport& WithReportName(const char* value) { SetReportName(value); return *this;} /** *

The subject line for an email that you submitted in a predictive inbox * placement test.

*/ inline const Aws::String& GetSubject() const{ return m_subject; } /** *

The subject line for an email that you submitted in a predictive inbox * placement test.

*/ inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; } /** *

The subject line for an email that you submitted in a predictive inbox * placement test.

*/ inline void SetSubject(const Aws::String& value) { m_subjectHasBeenSet = true; m_subject = value; } /** *

The subject line for an email that you submitted in a predictive inbox * placement test.

*/ inline void SetSubject(Aws::String&& value) { m_subjectHasBeenSet = true; m_subject = std::move(value); } /** *

The subject line for an email that you submitted in a predictive inbox * placement test.

*/ inline void SetSubject(const char* value) { m_subjectHasBeenSet = true; m_subject.assign(value); } /** *

The subject line for an email that you submitted in a predictive inbox * placement test.

*/ inline DeliverabilityTestReport& WithSubject(const Aws::String& value) { SetSubject(value); return *this;} /** *

The subject line for an email that you submitted in a predictive inbox * placement test.

*/ inline DeliverabilityTestReport& WithSubject(Aws::String&& value) { SetSubject(std::move(value)); return *this;} /** *

The subject line for an email that you submitted in a predictive inbox * placement test.

*/ inline DeliverabilityTestReport& WithSubject(const char* value) { SetSubject(value); return *this;} /** *

The sender address that you specified for the predictive inbox placement * test.

*/ inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; } /** *

The sender address that you specified for the predictive inbox placement * test.

*/ inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; } /** *

The sender address that you specified for the predictive inbox placement * test.

*/ inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; } /** *

The sender address that you specified for the predictive inbox placement * test.

*/ inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); } /** *

The sender address that you specified for the predictive inbox placement * test.

*/ inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); } /** *

The sender address that you specified for the predictive inbox placement * test.

*/ inline DeliverabilityTestReport& WithFromEmailAddress(const Aws::String& value) { SetFromEmailAddress(value); return *this;} /** *

The sender address that you specified for the predictive inbox placement * test.

*/ inline DeliverabilityTestReport& WithFromEmailAddress(Aws::String&& value) { SetFromEmailAddress(std::move(value)); return *this;} /** *

The sender address that you specified for the predictive inbox placement * test.

*/ inline DeliverabilityTestReport& WithFromEmailAddress(const char* value) { SetFromEmailAddress(value); return *this;} /** *

The date and time when the predictive inbox placement test was created.

*/ inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; } /** *

The date and time when the predictive inbox placement test was created.

*/ inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; } /** *

The date and time when the predictive inbox placement test was created.

*/ inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; } /** *

The date and time when the predictive inbox placement test was created.

*/ inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); } /** *

The date and time when the predictive inbox placement test was created.

*/ inline DeliverabilityTestReport& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;} /** *

The date and time when the predictive inbox placement test was created.

*/ inline DeliverabilityTestReport& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;} /** *

The status of the predictive inbox placement test. If the status is * IN_PROGRESS, then the predictive inbox placement test is currently * running. Predictive inbox placement tests are usually complete within 24 hours * of creating the test. If the status is COMPLETE, then the test is * finished, and you can use the GetDeliverabilityTestReport to view * the results of the test.

*/ inline const DeliverabilityTestStatus& GetDeliverabilityTestStatus() const{ return m_deliverabilityTestStatus; } /** *

The status of the predictive inbox placement test. If the status is * IN_PROGRESS, then the predictive inbox placement test is currently * running. Predictive inbox placement tests are usually complete within 24 hours * of creating the test. If the status is COMPLETE, then the test is * finished, and you can use the GetDeliverabilityTestReport to view * the results of the test.

*/ inline bool DeliverabilityTestStatusHasBeenSet() const { return m_deliverabilityTestStatusHasBeenSet; } /** *

The status of the predictive inbox placement test. If the status is * IN_PROGRESS, then the predictive inbox placement test is currently * running. Predictive inbox placement tests are usually complete within 24 hours * of creating the test. If the status is COMPLETE, then the test is * finished, and you can use the GetDeliverabilityTestReport to view * the results of the test.

*/ inline void SetDeliverabilityTestStatus(const DeliverabilityTestStatus& value) { m_deliverabilityTestStatusHasBeenSet = true; m_deliverabilityTestStatus = value; } /** *

The status of the predictive inbox placement test. If the status is * IN_PROGRESS, then the predictive inbox placement test is currently * running. Predictive inbox placement tests are usually complete within 24 hours * of creating the test. If the status is COMPLETE, then the test is * finished, and you can use the GetDeliverabilityTestReport to view * the results of the test.

*/ inline void SetDeliverabilityTestStatus(DeliverabilityTestStatus&& value) { m_deliverabilityTestStatusHasBeenSet = true; m_deliverabilityTestStatus = std::move(value); } /** *

The status of the predictive inbox placement test. If the status is * IN_PROGRESS, then the predictive inbox placement test is currently * running. Predictive inbox placement tests are usually complete within 24 hours * of creating the test. If the status is COMPLETE, then the test is * finished, and you can use the GetDeliverabilityTestReport to view * the results of the test.

*/ inline DeliverabilityTestReport& WithDeliverabilityTestStatus(const DeliverabilityTestStatus& value) { SetDeliverabilityTestStatus(value); return *this;} /** *

The status of the predictive inbox placement test. If the status is * IN_PROGRESS, then the predictive inbox placement test is currently * running. Predictive inbox placement tests are usually complete within 24 hours * of creating the test. If the status is COMPLETE, then the test is * finished, and you can use the GetDeliverabilityTestReport to view * the results of the test.

*/ inline DeliverabilityTestReport& WithDeliverabilityTestStatus(DeliverabilityTestStatus&& value) { SetDeliverabilityTestStatus(std::move(value)); return *this;} private: Aws::String m_reportId; bool m_reportIdHasBeenSet = false; Aws::String m_reportName; bool m_reportNameHasBeenSet = false; Aws::String m_subject; bool m_subjectHasBeenSet = false; Aws::String m_fromEmailAddress; bool m_fromEmailAddressHasBeenSet = false; Aws::Utils::DateTime m_createDate; bool m_createDateHasBeenSet = false; DeliverabilityTestStatus m_deliverabilityTestStatus; bool m_deliverabilityTestStatusHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws