#[non_exhaustive]pub struct ListSitesInputBuilder { /* private fields */ }
Expand description
A builder for ListSitesInput
.
Implementations§
source§impl ListSitesInputBuilder
impl ListSitesInputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The pagination token.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum page size.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum page size.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum page size.
sourcepub fn operating_address_country_code_filter(
self,
input: impl Into<String>
) -> Self
pub fn operating_address_country_code_filter( self, input: impl Into<String> ) -> Self
Appends an item to operating_address_country_code_filter
.
To override the contents of this collection use set_operating_address_country_code_filter
.
Filters the results by country code.
sourcepub fn set_operating_address_country_code_filter(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_operating_address_country_code_filter( self, input: Option<Vec<String>> ) -> Self
Filters the results by country code.
sourcepub fn get_operating_address_country_code_filter(&self) -> &Option<Vec<String>>
pub fn get_operating_address_country_code_filter(&self) -> &Option<Vec<String>>
Filters the results by country code.
sourcepub fn operating_address_state_or_region_filter(
self,
input: impl Into<String>
) -> Self
pub fn operating_address_state_or_region_filter( self, input: impl Into<String> ) -> Self
Appends an item to operating_address_state_or_region_filter
.
To override the contents of this collection use set_operating_address_state_or_region_filter
.
Filters the results by state or region.
sourcepub fn set_operating_address_state_or_region_filter(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_operating_address_state_or_region_filter( self, input: Option<Vec<String>> ) -> Self
Filters the results by state or region.
sourcepub fn get_operating_address_state_or_region_filter(
&self
) -> &Option<Vec<String>>
pub fn get_operating_address_state_or_region_filter( &self ) -> &Option<Vec<String>>
Filters the results by state or region.
sourcepub fn operating_address_city_filter(self, input: impl Into<String>) -> Self
pub fn operating_address_city_filter(self, input: impl Into<String>) -> Self
Appends an item to operating_address_city_filter
.
To override the contents of this collection use set_operating_address_city_filter
.
Filters the results by city.
sourcepub fn set_operating_address_city_filter(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_operating_address_city_filter( self, input: Option<Vec<String>> ) -> Self
Filters the results by city.
sourcepub fn get_operating_address_city_filter(&self) -> &Option<Vec<String>>
pub fn get_operating_address_city_filter(&self) -> &Option<Vec<String>>
Filters the results by city.
sourcepub fn build(self) -> Result<ListSitesInput, BuildError>
pub fn build(self) -> Result<ListSitesInput, BuildError>
Consumes the builder and constructs a ListSitesInput
.
source§impl ListSitesInputBuilder
impl ListSitesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListSitesOutput, SdkError<ListSitesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListSitesOutput, SdkError<ListSitesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListSitesInputBuilder
impl Clone for ListSitesInputBuilder
source§fn clone(&self) -> ListSitesInputBuilder
fn clone(&self) -> ListSitesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListSitesInputBuilder
impl Debug for ListSitesInputBuilder
source§impl Default for ListSitesInputBuilder
impl Default for ListSitesInputBuilder
source§fn default() -> ListSitesInputBuilder
fn default() -> ListSitesInputBuilder
source§impl PartialEq for ListSitesInputBuilder
impl PartialEq for ListSitesInputBuilder
source§fn eq(&self, other: &ListSitesInputBuilder) -> bool
fn eq(&self, other: &ListSitesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.