AWS SDK for C++  1.9.1
AWS SDK for C++
Public Member Functions | List of all members
Aws::CloudFront::Model::AliasICPRecordal Class Reference

#include <AliasICPRecordal.h>

Public Member Functions

 AliasICPRecordal ()
 
 AliasICPRecordal (const Aws::Utils::Xml::XmlNode &xmlNode)
 
AliasICPRecordaloperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
const Aws::StringGetCNAME () const
 
bool CNAMEHasBeenSet () const
 
void SetCNAME (const Aws::String &value)
 
void SetCNAME (Aws::String &&value)
 
void SetCNAME (const char *value)
 
AliasICPRecordalWithCNAME (const Aws::String &value)
 
AliasICPRecordalWithCNAME (Aws::String &&value)
 
AliasICPRecordalWithCNAME (const char *value)
 
const ICPRecordalStatusGetICPRecordalStatus () const
 
bool ICPRecordalStatusHasBeenSet () const
 
void SetICPRecordalStatus (const ICPRecordalStatus &value)
 
void SetICPRecordalStatus (ICPRecordalStatus &&value)
 
AliasICPRecordalWithICPRecordalStatus (const ICPRecordalStatus &value)
 
AliasICPRecordalWithICPRecordalStatus (ICPRecordalStatus &&value)
 

Detailed Description

AWS services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions. The status is returned in the CloudFront response; you can't configure it yourself.

For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with AWS services in China.

See Also:

AWS API Reference

Definition at line 39 of file AliasICPRecordal.h.

Constructor & Destructor Documentation

◆ AliasICPRecordal() [1/2]

Aws::CloudFront::Model::AliasICPRecordal::AliasICPRecordal ( )

◆ AliasICPRecordal() [2/2]

Aws::CloudFront::Model::AliasICPRecordal::AliasICPRecordal ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddToNode()

void Aws::CloudFront::Model::AliasICPRecordal::AddToNode ( Aws::Utils::Xml::XmlNode parentNode) const

◆ CNAMEHasBeenSet()

bool Aws::CloudFront::Model::AliasICPRecordal::CNAMEHasBeenSet ( ) const
inline

A domain name associated with a distribution.

Definition at line 57 of file AliasICPRecordal.h.

◆ GetCNAME()

const Aws::String& Aws::CloudFront::Model::AliasICPRecordal::GetCNAME ( ) const
inline

A domain name associated with a distribution.

Definition at line 52 of file AliasICPRecordal.h.

◆ GetICPRecordalStatus()

const ICPRecordalStatus& Aws::CloudFront::Model::AliasICPRecordal::GetICPRecordalStatus ( ) const
inline

The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in regions outside of China.

The status values returned are the following:

  • APPROVED indicates that the associated CNAME has a valid ICP recordal number. Multiple CNAMEs can be associated with a distribution, and CNAMEs can correspond to different ICP recordals. To be marked as APPROVED, that is, valid to use with China region, a CNAME must have one ICP recordal number associated with it.

  • SUSPENDED indicates that the associated CNAME does not have a valid ICP recordal number.

  • PENDING indicates that CloudFront can't determine the ICP recordal status of the CNAME associated with the distribution because there was an error in trying to determine the status. You can try again to see if the error is resolved in which case CloudFront returns an APPROVED or SUSPENDED status.

Definition at line 105 of file AliasICPRecordal.h.

◆ ICPRecordalStatusHasBeenSet()

bool Aws::CloudFront::Model::AliasICPRecordal::ICPRecordalStatusHasBeenSet ( ) const
inline

The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in regions outside of China.

The status values returned are the following:

  • APPROVED indicates that the associated CNAME has a valid ICP recordal number. Multiple CNAMEs can be associated with a distribution, and CNAMEs can correspond to different ICP recordals. To be marked as APPROVED, that is, valid to use with China region, a CNAME must have one ICP recordal number associated with it.

  • SUSPENDED indicates that the associated CNAME does not have a valid ICP recordal number.

  • PENDING indicates that CloudFront can't determine the ICP recordal status of the CNAME associated with the distribution because there was an error in trying to determine the status. You can try again to see if the error is resolved in which case CloudFront returns an APPROVED or SUSPENDED status.

Definition at line 122 of file AliasICPRecordal.h.

◆ operator=()

AliasICPRecordal& Aws::CloudFront::Model::AliasICPRecordal::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ SetCNAME() [1/3]

void Aws::CloudFront::Model::AliasICPRecordal::SetCNAME ( Aws::String &&  value)
inline

A domain name associated with a distribution.

Definition at line 67 of file AliasICPRecordal.h.

◆ SetCNAME() [2/3]

void Aws::CloudFront::Model::AliasICPRecordal::SetCNAME ( const Aws::String value)
inline

A domain name associated with a distribution.

