Struct aws_sdk_support::operation::add_communication_to_case::builders::AddCommunicationToCaseInputBuilder
source · #[non_exhaustive]pub struct AddCommunicationToCaseInputBuilder { /* private fields */ }
Expand description
A builder for AddCommunicationToCaseInput
.
Implementations§
source§impl AddCommunicationToCaseInputBuilder
impl AddCommunicationToCaseInputBuilder
sourcepub fn case_id(self, input: impl Into<String>) -> Self
pub fn case_id(self, input: impl Into<String>) -> Self
The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
sourcepub fn set_case_id(self, input: Option<String>) -> Self
pub fn set_case_id(self, input: Option<String>) -> Self
The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
sourcepub fn get_case_id(&self) -> &Option<String>
pub fn get_case_id(&self) -> &Option<String>
The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
sourcepub fn communication_body(self, input: impl Into<String>) -> Self
pub fn communication_body(self, input: impl Into<String>) -> Self
The body of an email communication to add to the support case.
This field is required.sourcepub fn set_communication_body(self, input: Option<String>) -> Self
pub fn set_communication_body(self, input: Option<String>) -> Self
The body of an email communication to add to the support case.
sourcepub fn get_communication_body(&self) -> &Option<String>
pub fn get_communication_body(&self) -> &Option<String>
The body of an email communication to add to the support case.
sourcepub fn cc_email_addresses(self, input: impl Into<String>) -> Self
pub fn cc_email_addresses(self, input: impl Into<String>) -> Self
Appends an item to cc_email_addresses
.
To override the contents of this collection use set_cc_email_addresses
.
The email addresses in the CC line of an email to be added to the support case.
sourcepub fn set_cc_email_addresses(self, input: Option<Vec<String>>) -> Self
pub fn set_cc_email_addresses(self, input: Option<Vec<String>>) -> Self
The email addresses in the CC line of an email to be added to the support case.
sourcepub fn get_cc_email_addresses(&self) -> &Option<Vec<String>>
pub fn get_cc_email_addresses(&self) -> &Option<Vec<String>>
The email addresses in the CC line of an email to be added to the support case.
sourcepub fn attachment_set_id(self, input: impl Into<String>) -> Self
pub fn attachment_set_id(self, input: impl Into<String>) -> Self
The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet
sourcepub fn set_attachment_set_id(self, input: Option<String>) -> Self
pub fn set_attachment_set_id(self, input: Option<String>) -> Self
The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet
sourcepub fn get_attachment_set_id(&self) -> &Option<String>
pub fn get_attachment_set_id(&self) -> &Option<String>
The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet
sourcepub fn build(self) -> Result<AddCommunicationToCaseInput, BuildError>
pub fn build(self) -> Result<AddCommunicationToCaseInput, BuildError>
Consumes the builder and constructs a AddCommunicationToCaseInput
.
source§impl AddCommunicationToCaseInputBuilder
impl AddCommunicationToCaseInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AddCommunicationToCaseOutput, SdkError<AddCommunicationToCaseError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AddCommunicationToCaseOutput, SdkError<AddCommunicationToCaseError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AddCommunicationToCaseInputBuilder
impl Clone for AddCommunicationToCaseInputBuilder
source§fn clone(&self) -> AddCommunicationToCaseInputBuilder
fn clone(&self) -> AddCommunicationToCaseInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AddCommunicationToCaseInputBuilder
impl Default for AddCommunicationToCaseInputBuilder
source§fn default() -> AddCommunicationToCaseInputBuilder
fn default() -> AddCommunicationToCaseInputBuilder
source§impl PartialEq for AddCommunicationToCaseInputBuilder
impl PartialEq for AddCommunicationToCaseInputBuilder
source§fn eq(&self, other: &AddCommunicationToCaseInputBuilder) -> bool
fn eq(&self, other: &AddCommunicationToCaseInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.