pub struct Builder { /* private fields */ }
Expand description
A builder for GetEnrollmentStatusOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_status(self, input: Option<Status>) -> Self
pub fn set_status(self, input: Option<Status>) -> Self
The enrollment status of the account.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
The reason for the enrollment status of the account.
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 set_status_reason(self, input: Option<String>) -> Self
pub fn set_status_reason(self, input: Option<String>) -> Self
The reason for the enrollment status of the account.
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 member_accounts_enrolled(self, input: bool) -> Self
pub fn member_accounts_enrolled(self, input: bool) -> Self
Confirms the enrollment status of member accounts of the organization, if the account is a management account of an organization.
sourcepub fn set_member_accounts_enrolled(self, input: Option<bool>) -> Self
pub fn set_member_accounts_enrolled(self, input: Option<bool>) -> Self
Confirms the enrollment status of member accounts of the organization, if the account is a management account of an organization.
sourcepub fn last_updated_timestamp(self, input: DateTime) -> Self
pub fn last_updated_timestamp(self, input: DateTime) -> Self
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
sourcepub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
sourcepub fn number_of_member_accounts_opted_in(self, input: i32) -> Self
pub fn number_of_member_accounts_opted_in(self, input: i32) -> Self
The count of organization member accounts that are opted in to the service, if your account is an organization management account.
sourcepub fn set_number_of_member_accounts_opted_in(self, input: Option<i32>) -> Self
pub fn set_number_of_member_accounts_opted_in(self, input: Option<i32>) -> Self
The count of organization member accounts that are opted in to the service, if your account is an organization management account.
sourcepub fn build(self) -> GetEnrollmentStatusOutput
pub fn build(self) -> GetEnrollmentStatusOutput
Consumes the builder and constructs a GetEnrollmentStatusOutput
.