Struct aws_sdk_qconnect::operation::get_quick_response::builders::GetQuickResponseInputBuilder
source · #[non_exhaustive]pub struct GetQuickResponseInputBuilder { /* private fields */ }Expand description
A builder for GetQuickResponseInput.
Implementations§
source§impl GetQuickResponseInputBuilder
impl GetQuickResponseInputBuilder
sourcepub fn quick_response_id(self, input: impl Into<String>) -> Self
pub fn quick_response_id(self, input: impl Into<String>) -> Self
The identifier of the quick response.
This field is required.sourcepub fn set_quick_response_id(self, input: Option<String>) -> Self
pub fn set_quick_response_id(self, input: Option<String>) -> Self
The identifier of the quick response.
sourcepub fn get_quick_response_id(&self) -> &Option<String>
pub fn get_quick_response_id(&self) -> &Option<String>
The identifier of the quick response.
sourcepub fn knowledge_base_id(self, input: impl Into<String>) -> Self
pub fn knowledge_base_id(self, input: impl Into<String>) -> Self
The identifier of the knowledge base. This should be a QUICK_RESPONSES type knowledge base.
This field is required.sourcepub fn set_knowledge_base_id(self, input: Option<String>) -> Self
pub fn set_knowledge_base_id(self, input: Option<String>) -> Self
The identifier of the knowledge base. This should be a QUICK_RESPONSES type knowledge base.
sourcepub fn get_knowledge_base_id(&self) -> &Option<String>
pub fn get_knowledge_base_id(&self) -> &Option<String>
The identifier of the knowledge base. This should be a QUICK_RESPONSES type knowledge base.
sourcepub fn build(self) -> Result<GetQuickResponseInput, BuildError>
pub fn build(self) -> Result<GetQuickResponseInput, BuildError>
Consumes the builder and constructs a GetQuickResponseInput.
source§impl GetQuickResponseInputBuilder
impl GetQuickResponseInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetQuickResponseOutput, SdkError<GetQuickResponseError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetQuickResponseOutput, SdkError<GetQuickResponseError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetQuickResponseInputBuilder
impl Clone for GetQuickResponseInputBuilder
source§fn clone(&self) -> GetQuickResponseInputBuilder
fn clone(&self) -> GetQuickResponseInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GetQuickResponseInputBuilder
impl Debug for GetQuickResponseInputBuilder
source§impl Default for GetQuickResponseInputBuilder
impl Default for GetQuickResponseInputBuilder
source§fn default() -> GetQuickResponseInputBuilder
fn default() -> GetQuickResponseInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetQuickResponseInputBuilder
impl PartialEq for GetQuickResponseInputBuilder
source§fn eq(&self, other: &GetQuickResponseInputBuilder) -> bool
fn eq(&self, other: &GetQuickResponseInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetQuickResponseInputBuilder
Auto Trait Implementations§
impl Freeze for GetQuickResponseInputBuilder
impl RefUnwindSafe for GetQuickResponseInputBuilder
impl Send for GetQuickResponseInputBuilder
impl Sync for GetQuickResponseInputBuilder
impl Unpin for GetQuickResponseInputBuilder
impl UnwindSafe for GetQuickResponseInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.