AWS SDK for C++  1.9.108
AWS SDK for C++
Public Member Functions | List of all members
Aws::SecurityHub::Model::AwsCorsConfiguration Class Reference

#include <AwsCorsConfiguration.h>

Public Member Functions

 AwsCorsConfiguration ()
 
 AwsCorsConfiguration (Aws::Utils::Json::JsonView jsonValue)
 
AwsCorsConfigurationoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Vector< Aws::String > & GetAllowOrigins () const
 
bool AllowOriginsHasBeenSet () const
 
void SetAllowOrigins (const Aws::Vector< Aws::String > &value)
 
void SetAllowOrigins (Aws::Vector< Aws::String > &&value)
 
AwsCorsConfigurationWithAllowOrigins (const Aws::Vector< Aws::String > &value)
 
AwsCorsConfigurationWithAllowOrigins (Aws::Vector< Aws::String > &&value)
 
AwsCorsConfigurationAddAllowOrigins (const Aws::String &value)
 
AwsCorsConfigurationAddAllowOrigins (Aws::String &&value)
 
AwsCorsConfigurationAddAllowOrigins (const char *value)
 
bool GetAllowCredentials () const
 
bool AllowCredentialsHasBeenSet () const
 
void SetAllowCredentials (bool value)
 
AwsCorsConfigurationWithAllowCredentials (bool value)
 
const Aws::Vector< Aws::String > & GetExposeHeaders () const
 
bool ExposeHeadersHasBeenSet () const
 
void SetExposeHeaders (const Aws::Vector< Aws::String > &value)
 
void SetExposeHeaders (Aws::Vector< Aws::String > &&value)
 
AwsCorsConfigurationWithExposeHeaders (const Aws::Vector< Aws::String > &value)
 
AwsCorsConfigurationWithExposeHeaders (Aws::Vector< Aws::String > &&value)
 
AwsCorsConfigurationAddExposeHeaders (const Aws::String &value)
 
AwsCorsConfigurationAddExposeHeaders (Aws::String &&value)
 
AwsCorsConfigurationAddExposeHeaders (const char *value)
 
int GetMaxAge () const
 
bool MaxAgeHasBeenSet () const
 
void SetMaxAge (int value)
 
AwsCorsConfigurationWithMaxAge (int value)
 
const Aws::Vector< Aws::String > & GetAllowMethods () const
 
bool AllowMethodsHasBeenSet () const
 
void SetAllowMethods (const Aws::Vector< Aws::String > &value)
 
void SetAllowMethods (Aws::Vector< Aws::String > &&value)
 
AwsCorsConfigurationWithAllowMethods (const Aws::Vector< Aws::String > &value)
 
AwsCorsConfigurationWithAllowMethods (Aws::Vector< Aws::String > &&value)
 
AwsCorsConfigurationAddAllowMethods (const Aws::String &value)
 
AwsCorsConfigurationAddAllowMethods (Aws::String &&value)
 
AwsCorsConfigurationAddAllowMethods (const char *value)
 
const Aws::Vector< Aws::String > & GetAllowHeaders () const
 
bool AllowHeadersHasBeenSet () const
 
void SetAllowHeaders (const Aws::Vector< Aws::String > &value)
 
void SetAllowHeaders (Aws::Vector< Aws::String > &&value)
 
AwsCorsConfigurationWithAllowHeaders (const Aws::Vector< Aws::String > &value)
 
AwsCorsConfigurationWithAllowHeaders (Aws::Vector< Aws::String > &&value)
 
AwsCorsConfigurationAddAllowHeaders (const Aws::String &value)
 
AwsCorsConfigurationAddAllowHeaders (Aws::String &&value)
 
AwsCorsConfigurationAddAllowHeaders (const char *value)
 

Detailed Description

Contains the cross-origin resource sharing (CORS) configuration for the API. CORS is only supported for HTTP APIs.

See Also:

AWS API Reference

Definition at line 33 of file AwsCorsConfiguration.h.

Constructor & Destructor Documentation

◆ AwsCorsConfiguration() [1/2]

Aws::SecurityHub::Model::AwsCorsConfiguration::AwsCorsConfiguration ( )

◆ AwsCorsConfiguration() [2/2]

Aws::SecurityHub::Model::AwsCorsConfiguration::AwsCorsConfiguration ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddAllowHeaders() [1/3]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::AddAllowHeaders ( Aws::String &&  value)
inline

The allowed headers for CORS requests.

Definition at line 264 of file AwsCorsConfiguration.h.

◆ AddAllowHeaders() [2/3]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::AddAllowHeaders ( const Aws::String value)
inline

The allowed headers for CORS requests.

Definition at line 259 of file AwsCorsConfiguration.h.

◆ AddAllowHeaders() [3/3]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::AddAllowHeaders ( const char *  value)
inline

The allowed headers for CORS requests.

Definition at line 269 of file AwsCorsConfiguration.h.

◆ AddAllowMethods() [1/3]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::AddAllowMethods ( Aws::String &&  value)
inline

The allowed methods for CORS requests.

Definition at line 218 of file AwsCorsConfiguration.h.

