/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Chime { namespace Model { /** *

The emergency calling configuration details associated with an Amazon Chime * Voice Connector.

See Also:

AWS * API Reference

*/ class EmergencyCallingConfiguration { public: AWS_CHIME_API EmergencyCallingConfiguration(); AWS_CHIME_API EmergencyCallingConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_CHIME_API EmergencyCallingConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Dialed Number Identification Service (DNIS) emergency calling * configuration details.

*/ inline const Aws::Vector& GetDNIS() const{ return m_dNIS; } /** *

The Dialed Number Identification Service (DNIS) emergency calling * configuration details.

*/ inline bool DNISHasBeenSet() const { return m_dNISHasBeenSet; } /** *

The Dialed Number Identification Service (DNIS) emergency calling * configuration details.

*/ inline void SetDNIS(const Aws::Vector& value) { m_dNISHasBeenSet = true; m_dNIS = value; } /** *

The Dialed Number Identification Service (DNIS) emergency calling * configuration details.

*/ inline void SetDNIS(Aws::Vector&& value) { m_dNISHasBeenSet = true; m_dNIS = std::move(value); } /** *

The Dialed Number Identification Service (DNIS) emergency calling * configuration details.

*/ inline EmergencyCallingConfiguration& WithDNIS(const Aws::Vector& value) { SetDNIS(value); return *this;} /** *

The Dialed Number Identification Service (DNIS) emergency calling * configuration details.

*/ inline EmergencyCallingConfiguration& WithDNIS(Aws::Vector&& value) { SetDNIS(std::move(value)); return *this;} /** *

The Dialed Number Identification Service (DNIS) emergency calling * configuration details.

*/ inline EmergencyCallingConfiguration& AddDNIS(const DNISEmergencyCallingConfiguration& value) { m_dNISHasBeenSet = true; m_dNIS.push_back(value); return *this; } /** *

The Dialed Number Identification Service (DNIS) emergency calling * configuration details.

*/ inline EmergencyCallingConfiguration& AddDNIS(DNISEmergencyCallingConfiguration&& value) { m_dNISHasBeenSet = true; m_dNIS.push_back(std::move(value)); return *this; } private: Aws::Vector m_dNIS; bool m_dNISHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws