AWS SDK for C++
1.8.184
AWS SDK for C++
|
#include <CachedMethods.h>
Public Member Functions | |
CachedMethods () | |
CachedMethods (const Aws::Utils::Xml::XmlNode &xmlNode) | |
CachedMethods & | operator= (const Aws::Utils::Xml::XmlNode &xmlNode) |
void | AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const |
int | GetQuantity () const |
bool | QuantityHasBeenSet () const |
void | SetQuantity (int value) |
CachedMethods & | WithQuantity (int value) |
const Aws::Vector< Method > & | GetItems () const |
bool | ItemsHasBeenSet () const |
void | SetItems (const Aws::Vector< Method > &value) |
void | SetItems (Aws::Vector< Method > &&value) |
CachedMethods & | WithItems (const Aws::Vector< Method > &value) |
CachedMethods & | WithItems (Aws::Vector< Method > &&value) |
CachedMethods & | AddItems (const Method &value) |
CachedMethods & | AddItems (Method &&value) |
A complex type that controls whether CloudFront caches the response to requests using the specified HTTP methods. There are two choices:
CloudFront caches responses to GET
and HEAD
requests.
CloudFront caches responses to GET
, HEAD
, and OPTIONS
requests.
If you pick the second choice for your Amazon S3 Origin, you may need to forward Access-Control-Request-Method, Access-Control-Request-Headers, and Origin headers for the responses to be cached correctly.
Definition at line 38 of file CachedMethods.h.
Aws::CloudFront::Model::CachedMethods::CachedMethods | ( | ) |
Aws::CloudFront::Model::CachedMethods::CachedMethods | ( | const Aws::Utils::Xml::XmlNode & | xmlNode | ) |
|
inline |
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
Definition at line 121 of file CachedMethods.h.
|
inline |
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
Definition at line 127 of file CachedMethods.h.
void Aws::CloudFront::Model::CachedMethods::AddToNode | ( | Aws::Utils::Xml::XmlNode & | parentNode | ) | const |
|
inline |
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
Definition at line 85 of file CachedMethods.h.
|
inline |
The number of HTTP methods for which you want CloudFront to cache responses. Valid values are 2
(for caching responses to GET
and HEAD
requests) and 3
(for caching responses to GET
, HEAD
, and OPTIONS
requests).
Definition at line 54 of file CachedMethods.h.
|
inline |
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
Definition at line 91 of file CachedMethods.h.
CachedMethods& Aws::CloudFront::Model::CachedMethods::operator= | ( | const Aws::Utils::Xml::XmlNode & | xmlNode | ) |
|
inline |
The number of HTTP methods for which you want CloudFront to cache responses. Valid values are 2
(for caching responses to GET
and HEAD
requests) and 3
(for caching responses to GET
, HEAD
, and OPTIONS
requests).
Definition at line 62 of file CachedMethods.h.
|
inline |
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
Definition at line 103 of file CachedMethods.h.
|
inline |
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
Definition at line 97 of file CachedMethods.h.
|
inline |
The number of HTTP methods for which you want CloudFront to cache responses. Valid values are 2
(for caching responses to GET
and HEAD
requests) and 3
(for caching responses to GET
, HEAD
, and OPTIONS
requests).
Definition at line 70 of file CachedMethods.h.
|
inline |
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
Definition at line 115 of file CachedMethods.h.
|
inline |
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
Definition at line 109 of file CachedMethods.h.
|
inline |
The number of HTTP methods for which you want CloudFront to cache responses. Valid values are 2
(for caching responses to GET
and HEAD
requests) and 3
(for caching responses to GET
, HEAD
, and OPTIONS
requests).
Definition at line 78 of file CachedMethods.h.