#[non_exhaustive]pub struct AssessmentFrameworkShareRequest {Show 15 fields
pub id: Option<String>,
pub framework_id: Option<String>,
pub framework_name: Option<String>,
pub framework_description: Option<String>,
pub status: Option<ShareRequestStatus>,
pub source_account: Option<String>,
pub destination_account: Option<String>,
pub destination_region: Option<String>,
pub expiration_time: Option<DateTime>,
pub creation_time: Option<DateTime>,
pub last_updated: Option<DateTime>,
pub comment: Option<String>,
pub standard_controls_count: Option<i32>,
pub custom_controls_count: Option<i32>,
pub compliance_type: Option<String>,
}
Expand description
Represents a share request for a custom framework in Audit Manager.
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.id: Option<String>
The unique identifier for the share request.
framework_id: Option<String>
The unique identifier for the shared custom framework.
framework_name: Option<String>
The name of the custom framework that the share request is for.
framework_description: Option<String>
The description of the shared custom framework.
status: Option<ShareRequestStatus>
The status of the share request.
source_account: Option<String>
The Amazon Web Services account of the sender.
destination_account: Option<String>
The Amazon Web Services account of the recipient.
destination_region: Option<String>
The Amazon Web Services Region of the recipient.
expiration_time: Option<DateTime>
The time when the share request expires.
creation_time: Option<DateTime>
The time when the share request was created.
last_updated: Option<DateTime>
Specifies when the share request was last updated.
comment: Option<String>
An optional comment from the sender about the share request.
standard_controls_count: Option<i32>
The number of standard controls that are part of the shared custom framework.
custom_controls_count: Option<i32>
The number of custom controls that are part of the shared custom framework.
compliance_type: Option<String>
The compliance type that the shared custom framework supports, such as CIS or HIPAA.
Implementations§
sourcepub fn framework_id(&self) -> Option<&str>
pub fn framework_id(&self) -> Option<&str>
The unique identifier for the shared custom framework.
sourcepub fn framework_name(&self) -> Option<&str>
pub fn framework_name(&self) -> Option<&str>
The name of the custom framework that the share request is for.
sourcepub fn framework_description(&self) -> Option<&str>
pub fn framework_description(&self) -> Option<&str>
The description of the shared custom framework.
sourcepub fn status(&self) -> Option<&ShareRequestStatus>
pub fn status(&self) -> Option<&ShareRequestStatus>
The status of the share request.
sourcepub fn source_account(&self) -> Option<&str>
pub fn source_account(&self) -> Option<&str>
The Amazon Web Services account of the sender.
sourcepub fn destination_account(&self) -> Option<&str>
pub fn destination_account(&self) -> Option<&str>
The Amazon Web Services account of the recipient.
sourcepub fn destination_region(&self) -> Option<&str>
pub fn destination_region(&self) -> Option<&str>
The Amazon Web Services Region of the recipient.
sourcepub fn expiration_time(&self) -> Option<&DateTime>
pub fn expiration_time(&self) -> Option<&DateTime>
The time when the share request expires.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time when the share request was created.
sourcepub fn last_updated(&self) -> Option<&DateTime>
pub fn last_updated(&self) -> Option<&DateTime>
Specifies when the share request was last updated.
sourcepub fn comment(&self) -> Option<&str>
pub fn comment(&self) -> Option<&str>
An optional comment from the sender about the share request.
sourcepub fn standard_controls_count(&self) -> Option<i32>
pub fn standard_controls_count(&self) -> Option<i32>
The number of standard controls that are part of the shared custom framework.
sourcepub fn custom_controls_count(&self) -> Option<i32>
pub fn custom_controls_count(&self) -> Option<i32>
The number of custom controls that are part of the shared custom framework.
sourcepub fn compliance_type(&self) -> Option<&str>
pub fn compliance_type(&self) -> Option<&str>
The compliance type that the shared custom framework supports, such as CIS or HIPAA.
sourcepub fn builder() -> AssessmentFrameworkShareRequestBuilder
pub fn builder() -> AssessmentFrameworkShareRequestBuilder
Creates a new builder-style object to manufacture AssessmentFrameworkShareRequest
.
Trait Implementations§
source§fn clone(&self) -> AssessmentFrameworkShareRequest
fn clone(&self) -> AssessmentFrameworkShareRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§fn eq(&self, other: &AssessmentFrameworkShareRequest) -> bool
fn eq(&self, other: &AssessmentFrameworkShareRequest) -> bool
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more