/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Support { namespace Model { class DescribeSupportedLanguagesResult { public: AWS_SUPPORT_API DescribeSupportedLanguagesResult(); AWS_SUPPORT_API DescribeSupportedLanguagesResult(const Aws::AmazonWebServiceResult& result); AWS_SUPPORT_API DescribeSupportedLanguagesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A JSON-formatted array that contains the available ISO 639-1 language codes. *

*/ inline const Aws::Vector& GetSupportedLanguages() const{ return m_supportedLanguages; } /** *

A JSON-formatted array that contains the available ISO 639-1 language codes. *

*/ inline void SetSupportedLanguages(const Aws::Vector& value) { m_supportedLanguages = value; } /** *

A JSON-formatted array that contains the available ISO 639-1 language codes. *

*/ inline void SetSupportedLanguages(Aws::Vector&& value) { m_supportedLanguages = std::move(value); } /** *

A JSON-formatted array that contains the available ISO 639-1 language codes. *

*/ inline DescribeSupportedLanguagesResult& WithSupportedLanguages(const Aws::Vector& value) { SetSupportedLanguages(value); return *this;} /** *

A JSON-formatted array that contains the available ISO 639-1 language codes. *

*/ inline DescribeSupportedLanguagesResult& WithSupportedLanguages(Aws::Vector&& value) { SetSupportedLanguages(std::move(value)); return *this;} /** *

A JSON-formatted array that contains the available ISO 639-1 language codes. *

*/ inline DescribeSupportedLanguagesResult& AddSupportedLanguages(const SupportedLanguage& value) { m_supportedLanguages.push_back(value); return *this; } /** *

A JSON-formatted array that contains the available ISO 639-1 language codes. *

*/ inline DescribeSupportedLanguagesResult& AddSupportedLanguages(SupportedLanguage&& value) { m_supportedLanguages.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeSupportedLanguagesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeSupportedLanguagesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeSupportedLanguagesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_supportedLanguages; Aws::String m_requestId; }; } // namespace Model } // namespace Support } // namespace Aws