/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The proxy configuration for an Amazon Chime SDK Voice
* Connector.See Also:
AWS
* API Reference
The default number of minutes allowed for proxy sessions.
*/ inline int GetDefaultSessionExpiryMinutes() const{ return m_defaultSessionExpiryMinutes; } /** *The default number of minutes allowed for proxy sessions.
*/ inline bool DefaultSessionExpiryMinutesHasBeenSet() const { return m_defaultSessionExpiryMinutesHasBeenSet; } /** *The default number of minutes allowed for proxy sessions.
*/ inline void SetDefaultSessionExpiryMinutes(int value) { m_defaultSessionExpiryMinutesHasBeenSet = true; m_defaultSessionExpiryMinutes = value; } /** *The default number of minutes allowed for proxy sessions.
*/ inline Proxy& WithDefaultSessionExpiryMinutes(int value) { SetDefaultSessionExpiryMinutes(value); return *this;} /** *When true, stops proxy sessions from being created on the specified Amazon * Chime SDK Voice Connector.
*/ inline bool GetDisabled() const{ return m_disabled; } /** *When true, stops proxy sessions from being created on the specified Amazon * Chime SDK Voice Connector.
*/ inline bool DisabledHasBeenSet() const { return m_disabledHasBeenSet; } /** *When true, stops proxy sessions from being created on the specified Amazon * Chime SDK Voice Connector.
*/ inline void SetDisabled(bool value) { m_disabledHasBeenSet = true; m_disabled = value; } /** *When true, stops proxy sessions from being created on the specified Amazon * Chime SDK Voice Connector.
*/ inline Proxy& WithDisabled(bool value) { SetDisabled(value); return *this;} /** *The phone number to route calls to after a proxy session expires.
*/ inline const Aws::String& GetFallBackPhoneNumber() const{ return m_fallBackPhoneNumber; } /** *The phone number to route calls to after a proxy session expires.
*/ inline bool FallBackPhoneNumberHasBeenSet() const { return m_fallBackPhoneNumberHasBeenSet; } /** *The phone number to route calls to after a proxy session expires.
*/ inline void SetFallBackPhoneNumber(const Aws::String& value) { m_fallBackPhoneNumberHasBeenSet = true; m_fallBackPhoneNumber = value; } /** *The phone number to route calls to after a proxy session expires.
*/ inline void SetFallBackPhoneNumber(Aws::String&& value) { m_fallBackPhoneNumberHasBeenSet = true; m_fallBackPhoneNumber = std::move(value); } /** *The phone number to route calls to after a proxy session expires.
*/ inline void SetFallBackPhoneNumber(const char* value) { m_fallBackPhoneNumberHasBeenSet = true; m_fallBackPhoneNumber.assign(value); } /** *The phone number to route calls to after a proxy session expires.
*/ inline Proxy& WithFallBackPhoneNumber(const Aws::String& value) { SetFallBackPhoneNumber(value); return *this;} /** *The phone number to route calls to after a proxy session expires.
*/ inline Proxy& WithFallBackPhoneNumber(Aws::String&& value) { SetFallBackPhoneNumber(std::move(value)); return *this;} /** *The phone number to route calls to after a proxy session expires.
*/ inline Proxy& WithFallBackPhoneNumber(const char* value) { SetFallBackPhoneNumber(value); return *this;} /** *The countries for proxy phone numbers to be selected from.
*/ inline const Aws::VectorThe countries for proxy phone numbers to be selected from.
*/ inline bool PhoneNumberCountriesHasBeenSet() const { return m_phoneNumberCountriesHasBeenSet; } /** *The countries for proxy phone numbers to be selected from.
*/ inline void SetPhoneNumberCountries(const Aws::VectorThe countries for proxy phone numbers to be selected from.
*/ inline void SetPhoneNumberCountries(Aws::VectorThe countries for proxy phone numbers to be selected from.
*/ inline Proxy& WithPhoneNumberCountries(const Aws::VectorThe countries for proxy phone numbers to be selected from.
*/ inline Proxy& WithPhoneNumberCountries(Aws::VectorThe countries for proxy phone numbers to be selected from.
*/ inline Proxy& AddPhoneNumberCountries(const Aws::String& value) { m_phoneNumberCountriesHasBeenSet = true; m_phoneNumberCountries.push_back(value); return *this; } /** *The countries for proxy phone numbers to be selected from.
*/ inline Proxy& AddPhoneNumberCountries(Aws::String&& value) { m_phoneNumberCountriesHasBeenSet = true; m_phoneNumberCountries.push_back(std::move(value)); return *this; } /** *The countries for proxy phone numbers to be selected from.
*/ inline Proxy& AddPhoneNumberCountries(const char* value) { m_phoneNumberCountriesHasBeenSet = true; m_phoneNumberCountries.push_back(value); return *this; } private: int m_defaultSessionExpiryMinutes; bool m_defaultSessionExpiryMinutesHasBeenSet = false; bool m_disabled; bool m_disabledHasBeenSet = false; Aws::String m_fallBackPhoneNumber; bool m_fallBackPhoneNumberHasBeenSet = false; Aws::Vector