AWS SDK for C++  1.9.175
AWS SDK for C++
Public Member Functions | List of all members
Aws::AccessAnalyzer::Model::Trail Class Reference

#include <Trail.h>

Public Member Functions

 Trail ()
 
 Trail (Aws::Utils::Json::JsonView jsonValue)
 
Trailoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
bool GetAllRegions () const
 
bool AllRegionsHasBeenSet () const
 
void SetAllRegions (bool value)
 
TrailWithAllRegions (bool value)
 
const Aws::StringGetCloudTrailArn () const
 
bool CloudTrailArnHasBeenSet () const
 
void SetCloudTrailArn (const Aws::String &value)
 
void SetCloudTrailArn (Aws::String &&value)
 
void SetCloudTrailArn (const char *value)
 
TrailWithCloudTrailArn (const Aws::String &value)
 
TrailWithCloudTrailArn (Aws::String &&value)
 
TrailWithCloudTrailArn (const char *value)
 
const Aws::Vector< Aws::String > & GetRegions () const
 
bool RegionsHasBeenSet () const
 
void SetRegions (const Aws::Vector< Aws::String > &value)
 
void SetRegions (Aws::Vector< Aws::String > &&value)
 
TrailWithRegions (const Aws::Vector< Aws::String > &value)
 
TrailWithRegions (Aws::Vector< Aws::String > &&value)
 
TrailAddRegions (const Aws::String &value)
 
TrailAddRegions (Aws::String &&value)
 
TrailAddRegions (const char *value)
 

Detailed Description

Contains details about the CloudTrail trail being analyzed to generate a policy.

See Also:

AWS API Reference

Definition at line 33 of file Trail.h.

Constructor & Destructor Documentation

◆ Trail() [1/2]

Aws::AccessAnalyzer::Model::Trail::Trail ( )

◆ Trail() [2/2]

Aws::AccessAnalyzer::Model::Trail::Trail ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddRegions() [1/3]

Trail& Aws::AccessAnalyzer::Model::Trail::AddRegions ( Aws::String &&  value)
inline

A list of regions to get CloudTrail data from and analyze to generate a policy.

Definition at line 166 of file Trail.h.

◆ AddRegions() [2/3]

Trail& Aws::AccessAnalyzer::Model::Trail::AddRegions ( const Aws::String value)
inline

A list of regions to get CloudTrail data from and analyze to generate a policy.

Definition at line 160 of file Trail.h.

◆ AddRegions() [3/3]

Trail& Aws::AccessAnalyzer::Model::Trail::AddRegions ( const char *  value)
inline

A list of regions to get CloudTrail data from and analyze to generate a policy.

Definition at line 172 of file Trail.h.

◆ AllRegionsHasBeenSet()

bool Aws::AccessAnalyzer::Model::Trail::AllRegionsHasBeenSet ( ) const
inline

Possible values are true or false. If set to true, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy.

Definition at line 54 of file Trail.h.

◆ CloudTrailArnHasBeenSet()

bool Aws::AccessAnalyzer::Model::Trail::CloudTrailArnHasBeenSet ( ) const
inline

Specifies the ARN of the trail. The format of a trail ARN is arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.

Definition at line 81 of file Trail.h.

◆ GetAllRegions()

bool Aws::AccessAnalyzer::Model::Trail::GetAllRegions ( ) const
inline

Possible values are true or false. If set to true, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy.

Definition at line 47 of file Trail.h.

◆ GetCloudTrailArn()

const Aws::String& Aws::AccessAnalyzer::Model::Trail::GetCloudTrailArn ( ) const
inline

Specifies the ARN of the trail. The format of a trail ARN is arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.

Definition at line 75 of file Trail.h.

◆ GetRegions()

const Aws::Vector<Aws::String>& Aws::AccessAnalyzer::Model::Trail::GetRegions ( ) const
inline

A list of regions to get CloudTrail data from and analyze to generate a policy.

Definition at line 124 of file Trail.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::AccessAnalyzer::Model::Trail::Jsonize ( ) const

◆ operator=()

Trail& Aws::AccessAnalyzer::Model::Trail::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ RegionsHasBeenSet()

bool Aws::AccessAnalyzer::Model::Trail::RegionsHasBeenSet ( ) const
inline

A list of regions to get CloudTrail data from and analyze to generate a policy.

Definition at line 130 of file Trail.h.

◆ SetAllRegions()

void Aws::AccessAnalyzer::Model::Trail::SetAllRegions ( bool  value)
inline

Possible values are true or false. If set to true, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy.

Definition at line 61 of file Trail.h.

◆ SetCloudTrailArn() [1/3]

void Aws::AccessAnalyzer::Model::Trail::SetCloudTrailArn ( Aws::String &&  value)
inline

Specifies the ARN of the trail. The format of a trail ARN is arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.

Definition at line 93 of file Trail.h.

◆ SetCloudTrailArn() [2/3]

void Aws::AccessAnalyzer::Model::Trail::SetCloudTrailArn ( const Aws::String value)
inline

Specifies the ARN of the trail. The format of a trail ARN is arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.

Definition at line 87 of file Trail.h.

◆ SetCloudTrailArn() [3/3]

void Aws::AccessAnalyzer::Model::Trail::SetCloudTrailArn ( const char *  value)
inline

Specifies the ARN of the trail. The format of a trail ARN is arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.

Definition at line 99 of file Trail.h.

◆ SetRegions() [1/2]

void Aws::AccessAnalyzer::Model::Trail::SetRegions ( Aws::Vector< Aws::String > &&  value)
inline

A list of regions to get CloudTrail data from and analyze to generate a policy.

Definition at line 142 of file Trail.h.

◆ SetRegions() [2/2]

void Aws::AccessAnalyzer::Model::Trail::SetRegions ( const Aws::Vector< Aws::String > &  value)
inline

A list of regions to get CloudTrail data from and analyze to generate a policy.

Definition at line 136 of file Trail.h.

◆ WithAllRegions()

Trail& Aws::AccessAnalyzer::Model::Trail::WithAllRegions ( bool  value)
inline

Possible values are true or false. If set to true, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy.

Definition at line 68 of file Trail.h.

◆ WithCloudTrailArn() [1/3]

Trail& Aws::AccessAnalyzer::Model::Trail::WithCloudTrailArn ( Aws::String &&  value)
inline

Specifies the ARN of the trail. The format of a trail ARN is arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.

Definition at line 111 of file Trail.h.

◆ WithCloudTrailArn() [2/3]

Trail& Aws::AccessAnalyzer::Model::Trail::WithCloudTrailArn ( const Aws::String value)
inline

Specifies the ARN of the trail. The format of a trail ARN is arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.

Definition at line 105 of file Trail.h.

◆ WithCloudTrailArn() [3/3]

Trail& Aws::AccessAnalyzer::Model::Trail::WithCloudTrailArn ( const char *  value)
inline

Specifies the ARN of the trail. The format of a trail ARN is arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.

Definition at line 117 of file Trail.h.

◆ WithRegions() [1/2]

Trail& Aws::AccessAnalyzer::Model::Trail::WithRegions ( Aws::Vector< Aws::String > &&  value)
inline

A list of regions to get CloudTrail data from and analyze to generate a policy.

Definition at line 154 of file Trail.h.

◆ WithRegions() [2/2]

Trail& Aws::AccessAnalyzer::Model::Trail::WithRegions ( const Aws::Vector< Aws::String > &  value)
inline

A list of regions to get CloudTrail data from and analyze to generate a policy.

Definition at line 148 of file Trail.h.


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