#[non_exhaustive]pub struct CreateCaseInputBuilder { /* private fields */ }
Expand description
A builder for CreateCaseInput
.
Implementations§
source§impl CreateCaseInputBuilder
impl CreateCaseInputBuilder
sourcepub fn subject(self, input: impl Into<String>) -> Self
pub fn subject(self, input: impl Into<String>) -> Self
The title of the support case. The title appears in the Subject field on the Amazon Web Services Support Center Create Case page.
This field is required.sourcepub fn set_subject(self, input: Option<String>) -> Self
pub fn set_subject(self, input: Option<String>) -> Self
The title of the support case. The title appears in the Subject field on the Amazon Web Services Support Center Create Case page.
sourcepub fn get_subject(&self) -> &Option<String>
pub fn get_subject(&self) -> &Option<String>
The title of the support case. The title appears in the Subject field on the Amazon Web Services Support Center Create Case page.
sourcepub fn service_code(self, input: impl Into<String>) -> Self
pub fn service_code(self, input: impl Into<String>) -> Self
The code for the Amazon Web Services service. You can use the DescribeServices
operation to get the possible serviceCode
values.
sourcepub fn set_service_code(self, input: Option<String>) -> Self
pub fn set_service_code(self, input: Option<String>) -> Self
The code for the Amazon Web Services service. You can use the DescribeServices
operation to get the possible serviceCode
values.
sourcepub fn get_service_code(&self) -> &Option<String>
pub fn get_service_code(&self) -> &Option<String>
The code for the Amazon Web Services service. You can use the DescribeServices
operation to get the possible serviceCode
values.
sourcepub fn severity_code(self, input: impl Into<String>) -> Self
pub fn severity_code(self, input: impl Into<String>) -> Self
A value that indicates the urgency of the case. This value determines the response time according to your service level agreement with Amazon Web Services Support. You can use the DescribeSeverityLevels
operation to get the possible values for severityCode
.
For more information, see SeverityLevel
and Choosing a Severity in the Amazon Web Services Support User Guide.
The availability of severity levels depends on the support plan for the Amazon Web Services account.
sourcepub fn set_severity_code(self, input: Option<String>) -> Self
pub fn set_severity_code(self, input: Option<String>) -> Self
A value that indicates the urgency of the case. This value determines the response time according to your service level agreement with Amazon Web Services Support. You can use the DescribeSeverityLevels
operation to get the possible values for severityCode
.
For more information, see SeverityLevel
and Choosing a Severity in the Amazon Web Services Support User Guide.
The availability of severity levels depends on the support plan for the Amazon Web Services account.
sourcepub fn get_severity_code(&self) -> &Option<String>
pub fn get_severity_code(&self) -> &Option<String>
A value that indicates the urgency of the case. This value determines the response time according to your service level agreement with Amazon Web Services Support. You can use the DescribeSeverityLevels
operation to get the possible values for severityCode
.
For more information, see SeverityLevel
and Choosing a Severity in the Amazon Web Services Support User Guide.
The availability of severity levels depends on the support plan for the Amazon Web Services account.
sourcepub fn category_code(self, input: impl Into<String>) -> Self
pub fn category_code(self, input: impl Into<String>) -> Self
The category of problem for the support case. You also use the DescribeServices
operation to get the category code for a service. Each Amazon Web Services service defines its own set of category codes.
sourcepub fn set_category_code(self, input: Option<String>) -> Self
pub fn set_category_code(self, input: Option<String>) -> Self
The category of problem for the support case. You also use the DescribeServices
operation to get the category code for a service. Each Amazon Web Services service defines its own set of category codes.
sourcepub fn get_category_code(&self) -> &Option<String>
pub fn get_category_code(&self) -> &Option<String>
The category of problem for the support case. You also use the DescribeServices
operation to get the category code for a service. Each Amazon Web Services service defines its own set of category codes.
sourcepub fn communication_body(self, input: impl Into<String>) -> Self
pub fn communication_body(self, input: impl Into<String>) -> Self
The communication body text that describes the issue. This text appears in the Description field on the Amazon Web Services Support Center Create Case page.
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 communication body text that describes the issue. This text appears in the Description field on the Amazon Web Services Support Center Create Case page.
sourcepub fn get_communication_body(&self) -> &Option<String>
pub fn get_communication_body(&self) -> &Option<String>
The communication body text that describes the issue. This text appears in the Description field on the Amazon Web Services Support Center Create Case page.
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
.
A list of email addresses that Amazon Web Services Support copies on case correspondence. Amazon Web Services Support identifies the account that creates the case when you specify your Amazon Web Services credentials in an HTTP POST method or use the Amazon Web Services SDKs.
sourcepub fn set_cc_email_addresses(self, input: Option<Vec<String>>) -> Self
pub fn set_cc_email_addresses(self, input: Option<Vec<String>>) -> Self
A list of email addresses that Amazon Web Services Support copies on case correspondence. Amazon Web Services Support identifies the account that creates the case when you specify your Amazon Web Services credentials in an HTTP POST method or use the Amazon Web Services SDKs.
sourcepub fn get_cc_email_addresses(&self) -> &Option<Vec<String>>
pub fn get_cc_email_addresses(&self) -> &Option<Vec<String>>
A list of email addresses that Amazon Web Services Support copies on case correspondence. Amazon Web Services Support identifies the account that creates the case when you specify your Amazon Web Services credentials in an HTTP POST method or use the Amazon Web Services SDKs.
sourcepub fn language(self, input: impl Into<String>) -> Self
pub fn language(self, input: impl Into<String>) -> Self
The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1 code for the language
parameter if you want support in that language.
sourcepub fn set_language(self, input: Option<String>) -> Self
pub fn set_language(self, input: Option<String>) -> Self
The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1 code for the language
parameter if you want support in that language.
sourcepub fn get_language(&self) -> &Option<String>
pub fn get_language(&self) -> &Option<String>
The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1 code for the language
parameter if you want support in that language.
sourcepub fn issue_type(self, input: impl Into<String>) -> Self
pub fn issue_type(self, input: impl Into<String>) -> Self
The type of issue for the case. You can specify customer-service
or technical
. If you don't specify a value, the default is technical
.
sourcepub fn set_issue_type(self, input: Option<String>) -> Self
pub fn set_issue_type(self, input: Option<String>) -> Self
The type of issue for the case. You can specify customer-service
or technical
. If you don't specify a value, the default is technical
.
sourcepub fn get_issue_type(&self) -> &Option<String>
pub fn get_issue_type(&self) -> &Option<String>
The type of issue for the case. You can specify customer-service
or technical
. If you don't specify a value, the default is technical
.
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 case. Create the set by using the AddAttachmentsToSet
operation.
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 case. Create the set by using the AddAttachmentsToSet
operation.
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 case. Create the set by using the AddAttachmentsToSet
operation.
sourcepub fn build(self) -> Result<CreateCaseInput, BuildError>
pub fn build(self) -> Result<CreateCaseInput, BuildError>
Consumes the builder and constructs a CreateCaseInput
.
source§impl CreateCaseInputBuilder
impl CreateCaseInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateCaseOutput, SdkError<CreateCaseError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateCaseOutput, SdkError<CreateCaseError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateCaseInputBuilder
impl Clone for CreateCaseInputBuilder
source§fn clone(&self) -> CreateCaseInputBuilder
fn clone(&self) -> CreateCaseInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateCaseInputBuilder
impl Debug for CreateCaseInputBuilder
source§impl Default for CreateCaseInputBuilder
impl Default for CreateCaseInputBuilder
source§fn default() -> CreateCaseInputBuilder
fn default() -> CreateCaseInputBuilder
source§impl PartialEq for CreateCaseInputBuilder
impl PartialEq for CreateCaseInputBuilder
source§fn eq(&self, other: &CreateCaseInputBuilder) -> bool
fn eq(&self, other: &CreateCaseInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.