Struct aws_sdk_quicksight::operation::batch_create_topic_reviewed_answer::builders::BatchCreateTopicReviewedAnswerInputBuilder
source · #[non_exhaustive]pub struct BatchCreateTopicReviewedAnswerInputBuilder { /* private fields */ }Expand description
A builder for BatchCreateTopicReviewedAnswerInput.
Implementations§
source§impl BatchCreateTopicReviewedAnswerInputBuilder
impl BatchCreateTopicReviewedAnswerInputBuilder
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that you want to create a reviewed answer in.
This field is required.sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that you want to create a reviewed answer in.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that you want to create a reviewed answer in.
sourcepub fn topic_id(self, input: impl Into<String>) -> Self
pub fn topic_id(self, input: impl Into<String>) -> Self
The ID for the topic reviewed answer that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
This field is required.sourcepub fn set_topic_id(self, input: Option<String>) -> Self
pub fn set_topic_id(self, input: Option<String>) -> Self
The ID for the topic reviewed answer that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
sourcepub fn get_topic_id(&self) -> &Option<String>
pub fn get_topic_id(&self) -> &Option<String>
The ID for the topic reviewed answer that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
sourcepub fn answers(self, input: CreateTopicReviewedAnswer) -> Self
pub fn answers(self, input: CreateTopicReviewedAnswer) -> Self
Appends an item to answers.
To override the contents of this collection use set_answers.
The definition of the Answers to be created.
sourcepub fn set_answers(self, input: Option<Vec<CreateTopicReviewedAnswer>>) -> Self
pub fn set_answers(self, input: Option<Vec<CreateTopicReviewedAnswer>>) -> Self
The definition of the Answers to be created.
sourcepub fn get_answers(&self) -> &Option<Vec<CreateTopicReviewedAnswer>>
pub fn get_answers(&self) -> &Option<Vec<CreateTopicReviewedAnswer>>
The definition of the Answers to be created.
sourcepub fn build(self) -> Result<BatchCreateTopicReviewedAnswerInput, BuildError>
pub fn build(self) -> Result<BatchCreateTopicReviewedAnswerInput, BuildError>
Consumes the builder and constructs a BatchCreateTopicReviewedAnswerInput.
source§impl BatchCreateTopicReviewedAnswerInputBuilder
impl BatchCreateTopicReviewedAnswerInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<BatchCreateTopicReviewedAnswerOutput, SdkError<BatchCreateTopicReviewedAnswerError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<BatchCreateTopicReviewedAnswerOutput, SdkError<BatchCreateTopicReviewedAnswerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchCreateTopicReviewedAnswerInputBuilder
impl Clone for BatchCreateTopicReviewedAnswerInputBuilder
source§fn clone(&self) -> BatchCreateTopicReviewedAnswerInputBuilder
fn clone(&self) -> BatchCreateTopicReviewedAnswerInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchCreateTopicReviewedAnswerInputBuilder
impl Default for BatchCreateTopicReviewedAnswerInputBuilder
source§fn default() -> BatchCreateTopicReviewedAnswerInputBuilder
fn default() -> BatchCreateTopicReviewedAnswerInputBuilder
source§impl PartialEq for BatchCreateTopicReviewedAnswerInputBuilder
impl PartialEq for BatchCreateTopicReviewedAnswerInputBuilder
source§fn eq(&self, other: &BatchCreateTopicReviewedAnswerInputBuilder) -> bool
fn eq(&self, other: &BatchCreateTopicReviewedAnswerInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BatchCreateTopicReviewedAnswerInputBuilder
Auto Trait Implementations§
impl Freeze for BatchCreateTopicReviewedAnswerInputBuilder
impl RefUnwindSafe for BatchCreateTopicReviewedAnswerInputBuilder
impl Send for BatchCreateTopicReviewedAnswerInputBuilder
impl Sync for BatchCreateTopicReviewedAnswerInputBuilder
impl Unpin for BatchCreateTopicReviewedAnswerInputBuilder
impl UnwindSafe for BatchCreateTopicReviewedAnswerInputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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 more