Struct aws_sdk_qconnect::operation::get_content::GetContentInput
source · #[non_exhaustive]pub struct GetContentInput {
pub content_id: Option<String>,
pub knowledge_base_id: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.content_id: Option<String>The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
knowledge_base_id: Option<String>The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
Implementations§
source§impl GetContentInput
impl GetContentInput
sourcepub fn content_id(&self) -> Option<&str>
pub fn content_id(&self) -> Option<&str>
The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn knowledge_base_id(&self) -> Option<&str>
pub fn knowledge_base_id(&self) -> Option<&str>
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
source§impl GetContentInput
impl GetContentInput
sourcepub fn builder() -> GetContentInputBuilder
pub fn builder() -> GetContentInputBuilder
Creates a new builder-style object to manufacture GetContentInput.
Trait Implementations§
source§impl Clone for GetContentInput
impl Clone for GetContentInput
source§fn clone(&self) -> GetContentInput
fn clone(&self) -> GetContentInput
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 GetContentInput
impl Debug for GetContentInput
source§impl PartialEq for GetContentInput
impl PartialEq for GetContentInput
source§fn eq(&self, other: &GetContentInput) -> bool
fn eq(&self, other: &GetContentInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetContentInput
Auto Trait Implementations§
impl RefUnwindSafe for GetContentInput
impl Send for GetContentInput
impl Sync for GetContentInput
impl Unpin for GetContentInput
impl UnwindSafe for GetContentInput
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>
Creates a shared type from an unshared type.