/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Termination settings enable SIP hosts to make outbound calls using an Amazon
* Chime SDK Voice Connector.See Also:
AWS
* API Reference
The limit on calls per second. Max value based on account service quota. * Default value of 1.
*/ inline int GetCpsLimit() const{ return m_cpsLimit; } /** *The limit on calls per second. Max value based on account service quota. * Default value of 1.
*/ inline bool CpsLimitHasBeenSet() const { return m_cpsLimitHasBeenSet; } /** *The limit on calls per second. Max value based on account service quota. * Default value of 1.
*/ inline void SetCpsLimit(int value) { m_cpsLimitHasBeenSet = true; m_cpsLimit = value; } /** *The limit on calls per second. Max value based on account service quota. * Default value of 1.
*/ inline Termination& WithCpsLimit(int value) { SetCpsLimit(value); return *this;} /** *The default outbound calling number.
*/ inline const Aws::String& GetDefaultPhoneNumber() const{ return m_defaultPhoneNumber; } /** *The default outbound calling number.
*/ inline bool DefaultPhoneNumberHasBeenSet() const { return m_defaultPhoneNumberHasBeenSet; } /** *The default outbound calling number.
*/ inline void SetDefaultPhoneNumber(const Aws::String& value) { m_defaultPhoneNumberHasBeenSet = true; m_defaultPhoneNumber = value; } /** *The default outbound calling number.
*/ inline void SetDefaultPhoneNumber(Aws::String&& value) { m_defaultPhoneNumberHasBeenSet = true; m_defaultPhoneNumber = std::move(value); } /** *The default outbound calling number.
*/ inline void SetDefaultPhoneNumber(const char* value) { m_defaultPhoneNumberHasBeenSet = true; m_defaultPhoneNumber.assign(value); } /** *The default outbound calling number.
*/ inline Termination& WithDefaultPhoneNumber(const Aws::String& value) { SetDefaultPhoneNumber(value); return *this;} /** *The default outbound calling number.
*/ inline Termination& WithDefaultPhoneNumber(Aws::String&& value) { SetDefaultPhoneNumber(std::move(value)); return *this;} /** *The default outbound calling number.
*/ inline Termination& WithDefaultPhoneNumber(const char* value) { SetDefaultPhoneNumber(value); return *this;} /** *The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. * Required.
*/ inline const Aws::VectorThe countries to which calls are allowed, in ISO 3166-1 alpha-2 format. * Required.
*/ inline bool CallingRegionsHasBeenSet() const { return m_callingRegionsHasBeenSet; } /** *The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. * Required.
*/ inline void SetCallingRegions(const Aws::VectorThe countries to which calls are allowed, in ISO 3166-1 alpha-2 format. * Required.
*/ inline void SetCallingRegions(Aws::VectorThe countries to which calls are allowed, in ISO 3166-1 alpha-2 format. * Required.
*/ inline Termination& WithCallingRegions(const Aws::VectorThe countries to which calls are allowed, in ISO 3166-1 alpha-2 format. * Required.
*/ inline Termination& WithCallingRegions(Aws::VectorThe countries to which calls are allowed, in ISO 3166-1 alpha-2 format. * Required.
*/ inline Termination& AddCallingRegions(const Aws::String& value) { m_callingRegionsHasBeenSet = true; m_callingRegions.push_back(value); return *this; } /** *The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. * Required.
*/ inline Termination& AddCallingRegions(Aws::String&& value) { m_callingRegionsHasBeenSet = true; m_callingRegions.push_back(std::move(value)); return *this; } /** *The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. * Required.
*/ inline Termination& AddCallingRegions(const char* value) { m_callingRegionsHasBeenSet = true; m_callingRegions.push_back(value); return *this; } /** *The IP addresses allowed to make calls, in CIDR format.
*/ inline const Aws::VectorThe IP addresses allowed to make calls, in CIDR format.
*/ inline bool CidrAllowedListHasBeenSet() const { return m_cidrAllowedListHasBeenSet; } /** *The IP addresses allowed to make calls, in CIDR format.
*/ inline void SetCidrAllowedList(const Aws::VectorThe IP addresses allowed to make calls, in CIDR format.
*/ inline void SetCidrAllowedList(Aws::VectorThe IP addresses allowed to make calls, in CIDR format.
*/ inline Termination& WithCidrAllowedList(const Aws::VectorThe IP addresses allowed to make calls, in CIDR format.
*/ inline Termination& WithCidrAllowedList(Aws::VectorThe IP addresses allowed to make calls, in CIDR format.
*/ inline Termination& AddCidrAllowedList(const Aws::String& value) { m_cidrAllowedListHasBeenSet = true; m_cidrAllowedList.push_back(value); return *this; } /** *The IP addresses allowed to make calls, in CIDR format.
*/ inline Termination& AddCidrAllowedList(Aws::String&& value) { m_cidrAllowedListHasBeenSet = true; m_cidrAllowedList.push_back(std::move(value)); return *this; } /** *The IP addresses allowed to make calls, in CIDR format.
*/ inline Termination& AddCidrAllowedList(const char* value) { m_cidrAllowedListHasBeenSet = true; m_cidrAllowedList.push_back(value); return *this; } /** *When termination is disabled, outbound calls cannot be made.
*/ inline bool GetDisabled() const{ return m_disabled; } /** *When termination is disabled, outbound calls cannot be made.
*/ inline bool DisabledHasBeenSet() const { return m_disabledHasBeenSet; } /** *When termination is disabled, outbound calls cannot be made.
*/ inline void SetDisabled(bool value) { m_disabledHasBeenSet = true; m_disabled = value; } /** *When termination is disabled, outbound calls cannot be made.
*/ inline Termination& WithDisabled(bool value) { SetDisabled(value); return *this;} private: int m_cpsLimit; bool m_cpsLimitHasBeenSet = false; Aws::String m_defaultPhoneNumber; bool m_defaultPhoneNumberHasBeenSet = false; Aws::Vector