Struct aws_sdk_backup::types::ReportSetting
source · #[non_exhaustive]pub struct ReportSetting {
pub report_template: String,
pub framework_arns: Option<Vec<String>>,
pub number_of_frameworks: i32,
pub accounts: Option<Vec<String>>,
pub organization_units: Option<Vec<String>>,
pub regions: Option<Vec<String>>,
}
Expand description
Contains detailed information about a report setting.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.report_template: String
Identifies the report template for the report. Reports are built using a report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
framework_arns: Option<Vec<String>>
The Amazon Resource Names (ARNs) of the frameworks a report covers.
number_of_frameworks: i32
The number of frameworks a report covers.
accounts: Option<Vec<String>>
These are the accounts to be included in the report.
organization_units: Option<Vec<String>>
These are the Organizational Units to be included in the report.
regions: Option<Vec<String>>
These are the Regions to be included in the report.
Implementations§
source§impl ReportSetting
impl ReportSetting
sourcepub fn report_template(&self) -> &str
pub fn report_template(&self) -> &str
Identifies the report template for the report. Reports are built using a report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
sourcepub fn framework_arns(&self) -> &[String]
pub fn framework_arns(&self) -> &[String]
The Amazon Resource Names (ARNs) of the frameworks a report covers.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .framework_arns.is_none()
.
sourcepub fn number_of_frameworks(&self) -> i32
pub fn number_of_frameworks(&self) -> i32
The number of frameworks a report covers.
sourcepub fn accounts(&self) -> &[String]
pub fn accounts(&self) -> &[String]
These are the accounts to be included in the report.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .accounts.is_none()
.
sourcepub fn organization_units(&self) -> &[String]
pub fn organization_units(&self) -> &[String]
These are the Organizational Units to be included in the report.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .organization_units.is_none()
.
source§impl ReportSetting
impl ReportSetting
sourcepub fn builder() -> ReportSettingBuilder
pub fn builder() -> ReportSettingBuilder
Creates a new builder-style object to manufacture ReportSetting
.
Trait Implementations§
source§impl Clone for ReportSetting
impl Clone for ReportSetting
source§fn clone(&self) -> ReportSetting
fn clone(&self) -> ReportSetting
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReportSetting
impl Debug for ReportSetting
source§impl PartialEq for ReportSetting
impl PartialEq for ReportSetting
source§fn eq(&self, other: &ReportSetting) -> bool
fn eq(&self, other: &ReportSetting) -> bool
self
and other
values to be equal, and is used
by ==
.