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

#include <BucketPolicy.h>

Public Member Functions

 BucketPolicy ()
 
 BucketPolicy (Aws::Utils::Json::JsonView jsonValue)
 
BucketPolicyoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
bool GetAllowsPublicReadAccess () const
 
bool AllowsPublicReadAccessHasBeenSet () const
 
void SetAllowsPublicReadAccess (bool value)
 
BucketPolicyWithAllowsPublicReadAccess (bool value)
 
bool GetAllowsPublicWriteAccess () const
 
bool AllowsPublicWriteAccessHasBeenSet () const
 
void SetAllowsPublicWriteAccess (bool value)
 
BucketPolicyWithAllowsPublicWriteAccess (bool value)
 

Detailed Description

Contains information on the current bucket policies for the S3 bucket.

See Also:

AWS API Reference

Definition at line 30 of file BucketPolicy.h.

Constructor & Destructor Documentation

◆ BucketPolicy() [1/2]

Aws::GuardDuty::Model::BucketPolicy::BucketPolicy ( )

◆ BucketPolicy() [2/2]

Aws::GuardDuty::Model::BucketPolicy::BucketPolicy ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AllowsPublicReadAccessHasBeenSet()

bool Aws::GuardDuty::Model::BucketPolicy::AllowsPublicReadAccessHasBeenSet ( ) const
inline

A value that indicates whether public read access for the bucket is enabled through a bucket policy.

Definition at line 49 of file BucketPolicy.h.

◆ AllowsPublicWriteAccessHasBeenSet()

bool Aws::GuardDuty::Model::BucketPolicy::AllowsPublicWriteAccessHasBeenSet ( ) const
inline

A value that indicates whether public write access for the bucket is enabled through a bucket policy.

Definition at line 74 of file BucketPolicy.h.

◆ GetAllowsPublicReadAccess()

bool Aws::GuardDuty::Model::BucketPolicy::GetAllowsPublicReadAccess ( ) const
inline

A value that indicates whether public read access for the bucket is enabled through a bucket policy.

Definition at line 43 of file BucketPolicy.h.

◆ GetAllowsPublicWriteAccess()

bool Aws::GuardDuty::Model::BucketPolicy::GetAllowsPublicWriteAccess ( ) const
inline

A value that indicates whether public write access for the bucket is enabled through a bucket policy.

Definition at line 68 of file BucketPolicy.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::GuardDuty::Model::BucketPolicy::Jsonize ( ) const

◆ operator=()

BucketPolicy& Aws::GuardDuty::Model::BucketPolicy::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetAllowsPublicReadAccess()

void Aws::GuardDuty::Model::BucketPolicy::SetAllowsPublicReadAccess ( bool  value)
inline

A value that indicates whether public read access for the bucket is enabled through a bucket policy.

Definition at line 55 of file BucketPolicy.h.

◆ SetAllowsPublicWriteAccess()

void Aws::GuardDuty::Model::BucketPolicy::SetAllowsPublicWriteAccess ( bool  value)
inline

A value that indicates whether public write access for the bucket is enabled through a bucket policy.

Definition at line 80 of file BucketPolicy.h.

◆ WithAllowsPublicReadAccess()

BucketPolicy& Aws::GuardDuty::Model::BucketPolicy::WithAllowsPublicReadAccess ( bool  value)
inline

A value that indicates whether public read access for the bucket is enabled through a bucket policy.

Definition at line 61 of file BucketPolicy.h.

◆ WithAllowsPublicWriteAccess()

BucketPolicy& Aws::GuardDuty::Model::BucketPolicy::WithAllowsPublicWriteAccess ( bool  value)
inline

A value that indicates whether public write access for the bucket is enabled through a bucket policy.

Definition at line 86 of file BucketPolicy.h.


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