// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetMapStyleDescriptor`](crate::operation::get_map_style_descriptor::builders::GetMapStyleDescriptorFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`map_name(impl Into<String>)`](crate::operation::get_map_style_descriptor::builders::GetMapStyleDescriptorFluentBuilder::map_name) / [`set_map_name(Option<String>)`](crate::operation::get_map_style_descriptor::builders::GetMapStyleDescriptorFluentBuilder::set_map_name):<br>required: **true**<br><p>The map resource to retrieve the style descriptor from.</p><br>
/// - [`key(impl Into<String>)`](crate::operation::get_map_style_descriptor::builders::GetMapStyleDescriptorFluentBuilder::key) / [`set_key(Option<String>)`](crate::operation::get_map_style_descriptor::builders::GetMapStyleDescriptorFluentBuilder::set_key):<br>required: **false**<br><p>The optional <a href="https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html">API key</a> to authorize the request.</p><br>
/// - On success, responds with [`GetMapStyleDescriptorOutput`](crate::operation::get_map_style_descriptor::GetMapStyleDescriptorOutput) with field(s):
/// - [`blob(Option<Blob>)`](crate::operation::get_map_style_descriptor::GetMapStyleDescriptorOutput::blob): <p>Contains the body of the style descriptor.</p>
/// - [`content_type(Option<String>)`](crate::operation::get_map_style_descriptor::GetMapStyleDescriptorOutput::content_type): <p>The style descriptor's content type. For example, <code>application/json</code>.</p>
/// - [`cache_control(Option<String>)`](crate::operation::get_map_style_descriptor::GetMapStyleDescriptorOutput::cache_control): <p>The HTTP Cache-Control directive for the value.</p>
/// - On failure, responds with [`SdkError<GetMapStyleDescriptorError>`](crate::operation::get_map_style_descriptor::GetMapStyleDescriptorError)
pub fn get_map_style_descriptor(&self) -> crate::operation::get_map_style_descriptor::builders::GetMapStyleDescriptorFluentBuilder {
crate::operation::get_map_style_descriptor::builders::GetMapStyleDescriptorFluentBuilder::new(self.handle.clone())
}
}