◆ AddAllowMethods() [2/3]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::AddAllowMethods ( const Aws::String value)
inline

The allowed methods for CORS requests.

Definition at line 213 of file AwsCorsConfiguration.h.

◆ AddAllowMethods() [3/3]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::AddAllowMethods ( const char *  value)
inline

The allowed methods for CORS requests.

Definition at line 223 of file AwsCorsConfiguration.h.

◆ AddAllowOrigins() [1/3]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::AddAllowOrigins ( Aws::String &&  value)
inline

The allowed origins for CORS requests.

Definition at line 80 of file AwsCorsConfiguration.h.

◆ AddAllowOrigins() [2/3]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::AddAllowOrigins ( const Aws::String value)
inline

The allowed origins for CORS requests.

Definition at line 75 of file AwsCorsConfiguration.h.

◆ AddAllowOrigins() [3/3]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::AddAllowOrigins ( const char *  value)
inline

The allowed origins for CORS requests.

Definition at line 85 of file AwsCorsConfiguration.h.

◆ AddExposeHeaders() [1/3]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::AddExposeHeaders ( Aws::String &&  value)
inline

The exposed headers for CORS requests.

Definition at line 147 of file AwsCorsConfiguration.h.

◆ AddExposeHeaders() [2/3]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::AddExposeHeaders ( const Aws::String value)
inline

The exposed headers for CORS requests.

Definition at line 142 of file AwsCorsConfiguration.h.

◆ AddExposeHeaders() [3/3]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::AddExposeHeaders ( const char *  value)
inline

The exposed headers for CORS requests.

Definition at line 152 of file AwsCorsConfiguration.h.

◆ AllowCredentialsHasBeenSet()

bool Aws::SecurityHub::Model::AwsCorsConfiguration::AllowCredentialsHasBeenSet ( ) const
inline

Indicates whether the CORS request includes credentials.

Definition at line 96 of file AwsCorsConfiguration.h.

◆ AllowHeadersHasBeenSet()

bool Aws::SecurityHub::Model::AwsCorsConfiguration::AllowHeadersHasBeenSet ( ) const
inline

The allowed headers for CORS requests.

Definition at line 234 of file AwsCorsConfiguration.h.

◆ AllowMethodsHasBeenSet()

bool Aws::SecurityHub::Model::AwsCorsConfiguration::AllowMethodsHasBeenSet ( ) const
inline

The allowed methods for CORS requests.

Definition at line 188 of file AwsCorsConfiguration.h.

◆ AllowOriginsHasBeenSet()

bool Aws::SecurityHub::Model::AwsCorsConfiguration::AllowOriginsHasBeenSet ( ) const
inline

The allowed origins for CORS requests.

Definition at line 50 of file AwsCorsConfiguration.h.

◆ ExposeHeadersHasBeenSet()

bool Aws::SecurityHub::Model::AwsCorsConfiguration::ExposeHeadersHasBeenSet ( ) const
inline

The exposed headers for CORS requests.

Definition at line 117 of file AwsCorsConfiguration.h.

◆ GetAllowCredentials()

bool Aws::SecurityHub::Model::AwsCorsConfiguration::GetAllowCredentials ( ) const
inline

Indicates whether the CORS request includes credentials.

Definition at line 91 of file AwsCorsConfiguration.h.

◆ GetAllowHeaders()

const Aws::Vector<Aws::String>& Aws::SecurityHub::Model::AwsCorsConfiguration::GetAllowHeaders ( ) const
inline

The allowed headers for CORS requests.

Definition at line 229 of file AwsCorsConfiguration.h.

◆ GetAllowMethods()

const Aws::Vector<Aws::String>& Aws::SecurityHub::Model::AwsCorsConfiguration::GetAllowMethods ( ) const
inline

The allowed methods for CORS requests.

Definition at line 183 of file AwsCorsConfiguration.h.

◆ GetAllowOrigins()

const Aws::Vector<Aws::String>& Aws::SecurityHub::Model::AwsCorsConfiguration::GetAllowOrigins ( ) const
inline

The allowed origins for CORS requests.

Definition at line 45 of file AwsCorsConfiguration.h.

◆ GetExposeHeaders()

const Aws::Vector<Aws::String>& Aws::SecurityHub::Model::AwsCorsConfiguration::GetExposeHeaders ( ) const
inline

The exposed headers for CORS requests.

Definition at line 112 of file AwsCorsConfiguration.h.

◆ GetMaxAge()

int Aws::SecurityHub::Model::AwsCorsConfiguration::GetMaxAge ( ) const
inline

The number of seconds for which the browser caches preflight request results.

Definition at line 159 of file AwsCorsConfiguration.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::SecurityHub::Model::AwsCorsConfiguration::Jsonize ( ) const

◆ MaxAgeHasBeenSet()

bool Aws::SecurityHub::Model::AwsCorsConfiguration::MaxAgeHasBeenSet ( ) const
inline

The number of seconds for which the browser caches preflight request results.

Definition at line 165 of file AwsCorsConfiguration.h.

◆ operator=()

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetAllowCredentials()

void Aws::SecurityHub::Model::AwsCorsConfiguration::SetAllowCredentials ( bool  value)
inline

