Struct aws_sdk_computeoptimizer::operation::get_enrollment_status::builders::GetEnrollmentStatusOutputBuilder
source · #[non_exhaustive]pub struct GetEnrollmentStatusOutputBuilder { /* private fields */ }
Expand description
A builder for GetEnrollmentStatusOutput
.
Implementations§
source§impl GetEnrollmentStatusOutputBuilder
impl GetEnrollmentStatusOutputBuilder
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 get_status(&self) -> &Option<Status>
pub fn get_status(&self) -> &Option<Status>
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 get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
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 get_member_accounts_enrolled(&self) -> &Option<bool>
pub fn get_member_accounts_enrolled(&self) -> &Option<bool>
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 get_last_updated_timestamp(&self) -> &Option<DateTime>
pub fn get_last_updated_timestamp(&self) -> &Option<DateTime>
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 get_number_of_member_accounts_opted_in(&self) -> &Option<i32>
pub fn get_number_of_member_accounts_opted_in(&self) -> &Option<i32>
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
.
Trait Implementations§
source§impl Clone for GetEnrollmentStatusOutputBuilder
impl Clone for GetEnrollmentStatusOutputBuilder
source§fn clone(&self) -> GetEnrollmentStatusOutputBuilder
fn clone(&self) -> GetEnrollmentStatusOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetEnrollmentStatusOutputBuilder
impl Default for GetEnrollmentStatusOutputBuilder
source§fn default() -> GetEnrollmentStatusOutputBuilder
fn default() -> GetEnrollmentStatusOutputBuilder
source§impl PartialEq for GetEnrollmentStatusOutputBuilder
impl PartialEq for GetEnrollmentStatusOutputBuilder
source§fn eq(&self, other: &GetEnrollmentStatusOutputBuilder) -> bool
fn eq(&self, other: &GetEnrollmentStatusOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetEnrollmentStatusOutputBuilder
Auto Trait Implementations§
impl Freeze for GetEnrollmentStatusOutputBuilder
impl RefUnwindSafe for GetEnrollmentStatusOutputBuilder
impl Send for GetEnrollmentStatusOutputBuilder
impl Sync for GetEnrollmentStatusOutputBuilder
impl Unpin for GetEnrollmentStatusOutputBuilder
impl UnwindSafe for GetEnrollmentStatusOutputBuilder
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