#[non_exhaustive]pub struct AccountEnrollmentStatus {
pub account_id: Option<String>,
pub status: Option<Status>,
pub status_reason: Option<String>,
pub last_updated_timestamp: Option<DateTime>,
}
Expand description
Describes the enrollment status of an organization's member accounts in Compute Optimizer.
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.account_id: Option<String>
The Amazon Web Services account ID.
status: Option<Status>
The account enrollment status.
status_reason: Option<String>
The reason for the account enrollment status.
For example, an account might show a status of Pending
because member accounts of an organization require more time to be enrolled in the service.
last_updated_timestamp: Option<DateTime>
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
Implementations§
source§impl AccountEnrollmentStatus
impl AccountEnrollmentStatus
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The Amazon Web Services account ID.
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
The reason for the account enrollment status.
For example, an account might show a status of Pending
because member accounts of an organization require more time to be enrolled in the service.
sourcepub fn last_updated_timestamp(&self) -> Option<&DateTime>
pub fn last_updated_timestamp(&self) -> Option<&DateTime>
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
source§impl AccountEnrollmentStatus
impl AccountEnrollmentStatus
sourcepub fn builder() -> AccountEnrollmentStatusBuilder
pub fn builder() -> AccountEnrollmentStatusBuilder
Creates a new builder-style object to manufacture AccountEnrollmentStatus
.
Trait Implementations§
source§impl Clone for AccountEnrollmentStatus
impl Clone for AccountEnrollmentStatus
source§fn clone(&self) -> AccountEnrollmentStatus
fn clone(&self) -> AccountEnrollmentStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AccountEnrollmentStatus
impl Debug for AccountEnrollmentStatus
source§impl PartialEq for AccountEnrollmentStatus
impl PartialEq for AccountEnrollmentStatus
source§fn eq(&self, other: &AccountEnrollmentStatus) -> bool
fn eq(&self, other: &AccountEnrollmentStatus) -> bool
self
and other
values to be equal, and is used
by ==
.