Indicates whether the CORS request includes credentials.

Definition at line 101 of file AwsCorsConfiguration.h.

◆ SetAllowHeaders() [1/2]

void Aws::SecurityHub::Model::AwsCorsConfiguration::SetAllowHeaders ( Aws::Vector< Aws::String > &&  value)
inline

The allowed headers for CORS requests.

Definition at line 244 of file AwsCorsConfiguration.h.

◆ SetAllowHeaders() [2/2]

void Aws::SecurityHub::Model::AwsCorsConfiguration::SetAllowHeaders ( const Aws::Vector< Aws::String > &  value)
inline

The allowed headers for CORS requests.

Definition at line 239 of file AwsCorsConfiguration.h.

◆ SetAllowMethods() [1/2]

void Aws::SecurityHub::Model::AwsCorsConfiguration::SetAllowMethods ( Aws::Vector< Aws::String > &&  value)
inline

The allowed methods for CORS requests.

Definition at line 198 of file AwsCorsConfiguration.h.

◆ SetAllowMethods() [2/2]

void Aws::SecurityHub::Model::AwsCorsConfiguration::SetAllowMethods ( const Aws::Vector< Aws::String > &  value)
inline

The allowed methods for CORS requests.

Definition at line 193 of file AwsCorsConfiguration.h.

◆ SetAllowOrigins() [1/2]

void Aws::SecurityHub::Model::AwsCorsConfiguration::SetAllowOrigins ( Aws::Vector< Aws::String > &&  value)
inline

The allowed origins for CORS requests.

Definition at line 60 of file AwsCorsConfiguration.h.

◆ SetAllowOrigins() [2/2]

void Aws::SecurityHub::Model::AwsCorsConfiguration::SetAllowOrigins ( const Aws::Vector< Aws::String > &  value)
inline

The allowed origins for CORS requests.

Definition at line 55 of file AwsCorsConfiguration.h.

◆ SetExposeHeaders() [1/2]

void Aws::SecurityHub::Model::AwsCorsConfiguration::SetExposeHeaders ( Aws::Vector< Aws::String > &&  value)
inline

The exposed headers for CORS requests.

Definition at line 127 of file AwsCorsConfiguration.h.

◆ SetExposeHeaders() [2/2]

void Aws::SecurityHub::Model::AwsCorsConfiguration::SetExposeHeaders ( const Aws::Vector< Aws::String > &  value)
inline

The exposed headers for CORS requests.

Definition at line 122 of file AwsCorsConfiguration.h.

◆ SetMaxAge()

void Aws::SecurityHub::Model::AwsCorsConfiguration::SetMaxAge ( int  value)
inline

The number of seconds for which the browser caches preflight request results.

Definition at line 171 of file AwsCorsConfiguration.h.

◆ WithAllowCredentials()

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::WithAllowCredentials ( bool  value)
inline

Indicates whether the CORS request includes credentials.

Definition at line 106 of file AwsCorsConfiguration.h.

◆ WithAllowHeaders() [1/2]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::WithAllowHeaders ( Aws::Vector< Aws::String > &&  value)
inline

The allowed headers for CORS requests.

Definition at line 254 of file AwsCorsConfiguration.h.

◆ WithAllowHeaders() [2/2]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::WithAllowHeaders ( const Aws::Vector< Aws::String > &  value)
inline

The allowed headers for CORS requests.

Definition at line 249 of file AwsCorsConfiguration.h.

◆ WithAllowMethods() [1/2]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::WithAllowMethods ( Aws::Vector< Aws::String > &&  value)
inline

The allowed methods for CORS requests.

Definition at line 208 of file AwsCorsConfiguration.h.

◆ WithAllowMethods() [2/2]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::WithAllowMethods ( const Aws::Vector< Aws::String > &  value)
inline

The allowed methods for CORS requests.

Definition at line 203 of file AwsCorsConfiguration.h.

◆ WithAllowOrigins() [1/2]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::WithAllowOrigins ( Aws::Vector< Aws::String > &&  value)
inline

The allowed origins for CORS requests.

Definition at line 70 of file AwsCorsConfiguration.h.

◆ WithAllowOrigins() [2/2]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::WithAllowOrigins ( const Aws::Vector< Aws::String > &  value)
inline

The allowed origins for CORS requests.

Definition at line 65 of file AwsCorsConfiguration.h.

◆ WithExposeHeaders() [1/2]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::WithExposeHeaders ( Aws::Vector< Aws::String > &&  value)
inline

The exposed headers for CORS requests.

Definition at line 137 of file AwsCorsConfiguration.h.

◆ WithExposeHeaders() [2/2]

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::WithExposeHeaders ( const Aws::Vector< Aws::String > &  value)
inline

The exposed headers for CORS requests.

Definition at line 132 of file AwsCorsConfiguration.h.

◆ WithMaxAge()

AwsCorsConfiguration& Aws::SecurityHub::Model::AwsCorsConfiguration::WithMaxAge ( int  value)
inline

The number of seconds for which the browser caches preflight request results.

Definition at line 177 of file AwsCorsConfiguration.h.


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