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

Information about the predictive inbox placement test that you * created.

See Also:

AWS * API Reference

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

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 void SetReportId(const Aws::String& value) { m_reportId = value; } /** *

A unique string that identifies the predictive inbox placement test.

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

A unique string that identifies the predictive inbox placement test.

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

A unique string that identifies the predictive inbox placement test.

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

A unique string that identifies the predictive inbox placement test.

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

A unique string that identifies the predictive inbox placement test.

*/ inline CreateDeliverabilityTestReportResult& WithReportId(const char* value) { SetReportId(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 void SetDeliverabilityTestStatus(const DeliverabilityTestStatus& value) { 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_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 CreateDeliverabilityTestReportResult& 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 CreateDeliverabilityTestReportResult& WithDeliverabilityTestStatus(DeliverabilityTestStatus&& value) { SetDeliverabilityTestStatus(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 CreateDeliverabilityTestReportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateDeliverabilityTestReportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateDeliverabilityTestReportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_reportId; DeliverabilityTestStatus m_deliverabilityTestStatus; Aws::String m_requestId; }; } // namespace Model } // namespace SESV2 } // namespace Aws