Struct aws_sdk_support::operation::describe_create_case_options::builders::DescribeCreateCaseOptionsFluentBuilder
source · pub struct DescribeCreateCaseOptionsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeCreateCaseOptions
.
Returns a list of CreateCaseOption types along with the corresponding supported hours and language availability. You can specify the language
categoryCode
, issueType
and serviceCode
used to retrieve the CreateCaseOptions.
-
You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support API.
-
If you call the Amazon Web Services Support API from an account that doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
error message appears. For information about changing your support plan, see Amazon Web Services Support.
Implementations§
source§impl DescribeCreateCaseOptionsFluentBuilder
impl DescribeCreateCaseOptionsFluentBuilder
sourcepub fn as_input(&self) -> &DescribeCreateCaseOptionsInputBuilder
pub fn as_input(&self) -> &DescribeCreateCaseOptionsInputBuilder
Access the DescribeCreateCaseOptions as a reference.
sourcepub async fn send(
self
) -> Result<DescribeCreateCaseOptionsOutput, SdkError<DescribeCreateCaseOptionsError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeCreateCaseOptionsOutput, SdkError<DescribeCreateCaseOptionsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DescribeCreateCaseOptionsOutput, DescribeCreateCaseOptionsError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeCreateCaseOptionsOutput, DescribeCreateCaseOptionsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 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 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 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.
Trait Implementations§
source§impl Clone for DescribeCreateCaseOptionsFluentBuilder
impl Clone for DescribeCreateCaseOptionsFluentBuilder
source§fn clone(&self) -> DescribeCreateCaseOptionsFluentBuilder
fn clone(&self) -> DescribeCreateCaseOptionsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DescribeCreateCaseOptionsFluentBuilder
impl !RefUnwindSafe for DescribeCreateCaseOptionsFluentBuilder
impl Send for DescribeCreateCaseOptionsFluentBuilder
impl Sync for DescribeCreateCaseOptionsFluentBuilder
impl Unpin for DescribeCreateCaseOptionsFluentBuilder
impl !UnwindSafe for DescribeCreateCaseOptionsFluentBuilder
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> 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