1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetMapTile`](crate::operation::get_map_tile::builders::GetMapTileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`map_name(impl Into<String>)`](crate::operation::get_map_tile::builders::GetMapTileFluentBuilder::map_name) / [`set_map_name(Option<String>)`](crate::operation::get_map_tile::builders::GetMapTileFluentBuilder::set_map_name):<br>required: **true**<br><p>The map resource to retrieve the map tiles from.</p><br>
    ///   - [`z(impl Into<String>)`](crate::operation::get_map_tile::builders::GetMapTileFluentBuilder::z) / [`set_z(Option<String>)`](crate::operation::get_map_tile::builders::GetMapTileFluentBuilder::set_z):<br>required: **true**<br><p>The zoom value for the map tile.</p><br>
    ///   - [`x(impl Into<String>)`](crate::operation::get_map_tile::builders::GetMapTileFluentBuilder::x) / [`set_x(Option<String>)`](crate::operation::get_map_tile::builders::GetMapTileFluentBuilder::set_x):<br>required: **true**<br><p>The X axis value for the map tile.</p><br>
    ///   - [`y(impl Into<String>)`](crate::operation::get_map_tile::builders::GetMapTileFluentBuilder::y) / [`set_y(Option<String>)`](crate::operation::get_map_tile::builders::GetMapTileFluentBuilder::set_y):<br>required: **true**<br><p>The Y axis value for the map tile.</p><br>
    ///   - [`key(impl Into<String>)`](crate::operation::get_map_tile::builders::GetMapTileFluentBuilder::key) / [`set_key(Option<String>)`](crate::operation::get_map_tile::builders::GetMapTileFluentBuilder::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 [`GetMapTileOutput`](crate::operation::get_map_tile::GetMapTileOutput) with field(s):
    ///   - [`blob(Option<Blob>)`](crate::operation::get_map_tile::GetMapTileOutput::blob): <p>Contains Mapbox Vector Tile (MVT) data.</p>
    ///   - [`content_type(Option<String>)`](crate::operation::get_map_tile::GetMapTileOutput::content_type): <p>The map tile's content type. For example, <code>application/vnd.mapbox-vector-tile</code>.</p>
    ///   - [`cache_control(Option<String>)`](crate::operation::get_map_tile::GetMapTileOutput::cache_control): <p>The HTTP Cache-Control directive for the value.</p>
    /// - On failure, responds with [`SdkError<GetMapTileError>`](crate::operation::get_map_tile::GetMapTileError)
    pub fn get_map_tile(&self) -> crate::operation::get_map_tile::builders::GetMapTileFluentBuilder {
        crate::operation::get_map_tile::builders::GetMapTileFluentBuilder::new(self.handle.clone())
    }
}