#[non_exhaustive]pub struct ListContentsInput {
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub knowledge_base_id: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.next_token: Option<String>
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
max_results: Option<i32>
The maximum number of results to return per page.
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 ListContentsInput
impl ListContentsInput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return per page.
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 ListContentsInput
impl ListContentsInput
sourcepub fn builder() -> ListContentsInputBuilder
pub fn builder() -> ListContentsInputBuilder
Creates a new builder-style object to manufacture ListContentsInput
.
Trait Implementations§
source§impl Clone for ListContentsInput
impl Clone for ListContentsInput
source§fn clone(&self) -> ListContentsInput
fn clone(&self) -> ListContentsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListContentsInput
impl Debug for ListContentsInput
source§impl PartialEq for ListContentsInput
impl PartialEq for ListContentsInput
source§fn eq(&self, other: &ListContentsInput) -> bool
fn eq(&self, other: &ListContentsInput) -> bool
self
and other
values to be equal, and is used
by ==
.