AWS SDK for C++  1.9.132
AWS SDK for C++
Public Member Functions | List of all members
Aws::SESV2::Model::MailFromAttributes Class Reference

#include <MailFromAttributes.h>

Public Member Functions

 MailFromAttributes ()
 
 MailFromAttributes (Aws::Utils::Json::JsonView jsonValue)
 
MailFromAttributesoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetMailFromDomain () const
 
bool MailFromDomainHasBeenSet () const
 
void SetMailFromDomain (const Aws::String &value)
 
void SetMailFromDomain (Aws::String &&value)
 
void SetMailFromDomain (const char *value)
 
MailFromAttributesWithMailFromDomain (const Aws::String &value)
 
MailFromAttributesWithMailFromDomain (Aws::String &&value)
 
MailFromAttributesWithMailFromDomain (const char *value)
 
const MailFromDomainStatusGetMailFromDomainStatus () const
 
bool MailFromDomainStatusHasBeenSet () const
 
void SetMailFromDomainStatus (const MailFromDomainStatus &value)
 
void SetMailFromDomainStatus (MailFromDomainStatus &&value)
 
MailFromAttributesWithMailFromDomainStatus (const MailFromDomainStatus &value)
 
MailFromAttributesWithMailFromDomainStatus (MailFromDomainStatus &&value)
 
const BehaviorOnMxFailureGetBehaviorOnMxFailure () const
 
bool BehaviorOnMxFailureHasBeenSet () const
 
void SetBehaviorOnMxFailure (const BehaviorOnMxFailure &value)
 
void SetBehaviorOnMxFailure (BehaviorOnMxFailure &&value)
 
MailFromAttributesWithBehaviorOnMxFailure (const BehaviorOnMxFailure &value)
 
MailFromAttributesWithBehaviorOnMxFailure (BehaviorOnMxFailure &&value)
 

Detailed Description

A list of attributes that are associated with a MAIL FROM domain.

See Also:

AWS API Reference

Definition at line 34 of file MailFromAttributes.h.

Constructor & Destructor Documentation

◆ MailFromAttributes() [1/2]

Aws::SESV2::Model::MailFromAttributes::MailFromAttributes ( )

◆ MailFromAttributes() [2/2]

Aws::SESV2::Model::MailFromAttributes::MailFromAttributes ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ BehaviorOnMxFailureHasBeenSet()

bool Aws::SESV2::Model::MailFromAttributes::BehaviorOnMxFailureHasBeenSet ( ) const
inline

The action to take if the required MX record can't be found when you send an email. When you set this value to UseDefaultValue, the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage, the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.

These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending, Failed, and TemporaryFailure states.

Definition at line 187 of file MailFromAttributes.h.

◆ GetBehaviorOnMxFailure()

const BehaviorOnMxFailure& Aws::SESV2::Model::MailFromAttributes::GetBehaviorOnMxFailure ( ) const
inline

The action to take if the required MX record can't be found when you send an email. When you set this value to UseDefaultValue, the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage, the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.

These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending, Failed, and TemporaryFailure states.

Definition at line 175 of file MailFromAttributes.h.

◆ GetMailFromDomain()

const Aws::String& Aws::SESV2::Model::MailFromAttributes::GetMailFromDomain ( ) const
inline

The name of a domain that an email identity uses as a custom MAIL FROM domain.

Definition at line 47 of file MailFromAttributes.h.

◆ GetMailFromDomainStatus()

const MailFromDomainStatus& Aws::SESV2::Model::MailFromAttributes::GetMailFromDomainStatus ( ) const
inline

The status of the MAIL FROM domain. This status can have the following values:

  • PENDING – Amazon SES hasn't started searching for the MX record yet.

  • SUCCESS – Amazon SES detected the required MX record for the MAIL FROM domain.

  • FAILED – Amazon SES can't find the required MX record, or the record no longer exists.

  • TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon SES from determining the status of the MAIL FROM domain.

Definition at line 102 of file MailFromAttributes.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::SESV2::Model::MailFromAttributes::Jsonize ( ) const

◆ MailFromDomainHasBeenSet()

bool Aws::SESV2::Model::MailFromAttributes::MailFromDomainHasBeenSet ( ) const
inline

The name of a domain that an email identity uses as a custom MAIL FROM domain.

Definition at line 53 of file MailFromAttributes.h.

◆ MailFromDomainStatusHasBeenSet()

bool Aws::SESV2::Model::MailFromAttributes::MailFromDomainStatusHasBeenSet ( ) const
inline

The status of the MAIL FROM domain. This status can have the following values:

  • PENDING – Amazon SES hasn't started searching for the MX record yet.

  • SUCCESS – Amazon SES detected the required MX record for the MAIL FROM domain.

  • FAILED – Amazon SES can't find the required MX record, or the record no longer exists.

  • TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon SES from determining the status of the MAIL FROM domain.

Definition at line 114 of file MailFromAttributes.h.

◆ operator=()

MailFromAttributes& Aws::SESV2::Model::MailFromAttributes::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetBehaviorOnMxFailure() [1/2]

void Aws::SESV2::Model::MailFromAttributes::SetBehaviorOnMxFailure ( BehaviorOnMxFailure &&  value)
inline

The action to take if the required MX record can't be found when you send an email. When you set this value to UseDefaultValue, the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage, the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.

These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending, Failed, and TemporaryFailure states.

Definition at line 211 of file MailFromAttributes.h.

◆ SetBehaviorOnMxFailure() [2/2]

void Aws::SESV2::Model::MailFromAttributes::SetBehaviorOnMxFailure ( const BehaviorOnMxFailure value)
inline

The action to take if the required MX record can't be found when you send an email. When you set this value to UseDefaultValue, the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage, the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.

These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending, Failed, and TemporaryFailure states.

Definition at line 199 of file MailFromAttributes.h.

◆ SetMailFromDomain() [1/3]

void Aws::SESV2::Model::MailFromAttributes::SetMailFromDomain ( Aws::String &&  value)
inline

The name of a domain that an email identity uses as a custom MAIL FROM domain.

Definition at line 65 of file MailFromAttributes.h.

◆ SetMailFromDomain() [2/3]

void Aws::SESV2::Model::MailFromAttributes::SetMailFromDomain ( const Aws::String value)
inline

The name of a domain that an email identity uses as a custom MAIL FROM domain.

Definition at line 59 of file MailFromAttributes.h.

◆ SetMailFromDomain() [3/3]

void Aws::SESV2::Model::MailFromAttributes::SetMailFromDomain ( const char *  value)
inline

The name of a domain that an email identity uses as a custom MAIL FROM domain.

Definition at line 71 of file MailFromAttributes.h.

◆ SetMailFromDomainStatus() [1/2]

void Aws::SESV2::Model::MailFromAttributes::SetMailFromDomainStatus ( const MailFromDomainStatus value)
inline

The status of the MAIL FROM domain. This status can have the following values:

  • PENDING – Amazon SES hasn't started searching for the MX record yet.

  • SUCCESS – Amazon SES detected the required MX record for the MAIL FROM domain.

  • FAILED – Amazon SES can't find the required MX record, or the record no longer exists.

  • TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon SES from determining the status of the MAIL FROM domain.

Definition at line 126 of file MailFromAttributes.h.

◆ SetMailFromDomainStatus() [2/2]

void Aws::SESV2::Model::MailFromAttributes::SetMailFromDomainStatus ( MailFromDomainStatus &&  value)
inline

The status of the MAIL FROM domain. This status can have the following values:

  • PENDING – Amazon SES hasn't started searching for the MX record yet.

  • SUCCESS – Amazon SES detected the required MX record for the MAIL FROM domain.

  • FAILED – Amazon SES can't find the required MX record, or the record no longer exists.

  • TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon SES from determining the status of the MAIL FROM domain.

Definition at line 138 of file MailFromAttributes.h.

◆ WithBehaviorOnMxFailure() [1/2]

MailFromAttributes& Aws::SESV2::Model::MailFromAttributes::WithBehaviorOnMxFailure ( BehaviorOnMxFailure &&  value)
inline

The action to take if the required MX record can't be found when you send an email. When you set this value to UseDefaultValue, the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage, the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.

These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending, Failed, and TemporaryFailure states.

Definition at line 235 of file MailFromAttributes.h.

◆ WithBehaviorOnMxFailure() [2/2]

MailFromAttributes& Aws::SESV2::Model::MailFromAttributes::WithBehaviorOnMxFailure ( const BehaviorOnMxFailure value)
inline

The action to take if the required MX record can't be found when you send an email. When you set this value to UseDefaultValue, the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage, the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.

These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending, Failed, and TemporaryFailure states.

Definition at line 223 of file MailFromAttributes.h.

◆ WithMailFromDomain() [1/3]

MailFromAttributes& Aws::SESV2::Model::MailFromAttributes::WithMailFromDomain ( Aws::String &&  value)
inline

The name of a domain that an email identity uses as a custom MAIL FROM domain.

Definition at line 83 of file MailFromAttributes.h.

◆ WithMailFromDomain() [2/3]

MailFromAttributes& Aws::SESV2::Model::MailFromAttributes::WithMailFromDomain ( const Aws::String value)
inline

The name of a domain that an email identity uses as a custom MAIL FROM domain.

Definition at line 77 of file MailFromAttributes.h.

◆ WithMailFromDomain() [3/3]

MailFromAttributes& Aws::SESV2::Model::MailFromAttributes::WithMailFromDomain ( const char *  value)
inline

The name of a domain that an email identity uses as a custom MAIL FROM domain.

Definition at line 89 of file MailFromAttributes.h.

◆ WithMailFromDomainStatus() [1/2]

MailFromAttributes& Aws::SESV2::Model::MailFromAttributes::WithMailFromDomainStatus ( const MailFromDomainStatus value)
inline

The status of the MAIL FROM domain. This status can have the following values:

  • PENDING – Amazon SES hasn't started searching for the MX record yet.

  • SUCCESS – Amazon SES detected the required MX record for the MAIL FROM domain.

  • FAILED – Amazon SES can't find the required MX record, or the record no longer exists.

  • TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon SES from determining the status of the MAIL FROM domain.

Definition at line 150 of file MailFromAttributes.h.

◆ WithMailFromDomainStatus() [2/2]

MailFromAttributes& Aws::SESV2::Model::MailFromAttributes::WithMailFromDomainStatus ( MailFromDomainStatus &&  value)
inline

The status of the MAIL FROM domain. This status can have the following values:

  • PENDING – Amazon SES hasn't started searching for the MX record yet.

  • SUCCESS – Amazon SES detected the required MX record for the MAIL FROM domain.

  • FAILED – Amazon SES can't find the required MX record, or the record no longer exists.

  • TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon SES from determining the status of the MAIL FROM domain.

Definition at line 162 of file MailFromAttributes.h.


The documentation for this class was generated from the following file: