7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/PhoneType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
60 inline void SetAutoAccept(
bool value) { m_autoAcceptHasBeenSet =
true; m_autoAccept = value; }
88 inline void SetDeskPhoneNumber(
const char* value) { m_deskPhoneNumberHasBeenSet =
true; m_deskPhoneNumber.assign(value); }
96 bool m_phoneTypeHasBeenSet =
false;
99 bool m_autoAcceptHasBeenSet =
false;
101 int m_afterContactWorkTimeLimit;
102 bool m_afterContactWorkTimeLimitHasBeenSet =
false;
105 bool m_deskPhoneNumberHasBeenSet =
false;
bool AutoAcceptHasBeenSet() const
const Aws::String & GetDeskPhoneNumber() const
UserPhoneConfig & WithPhoneType(PhoneType &&value)
void SetPhoneType(const PhoneType &value)
void SetDeskPhoneNumber(const Aws::String &value)
UserPhoneConfig & WithAutoAccept(bool value)
void SetDeskPhoneNumber(Aws::String &&value)
void SetAfterContactWorkTimeLimit(int value)
bool AfterContactWorkTimeLimitHasBeenSet() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool PhoneTypeHasBeenSet() const
UserPhoneConfig & WithAfterContactWorkTimeLimit(int value)
void SetPhoneType(PhoneType &&value)
UserPhoneConfig & WithPhoneType(const PhoneType &value)
UserPhoneConfig & WithDeskPhoneNumber(const Aws::String &value)
bool DeskPhoneNumberHasBeenSet() const
void SetDeskPhoneNumber(const char *value)
bool GetAutoAccept() const
AWS_CONNECT_API UserPhoneConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAutoAccept(bool value)
const PhoneType & GetPhoneType() const
AWS_CONNECT_API UserPhoneConfig(Aws::Utils::Json::JsonView jsonValue)
UserPhoneConfig & WithDeskPhoneNumber(const char *value)
int GetAfterContactWorkTimeLimit() const
AWS_CONNECT_API UserPhoneConfig()
UserPhoneConfig & WithDeskPhoneNumber(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue