/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Support { namespace Model { /** */ class DescribeServicesRequest : public SupportRequest { public: AWS_SUPPORT_API DescribeServicesRequest(); // 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 "DescribeServices"; } AWS_SUPPORT_API Aws::String SerializePayload() const override; AWS_SUPPORT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A JSON-formatted list of service codes available for Amazon Web Services * services.

*/ inline const Aws::Vector& GetServiceCodeList() const{ return m_serviceCodeList; } /** *

A JSON-formatted list of service codes available for Amazon Web Services * services.

*/ inline bool ServiceCodeListHasBeenSet() const { return m_serviceCodeListHasBeenSet; } /** *

A JSON-formatted list of service codes available for Amazon Web Services * services.

*/ inline void SetServiceCodeList(const Aws::Vector& value) { m_serviceCodeListHasBeenSet = true; m_serviceCodeList = value; } /** *

A JSON-formatted list of service codes available for Amazon Web Services * services.

*/ inline void SetServiceCodeList(Aws::Vector&& value) { m_serviceCodeListHasBeenSet = true; m_serviceCodeList = std::move(value); } /** *

A JSON-formatted list of service codes available for Amazon Web Services * services.

*/ inline DescribeServicesRequest& WithServiceCodeList(const Aws::Vector& value) { SetServiceCodeList(value); return *this;} /** *

A JSON-formatted list of service codes available for Amazon Web Services * services.

*/ inline DescribeServicesRequest& WithServiceCodeList(Aws::Vector&& value) { SetServiceCodeList(std::move(value)); return *this;} /** *

A JSON-formatted list of service codes available for Amazon Web Services * services.

*/ inline DescribeServicesRequest& AddServiceCodeList(const Aws::String& value) { m_serviceCodeListHasBeenSet = true; m_serviceCodeList.push_back(value); return *this; } /** *

A JSON-formatted list of service codes available for Amazon Web Services * services.

*/ inline DescribeServicesRequest& AddServiceCodeList(Aws::String&& value) { m_serviceCodeListHasBeenSet = true; m_serviceCodeList.push_back(std::move(value)); return *this; } /** *

A JSON-formatted list of service codes available for Amazon Web Services * services.

*/ inline DescribeServicesRequest& AddServiceCodeList(const char* value) { m_serviceCodeListHasBeenSet = true; m_serviceCodeList.push_back(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 DescribeServicesRequest& 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 DescribeServicesRequest& 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 DescribeServicesRequest& WithLanguage(const char* value) { SetLanguage(value); return *this;} private: Aws::Vector m_serviceCodeList; bool m_serviceCodeListHasBeenSet = false; Aws::String m_language; bool m_languageHasBeenSet = false; }; } // namespace Model } // namespace Support } // namespace Aws