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

#include <Bucket.h>

Public Member Functions

 Bucket ()
 
 Bucket (Aws::Utils::Json::JsonView jsonValue)
 
Bucketoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetResourceType () const
 
bool ResourceTypeHasBeenSet () const
 
void SetResourceType (const Aws::String &value)
 
void SetResourceType (Aws::String &&value)
 
void SetResourceType (const char *value)
 
BucketWithResourceType (const Aws::String &value)
 
BucketWithResourceType (Aws::String &&value)
 
BucketWithResourceType (const char *value)
 
const AccessRulesGetAccessRules () const
 
bool AccessRulesHasBeenSet () const
 
void SetAccessRules (const AccessRules &value)
 
void SetAccessRules (AccessRules &&value)
 
BucketWithAccessRules (const AccessRules &value)
 
BucketWithAccessRules (AccessRules &&value)
 
const Aws::StringGetArn () const
 
bool ArnHasBeenSet () const
 
void SetArn (const Aws::String &value)
 
void SetArn (Aws::String &&value)
 
void SetArn (const char *value)
 
BucketWithArn (const Aws::String &value)
 
BucketWithArn (Aws::String &&value)
 
BucketWithArn (const char *value)
 
const Aws::StringGetBundleId () const
 
bool BundleIdHasBeenSet () const
 
void SetBundleId (const Aws::String &value)
 
void SetBundleId (Aws::String &&value)
 
void SetBundleId (const char *value)
 
BucketWithBundleId (const Aws::String &value)
 
BucketWithBundleId (Aws::String &&value)
 
BucketWithBundleId (const char *value)
 
const Aws::Utils::DateTimeGetCreatedAt () const
 
bool CreatedAtHasBeenSet () const
 
void SetCreatedAt (const Aws::Utils::DateTime &value)
 
void SetCreatedAt (Aws::Utils::DateTime &&value)
 
BucketWithCreatedAt (const Aws::Utils::DateTime &value)
 
BucketWithCreatedAt (Aws::Utils::DateTime &&value)
 
const Aws::StringGetUrl () const
 
bool UrlHasBeenSet () const
 
void SetUrl (const Aws::String &value)
 
void SetUrl (Aws::String &&value)
 
void SetUrl (const char *value)
 
BucketWithUrl (const Aws::String &value)
 
BucketWithUrl (Aws::String &&value)
 
BucketWithUrl (const char *value)
 
const ResourceLocationGetLocation () const
 
bool LocationHasBeenSet () const
 
void SetLocation (const ResourceLocation &value)
 
void SetLocation (ResourceLocation &&value)
 
BucketWithLocation (const ResourceLocation &value)
 
