aws_sdk_costoptimizationhub/client/get_preferences.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetPreferences`](crate::operation::get_preferences::builders::GetPreferencesFluentBuilder) operation.
///
/// - The fluent builder takes no input, just [`send`](crate::operation::get_preferences::builders::GetPreferencesFluentBuilder::send) it.
/// - On success, responds with [`GetPreferencesOutput`](crate::operation::get_preferences::GetPreferencesOutput) with field(s):
/// - [`savings_estimation_mode(Option<SavingsEstimationMode>)`](crate::operation::get_preferences::GetPreferencesOutput::savings_estimation_mode): <p>Retrieves the status of the "savings estimation mode" preference.</p>
/// - [`member_account_discount_visibility(Option<MemberAccountDiscountVisibility>)`](crate::operation::get_preferences::GetPreferencesOutput::member_account_discount_visibility): <p>Retrieves the status of the "member account discount visibility" preference.</p>
/// - On failure, responds with [`SdkError<GetPreferencesError>`](crate::operation::get_preferences::GetPreferencesError)
pub fn get_preferences(&self) -> crate::operation::get_preferences::builders::GetPreferencesFluentBuilder {
crate::operation::get_preferences::builders::GetPreferencesFluentBuilder::new(self.handle.clone())
}
}