AWS SDK for C++  1.8.75
AWS SDK for C++
Public Member Functions | List of all members
Aws::S3::Model::CORSConfiguration Class Reference

#include <CORSConfiguration.h>

Public Member Functions

 CORSConfiguration ()
 
 CORSConfiguration (const Aws::Utils::Xml::XmlNode &xmlNode)
 
CORSConfigurationoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
const Aws::Vector< CORSRule > & GetCORSRules () const
 
bool CORSRulesHasBeenSet () const
 
void SetCORSRules (const Aws::Vector< CORSRule > &value)
 
void SetCORSRules (Aws::Vector< CORSRule > &&value)
 
CORSConfigurationWithCORSRules (const Aws::Vector< CORSRule > &value)
 
CORSConfigurationWithCORSRules (Aws::Vector< CORSRule > &&value)
 
CORSConfigurationAddCORSRules (const CORSRule &value)
 
CORSConfigurationAddCORSRules (CORSRule &&value)
 

Detailed Description

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

See Also:

AWS API Reference

Definition at line 35 of file CORSConfiguration.h.

Constructor & Destructor Documentation

◆ CORSConfiguration() [1/2]

Aws::S3::Model::CORSConfiguration::CORSConfiguration ( )

◆ CORSConfiguration() [2/2]

Aws::S3::Model::CORSConfiguration::CORSConfiguration ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddCORSRules() [1/2]

CORSConfiguration& Aws::S3::Model::CORSConfiguration::AddCORSRules ( const CORSRule value)
inline

A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.

Definition at line 85 of file CORSConfiguration.h.

◆ AddCORSRules() [2/2]

CORSConfiguration& Aws::S3::Model::CORSConfiguration::AddCORSRules ( CORSRule &&  value)
inline

A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.

Definition at line 91 of file CORSConfiguration.h.

◆ AddToNode()

void Aws::S3::Model::CORSConfiguration::AddToNode ( Aws::Utils::Xml::XmlNode parentNode) const

◆ CORSRulesHasBeenSet()

bool Aws::S3::Model::CORSConfiguration::CORSRulesHasBeenSet ( ) const
inline

A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.

Definition at line 55 of file CORSConfiguration.h.

◆ GetCORSRules()

const Aws::Vector<CORSRule>& Aws::S3::Model::CORSConfiguration::GetCORSRules ( ) const
inline

A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.

Definition at line 49 of file CORSConfiguration.h.

◆ operator=()

CORSConfiguration& Aws::S3::Model::CORSConfiguration::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ SetCORSRules() [1/2]

void Aws::S3::Model::CORSConfiguration::SetCORSRules ( const Aws::Vector< CORSRule > &  value)
inline

A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.

Definition at line 61 of file CORSConfiguration.h.

◆ SetCORSRules() [2/2]

void Aws::S3::Model::CORSConfiguration::SetCORSRules ( Aws::Vector< CORSRule > &&  value)
inline

A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.

Definition at line 67 of file CORSConfiguration.h.

◆ WithCORSRules() [1/2]

CORSConfiguration& Aws::S3::Model::CORSConfiguration::WithCORSRules ( const Aws::Vector< CORSRule > &  value)
inline

A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.

Definition at line 73 of file CORSConfiguration.h.

◆ WithCORSRules() [2/2]

CORSConfiguration& Aws::S3::Model::CORSConfiguration::WithCORSRules ( Aws::Vector< CORSRule > &&  value)
inline

A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.

Definition at line 79 of file CORSConfiguration.h.


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