BucketWithLocation (ResourceLocation &&value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
BucketWithName (const Aws::String &value)
 
BucketWithName (Aws::String &&value)
 
BucketWithName (const char *value)
 
const Aws::StringGetSupportCode () const
 
bool SupportCodeHasBeenSet () const
 
void SetSupportCode (const Aws::String &value)
 
void SetSupportCode (Aws::String &&value)
 
void SetSupportCode (const char *value)
 
BucketWithSupportCode (const Aws::String &value)
 
BucketWithSupportCode (Aws::String &&value)
 
BucketWithSupportCode (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
BucketWithTags (const Aws::Vector< Tag > &value)
 
BucketWithTags (Aws::Vector< Tag > &&value)
 
BucketAddTags (const Tag &value)
 
BucketAddTags (Tag &&value)
 
const Aws::StringGetObjectVersioning () const
 
bool ObjectVersioningHasBeenSet () const
 
void SetObjectVersioning (const Aws::String &value)
 
void SetObjectVersioning (Aws::String &&value)
 
void SetObjectVersioning (const char *value)
 
BucketWithObjectVersioning (const Aws::String &value)
 
BucketWithObjectVersioning (Aws::String &&value)
 
BucketWithObjectVersioning (const char *value)
 
bool GetAbleToUpdateBundle () const
 
bool AbleToUpdateBundleHasBeenSet () const
 
void SetAbleToUpdateBundle (bool value)
 
BucketWithAbleToUpdateBundle (bool value)
 
const Aws::Vector< Aws::String > & GetReadonlyAccessAccounts () const
 
bool ReadonlyAccessAccountsHasBeenSet () const
 
void SetReadonlyAccessAccounts (const Aws::Vector< Aws::String > &value)
 
void SetReadonlyAccessAccounts (Aws::Vector< Aws::String > &&value)
 
BucketWithReadonlyAccessAccounts (const Aws::Vector< Aws::String > &value)
 
BucketWithReadonlyAccessAccounts (Aws::Vector< Aws::String > &&value)
 
BucketAddReadonlyAccessAccounts (const Aws::String &value)
 
BucketAddReadonlyAccessAccounts (Aws::String &&value)
 
BucketAddReadonlyAccessAccounts (const char *value)
 
const Aws::Vector< ResourceReceivingAccess > & GetResourcesReceivingAccess () const
 
bool ResourcesReceivingAccessHasBeenSet () const
 
void SetResourcesReceivingAccess (const Aws::Vector< ResourceReceivingAccess > &value)
 
void SetResourcesReceivingAccess (Aws::Vector< ResourceReceivingAccess > &&value)
 
BucketWithResourcesReceivingAccess (const Aws::Vector< ResourceReceivingAccess > &value)
 
BucketWithResourcesReceivingAccess (Aws::Vector< ResourceReceivingAccess > &&value)
 
BucketAddResourcesReceivingAccess (const ResourceReceivingAccess &value)
 
BucketAddResourcesReceivingAccess (ResourceReceivingAccess &&value)
 
const BucketStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const BucketState &value)
 
void SetState (BucketState &&value)
 
BucketWithState (const BucketState &value)
 
BucketWithState (BucketState &&value)
 

Detailed Description

Describes an Amazon Lightsail bucket.

See Also:

AWS API Reference

Definition at line 38 of file Bucket.h.

Constructor & Destructor Documentation

◆ Bucket() [1/2]

Aws::Lightsail::Model::Bucket::Bucket ( )

◆ Bucket() [2/2]

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

Member Function Documentation

◆ AbleToUpdateBundleHasBeenSet()

bool Aws::Lightsail::Model::Bucket::AbleToUpdateBundleHasBeenSet ( ) const
inline

Indicates whether the bundle that is currently applied to a bucket can be changed to another bundle.

You can update a bucket's bundle only one time within a monthly AWS billing cycle.

Use the UpdateBucketBundle action to change a bucket's bundle.

Definition at line 574 of file Bucket.h.

◆ AccessRulesHasBeenSet()

bool Aws::Lightsail::Model::Bucket::AccessRulesHasBeenSet ( ) const
inline

An object that describes the access rules of the bucket.

Definition at line 104 of file Bucket.h.

◆ AddReadonlyAccessAccounts() [1/3]

Bucket& Aws::Lightsail::Model::Bucket::AddReadonlyAccessAccounts ( Aws::String &&  value)
inline

An array of strings that specify the AWS account IDs that have read-only access to the bucket.

Definition at line 639 of file Bucket.h.

◆ AddReadonlyAccessAccounts() [2/3]

Bucket& Aws::Lightsail::Model::Bucket::AddReadonlyAccessAccounts ( const Aws::String value)
inline

An array of strings that specify the AWS account IDs that have read-only access to the bucket.

Definition at line 633 of file Bucket.h.

◆ AddReadonlyAccessAccounts() [3/3]

Bucket& Aws::Lightsail::Model::Bucket::AddReadonlyAccessAccounts ( const char *  value)
inline

An array of strings that specify the AWS account IDs that have read-only access to the bucket.

Definition at line 645 of file Bucket.h.

◆ AddResourcesReceivingAccess() [1/2]

Bucket& Aws::Lightsail::Model::Bucket::AddResourcesReceivingAccess ( const ResourceReceivingAccess value)
inline

An array of objects that describe Lightsail instances that have access to the bucket.

Use the SetResourceAccessForBucket action to update the instances that have access to a bucket.

Definition at line 695 of file Bucket.h.

◆ AddResourcesReceivingAccess() [2/2]

Bucket& Aws::Lightsail::Model::Bucket::AddResourcesReceivingAccess ( ResourceReceivingAccess &&  value)
inline

An array of objects that describe Lightsail instances that have access to the bucket.

Use the SetResourceAccessForBucket action to update the instances that have access to a bucket.

Definition at line 702 of file Bucket.h.

◆ AddTags() [1/2]

Bucket& Aws::Lightsail::Model::Bucket::AddTags ( const Tag value)
inline

The tag keys and optional values for the bucket. For more information, see Tags in Amazon Lightsail in the Amazon Lightsail Developer Guide.

Definition at line 469 of file Bucket.h.

◆ AddTags() [2/2]

Bucket& Aws::Lightsail::Model::Bucket::AddTags ( Tag &&  value)
inline

The tag keys and optional values for the bucket. For more information, see Tags in Amazon Lightsail in the Amazon Lightsail Developer Guide.

Definition at line 476 of file Bucket.h.

◆ ArnHasBeenSet()

bool Aws::Lightsail::Model::Bucket::ArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the bucket.

Definition at line 135 of file Bucket.h.

◆ BundleIdHasBeenSet()

bool Aws::Lightsail::Model::Bucket::BundleIdHasBeenSet ( ) const
inline

The ID of the bundle currently applied to the bucket.

A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket.

Use the UpdateBucketBundle action to change the bundle of a bucket.

Definition at line 182 of file Bucket.h.

◆ CreatedAtHasBeenSet()

bool Aws::Lightsail::Model::Bucket::CreatedAtHasBeenSet ( ) const
inline

The timestamp when the distribution was created.

Definition at line 241 of file Bucket.h.

◆ GetAbleToUpdateBundle()

bool Aws::Lightsail::Model::Bucket::GetAbleToUpdateBundle ( ) const
inline

Indicates whether the bundle that is currently applied to a bucket can be changed to another bundle.

You can update a bucket's bundle only one time within a monthly AWS billing cycle.

Use the UpdateBucketBundle action to change a bucket's bundle.

Definition at line 566 of file Bucket.h.

◆ GetAccessRules()

const AccessRules& Aws::Lightsail::Model::Bucket::GetAccessRules ( ) const
inline

An object that describes the access rules of the bucket.

Definition at line 99 of file Bucket.h.

◆ GetArn()

const Aws::String& Aws::Lightsail::Model::Bucket::GetArn ( ) const
inline

The Amazon Resource Name (ARN) of the bucket.

Definition at line 130 of file Bucket.h.

◆ GetBundleId()

const Aws::String& Aws::Lightsail::Model::Bucket::GetBundleId ( ) const
inline

The ID of the bundle currently applied to the bucket.

A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket.

Use the UpdateBucketBundle action to change the bundle of a bucket.

Definition at line 174 of file Bucket.h.

◆ GetCreatedAt()

const Aws::Utils::DateTime& Aws::Lightsail::Model::Bucket::GetCreatedAt ( ) const
inline

The timestamp when the distribution was created.

Definition at line 236 of file Bucket.h.

◆ GetLocation()

const ResourceLocation& Aws::Lightsail::Model::Bucket::GetLocation ( ) const
inline

Definition at line 306 of file Bucket.h.

◆ GetName()

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

The name of the bucket.

Definition at line 327 of file Bucket.h.

◆ GetObjectVersioning()

const Aws::String& Aws::Lightsail::Model::Bucket::GetObjectVersioning ( ) const
inline

Indicates whether object versioning is enabled for the bucket.

The following options can be configured:

  • Enabled - Object versioning is enabled.

  • Suspended - Object versioning was previously enabled but is currently suspended. Existing object versions are retained.

  • NeverEnabled - Object versioning has never been enabled.

Definition at line 487 of file Bucket.h.

◆ GetReadonlyAccessAccounts()

const Aws::Vector<Aws::String>& Aws::Lightsail::Model::Bucket::GetReadonlyAccessAccounts ( ) const
inline

An array of strings that specify the AWS account IDs that have read-only access to the bucket.

Definition at line 597 of file Bucket.h.

◆ GetResourcesReceivingAccess()

const Aws::Vector<ResourceReceivingAccess>& Aws::Lightsail::Model::Bucket::GetResourcesReceivingAccess ( ) const
inline

An array of objects that describe Lightsail instances that have access to the bucket.

Use the SetResourceAccessForBucket action to update the instances that have access to a bucket.

Definition at line 653 of file Bucket.h.

◆ GetResourceType()

const Aws::String& Aws::Lightsail::Model::Bucket::GetResourceType ( ) const
inline

The Lightsail resource type of the bucket (for example, Bucket).

Definition at line 51 of file Bucket.h.

◆ GetState()

const BucketState& Aws::Lightsail::Model::Bucket::GetState ( ) const
inline

An object that describes the state of the bucket.

Definition at line 708 of file Bucket.h.

◆ GetSupportCode()

const Aws::String& Aws::Lightsail::Model::Bucket::GetSupportCode ( ) const
inline

The support code for a bucket. Include this code in your email to support when you have questions about a Lightsail bucket. This code enables our support team to look up your Lightsail information more easily.

Definition at line 370 of file Bucket.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::Lightsail::Model::Bucket::GetTags ( ) const
inline

The tag keys and optional values for the bucket. For more information, see Tags in Amazon Lightsail in the Amazon Lightsail Developer Guide.

Definition at line 427 of file Bucket.h.

◆ GetUrl()

const Aws::String& Aws::Lightsail::Model::Bucket::GetUrl ( ) const
inline

The URL of the bucket.

Definition at line 267 of file Bucket.h.

◆ Jsonize()

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

◆ LocationHasBeenSet()

bool Aws::Lightsail::Model::Bucket::LocationHasBeenSet ( ) const
inline

Definition at line 309 of file Bucket.h.

◆ NameHasBeenSet()

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

The name of the bucket.

Definition at line 332 of file Bucket.h.

◆ ObjectVersioningHasBeenSet()

bool Aws::Lightsail::Model::Bucket::ObjectVersioningHasBeenSet ( ) const
inline

Indicates whether object versioning is enabled for the bucket.

The following options can be configured:

  • Enabled - Object versioning is enabled.

  • Suspended - Object versioning was previously enabled but is currently suspended. Existing object versions are retained.

  • NeverEnabled - Object versioning has never been enabled.

Definition at line 497 of file Bucket.h.

◆ operator=()

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

◆ ReadonlyAccessAccountsHasBeenSet()

bool Aws::Lightsail::Model::Bucket::ReadonlyAccessAccountsHasBeenSet ( ) const
inline

An array of strings that specify the AWS account IDs that have read-only access to the bucket.

Definition at line 603 of file Bucket.h.

◆ ResourcesReceivingAccessHasBeenSet()

bool Aws::Lightsail::Model::Bucket::ResourcesReceivingAccessHasBeenSet ( ) const
inline

An array of objects that describe Lightsail instances that have access to the bucket.

Use the SetResourceAccessForBucket action to update the instances that have access to a bucket.

Definition at line 660 of file Bucket.h.

◆ ResourceTypeHasBeenSet()

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

The Lightsail resource type of the bucket (for example, Bucket).

Definition at line 57 of file Bucket.h.

◆ SetAbleToUpdateBundle()

void Aws::Lightsail::Model::Bucket::SetAbleToUpdateBundle ( bool  value)
inline

Indicates whether the bundle that is currently applied to a bucket can be changed to another bundle.

You can update a bucket's bundle only one time within a monthly AWS billing cycle.

Use the UpdateBucketBundle action to change a bucket's bundle.

Definition at line 582 of file Bucket.h.

◆ SetAccessRules() [1/2]

void Aws::Lightsail::Model::Bucket::SetAccessRules ( AccessRules &&  value)
inline

An object that describes the access rules of the bucket.

Definition at line 114 of file Bucket.h.

◆ SetAccessRules() [2/2]

void Aws::Lightsail::Model::Bucket::SetAccessRules ( const AccessRules value)
inline

An object that describes the access rules of the bucket.

Definition at line 109 of file Bucket.h.

◆ SetArn() [1/3]

void Aws::Lightsail::Model::Bucket::SetArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the bucket.

Definition at line 145 of file Bucket.h.

◆ SetArn() [2/3]

void Aws::Lightsail::Model::Bucket::SetArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the bucket.

Definition at line 140 of file Bucket.h.

◆ SetArn() [3/3]

void Aws::Lightsail::Model::Bucket::SetArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the bucket.

Definition at line 150 of file Bucket.h.

◆ SetBundleId() [1/3]

void Aws::Lightsail::Model::Bucket::SetBundleId ( Aws::String &&  value)
inline

The ID of the bundle currently applied to the bucket.

A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket.

Use the UpdateBucketBundle action to change the bundle of a bucket.

Definition at line 198 of file Bucket.h.

◆ SetBundleId() [2/3]

void Aws::Lightsail::Model::Bucket::SetBundleId ( const Aws::String value)
inline

The ID of the bundle currently applied to the bucket.

A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket.

Use the UpdateBucketBundle action to change the bundle of a bucket.

Definition at line 190 of file Bucket.h.

◆ SetBundleId() [3/3]

void Aws::Lightsail::Model::Bucket::SetBundleId ( const char *  value)
inline

The ID of the bundle currently applied to the bucket.

A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket.

Use the UpdateBucketBundle action to change the bundle of a bucket.

Definition at line 206 of file Bucket.h.

◆ SetCreatedAt() [1/2]

void Aws::Lightsail::Model::Bucket::SetCreatedAt ( Aws::Utils::DateTime &&  value)
inline

The timestamp when the distribution was created.

Definition at line 251 of file Bucket.h.

◆ SetCreatedAt() [2/2]

void Aws::Lightsail::Model::Bucket::SetCreatedAt ( const Aws::Utils::DateTime value)
inline

The timestamp when the distribution was created.

Definition at line 246 of file Bucket.h.

◆ SetLocation() [1/2]

void Aws::Lightsail::Model::Bucket::SetLocation ( const ResourceLocation value)
inline

Definition at line 312 of file Bucket.h.

◆ SetLocation() [2/2]

void Aws::Lightsail::Model::Bucket::SetLocation ( ResourceLocation &&  value)
inline

Definition at line 315 of file Bucket.h.

◆ SetName() [1/3]

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

The name of the bucket.

Definition at line 342 of file Bucket.h.

◆ SetName() [2/3]

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

The name of the bucket.

Definition at line 337 of file Bucket.h.

◆ SetName() [3/3]

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

The name of the bucket.

Definition at line 347 of file Bucket.h.

◆ SetObjectVersioning() [1/3]

void Aws::Lightsail::Model::Bucket::SetObjectVersioning ( Aws::String &&  value)
inline

Indicates whether object versioning is enabled for the bucket.

The following options can be configured:

  • Enabled - Object versioning is enabled.

  • Suspended - Object versioning was previously enabled but is currently suspended. Existing object versions are retained.

  • NeverEnabled - Object versioning has never been enabled.

Definition at line 517 of file Bucket.h.

◆ SetObjectVersioning() [2/3]

void Aws::Lightsail::Model::Bucket::SetObjectVersioning ( const Aws::String value)
inline

Indicates whether object versioning is enabled for the bucket.

The following options can be configured:

  • Enabled - Object versioning is enabled.

  • Suspended - Object versioning was previously enabled but is currently suspended. Existing object versions are retained.

  • NeverEnabled - Object versioning has never been enabled.

Definition at line 507 of file Bucket.h.

◆ SetObjectVersioning() [3/3]

void Aws::Lightsail::Model::Bucket::SetObjectVersioning ( const char *  value)
inline

Indicates whether object versioning is enabled for the bucket.

The following options can be configured:

  • Enabled - Object versioning is enabled.

  • Suspended - Object versioning was previously enabled but is currently suspended. Existing object versions are retained.

  • NeverEnabled - Object versioning has never been enabled.

Definition at line 527 of file Bucket.h.

◆ SetReadonlyAccessAccounts() [1/2]

void Aws::Lightsail::Model::Bucket::SetReadonlyAccessAccounts ( Aws::Vector< Aws::String > &&  value)
inline

An array of strings that specify the AWS account IDs that have read-only access to the bucket.

Definition at line 615 of file Bucket.h.

◆ SetReadonlyAccessAccounts() [2/2]

void Aws::Lightsail::Model::Bucket::SetReadonlyAccessAccounts ( const Aws::Vector< Aws::String > &  value)
inline

An array of strings that specify the AWS account IDs that have read-only access to the bucket.

Definition at line 609 of file Bucket.h.

◆ SetResourcesReceivingAccess() [1/2]

void Aws::Lightsail::Model::Bucket::SetResourcesReceivingAccess ( Aws::Vector< ResourceReceivingAccess > &&  value)
inline

An array of objects that describe Lightsail instances that have access to the bucket.

Use the SetResourceAccessForBucket action to update the instances that have access to a bucket.

Definition at line 674 of file Bucket.h.

◆ SetResourcesReceivingAccess() [2/2]

void Aws::Lightsail::Model::Bucket::SetResourcesReceivingAccess ( const Aws::Vector< ResourceReceivingAccess > &  value)
inline

An array of objects that describe Lightsail instances that have access to the bucket.

Use the SetResourceAccessForBucket action to update the instances that have access to a bucket.

Definition at line 667 of file Bucket.h.

◆ SetResourceType() [1/3]

void Aws::Lightsail::Model::Bucket::SetResourceType ( Aws::String &&  value)
inline

The Lightsail resource type of the bucket (for example, Bucket).

Definition at line 69 of file Bucket.h.

◆ SetResourceType() [2/3]

void Aws::Lightsail::Model::Bucket::SetResourceType ( const Aws::String value)
inline

The Lightsail resource type of the bucket (for example, Bucket).

Definition at line 63 of file Bucket.h.

◆ SetResourceType() [3/3]

void Aws::Lightsail::Model::Bucket::SetResourceType ( const char *  value)
inline

The Lightsail resource type of the bucket (for example, Bucket).

Definition at line 75 of file Bucket.h.

◆ SetState() [1/2]

void Aws::Lightsail::Model::Bucket::SetState ( BucketState &&  value)
inline

An object that describes the state of the bucket.

Definition at line 723 of file Bucket.h.

◆ SetState() [2/2]

void Aws::Lightsail::Model::Bucket::SetState ( const BucketState value)
inline

An object that describes the state of the bucket.

Definition at line 718 of file Bucket.h.

◆ SetSupportCode() [1/3]

void Aws::Lightsail::Model::Bucket::SetSupportCode ( Aws::String &&  value)
inline

The support code for a bucket. Include this code in your email to support when you have questions about a Lightsail bucket. This code enables our support team to look up your Lightsail information more easily.

Definition at line 391 of file Bucket.h.

◆ SetSupportCode() [2/3]

void Aws::Lightsail::Model::Bucket::SetSupportCode ( const Aws::String value)
inline

The support code for a bucket. Include this code in your email to support when you have questions about a Lightsail bucket. This code enables our support team to look up your Lightsail information more easily.

Definition at line 384 of file Bucket.h.

◆ SetSupportCode() [3/3]

void Aws::Lightsail::Model::Bucket::SetSupportCode ( const char *  value)
inline

The support code for a bucket. Include this code in your email to support when you have questions about a Lightsail bucket. This code enables our support team to look up your Lightsail information more easily.

Definition at line 398 of file Bucket.h.

◆ SetTags() [1/2]

void Aws::Lightsail::Model::Bucket::SetTags ( Aws::Vector< Tag > &&  value)
inline

The tag keys and optional values for the bucket. For more information, see Tags in Amazon Lightsail in the Amazon Lightsail Developer Guide.

Definition at line 448 of file Bucket.h.

◆ SetTags() [2/2]

void Aws::Lightsail::Model::Bucket::SetTags ( const Aws::Vector< Tag > &  value)
inline

The tag keys and optional values for the bucket. For more information, see Tags in Amazon Lightsail in the Amazon Lightsail Developer Guide.

Definition at line 441 of file Bucket.h.

◆ SetUrl() [1/3]

void Aws::Lightsail::Model::Bucket::SetUrl ( Aws::String &&  value)
inline

The URL of the bucket.

Definition at line 282 of file Bucket.h.

◆ SetUrl() [2/3]

void Aws::Lightsail::Model::Bucket::SetUrl ( const Aws::String value)
inline

The URL of the bucket.

Definition at line 277 of file Bucket.h.

◆ SetUrl() [3/3]

void Aws::Lightsail::Model::Bucket::SetUrl ( const char *  value)
inline

The URL of the bucket.

Definition at line 287 of file Bucket.h.

◆ StateHasBeenSet()

bool Aws::Lightsail::Model::Bucket::StateHasBeenSet ( ) const
inline

An object that describes the state of the bucket.

Definition at line 713 of file Bucket.h.

◆ SupportCodeHasBeenSet()

bool Aws::Lightsail::Model::Bucket::SupportCodeHasBeenSet ( ) const
inline

The support code for a bucket. Include this code in your email to support when you have questions about a Lightsail bucket. This code enables our support team to look up your Lightsail information more easily.

Definition at line 377 of file Bucket.h.

◆ TagsHasBeenSet()

bool Aws::Lightsail::Model::Bucket::TagsHasBeenSet ( ) const
inline

The tag keys and optional values for the bucket. For more information, see Tags in Amazon Lightsail in the Amazon Lightsail Developer Guide.

Definition at line 434 of file Bucket.h.

◆ UrlHasBeenSet()

bool Aws::Lightsail::Model::Bucket::UrlHasBeenSet ( ) const
inline

The URL of the bucket.

Definition at line 272 of file Bucket.h.

◆ WithAbleToUpdateBundle()

Bucket& Aws::Lightsail::Model::Bucket::WithAbleToUpdateBundle ( bool  value)
inline

Indicates whether the bundle that is currently applied to a bucket can be changed to another bundle.

You can update a bucket's bundle only one time within a monthly AWS billing cycle.

Use the UpdateBucketBundle action to change a bucket's bundle.

Definition at line 590 of file Bucket.h.

◆ WithAccessRules() [1/2]

Bucket& Aws::Lightsail::Model::Bucket::WithAccessRules ( AccessRules &&  value)
inline

An object that describes the access rules of the bucket.

Definition at line 124 of file Bucket.h.

◆ WithAccessRules() [2/2]

Bucket& Aws::Lightsail::Model::Bucket::WithAccessRules ( const AccessRules value)
inline

An object that describes the access rules of the bucket.

Definition at line 119 of file Bucket.h.

◆ WithArn() [1/3]

Bucket& Aws::Lightsail::Model::Bucket::WithArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the bucket.

Definition at line 160 of file Bucket.h.

◆ WithArn() [2/3]

Bucket& Aws::Lightsail::Model::Bucket::WithArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the bucket.

Definition at line 155 of file Bucket.h.

◆ WithArn() [3/3]

Bucket& Aws::Lightsail::Model::Bucket::WithArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the bucket.

Definition at line 165 of file Bucket.h.

◆ WithBundleId() [1/3]

Bucket& Aws::Lightsail::Model::Bucket::WithBundleId ( Aws::String &&  value)
inline

The ID of the bundle currently applied to the bucket.

A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket.

Use the UpdateBucketBundle action to change the bundle of a bucket.

Definition at line 222 of file Bucket.h.

◆ WithBundleId() [2/3]

Bucket& Aws::Lightsail::Model::Bucket::WithBundleId ( const Aws::String value)
inline

The ID of the bundle currently applied to the bucket.

A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket.

Use the UpdateBucketBundle action to change the bundle of a bucket.

Definition at line 214 of file Bucket.h.

◆ WithBundleId() [3/3]

Bucket& Aws::Lightsail::Model::Bucket::WithBundleId ( const char *  value)
inline

The ID of the bundle currently applied to the bucket.

A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket.

Use the UpdateBucketBundle action to change the bundle of a bucket.

Definition at line 230 of file Bucket.h.

◆ WithCreatedAt() [1/2]

Bucket& Aws::Lightsail::Model::Bucket::WithCreatedAt ( Aws::Utils::DateTime &&  value)
inline

The timestamp when the distribution was created.

Definition at line 261 of file Bucket.h.

◆ WithCreatedAt() [2/2]

Bucket& Aws::Lightsail::Model::Bucket::WithCreatedAt ( const Aws::Utils::DateTime value)
inline

The timestamp when the distribution was created.

Definition at line 256 of file Bucket.h.

◆ WithLocation() [1/2]

Bucket& Aws::Lightsail::Model::Bucket::WithLocation ( const ResourceLocation value)
inline

Definition at line 318 of file Bucket.h.

◆ WithLocation() [2/2]

Bucket& Aws::Lightsail::Model::Bucket::WithLocation ( ResourceLocation &&  value)
inline

Definition at line 321 of file Bucket.h.

◆ WithName() [1/3]

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

The name of the bucket.

Definition at line 357 of file Bucket.h.

◆ WithName() [2/3]

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

The name of the bucket.

Definition at line 352 of file Bucket.h.

◆ WithName() [3/3]

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

The name of the bucket.

Definition at line 362 of file Bucket.h.

◆ WithObjectVersioning() [1/3]

Bucket& Aws::Lightsail::Model::Bucket::WithObjectVersioning ( Aws::String &&  value)
inline

Indicates whether object versioning is enabled for the bucket.

The following options can be configured:

  • Enabled - Object versioning is enabled.

  • Suspended - Object versioning was previously enabled but is currently suspended. Existing object versions are retained.

  • NeverEnabled - Object versioning has never been enabled.

Definition at line 547 of file Bucket.h.

◆ WithObjectVersioning() [2/3]

Bucket& Aws::Lightsail::Model::Bucket::WithObjectVersioning ( const Aws::String value)
inline

Indicates whether object versioning is enabled for the bucket.

The following options can be configured:

  • Enabled - Object versioning is enabled.

  • Suspended - Object versioning was previously enabled but is currently suspended. Existing object versions are retained.

  • NeverEnabled - Object versioning has never been enabled.

Definition at line 537 of file Bucket.h.

◆ WithObjectVersioning() [3/3]

Bucket& Aws::Lightsail::Model::Bucket::WithObjectVersioning ( const char *  value)
inline

Indicates whether object versioning is enabled for the bucket.

The following options can be configured:

  • Enabled - Object versioning is enabled.

  • Suspended - Object versioning was previously enabled but is currently suspended. Existing object versions are retained.

  • NeverEnabled - Object versioning has never been enabled.

Definition at line 557 of file Bucket.h.

◆ WithReadonlyAccessAccounts() [1/2]

Bucket& Aws::Lightsail::Model::Bucket::WithReadonlyAccessAccounts ( Aws::Vector< Aws::String > &&  value)
inline

An array of strings that specify the AWS account IDs that have read-only access to the bucket.

Definition at line 627 of file Bucket.h.

◆ WithReadonlyAccessAccounts() [2/2]

Bucket& Aws::Lightsail::Model::Bucket::WithReadonlyAccessAccounts ( const Aws::Vector< Aws::String > &  value)
inline

An array of strings that specify the AWS account IDs that have read-only access to the bucket.

Definition at line 621 of file Bucket.h.

◆ WithResourcesReceivingAccess() [1/2]

Bucket& Aws::Lightsail::Model::Bucket::WithResourcesReceivingAccess ( Aws::Vector< ResourceReceivingAccess > &&  value)
inline

An array of objects that describe Lightsail instances that have access to the bucket.

Use the SetResourceAccessForBucket action to update the instances that have access to a bucket.

Definition at line 688 of file Bucket.h.

◆ WithResourcesReceivingAccess() [2/2]

Bucket& Aws::Lightsail::Model::Bucket::WithResourcesReceivingAccess ( const Aws::Vector< ResourceReceivingAccess > &  value)
inline

An array of objects that describe Lightsail instances that have access to the bucket.

Use the SetResourceAccessForBucket action to update the instances that have access to a bucket.

Definition at line 681 of file Bucket.h.

◆ WithResourceType() [1/3]

Bucket& Aws::Lightsail::Model::Bucket::WithResourceType ( Aws::String &&  value)
inline

The Lightsail resource type of the bucket (for example, Bucket).

Definition at line 87 of file Bucket.h.

◆ WithResourceType() [2/3]

Bucket& Aws::Lightsail::Model::Bucket::WithResourceType ( const Aws::String value)
inline

The Lightsail resource type of the bucket (for example, Bucket).

Definition at line 81 of file Bucket.h.

◆ WithResourceType() [3/3]

Bucket& Aws::Lightsail::Model::Bucket::WithResourceType ( const char *  value)
inline

The Lightsail resource type of the bucket (for example, Bucket).

Definition at line 93 of file Bucket.h.

◆ WithState() [1/2]

Bucket& Aws::Lightsail::Model::Bucket::WithState ( BucketState &&  value)
inline

An object that describes the state of the bucket.

Definition at line 733 of file Bucket.h.

◆ WithState() [2/2]

Bucket& Aws::Lightsail::Model::Bucket::WithState ( const BucketState value)
inline

An object that describes the state of the bucket.

Definition at line 728 of file Bucket.h.

◆ WithSupportCode() [1/3]

Bucket& Aws::Lightsail::Model::Bucket::WithSupportCode ( Aws::String &&  value)
inline

The support code for a bucket. Include this code in your email to support when you have questions about a Lightsail bucket. This code enables our support team to look up your Lightsail information more easily.

Definition at line 412 of file Bucket.h.

◆ WithSupportCode() [2/3]

Bucket& Aws::Lightsail::Model::Bucket::WithSupportCode ( const Aws::String value)
inline

The support code for a bucket. Include this code in your email to support when you have questions about a Lightsail bucket. This code enables our support team to look up your Lightsail information more easily.

Definition at line 405 of file Bucket.h.

◆ WithSupportCode() [3/3]

Bucket& Aws::Lightsail::Model::Bucket::WithSupportCode ( const char *  value)
inline

The support code for a bucket. Include this code in your email to support when you have questions about a Lightsail bucket. This code enables our support team to look up your Lightsail information more easily.

Definition at line 419 of file Bucket.h.

◆ WithTags() [1/2]

Bucket& Aws::Lightsail::Model::Bucket::WithTags ( Aws::Vector< Tag > &&  value)
inline

The tag keys and optional values for the bucket. For more information, see Tags in Amazon Lightsail in the Amazon Lightsail Developer Guide.

Definition at line 462 of file Bucket.h.

◆ WithTags() [2/2]

Bucket& Aws::Lightsail::Model::Bucket::WithTags ( const Aws::Vector< Tag > &  value)
inline

The tag keys and optional values for the bucket. For more information, see Tags in Amazon Lightsail in the Amazon Lightsail Developer Guide.

Definition at line 455 of file Bucket.h.

◆ WithUrl() [1/3]

Bucket& Aws::Lightsail::Model::Bucket::WithUrl ( Aws::String &&  value)
inline

The URL of the bucket.

Definition at line 297 of file Bucket.h.

◆ WithUrl() [2/3]

Bucket& Aws::Lightsail::Model::Bucket::WithUrl ( const Aws::String value)
inline

The URL of the bucket.

Definition at line 292 of file Bucket.h.

◆ WithUrl() [3/3]

Bucket& Aws::Lightsail::Model::Bucket::WithUrl ( const char *  value)
inline

The URL of the bucket.

Definition at line 302 of file Bucket.h.


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