AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::Lightsail::Model::Origin Class Reference

#include <Origin.h>

Public Member Functions

 Origin ()
 
 Origin (Aws::Utils::Json::JsonView jsonValue)
 
Originoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
OriginWithName (const Aws::String &value)
 
OriginWithName (Aws::String &&value)
 
OriginWithName (const char *value)
 
const ResourceTypeGetResourceType () const
 
bool ResourceTypeHasBeenSet () const
 
void SetResourceType (const ResourceType &value)
 
void SetResourceType (ResourceType &&value)
 
OriginWithResourceType (const ResourceType &value)
 
OriginWithResourceType (ResourceType &&value)
 
const RegionNameGetRegionName () const
 
bool RegionNameHasBeenSet () const
 
void SetRegionName (const RegionName &value)
 
void SetRegionName (RegionName &&value)
 
OriginWithRegionName (const RegionName &value)
 
OriginWithRegionName (RegionName &&value)
 
const OriginProtocolPolicyEnumGetProtocolPolicy () const
 
bool ProtocolPolicyHasBeenSet () const
 
void SetProtocolPolicy (const OriginProtocolPolicyEnum &value)
 
void SetProtocolPolicy (OriginProtocolPolicyEnum &&value)
 
OriginWithProtocolPolicy (const OriginProtocolPolicyEnum &value)
 
OriginWithProtocolPolicy (OriginProtocolPolicyEnum &&value)
 

Detailed Description

Describes the origin resource of an Amazon Lightsail content delivery network (CDN) distribution.

An origin can be a Lightsail instance or load balancer. A distribution pulls content from an origin, caches it, and serves it to viewers via a worldwide network of edge servers.

See Also:

AWS API Reference

Definition at line 37 of file Origin.h.

Constructor & Destructor Documentation

◆ Origin() [1/2]

Aws::Lightsail::Model::Origin::Origin ( )

◆ Origin() [2/2]

Aws::Lightsail::Model::Origin::Origin ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetName()

const Aws::String& Aws::Lightsail::Model::Origin::GetName ( ) const
inline

The name of the origin resource.

Definition at line 49 of file Origin.h.

◆ GetProtocolPolicy()

const OriginProtocolPolicyEnum& Aws::Lightsail::Model::Origin::GetProtocolPolicy ( ) const
inline

The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.

Definition at line 153 of file Origin.h.

◆ GetRegionName()

const RegionName& Aws::Lightsail::Model::Origin::GetRegionName ( ) const
inline

The AWS Region name of the origin resource.

Definition at line 121 of file Origin.h.

◆ GetResourceType()

const ResourceType& Aws::Lightsail::Model::Origin::GetResourceType ( ) const
inline

The resource type of the origin resource (e.g., Instance).

Definition at line 90 of file Origin.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Lightsail::Model::Origin::Jsonize ( ) const

◆ NameHasBeenSet()

bool Aws::Lightsail::Model::Origin::NameHasBeenSet ( ) const
inline

The name of the origin resource.

Definition at line 54 of file Origin.h.

◆ operator=()

Origin& Aws::Lightsail::Model::Origin::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ProtocolPolicyHasBeenSet()

bool Aws::Lightsail::Model::Origin::ProtocolPolicyHasBeenSet ( ) const
inline

The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.

Definition at line 159 of file Origin.h.

◆ RegionNameHasBeenSet()

bool Aws::Lightsail::Model::Origin::RegionNameHasBeenSet ( ) const
inline

The AWS Region name of the origin resource.

Definition at line 126 of file Origin.h.

◆ ResourceTypeHasBeenSet()

bool Aws::Lightsail::Model::Origin::ResourceTypeHasBeenSet ( ) const
inline

The resource type of the origin resource (e.g., Instance).

Definition at line 95 of file Origin.h.

◆ SetName() [1/3]

void Aws::Lightsail::Model::Origin::SetName ( const Aws::String value)
inline

The name of the origin resource.

Definition at line 59 of file Origin.h.

◆ SetName() [2/3]

void Aws::Lightsail::Model::Origin::SetName ( Aws::String &&  value)
inline

The name of the origin resource.

Definition at line 64 of file Origin.h.

◆ SetName() [3/3]

void Aws::Lightsail::Model::Origin::SetName ( const char *  value)
inline

The name of the origin resource.

Definition at line 69 of file Origin.h.

◆ SetProtocolPolicy() [1/2]

void Aws::Lightsail::Model::Origin::SetProtocolPolicy ( const OriginProtocolPolicyEnum value)
inline

The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.

Definition at line 165 of file Origin.h.

◆ SetProtocolPolicy() [2/2]

void Aws::Lightsail::Model::Origin::SetProtocolPolicy ( OriginProtocolPolicyEnum &&  value)
inline

The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.

Definition at line 171 of file Origin.h.

◆ SetRegionName() [1/2]

void Aws::Lightsail::Model::Origin::SetRegionName ( const RegionName value)
inline

The AWS Region name of the origin resource.

Definition at line 131 of file Origin.h.

◆ SetRegionName() [2/2]

void Aws::Lightsail::Model::Origin::SetRegionName ( RegionName &&  value)
inline

The AWS Region name of the origin resource.

Definition at line 136 of file Origin.h.

◆ SetResourceType() [1/2]

void Aws::Lightsail::Model::Origin::SetResourceType ( const ResourceType value)
inline

The resource type of the origin resource (e.g., Instance).

Definition at line 100 of file Origin.h.

◆ SetResourceType() [2/2]

void Aws::Lightsail::Model::Origin::SetResourceType ( ResourceType &&  value)
inline

The resource type of the origin resource (e.g., Instance).

Definition at line 105 of file Origin.h.

◆ WithName() [1/3]

Origin& Aws::Lightsail::Model::Origin::WithName ( const Aws::String value)
inline

The name of the origin resource.

Definition at line 74 of file Origin.h.

◆ WithName() [2/3]

Origin& Aws::Lightsail::Model::Origin::WithName ( Aws::String &&  value)
inline

The name of the origin resource.

Definition at line 79 of file Origin.h.

◆ WithName() [3/3]

Origin& Aws::Lightsail::Model::Origin::WithName ( const char *  value)
inline

The name of the origin resource.

Definition at line 84 of file Origin.h.

◆ WithProtocolPolicy() [1/2]

Origin& Aws::Lightsail::Model::Origin::WithProtocolPolicy ( const OriginProtocolPolicyEnum value)
inline

The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.

Definition at line 177 of file Origin.h.

◆ WithProtocolPolicy() [2/2]

Origin& Aws::Lightsail::Model::Origin::WithProtocolPolicy ( OriginProtocolPolicyEnum &&  value)
inline

The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.

Definition at line 183 of file Origin.h.

◆ WithRegionName() [1/2]

Origin& Aws::Lightsail::Model::Origin::WithRegionName ( const RegionName value)
inline

The AWS Region name of the origin resource.

Definition at line 141 of file Origin.h.

◆ WithRegionName() [2/2]

Origin& Aws::Lightsail::Model::Origin::WithRegionName ( RegionName &&  value)
inline

The AWS Region name of the origin resource.

Definition at line 146 of file Origin.h.

◆ WithResourceType() [1/2]

Origin& Aws::Lightsail::Model::Origin::WithResourceType ( const ResourceType value)
inline

The resource type of the origin resource (e.g., Instance).

Definition at line 110 of file Origin.h.

◆ WithResourceType() [2/2]

Origin& Aws::Lightsail::Model::Origin::WithResourceType ( ResourceType &&  value)
inline

The resource type of the origin resource (e.g., Instance).

Definition at line 115 of file Origin.h.


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