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

#include <LambdaFunctionAssociations.h>

Public Member Functions

 LambdaFunctionAssociations ()
 
 LambdaFunctionAssociations (const Aws::Utils::Xml::XmlNode &xmlNode)
 
LambdaFunctionAssociationsoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
int GetQuantity () const
 
bool QuantityHasBeenSet () const
 
void SetQuantity (int value)
 
LambdaFunctionAssociationsWithQuantity (int value)
 
const Aws::Vector< LambdaFunctionAssociation > & GetItems () const
 
bool ItemsHasBeenSet () const
 
void SetItems (const Aws::Vector< LambdaFunctionAssociation > &value)
 
void SetItems (Aws::Vector< LambdaFunctionAssociation > &&value)
 
LambdaFunctionAssociationsWithItems (const Aws::Vector< LambdaFunctionAssociation > &value)
 
LambdaFunctionAssociationsWithItems (Aws::Vector< LambdaFunctionAssociation > &&value)
 
LambdaFunctionAssociationsAddItems (const LambdaFunctionAssociation &value)
 
LambdaFunctionAssociationsAddItems (LambdaFunctionAssociation &&value)
 

Detailed Description

A complex type that specifies a list of Lambda functions associations for a cache behavior.

If you want to invoke one or more Lambda functions triggered by requests that match the PathPattern of the cache behavior, specify the applicable values for Quantity and Items. Note that there can be up to 4 LambdaFunctionAssociation items in this list (one for each possible value of EventType) and each EventType can be associated with the Lambda function only once.

If you don't want to invoke any Lambda functions for the requests that match PathPattern, specify 0 for Quantity and omit Items.

See Also:

AWS API Reference

Definition at line 41 of file LambdaFunctionAssociations.h.

Constructor & Destructor Documentation

◆ LambdaFunctionAssociations() [1/2]

Aws::CloudFront::Model::LambdaFunctionAssociations::LambdaFunctionAssociations ( )

◆ LambdaFunctionAssociations() [2/2]

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

Member Function Documentation

◆ AddItems() [1/2]

LambdaFunctionAssociations& Aws::CloudFront::Model::LambdaFunctionAssociations::AddItems ( const LambdaFunctionAssociation value)
inline

Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.

Definition at line 119 of file LambdaFunctionAssociations.h.

◆ AddItems() [2/2]

LambdaFunctionAssociations& Aws::CloudFront::Model::LambdaFunctionAssociations::AddItems ( LambdaFunctionAssociation &&  value)
inline

Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.

Definition at line 126 of file LambdaFunctionAssociations.h.

◆ AddToNode()

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

◆ GetItems()

const Aws::Vector<LambdaFunctionAssociation>& Aws::CloudFront::Model::LambdaFunctionAssociations::GetItems ( ) const
inline

Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.

Definition at line 77 of file LambdaFunctionAssociations.h.

◆ GetQuantity()

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

The number of Lambda function associations for this cache behavior.

Definition at line 54 of file LambdaFunctionAssociations.h.

◆ ItemsHasBeenSet()

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

Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.

Definition at line 84 of file LambdaFunctionAssociations.h.

◆ operator=()

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

◆ QuantityHasBeenSet()

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

The number of Lambda function associations for this cache behavior.

Definition at line 59 of file LambdaFunctionAssociations.h.

◆ SetItems() [1/2]

void Aws::CloudFront::Model::LambdaFunctionAssociations::SetItems ( Aws::Vector< LambdaFunctionAssociation > &&  value)
inline

Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.

Definition at line 98 of file LambdaFunctionAssociations.h.

◆ SetItems() [2/2]

void Aws::CloudFront::Model::LambdaFunctionAssociations::SetItems ( const Aws::Vector< LambdaFunctionAssociation > &  value)
inline

Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.

Definition at line 91 of file LambdaFunctionAssociations.h.

◆ SetQuantity()

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

The number of Lambda function associations for this cache behavior.

Definition at line 64 of file LambdaFunctionAssociations.h.

◆ WithItems() [1/2]

LambdaFunctionAssociations& Aws::CloudFront::Model::LambdaFunctionAssociations::WithItems ( Aws::Vector< LambdaFunctionAssociation > &&  value)
inline

Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.

Definition at line 112 of file LambdaFunctionAssociations.h.

◆ WithItems() [2/2]

LambdaFunctionAssociations& Aws::CloudFront::Model::LambdaFunctionAssociations::WithItems ( const Aws::Vector< LambdaFunctionAssociation > &  value)
inline

Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.

Definition at line 105 of file LambdaFunctionAssociations.h.

◆ WithQuantity()

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

The number of Lambda function associations for this cache behavior.

Definition at line 69 of file LambdaFunctionAssociations.h.


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