1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// <p>The bound options (north, south, west, east) of the geospatial window options.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct GeospatialCoordinateBounds {
    /// <p>The latitude of the north bound of the geospatial coordinate bounds.</p>
    pub north: ::std::option::Option<f64>,
    /// <p>The latitude of the south bound of the geospatial coordinate bounds.</p>
    pub south: ::std::option::Option<f64>,
    /// <p>The longitude of the west bound of the geospatial coordinate bounds.</p>
    pub west: ::std::option::Option<f64>,
    /// <p>The longitude of the east bound of the geospatial coordinate bounds.</p>
    pub east: ::std::option::Option<f64>,
}
impl GeospatialCoordinateBounds {
    /// <p>The latitude of the north bound of the geospatial coordinate bounds.</p>
    pub fn north(&self) -> ::std::option::Option<f64> {
        self.north
    }
    /// <p>The latitude of the south bound of the geospatial coordinate bounds.</p>
    pub fn south(&self) -> ::std::option::Option<f64> {
        self.south
    }
    /// <p>The longitude of the west bound of the geospatial coordinate bounds.</p>
    pub fn west(&self) -> ::std::option::Option<f64> {
        self.west
    }
    /// <p>The longitude of the east bound of the geospatial coordinate bounds.</p>
    pub fn east(&self) -> ::std::option::Option<f64> {
        self.east
    }
}
impl GeospatialCoordinateBounds {
    /// Creates a new builder-style object to manufacture [`GeospatialCoordinateBounds`](crate::types::GeospatialCoordinateBounds).
    pub fn builder() -> crate::types::builders::GeospatialCoordinateBoundsBuilder {
        crate::types::builders::GeospatialCoordinateBoundsBuilder::default()
    }
}

/// A builder for [`GeospatialCoordinateBounds`](crate::types::GeospatialCoordinateBounds).
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
pub struct GeospatialCoordinateBoundsBuilder {
    pub(crate) north: ::std::option::Option<f64>,
    pub(crate) south: ::std::option::Option<f64>,
    pub(crate) west: ::std::option::Option<f64>,
    pub(crate) east: ::std::option::Option<f64>,
}
impl GeospatialCoordinateBoundsBuilder {
    /// <p>The latitude of the north bound of the geospatial coordinate bounds.</p>
    pub fn north(mut self, input: f64) -> Self {
        self.north = ::std::option::Option::Some(input);
        self
    }
    /// <p>The latitude of the north bound of the geospatial coordinate bounds.</p>
    pub fn set_north(mut self, input: ::std::option::Option<f64>) -> Self {
        self.north = input;
        self
    }
    /// <p>The latitude of the north bound of the geospatial coordinate bounds.</p>
    pub fn get_north(&self) -> &::std::option::Option<f64> {
        &self.north
    }
    /// <p>The latitude of the south bound of the geospatial coordinate bounds.</p>
    pub fn south(mut self, input: f64) -> Self {
        self.south = ::std::option::Option::Some(input);
        self
    }
    /// <p>The latitude of the south bound of the geospatial coordinate bounds.</p>
    pub fn set_south(mut self, input: ::std::option::Option<f64>) -> Self {
        self.south = input;
        self
    }
    /// <p>The latitude of the south bound of the geospatial coordinate bounds.</p>
    pub fn get_south(&self) -> &::std::option::Option<f64> {
        &self.south
    }
    /// <p>The longitude of the west bound of the geospatial coordinate bounds.</p>
    pub fn west(mut self, input: f64) -> Self {
        self.west = ::std::option::Option::Some(input);
        self
    }
    /// <p>The longitude of the west bound of the geospatial coordinate bounds.</p>
    pub fn set_west(mut self, input: ::std::option::Option<f64>) -> Self {
        self.west = input;
        self
    }
    /// <p>The longitude of the west bound of the geospatial coordinate bounds.</p>
    pub fn get_west(&self) -> &::std::option::Option<f64> {
        &self.west
    }
    /// <p>The longitude of the east bound of the geospatial coordinate bounds.</p>
    pub fn east(mut self, input: f64) -> Self {
        self.east = ::std::option::Option::Some(input);
        self
    }
    /// <p>The longitude of the east bound of the geospatial coordinate bounds.</p>
    pub fn set_east(mut self, input: ::std::option::Option<f64>) -> Self {
        self.east = input;
        self
    }
    /// <p>The longitude of the east bound of the geospatial coordinate bounds.</p>
    pub fn get_east(&self) -> &::std::option::Option<f64> {
        &self.east
    }
    /// Consumes the builder and constructs a [`GeospatialCoordinateBounds`](crate::types::GeospatialCoordinateBounds).
    pub fn build(self) -> crate::types::GeospatialCoordinateBounds {
        crate::types::GeospatialCoordinateBounds {
            north: self.north,
            south: self.south,
            west: self.west,
            east: self.east,
        }
    }
}