#[non_exhaustive]pub struct SearchThingsInputBuilder { /* private fields */ }Expand description
A builder for SearchThingsInput.
Implementations§
source§impl SearchThingsInputBuilder
impl SearchThingsInputBuilder
sourcepub fn entity_id(self, input: impl Into<String>) -> Self
pub fn entity_id(self, input: impl Into<String>) -> Self
The ID of the entity to which the things are associated.
The IDs should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME
sourcepub fn set_entity_id(self, input: Option<String>) -> Self
pub fn set_entity_id(self, input: Option<String>) -> Self
The ID of the entity to which the things are associated.
The IDs should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME
sourcepub fn get_entity_id(&self) -> &Option<String>
pub fn get_entity_id(&self) -> &Option<String>
The ID of the entity to which the things are associated.
The IDs should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The string that specifies the next page of results. Use this when you're paginating results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The string that specifies the next page of results. Use this when you're paginating results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The string that specifies the next page of results. Use this when you're paginating results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return in the response.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return in the response.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return in the response.
sourcepub fn namespace_version(self, input: i64) -> Self
pub fn namespace_version(self, input: i64) -> Self
The version of the user's namespace. Defaults to the latest version of the user's namespace.
sourcepub fn set_namespace_version(self, input: Option<i64>) -> Self
pub fn set_namespace_version(self, input: Option<i64>) -> Self
The version of the user's namespace. Defaults to the latest version of the user's namespace.
sourcepub fn get_namespace_version(&self) -> &Option<i64>
pub fn get_namespace_version(&self) -> &Option<i64>
The version of the user's namespace. Defaults to the latest version of the user's namespace.
sourcepub fn build(self) -> Result<SearchThingsInput, BuildError>
pub fn build(self) -> Result<SearchThingsInput, BuildError>
Consumes the builder and constructs a SearchThingsInput.
source§impl SearchThingsInputBuilder
impl SearchThingsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SearchThingsOutput, SdkError<SearchThingsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SearchThingsOutput, SdkError<SearchThingsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SearchThingsInputBuilder
impl Clone for SearchThingsInputBuilder
source§fn clone(&self) -> SearchThingsInputBuilder
fn clone(&self) -> SearchThingsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SearchThingsInputBuilder
impl Debug for SearchThingsInputBuilder
source§impl Default for SearchThingsInputBuilder
impl Default for SearchThingsInputBuilder
source§fn default() -> SearchThingsInputBuilder
fn default() -> SearchThingsInputBuilder
source§impl PartialEq for SearchThingsInputBuilder
impl PartialEq for SearchThingsInputBuilder
source§fn eq(&self, other: &SearchThingsInputBuilder) -> bool
fn eq(&self, other: &SearchThingsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.