/** * 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 DescribeCreateCaseOptionsResult { public: AWS_SUPPORT_API DescribeCreateCaseOptionsResult(); AWS_SUPPORT_API DescribeCreateCaseOptionsResult(const Aws::AmazonWebServiceResult& result); AWS_SUPPORT_API DescribeCreateCaseOptionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Language availability can be any of the following:

  • * available

  • best_effort

  • unavailable

    *
*/ inline const Aws::String& GetLanguageAvailability() const{ return m_languageAvailability; } /** *

Language availability can be any of the following:

  • * available

  • best_effort

  • unavailable

    *
*/ inline void SetLanguageAvailability(const Aws::String& value) { m_languageAvailability = value; } /** *

Language availability can be any of the following:

  • * available

  • best_effort

  • unavailable

    *
*/ inline void SetLanguageAvailability(Aws::String&& value) { m_languageAvailability = std::move(value); } /** *

Language availability can be any of the following:

  • * available

  • best_effort

  • unavailable

    *
*/ inline void SetLanguageAvailability(const char* value) { m_languageAvailability.assign(value); } /** *

Language availability can be any of the following:

  • * available

  • best_effort

  • unavailable

    *
*/ inline DescribeCreateCaseOptionsResult& WithLanguageAvailability(const Aws::String& value) { SetLanguageAvailability(value); return *this;} /** *

Language availability can be any of the following:

  • * available

  • best_effort

  • unavailable

    *
*/ inline DescribeCreateCaseOptionsResult& WithLanguageAvailability(Aws::String&& value) { SetLanguageAvailability(std::move(value)); return *this;} /** *

Language availability can be any of the following:

  • * available

  • best_effort

  • unavailable

    *
*/ inline DescribeCreateCaseOptionsResult& WithLanguageAvailability(const char* value) { SetLanguageAvailability(value); return *this;} /** *

A JSON-formatted array that contains the available communication type * options, along with the available support timeframes for the given inputs.

*/ inline const Aws::Vector& GetCommunicationTypes() const{ return m_communicationTypes; } /** *

A JSON-formatted array that contains the available communication type * options, along with the available support timeframes for the given inputs.

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

A JSON-formatted array that contains the available communication type * options, along with the available support timeframes for the given inputs.

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

A JSON-formatted array that contains the available communication type * options, along with the available support timeframes for the given inputs.

*/ inline DescribeCreateCaseOptionsResult& WithCommunicationTypes(const Aws::Vector& value) { SetCommunicationTypes(value); return *this;} /** *

A JSON-formatted array that contains the available communication type * options, along with the available support timeframes for the given inputs.

*/ inline DescribeCreateCaseOptionsResult& WithCommunicationTypes(Aws::Vector&& value) { SetCommunicationTypes(std::move(value)); return *this;} /** *

A JSON-formatted array that contains the available communication type * options, along with the available support timeframes for the given inputs.

*/ inline DescribeCreateCaseOptionsResult& AddCommunicationTypes(const CommunicationTypeOptions& value) { m_communicationTypes.push_back(value); return *this; } /** *

A JSON-formatted array that contains the available communication type * options, along with the available support timeframes for the given inputs.

*/ inline DescribeCreateCaseOptionsResult& AddCommunicationTypes(CommunicationTypeOptions&& value) { m_communicationTypes.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 DescribeCreateCaseOptionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeCreateCaseOptionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeCreateCaseOptionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_languageAvailability; Aws::Vector m_communicationTypes; Aws::String m_requestId; }; } // namespace Model } // namespace Support } // namespace Aws