/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the phone configuration settings for a
* user.See Also:
AWS
* API Reference
The phone type.
*/ inline const PhoneType& GetPhoneType() const{ return m_phoneType; } /** *The phone type.
*/ inline bool PhoneTypeHasBeenSet() const { return m_phoneTypeHasBeenSet; } /** *The phone type.
*/ inline void SetPhoneType(const PhoneType& value) { m_phoneTypeHasBeenSet = true; m_phoneType = value; } /** *The phone type.
*/ inline void SetPhoneType(PhoneType&& value) { m_phoneTypeHasBeenSet = true; m_phoneType = std::move(value); } /** *The phone type.
*/ inline UserPhoneConfig& WithPhoneType(const PhoneType& value) { SetPhoneType(value); return *this;} /** *The phone type.
*/ inline UserPhoneConfig& WithPhoneType(PhoneType&& value) { SetPhoneType(std::move(value)); return *this;} /** *The Auto accept setting.
*/ inline bool GetAutoAccept() const{ return m_autoAccept; } /** *The Auto accept setting.
*/ inline bool AutoAcceptHasBeenSet() const { return m_autoAcceptHasBeenSet; } /** *The Auto accept setting.
*/ inline void SetAutoAccept(bool value) { m_autoAcceptHasBeenSet = true; m_autoAccept = value; } /** *The Auto accept setting.
*/ inline UserPhoneConfig& WithAutoAccept(bool value) { SetAutoAccept(value); return *this;} /** *The After Call Work (ACW) timeout setting, in seconds.
When
* returned by a SearchUsers
call,
* AfterContactWorkTimeLimit
is returned in milliseconds.
The After Call Work (ACW) timeout setting, in seconds.
When
* returned by a SearchUsers
call,
* AfterContactWorkTimeLimit
is returned in milliseconds.
The After Call Work (ACW) timeout setting, in seconds.
When
* returned by a SearchUsers
call,
* AfterContactWorkTimeLimit
is returned in milliseconds.
The After Call Work (ACW) timeout setting, in seconds.
When
* returned by a SearchUsers
call,
* AfterContactWorkTimeLimit
is returned in milliseconds.
The phone number for the user's desk phone.
*/ inline const Aws::String& GetDeskPhoneNumber() const{ return m_deskPhoneNumber; } /** *The phone number for the user's desk phone.
*/ inline bool DeskPhoneNumberHasBeenSet() const { return m_deskPhoneNumberHasBeenSet; } /** *The phone number for the user's desk phone.
*/ inline void SetDeskPhoneNumber(const Aws::String& value) { m_deskPhoneNumberHasBeenSet = true; m_deskPhoneNumber = value; } /** *The phone number for the user's desk phone.
*/ inline void SetDeskPhoneNumber(Aws::String&& value) { m_deskPhoneNumberHasBeenSet = true; m_deskPhoneNumber = std::move(value); } /** *The phone number for the user's desk phone.
*/ inline void SetDeskPhoneNumber(const char* value) { m_deskPhoneNumberHasBeenSet = true; m_deskPhoneNumber.assign(value); } /** *The phone number for the user's desk phone.
*/ inline UserPhoneConfig& WithDeskPhoneNumber(const Aws::String& value) { SetDeskPhoneNumber(value); return *this;} /** *The phone number for the user's desk phone.
*/ inline UserPhoneConfig& WithDeskPhoneNumber(Aws::String&& value) { SetDeskPhoneNumber(std::move(value)); return *this;} /** *The phone number for the user's desk phone.
*/ inline UserPhoneConfig& WithDeskPhoneNumber(const char* value) { SetDeskPhoneNumber(value); return *this;} private: PhoneType m_phoneType; bool m_phoneTypeHasBeenSet = false; bool m_autoAccept; bool m_autoAcceptHasBeenSet = false; int m_afterContactWorkTimeLimit; bool m_afterContactWorkTimeLimitHasBeenSet = false; Aws::String m_deskPhoneNumber; bool m_deskPhoneNumberHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws