#[non_exhaustive]pub struct GetModelInputBuilder { /* private fields */ }
Expand description
A builder for GetModelInput
.
Implementations§
source§impl GetModelInputBuilder
impl GetModelInputBuilder
sourcepub fn rest_api_id(self, input: impl Into<String>) -> Self
pub fn rest_api_id(self, input: impl Into<String>) -> Self
The RestApi identifier under which the Model exists.
sourcepub fn set_rest_api_id(self, input: Option<String>) -> Self
pub fn set_rest_api_id(self, input: Option<String>) -> Self
The RestApi identifier under which the Model exists.
sourcepub fn get_rest_api_id(&self) -> &Option<String>
pub fn get_rest_api_id(&self) -> &Option<String>
The RestApi identifier under which the Model exists.
sourcepub fn model_name(self, input: impl Into<String>) -> Self
pub fn model_name(self, input: impl Into<String>) -> Self
The name of the model as an identifier.
sourcepub fn set_model_name(self, input: Option<String>) -> Self
pub fn set_model_name(self, input: Option<String>) -> Self
The name of the model as an identifier.
sourcepub fn get_model_name(&self) -> &Option<String>
pub fn get_model_name(&self) -> &Option<String>
The name of the model as an identifier.
sourcepub fn flatten(self, input: bool) -> Self
pub fn flatten(self, input: bool) -> Self
A query parameter of a Boolean value to resolve (true
) all external model references and returns a flattened model schema or not (false
) The default is false
.
sourcepub fn set_flatten(self, input: Option<bool>) -> Self
pub fn set_flatten(self, input: Option<bool>) -> Self
A query parameter of a Boolean value to resolve (true
) all external model references and returns a flattened model schema or not (false
) The default is false
.
sourcepub fn get_flatten(&self) -> &Option<bool>
pub fn get_flatten(&self) -> &Option<bool>
A query parameter of a Boolean value to resolve (true
) all external model references and returns a flattened model schema or not (false
) The default is false
.
sourcepub fn build(self) -> Result<GetModelInput, BuildError>
pub fn build(self) -> Result<GetModelInput, BuildError>
Consumes the builder and constructs a GetModelInput
.
source§impl GetModelInputBuilder
impl GetModelInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetModelOutput, SdkError<GetModelError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetModelOutput, SdkError<GetModelError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetModelInputBuilder
impl Clone for GetModelInputBuilder
source§fn clone(&self) -> GetModelInputBuilder
fn clone(&self) -> GetModelInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetModelInputBuilder
impl Debug for GetModelInputBuilder
source§impl Default for GetModelInputBuilder
impl Default for GetModelInputBuilder
source§fn default() -> GetModelInputBuilder
fn default() -> GetModelInputBuilder
source§impl PartialEq<GetModelInputBuilder> for GetModelInputBuilder
impl PartialEq<GetModelInputBuilder> for GetModelInputBuilder
source§fn eq(&self, other: &GetModelInputBuilder) -> bool
fn eq(&self, other: &GetModelInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.