Skip to main content

aws_sdk_securityhub/operation/get_master_account/
_get_master_account_input.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2#[allow(missing_docs)] // documentation missing in model
3#[non_exhaustive]
4#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
5pub struct GetMasterAccountInput {}
6impl GetMasterAccountInput {
7    /// Creates a new builder-style object to manufacture [`GetMasterAccountInput`](crate::operation::get_master_account::GetMasterAccountInput).
8    pub fn builder() -> crate::operation::get_master_account::builders::GetMasterAccountInputBuilder {
9        crate::operation::get_master_account::builders::GetMasterAccountInputBuilder::default()
10    }
11}
12
13/// A builder for [`GetMasterAccountInput`](crate::operation::get_master_account::GetMasterAccountInput).
14#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
15#[non_exhaustive]
16pub struct GetMasterAccountInputBuilder {}
17impl GetMasterAccountInputBuilder {
18    /// Consumes the builder and constructs a [`GetMasterAccountInput`](crate::operation::get_master_account::GetMasterAccountInput).
19    pub fn build(
20        self,
21    ) -> ::std::result::Result<crate::operation::get_master_account::GetMasterAccountInput, ::aws_smithy_types::error::operation::BuildError> {
22        ::std::result::Result::Ok(crate::operation::get_master_account::GetMasterAccountInput {})
23    }
24}