/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Dialed Number Identification Service (DNIS) emergency calling
* configuration details associated with an Amazon Chime Voice Connector's
* emergency calling configuration.See Also:
AWS
* API Reference
The DNIS phone number to route emergency calls to, in E.164 format.
*/ inline const Aws::String& GetEmergencyPhoneNumber() const{ return m_emergencyPhoneNumber; } /** *The DNIS phone number to route emergency calls to, in E.164 format.
*/ inline bool EmergencyPhoneNumberHasBeenSet() const { return m_emergencyPhoneNumberHasBeenSet; } /** *The DNIS phone number to route emergency calls to, in E.164 format.
*/ inline void SetEmergencyPhoneNumber(const Aws::String& value) { m_emergencyPhoneNumberHasBeenSet = true; m_emergencyPhoneNumber = value; } /** *The DNIS phone number to route emergency calls to, in E.164 format.
*/ inline void SetEmergencyPhoneNumber(Aws::String&& value) { m_emergencyPhoneNumberHasBeenSet = true; m_emergencyPhoneNumber = std::move(value); } /** *The DNIS phone number to route emergency calls to, in E.164 format.
*/ inline void SetEmergencyPhoneNumber(const char* value) { m_emergencyPhoneNumberHasBeenSet = true; m_emergencyPhoneNumber.assign(value); } /** *The DNIS phone number to route emergency calls to, in E.164 format.
*/ inline DNISEmergencyCallingConfiguration& WithEmergencyPhoneNumber(const Aws::String& value) { SetEmergencyPhoneNumber(value); return *this;} /** *The DNIS phone number to route emergency calls to, in E.164 format.
*/ inline DNISEmergencyCallingConfiguration& WithEmergencyPhoneNumber(Aws::String&& value) { SetEmergencyPhoneNumber(std::move(value)); return *this;} /** *The DNIS phone number to route emergency calls to, in E.164 format.
*/ inline DNISEmergencyCallingConfiguration& WithEmergencyPhoneNumber(const char* value) { SetEmergencyPhoneNumber(value); return *this;} /** *The DNIS phone number to route test emergency calls to, in E.164 format.
*/ inline const Aws::String& GetTestPhoneNumber() const{ return m_testPhoneNumber; } /** *The DNIS phone number to route test emergency calls to, in E.164 format.
*/ inline bool TestPhoneNumberHasBeenSet() const { return m_testPhoneNumberHasBeenSet; } /** *The DNIS phone number to route test emergency calls to, in E.164 format.
*/ inline void SetTestPhoneNumber(const Aws::String& value) { m_testPhoneNumberHasBeenSet = true; m_testPhoneNumber = value; } /** *The DNIS phone number to route test emergency calls to, in E.164 format.
*/ inline void SetTestPhoneNumber(Aws::String&& value) { m_testPhoneNumberHasBeenSet = true; m_testPhoneNumber = std::move(value); } /** *The DNIS phone number to route test emergency calls to, in E.164 format.
*/ inline void SetTestPhoneNumber(const char* value) { m_testPhoneNumberHasBeenSet = true; m_testPhoneNumber.assign(value); } /** *The DNIS phone number to route test emergency calls to, in E.164 format.
*/ inline DNISEmergencyCallingConfiguration& WithTestPhoneNumber(const Aws::String& value) { SetTestPhoneNumber(value); return *this;} /** *The DNIS phone number to route test emergency calls to, in E.164 format.
*/ inline DNISEmergencyCallingConfiguration& WithTestPhoneNumber(Aws::String&& value) { SetTestPhoneNumber(std::move(value)); return *this;} /** *The DNIS phone number to route test emergency calls to, in E.164 format.
*/ inline DNISEmergencyCallingConfiguration& WithTestPhoneNumber(const char* value) { SetTestPhoneNumber(value); return *this;} /** *The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 * format.
*/ inline const Aws::String& GetCallingCountry() const{ return m_callingCountry; } /** *The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 * format.
*/ inline bool CallingCountryHasBeenSet() const { return m_callingCountryHasBeenSet; } /** *The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 * format.
*/ inline void SetCallingCountry(const Aws::String& value) { m_callingCountryHasBeenSet = true; m_callingCountry = value; } /** *The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 * format.
*/ inline void SetCallingCountry(Aws::String&& value) { m_callingCountryHasBeenSet = true; m_callingCountry = std::move(value); } /** *The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 * format.
*/ inline void SetCallingCountry(const char* value) { m_callingCountryHasBeenSet = true; m_callingCountry.assign(value); } /** *The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 * format.
*/ inline DNISEmergencyCallingConfiguration& WithCallingCountry(const Aws::String& value) { SetCallingCountry(value); return *this;} /** *The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 * format.
*/ inline DNISEmergencyCallingConfiguration& WithCallingCountry(Aws::String&& value) { SetCallingCountry(std::move(value)); return *this;} /** *The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 * format.
*/ inline DNISEmergencyCallingConfiguration& WithCallingCountry(const char* value) { SetCallingCountry(value); return *this;} private: Aws::String m_emergencyPhoneNumber; bool m_emergencyPhoneNumberHasBeenSet = false; Aws::String m_testPhoneNumber; bool m_testPhoneNumberHasBeenSet = false; Aws::String m_callingCountry; bool m_callingCountryHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws