/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Message-related information to include in the Delivery Status Notification
* (DSN) when an email that Amazon SES receives on your behalf bounces. For
* information about receiving email through Amazon SES, see the Amazon
* SES Developer Guide.See Also:
AWS
* API Reference
The reporting MTA that attempted to deliver the message, formatted as
* specified in RFC 3464
* (mta-name-type; mta-name
). The default value is dns;
* inbound-smtp.[region].amazonaws.com
.
The reporting MTA that attempted to deliver the message, formatted as
* specified in RFC 3464
* (mta-name-type; mta-name
). The default value is dns;
* inbound-smtp.[region].amazonaws.com
.
The reporting MTA that attempted to deliver the message, formatted as
* specified in RFC 3464
* (mta-name-type; mta-name
). The default value is dns;
* inbound-smtp.[region].amazonaws.com
.
The reporting MTA that attempted to deliver the message, formatted as
* specified in RFC 3464
* (mta-name-type; mta-name
). The default value is dns;
* inbound-smtp.[region].amazonaws.com
.
The reporting MTA that attempted to deliver the message, formatted as
* specified in RFC 3464
* (mta-name-type; mta-name
). The default value is dns;
* inbound-smtp.[region].amazonaws.com
.
The reporting MTA that attempted to deliver the message, formatted as
* specified in RFC 3464
* (mta-name-type; mta-name
). The default value is dns;
* inbound-smtp.[region].amazonaws.com
.
The reporting MTA that attempted to deliver the message, formatted as
* specified in RFC 3464
* (mta-name-type; mta-name
). The default value is dns;
* inbound-smtp.[region].amazonaws.com
.
The reporting MTA that attempted to deliver the message, formatted as
* specified in RFC 3464
* (mta-name-type; mta-name
). The default value is dns;
* inbound-smtp.[region].amazonaws.com
.
When the message was received by the reporting mail transfer agent (MTA), in * RFC 822 date-time format.
*/ inline const Aws::Utils::DateTime& GetArrivalDate() const{ return m_arrivalDate; } /** *When the message was received by the reporting mail transfer agent (MTA), in * RFC 822 date-time format.
*/ inline bool ArrivalDateHasBeenSet() const { return m_arrivalDateHasBeenSet; } /** *When the message was received by the reporting mail transfer agent (MTA), in * RFC 822 date-time format.
*/ inline void SetArrivalDate(const Aws::Utils::DateTime& value) { m_arrivalDateHasBeenSet = true; m_arrivalDate = value; } /** *When the message was received by the reporting mail transfer agent (MTA), in * RFC 822 date-time format.
*/ inline void SetArrivalDate(Aws::Utils::DateTime&& value) { m_arrivalDateHasBeenSet = true; m_arrivalDate = std::move(value); } /** *When the message was received by the reporting mail transfer agent (MTA), in * RFC 822 date-time format.
*/ inline MessageDsn& WithArrivalDate(const Aws::Utils::DateTime& value) { SetArrivalDate(value); return *this;} /** *When the message was received by the reporting mail transfer agent (MTA), in * RFC 822 date-time format.
*/ inline MessageDsn& WithArrivalDate(Aws::Utils::DateTime&& value) { SetArrivalDate(std::move(value)); return *this;} /** *Additional X-headers to include in the DSN.
*/ inline const Aws::VectorAdditional X-headers to include in the DSN.
*/ inline bool ExtensionFieldsHasBeenSet() const { return m_extensionFieldsHasBeenSet; } /** *Additional X-headers to include in the DSN.
*/ inline void SetExtensionFields(const Aws::VectorAdditional X-headers to include in the DSN.
*/ inline void SetExtensionFields(Aws::VectorAdditional X-headers to include in the DSN.
*/ inline MessageDsn& WithExtensionFields(const Aws::VectorAdditional X-headers to include in the DSN.
*/ inline MessageDsn& WithExtensionFields(Aws::VectorAdditional X-headers to include in the DSN.
*/ inline MessageDsn& AddExtensionFields(const ExtensionField& value) { m_extensionFieldsHasBeenSet = true; m_extensionFields.push_back(value); return *this; } /** *Additional X-headers to include in the DSN.
*/ inline MessageDsn& AddExtensionFields(ExtensionField&& value) { m_extensionFieldsHasBeenSet = true; m_extensionFields.push_back(std::move(value)); return *this; } private: Aws::String m_reportingMta; bool m_reportingMtaHasBeenSet = false; Aws::Utils::DateTime m_arrivalDate; bool m_arrivalDateHasBeenSet = false; Aws::Vector