aws_sdk_costoptimizationhub/operation/get_preferences/
_get_preferences_input.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct GetPreferencesInput {}
impl GetPreferencesInput {
    /// Creates a new builder-style object to manufacture [`GetPreferencesInput`](crate::operation::get_preferences::GetPreferencesInput).
    pub fn builder() -> crate::operation::get_preferences::builders::GetPreferencesInputBuilder {
        crate::operation::get_preferences::builders::GetPreferencesInputBuilder::default()
    }
}

/// A builder for [`GetPreferencesInput`](crate::operation::get_preferences::GetPreferencesInput).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct GetPreferencesInputBuilder {}
impl GetPreferencesInputBuilder {
    /// Consumes the builder and constructs a [`GetPreferencesInput`](crate::operation::get_preferences::GetPreferencesInput).
    pub fn build(
        self,
    ) -> ::std::result::Result<crate::operation::get_preferences::GetPreferencesInput, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::operation::get_preferences::GetPreferencesInput {})
    }
}