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

#include <AllowedMethods.h>

Public Member Functions

 AllowedMethods ()
 
 AllowedMethods (const Aws::Utils::Xml::XmlNode &xmlNode)
 
AllowedMethodsoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
int GetQuantity () const
 
bool QuantityHasBeenSet () const
 
void SetQuantity (int value)
 
AllowedMethodsWithQuantity (int value)
 
const Aws::Vector< Method > & GetItems () const
 
bool ItemsHasBeenSet () const
 
void SetItems (const Aws::Vector< Method > &value)
 
void SetItems (Aws::Vector< Method > &&value)
 
AllowedMethodsWithItems (const Aws::Vector< Method > &value)
 
AllowedMethodsWithItems (Aws::Vector< Method > &&value)
 
AllowedMethodsAddItems (const Method &value)
 
AllowedMethodsAddItems (Method &&value)
 
const CachedMethodsGetCachedMethods () const
 
bool CachedMethodsHasBeenSet () const
 
void SetCachedMethods (const CachedMethods &value)
 
void SetCachedMethods (CachedMethods &&value)
 
AllowedMethodsWithCachedMethods (const CachedMethods &value)
 
AllowedMethodsWithCachedMethods (CachedMethods &&value)
 

Detailed Description

A complex type that controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin. There are three choices:

If you pick the third choice, you may need to restrict access to your Amazon S3 bucket or to your custom origin so users can't perform operations that you don't want them to. For example, you might not want users to have permissions to delete objects from your origin.

See Also:

AWS API Reference

Definition at line 42 of file AllowedMethods.h.

Constructor & Destructor Documentation

◆ AllowedMethods() [1/2]

Aws::CloudFront::Model::AllowedMethods::AllowedMethods ( )

◆ AllowedMethods() [2/2]

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

Member Function Documentation

◆ AddItems() [1/2]

AllowedMethods& Aws::CloudFront::Model::AllowedMethods::AddItems ( const Method value)
inline

A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.

Definition at line 129 of file AllowedMethods.h.

◆ AddItems() [2/2]

AllowedMethods& Aws::CloudFront::Model::AllowedMethods::AddItems ( Method &&  value)
inline

A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.

Definition at line 135 of file AllowedMethods.h.

◆ AddToNode()

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

◆ CachedMethodsHasBeenSet()

bool Aws::CloudFront::Model::AllowedMethods::CachedMethodsHasBeenSet ( ) const
inline

Definition at line 142 of file AllowedMethods.h.

◆ GetCachedMethods()

const CachedMethods& Aws::CloudFront::Model::AllowedMethods::GetCachedMethods ( ) const
inline

Definition at line 139 of file AllowedMethods.h.

◆ GetItems()

const Aws::Vector<Method>& Aws::CloudFront::Model::AllowedMethods::GetItems ( ) const
inline

A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.

Definition at line 93 of file AllowedMethods.h.

◆ GetQuantity()

int Aws::CloudFront::Model::AllowedMethods::GetQuantity ( ) const
inline

The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for GET and HEAD requests), 3 (for GET, HEAD, and OPTIONS requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE requests).

Definition at line 59 of file AllowedMethods.h.

◆ ItemsHasBeenSet()

bool Aws::CloudFront::Model::AllowedMethods::ItemsHasBeenSet ( ) const
inline

A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.

Definition at line 99 of file AllowedMethods.h.

◆ operator=()

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

◆ QuantityHasBeenSet()

bool Aws::CloudFront::Model::AllowedMethods::QuantityHasBeenSet ( ) const
inline

The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for GET and HEAD requests), 3 (for GET, HEAD, and OPTIONS requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE requests).

Definition at line 68 of file AllowedMethods.h.

◆ SetCachedMethods() [1/2]

void Aws::CloudFront::Model::AllowedMethods::SetCachedMethods ( CachedMethods &&  value)
inline

Definition at line 148 of file AllowedMethods.h.

◆ SetCachedMethods() [2/2]

void Aws::CloudFront::Model::AllowedMethods::SetCachedMethods ( const CachedMethods value)
inline

Definition at line 145 of file AllowedMethods.h.

◆ SetItems() [1/2]

void Aws::CloudFront::Model::AllowedMethods::SetItems ( Aws::Vector< Method > &&  value)
inline

A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.

Definition at line 111 of file AllowedMethods.h.

◆ SetItems() [2/2]

void Aws::CloudFront::Model::AllowedMethods::SetItems ( const Aws::Vector< Method > &  value)
inline

A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.

Definition at line 105 of file AllowedMethods.h.

◆ SetQuantity()

void Aws::CloudFront::Model::AllowedMethods::SetQuantity ( int  value)
inline

The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for GET and HEAD requests), 3 (for GET, HEAD, and OPTIONS requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE requests).

Definition at line 77 of file AllowedMethods.h.

◆ WithCachedMethods() [1/2]

AllowedMethods& Aws::CloudFront::Model::AllowedMethods::WithCachedMethods ( CachedMethods &&  value)
inline

Definition at line 154 of file AllowedMethods.h.

◆ WithCachedMethods() [2/2]

AllowedMethods& Aws::CloudFront::Model::AllowedMethods::WithCachedMethods ( const CachedMethods value)
inline

Definition at line 151 of file AllowedMethods.h.

◆ WithItems() [1/2]

AllowedMethods& Aws::CloudFront::Model::AllowedMethods::WithItems ( Aws::Vector< Method > &&  value)
inline

A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.

Definition at line 123 of file AllowedMethods.h.

◆ WithItems() [2/2]

AllowedMethods& Aws::CloudFront::Model::AllowedMethods::WithItems ( const Aws::Vector< Method > &  value)
inline

A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.

Definition at line 117 of file AllowedMethods.h.

◆ WithQuantity()

AllowedMethods& Aws::CloudFront::Model::AllowedMethods::WithQuantity ( int  value)
inline

The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for GET and HEAD requests), 3 (for GET, HEAD, and OPTIONS requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE requests).

Definition at line 86 of file AllowedMethods.h.


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