/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Support { namespace Model { /** */ class DescribeCreateCaseOptionsRequest : public SupportRequest { public: AWS_SUPPORT_API DescribeCreateCaseOptionsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeCreateCaseOptions"; } AWS_SUPPORT_API Aws::String SerializePayload() const override; AWS_SUPPORT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

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.

*/ inline const Aws::String& GetIssueType() const{ return m_issueType; } /** *

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.

*/ inline bool IssueTypeHasBeenSet() const { return m_issueTypeHasBeenSet; } /** *

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.

*/ inline void SetIssueType(const Aws::String& value) { m_issueTypeHasBeenSet = true; m_issueType = value; } /** *

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.

*/ inline void SetIssueType(Aws::String&& value) { m_issueTypeHasBeenSet = true; m_issueType = std::move(value); } /** *

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.

*/ inline void SetIssueType(const char* value) { m_issueTypeHasBeenSet = true; m_issueType.assign(value); } /** *

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.

*/ inline DescribeCreateCaseOptionsRequest& WithIssueType(const Aws::String& value) { SetIssueType(value); return *this;} /** *

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.

*/ inline DescribeCreateCaseOptionsRequest& WithIssueType(Aws::String&& value) { SetIssueType(std::move(value)); return *this;} /** *

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.

*/ inline DescribeCreateCaseOptionsRequest& WithIssueType(const char* value) { SetIssueType(value); return *this;} /** *

The code for the Amazon Web Services service. You can use the * DescribeServices operation to get the possible serviceCode * values.

*/ inline const Aws::String& GetServiceCode() const{ return m_serviceCode; } /** *

The code for the Amazon Web Services service. You can use the * DescribeServices operation to get the possible serviceCode * values.

*/ inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } /** *

The code for the Amazon Web Services service. You can use the * DescribeServices operation to get the possible serviceCode * values.

*/ inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; } /** *

The code for the Amazon Web Services service. You can use the * DescribeServices operation to get the possible serviceCode * values.

*/ inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); } /** *

The code for the Amazon Web Services service. You can use the * DescribeServices operation to get the possible serviceCode * values.

*/ inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); } /** *

The code for the Amazon Web Services service. You can use the * DescribeServices operation to get the possible serviceCode * values.

*/ inline DescribeCreateCaseOptionsRequest& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;} /** *

The code for the Amazon Web Services service. You can use the * DescribeServices operation to get the possible serviceCode * values.

*/ inline DescribeCreateCaseOptionsRequest& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} /** *

The code for the Amazon Web Services service. You can use the * DescribeServices operation to get the possible serviceCode * values.

*/ inline DescribeCreateCaseOptionsRequest& WithServiceCode(const char* value) { SetServiceCode(value); return *this;} /** *

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.

*/ inline const Aws::String& GetLanguage() const{ return m_language; } /** *

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.

*/ inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; } /** *

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.

*/ inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; } /** *

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.

*/ inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); } /** *

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.

*/ inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); } /** *

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.

*/ inline DescribeCreateCaseOptionsRequest& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;} /** *

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.

*/ inline DescribeCreateCaseOptionsRequest& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;} /** *

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.

*/ inline DescribeCreateCaseOptionsRequest& WithLanguage(const char* value) { SetLanguage(value); return *this;} /** *

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.

*/ inline const Aws::String& GetCategoryCode() const{ return m_categoryCode; } /** *

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.

*/ inline bool CategoryCodeHasBeenSet() const { return m_categoryCodeHasBeenSet; } /** *

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.

*/ inline void SetCategoryCode(const Aws::String& value) { m_categoryCodeHasBeenSet = true; m_categoryCode = value; } /** *

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.

*/ inline void SetCategoryCode(Aws::String&& value) { m_categoryCodeHasBeenSet = true; m_categoryCode = std::move(value); } /** *

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.

*/ inline void SetCategoryCode(const char* value) { m_categoryCodeHasBeenSet = true; m_categoryCode.assign(value); } /** *

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.

*/ inline DescribeCreateCaseOptionsRequest& WithCategoryCode(const Aws::String& value) { SetCategoryCode(value); return *this;} /** *

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.

*/ inline DescribeCreateCaseOptionsRequest& WithCategoryCode(Aws::String&& value) { SetCategoryCode(std::move(value)); return *this;} /** *

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.

*/ inline DescribeCreateCaseOptionsRequest& WithCategoryCode(const char* value) { SetCategoryCode(value); return *this;} private: Aws::String m_issueType; bool m_issueTypeHasBeenSet = false; Aws::String m_serviceCode; bool m_serviceCodeHasBeenSet = false; Aws::String m_language; bool m_languageHasBeenSet = false; Aws::String m_categoryCode; bool m_categoryCodeHasBeenSet = false; }; } // namespace Model } // namespace Support } // namespace Aws