/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains details about the CloudTrail trail being analyzed to generate a
* policy.See Also:
AWS
* API Reference
Specifies the ARN of the trail. The format of a trail ARN is
* arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
.
Specifies the ARN of the trail. The format of a trail ARN is
* arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
.
Specifies the ARN of the trail. The format of a trail ARN is
* arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
.
Specifies the ARN of the trail. The format of a trail ARN is
* arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
.
Specifies the ARN of the trail. The format of a trail ARN is
* arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
.
Specifies the ARN of the trail. The format of a trail ARN is
* arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
.
Specifies the ARN of the trail. The format of a trail ARN is
* arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
.
Specifies the ARN of the trail. The format of a trail ARN is
* arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
.
A list of regions to get CloudTrail data from and analyze to generate a * policy.
*/ inline const Aws::VectorA list of regions to get CloudTrail data from and analyze to generate a * policy.
*/ inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; } /** *A list of regions to get CloudTrail data from and analyze to generate a * policy.
*/ inline void SetRegions(const Aws::VectorA list of regions to get CloudTrail data from and analyze to generate a * policy.
*/ inline void SetRegions(Aws::VectorA list of regions to get CloudTrail data from and analyze to generate a * policy.
*/ inline Trail& WithRegions(const Aws::VectorA list of regions to get CloudTrail data from and analyze to generate a * policy.
*/ inline Trail& WithRegions(Aws::VectorA list of regions to get CloudTrail data from and analyze to generate a * policy.
*/ inline Trail& AddRegions(const Aws::String& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; } /** *A list of regions to get CloudTrail data from and analyze to generate a * policy.
*/ inline Trail& AddRegions(Aws::String&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; } /** *A list of regions to get CloudTrail data from and analyze to generate a * policy.
*/ inline Trail& AddRegions(const char* value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; } /** *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.
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.
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.
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.