187 lines
6.8 KiB
C++
187 lines
6.8 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/chime/Chime_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace Chime
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>The Dialed Number Identification Service (DNIS) emergency calling
|
|
* configuration details associated with an Amazon Chime Voice Connector's
|
|
* emergency calling configuration.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DNISEmergencyCallingConfiguration">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_CHIME_API DNISEmergencyCallingConfiguration
|
|
{
|
|
public:
|
|
DNISEmergencyCallingConfiguration();
|
|
DNISEmergencyCallingConfiguration(Aws::Utils::Json::JsonView jsonValue);
|
|
DNISEmergencyCallingConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The DNIS phone number to route emergency calls to, in E.164 format.</p>
|
|
*/
|
|
inline const Aws::String& GetEmergencyPhoneNumber() const{ return m_emergencyPhoneNumber; }
|
|
|
|
/**
|
|
* <p>The DNIS phone number to route emergency calls to, in E.164 format.</p>
|
|
*/
|
|
inline bool EmergencyPhoneNumberHasBeenSet() const { return m_emergencyPhoneNumberHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The DNIS phone number to route emergency calls to, in E.164 format.</p>
|
|
*/
|
|
inline void SetEmergencyPhoneNumber(const Aws::String& value) { m_emergencyPhoneNumberHasBeenSet = true; m_emergencyPhoneNumber = value; }
|
|
|
|
/**
|
|
* <p>The DNIS phone number to route emergency calls to, in E.164 format.</p>
|
|
*/
|
|
inline void SetEmergencyPhoneNumber(Aws::String&& value) { m_emergencyPhoneNumberHasBeenSet = true; m_emergencyPhoneNumber = std::move(value); }
|
|
|
|
/**
|
|
* <p>The DNIS phone number to route emergency calls to, in E.164 format.</p>
|
|
*/
|
|
inline void SetEmergencyPhoneNumber(const char* value) { m_emergencyPhoneNumberHasBeenSet = true; m_emergencyPhoneNumber.assign(value); }
|
|
|
|
/**
|
|
* <p>The DNIS phone number to route emergency calls to, in E.164 format.</p>
|
|
*/
|
|
inline DNISEmergencyCallingConfiguration& WithEmergencyPhoneNumber(const Aws::String& value) { SetEmergencyPhoneNumber(value); return *this;}
|
|
|
|
/**
|
|
* <p>The DNIS phone number to route emergency calls to, in E.164 format.</p>
|
|
*/
|
|
inline DNISEmergencyCallingConfiguration& WithEmergencyPhoneNumber(Aws::String&& value) { SetEmergencyPhoneNumber(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The DNIS phone number to route emergency calls to, in E.164 format.</p>
|
|
*/
|
|
inline DNISEmergencyCallingConfiguration& WithEmergencyPhoneNumber(const char* value) { SetEmergencyPhoneNumber(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The DNIS phone number to route test emergency calls to, in E.164 format.</p>
|
|
*/
|
|
inline const Aws::String& GetTestPhoneNumber() const{ return m_testPhoneNumber; }
|
|
|
|
/**
|
|
* <p>The DNIS phone number to route test emergency calls to, in E.164 format.</p>
|
|
*/
|
|
inline bool TestPhoneNumberHasBeenSet() const { return m_testPhoneNumberHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The DNIS phone number to route test emergency calls to, in E.164 format.</p>
|
|
*/
|
|
inline void SetTestPhoneNumber(const Aws::String& value) { m_testPhoneNumberHasBeenSet = true; m_testPhoneNumber = value; }
|
|
|
|
/**
|
|
* <p>The DNIS phone number to route test emergency calls to, in E.164 format.</p>
|
|
*/
|
|
inline void SetTestPhoneNumber(Aws::String&& value) { m_testPhoneNumberHasBeenSet = true; m_testPhoneNumber = std::move(value); }
|
|
|
|
/**
|
|
* <p>The DNIS phone number to route test emergency calls to, in E.164 format.</p>
|
|
*/
|
|
inline void SetTestPhoneNumber(const char* value) { m_testPhoneNumberHasBeenSet = true; m_testPhoneNumber.assign(value); }
|
|
|
|
/**
|
|
* <p>The DNIS phone number to route test emergency calls to, in E.164 format.</p>
|
|
*/
|
|
inline DNISEmergencyCallingConfiguration& WithTestPhoneNumber(const Aws::String& value) { SetTestPhoneNumber(value); return *this;}
|
|
|
|
/**
|
|
* <p>The DNIS phone number to route test emergency calls to, in E.164 format.</p>
|
|
*/
|
|
inline DNISEmergencyCallingConfiguration& WithTestPhoneNumber(Aws::String&& value) { SetTestPhoneNumber(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The DNIS phone number to route test emergency calls to, in E.164 format.</p>
|
|
*/
|
|
inline DNISEmergencyCallingConfiguration& WithTestPhoneNumber(const char* value) { SetTestPhoneNumber(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
|
|
* format.</p>
|
|
*/
|
|
inline const Aws::String& GetCallingCountry() const{ return m_callingCountry; }
|
|
|
|
/**
|
|
* <p>The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
|
|
* format.</p>
|
|
*/
|
|
inline bool CallingCountryHasBeenSet() const { return m_callingCountryHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
|
|
* format.</p>
|
|
*/
|
|
inline void SetCallingCountry(const Aws::String& value) { m_callingCountryHasBeenSet = true; m_callingCountry = value; }
|
|
|
|
/**
|
|
* <p>The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
|
|
* format.</p>
|
|
*/
|
|
inline void SetCallingCountry(Aws::String&& value) { m_callingCountryHasBeenSet = true; m_callingCountry = std::move(value); }
|
|
|
|
/**
|
|
* <p>The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
|
|
* format.</p>
|
|
*/
|
|
inline void SetCallingCountry(const char* value) { m_callingCountryHasBeenSet = true; m_callingCountry.assign(value); }
|
|
|
|
/**
|
|
* <p>The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
|
|
* format.</p>
|
|
*/
|
|
inline DNISEmergencyCallingConfiguration& WithCallingCountry(const Aws::String& value) { SetCallingCountry(value); return *this;}
|
|
|
|
/**
|
|
* <p>The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
|
|
* format.</p>
|
|
*/
|
|
inline DNISEmergencyCallingConfiguration& WithCallingCountry(Aws::String&& value) { SetCallingCountry(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
|
|
* format.</p>
|
|
*/
|
|
inline DNISEmergencyCallingConfiguration& WithCallingCountry(const char* value) { SetCallingCountry(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_emergencyPhoneNumber;
|
|
bool m_emergencyPhoneNumberHasBeenSet;
|
|
|
|
Aws::String m_testPhoneNumber;
|
|
bool m_testPhoneNumberHasBeenSet;
|
|
|
|
Aws::String m_callingCountry;
|
|
bool m_callingCountryHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Chime
|
|
} // namespace Aws
|