Definition at line 62 of file AliasICPRecordal.h.

◆ SetCNAME() [3/3]

void Aws::CloudFront::Model::AliasICPRecordal::SetCNAME ( const char *  value)
inline

A domain name associated with a distribution.

Definition at line 72 of file AliasICPRecordal.h.

◆ SetICPRecordalStatus() [1/2]

void Aws::CloudFront::Model::AliasICPRecordal::SetICPRecordalStatus ( const ICPRecordalStatus value)
inline

The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in regions outside of China.

The status values returned are the following:

  • APPROVED indicates that the associated CNAME has a valid ICP recordal number. Multiple CNAMEs can be associated with a distribution, and CNAMEs can correspond to different ICP recordals. To be marked as APPROVED, that is, valid to use with China region, a CNAME must have one ICP recordal number associated with it.

  • SUSPENDED indicates that the associated CNAME does not have a valid ICP recordal number.

  • PENDING indicates that CloudFront can't determine the ICP recordal status of the CNAME associated with the distribution because there was an error in trying to determine the status. You can try again to see if the error is resolved in which case CloudFront returns an APPROVED or SUSPENDED status.

Definition at line 139 of file AliasICPRecordal.h.

◆ SetICPRecordalStatus() [2/2]

void Aws::CloudFront::Model::AliasICPRecordal::SetICPRecordalStatus ( ICPRecordalStatus &&  value)
inline

The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in regions outside of China.

The status values returned are the following:

  • APPROVED indicates that the associated CNAME has a valid ICP recordal number. Multiple CNAMEs can be associated with a distribution, and CNAMEs can correspond to different ICP recordals. To be marked as APPROVED, that is, valid to use with China region, a CNAME must have one ICP recordal number associated with it.

  • SUSPENDED indicates that the associated CNAME does not have a valid ICP recordal number.

  • PENDING indicates that CloudFront can't determine the ICP recordal status of the CNAME associated with the distribution because there was an error in trying to determine the status. You can try again to see if the error is resolved in which case CloudFront returns an APPROVED or SUSPENDED status.

Definition at line 156 of file AliasICPRecordal.h.

◆ WithCNAME() [1/3]

AliasICPRecordal& Aws::CloudFront::Model::AliasICPRecordal::WithCNAME ( Aws::String &&  value)
inline

A domain name associated with a distribution.

Definition at line 82 of file AliasICPRecordal.h.

◆ WithCNAME() [2/3]

AliasICPRecordal& Aws::CloudFront::Model::AliasICPRecordal::WithCNAME ( const Aws::String value)
inline

A domain name associated with a distribution.

Definition at line 77 of file AliasICPRecordal.h.

◆ WithCNAME() [3/3]

AliasICPRecordal& Aws::CloudFront::Model::AliasICPRecordal::WithCNAME ( const char *  value)
inline

A domain name associated with a distribution.

Definition at line 87 of file AliasICPRecordal.h.

◆ WithICPRecordalStatus() [1/2]

AliasICPRecordal& Aws::CloudFront::Model::AliasICPRecordal::WithICPRecordalStatus ( const ICPRecordalStatus value)
inline

The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in regions outside of China.

The status values returned are the following:

  • APPROVED indicates that the associated CNAME has a valid ICP recordal number. Multiple CNAMEs can be associated with a distribution, and CNAMEs can correspond to different ICP recordals. To be marked as APPROVED, that is, valid to use with China region, a CNAME must have one ICP recordal number associated with it.

  • SUSPENDED indicates that the associated CNAME does not have a valid ICP recordal number.

  • PENDING indicates that CloudFront can't determine the ICP recordal status of the CNAME associated with the distribution because there was an error in trying to determine the status. You can try again to see if the error is resolved in which case CloudFront returns an APPROVED or SUSPENDED status.

Definition at line 173 of file AliasICPRecordal.h.

◆ WithICPRecordalStatus() [2/2]

AliasICPRecordal& Aws::CloudFront::Model::AliasICPRecordal::WithICPRecordalStatus ( ICPRecordalStatus &&  value)
inline

The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in regions outside of China.

The status values returned are the following:

  • APPROVED indicates that the associated CNAME has a valid ICP recordal number. Multiple CNAMEs can be associated with a distribution, and CNAMEs can correspond to different ICP recordals. To be marked as APPROVED, that is, valid to use with China region, a CNAME must have one ICP recordal number associated with it.

  • SUSPENDED indicates that the associated CNAME does not have a valid ICP recordal number.

  • PENDING indicates that CloudFront can't determine the ICP recordal status of the CNAME associated with the distribution because there was an error in trying to determine the status. You can try again to see if the error is resolved in which case CloudFront returns an APPROVED or SUSPENDED status.

Definition at line 190 of file AliasICPRecordal.h.


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