AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserPhoneConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/PhoneType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECT_API UserPhoneConfig();
37 AWS_CONNECT_API UserPhoneConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const PhoneType& GetPhoneType() const{ return m_phoneType; }
47 inline bool PhoneTypeHasBeenSet() const { return m_phoneTypeHasBeenSet; }
48 inline void SetPhoneType(const PhoneType& value) { m_phoneTypeHasBeenSet = true; m_phoneType = value; }
49 inline void SetPhoneType(PhoneType&& value) { m_phoneTypeHasBeenSet = true; m_phoneType = std::move(value); }
50 inline UserPhoneConfig& WithPhoneType(const PhoneType& value) { SetPhoneType(value); return *this;}
51 inline UserPhoneConfig& WithPhoneType(PhoneType&& value) { SetPhoneType(std::move(value)); return *this;}
53
55
58 inline bool GetAutoAccept() const{ return m_autoAccept; }
59 inline bool AutoAcceptHasBeenSet() const { return m_autoAcceptHasBeenSet; }
60 inline void SetAutoAccept(bool value) { m_autoAcceptHasBeenSet = true; m_autoAccept = value; }
61 inline UserPhoneConfig& WithAutoAccept(bool value) { SetAutoAccept(value); return *this;}
63
65
74 inline int GetAfterContactWorkTimeLimit() const{ return m_afterContactWorkTimeLimit; }
75 inline bool AfterContactWorkTimeLimitHasBeenSet() const { return m_afterContactWorkTimeLimitHasBeenSet; }
76 inline void SetAfterContactWorkTimeLimit(int value) { m_afterContactWorkTimeLimitHasBeenSet = true; m_afterContactWorkTimeLimit = value; }
79
81
84 inline const Aws::String& GetDeskPhoneNumber() const{ return m_deskPhoneNumber; }
85 inline bool DeskPhoneNumberHasBeenSet() const { return m_deskPhoneNumberHasBeenSet; }
86 inline void SetDeskPhoneNumber(const Aws::String& value) { m_deskPhoneNumberHasBeenSet = true; m_deskPhoneNumber = value; }
87 inline void SetDeskPhoneNumber(Aws::String&& value) { m_deskPhoneNumberHasBeenSet = true; m_deskPhoneNumber = std::move(value); }
88 inline void SetDeskPhoneNumber(const char* value) { m_deskPhoneNumberHasBeenSet = true; m_deskPhoneNumber.assign(value); }
89 inline UserPhoneConfig& WithDeskPhoneNumber(const Aws::String& value) { SetDeskPhoneNumber(value); return *this;}
90 inline UserPhoneConfig& WithDeskPhoneNumber(Aws::String&& value) { SetDeskPhoneNumber(std::move(value)); return *this;}
91 inline UserPhoneConfig& WithDeskPhoneNumber(const char* value) { SetDeskPhoneNumber(value); return *this;}
93 private:
94
95 PhoneType m_phoneType;
96 bool m_phoneTypeHasBeenSet = false;
97
98 bool m_autoAccept;
99 bool m_autoAcceptHasBeenSet = false;
100
101 int m_afterContactWorkTimeLimit;
102 bool m_afterContactWorkTimeLimitHasBeenSet = false;
103
104 Aws::String m_deskPhoneNumber;
105 bool m_deskPhoneNumberHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Connect
110} // namespace Aws
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)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
UserPhoneConfig & WithAfterContactWorkTimeLimit(int value)
void SetPhoneType(PhoneType &&value)
UserPhoneConfig & WithPhoneType(const PhoneType &value)
UserPhoneConfig & WithDeskPhoneNumber(const Aws::String &value)
void SetDeskPhoneNumber(const char *value)
AWS_CONNECT_API UserPhoneConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const PhoneType & GetPhoneType() const
AWS_CONNECT_API UserPhoneConfig(Aws::Utils::Json::JsonView jsonValue)
UserPhoneConfig & WithDeskPhoneNumber(const char *value)
UserPhoneConfig & WithDeskPhoneNumber(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue