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

#include <TrustedSigners.h>

Public Member Functions

 TrustedSigners ()
 
 TrustedSigners (const Aws::Utils::Xml::XmlNode &xmlNode)
 
TrustedSignersoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
bool GetEnabled () const
 
void SetEnabled (bool value)
 
TrustedSignersWithEnabled (bool value)
 
long GetQuantity () const
 
void SetQuantity (long value)
 
TrustedSignersWithQuantity (long value)
 
const Aws::Vector< Aws::String > & GetItems () const
 
void SetItems (const Aws::Vector< Aws::String > &value)
 
void SetItems (Aws::Vector< Aws::String > &&value)
 
TrustedSignersWithItems (const Aws::Vector< Aws::String > &value)
 
TrustedSignersWithItems (Aws::Vector< Aws::String > &&value)
 
TrustedSignersAddItems (const Aws::String &value)
 
TrustedSignersAddItems (Aws::String &&value)
 
TrustedSignersAddItems (const char *value)
 

Detailed Description

A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

Definition at line 47 of file TrustedSigners.h.

Constructor & Destructor Documentation

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

Member Function Documentation

TrustedSigners& Aws::CloudFront::Model::TrustedSigners::AddItems ( const Aws::String value)
inline

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

Definition at line 123 of file TrustedSigners.h.

TrustedSigners& Aws::CloudFront::Model::TrustedSigners::AddItems ( Aws::String &&  value)
inline

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

Definition at line 129 of file TrustedSigners.h.

TrustedSigners& Aws::CloudFront::Model::TrustedSigners::AddItems ( const char *  value)
inline

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

Definition at line 135 of file TrustedSigners.h.

void Aws::CloudFront::Model::TrustedSigners::AddToNode ( Aws::Utils::Xml::XmlNode parentNode) const
bool Aws::CloudFront::Model::TrustedSigners::GetEnabled ( ) const
inline

Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.

Definition at line 60 of file TrustedSigners.h.

const Aws::Vector<Aws::String>& Aws::CloudFront::Model::TrustedSigners::GetItems ( ) const
inline

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

Definition at line 93 of file TrustedSigners.h.

long Aws::CloudFront::Model::TrustedSigners::GetQuantity ( ) const
inline

The number of trusted signers for this cache behavior.

Definition at line 77 of file TrustedSigners.h.

TrustedSigners& Aws::CloudFront::Model::TrustedSigners::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)
void Aws::CloudFront::Model::TrustedSigners::SetEnabled ( bool  value)
inline

Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.

Definition at line 66 of file TrustedSigners.h.

void Aws::CloudFront::Model::TrustedSigners::SetItems ( const Aws::Vector< Aws::String > &  value)
inline

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

Definition at line 99 of file TrustedSigners.h.

void Aws::CloudFront::Model::TrustedSigners::SetItems ( Aws::Vector< Aws::String > &&  value)
inline

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

Definition at line 105 of file TrustedSigners.h.

void Aws::CloudFront::Model::TrustedSigners::SetQuantity ( long  value)
inline

The number of trusted signers for this cache behavior.

Definition at line 82 of file TrustedSigners.h.

TrustedSigners& Aws::CloudFront::Model::TrustedSigners::WithEnabled ( bool  value)
inline

Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.

Definition at line 72 of file TrustedSigners.h.

TrustedSigners& Aws::CloudFront::Model::TrustedSigners::WithItems ( const Aws::Vector< Aws::String > &  value)
inline

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

Definition at line 111 of file TrustedSigners.h.

TrustedSigners& Aws::CloudFront::Model::TrustedSigners::WithItems ( Aws::Vector< Aws::String > &&  value)
inline

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

Definition at line 117 of file TrustedSigners.h.

TrustedSigners& Aws::CloudFront::Model::TrustedSigners::WithQuantity ( long  value)
inline

The number of trusted signers for this cache behavior.

Definition at line 87 of file TrustedSigners.h.


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