AWS SDK for C++  1.9.158
AWS SDK for C++
UserPhoneConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Connect
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const PhoneType& GetPhoneType() const{ return m_phoneType; }
46 
50  inline bool PhoneTypeHasBeenSet() const { return m_phoneTypeHasBeenSet; }
51 
55  inline void SetPhoneType(const PhoneType& value) { m_phoneTypeHasBeenSet = true; m_phoneType = value; }
56 
60  inline void SetPhoneType(PhoneType&& value) { m_phoneTypeHasBeenSet = true; m_phoneType = std::move(value); }
61 
65  inline UserPhoneConfig& WithPhoneType(const PhoneType& value) { SetPhoneType(value); return *this;}
66 
70  inline UserPhoneConfig& WithPhoneType(PhoneType&& value) { SetPhoneType(std::move(value)); return *this;}
71 
72 
76  inline bool GetAutoAccept() const{ return m_autoAccept; }
77 
81  inline bool AutoAcceptHasBeenSet() const { return m_autoAcceptHasBeenSet; }
82 
86  inline void SetAutoAccept(bool value) { m_autoAcceptHasBeenSet = true; m_autoAccept = value; }
87 
91  inline UserPhoneConfig& WithAutoAccept(bool value) { SetAutoAccept(value); return *this;}
92 
93 
97  inline int GetAfterContactWorkTimeLimit() const{ return m_afterContactWorkTimeLimit; }
98 
102  inline bool AfterContactWorkTimeLimitHasBeenSet() const { return m_afterContactWorkTimeLimitHasBeenSet; }
103 
107  inline void SetAfterContactWorkTimeLimit(int value) { m_afterContactWorkTimeLimitHasBeenSet = true; m_afterContactWorkTimeLimit = value; }
108 
112  inline UserPhoneConfig& WithAfterContactWorkTimeLimit(int value) { SetAfterContactWorkTimeLimit(value); return *this;}
113 
114 
118  inline const Aws::String& GetDeskPhoneNumber() const{ return m_deskPhoneNumber; }
119 
123  inline bool DeskPhoneNumberHasBeenSet() const { return m_deskPhoneNumberHasBeenSet; }
124 
128  inline void SetDeskPhoneNumber(const Aws::String& value) { m_deskPhoneNumberHasBeenSet = true; m_deskPhoneNumber = value; }
129 
133  inline void SetDeskPhoneNumber(Aws::String&& value) { m_deskPhoneNumberHasBeenSet = true; m_deskPhoneNumber = std::move(value); }
134 
138  inline void SetDeskPhoneNumber(const char* value) { m_deskPhoneNumberHasBeenSet = true; m_deskPhoneNumber.assign(value); }
139 
143  inline UserPhoneConfig& WithDeskPhoneNumber(const Aws::String& value) { SetDeskPhoneNumber(value); return *this;}
144 
148  inline UserPhoneConfig& WithDeskPhoneNumber(Aws::String&& value) { SetDeskPhoneNumber(std::move(value)); return *this;}
149 
153  inline UserPhoneConfig& WithDeskPhoneNumber(const char* value) { SetDeskPhoneNumber(value); return *this;}
154 
155  private:
156 
157  PhoneType m_phoneType;
158  bool m_phoneTypeHasBeenSet;
159 
160  bool m_autoAccept;
161  bool m_autoAcceptHasBeenSet;
162 
163  int m_afterContactWorkTimeLimit;
164  bool m_afterContactWorkTimeLimitHasBeenSet;
165 
166  Aws::String m_deskPhoneNumber;
167  bool m_deskPhoneNumberHasBeenSet;
168  };
169 
170 } // namespace Model
171 } // namespace Connect
172 } // namespace Aws
Aws::Connect::Model::UserPhoneConfig::WithDeskPhoneNumber
UserPhoneConfig & WithDeskPhoneNumber(Aws::String &&value)
Definition: UserPhoneConfig.h:148
Aws::Connect::Model::UserPhoneConfig::GetAfterContactWorkTimeLimit
int GetAfterContactWorkTimeLimit() const
Definition: UserPhoneConfig.h:97
Aws::Connect::Model::UserPhoneConfig::AutoAcceptHasBeenSet
bool AutoAcceptHasBeenSet() const
Definition: UserPhoneConfig.h:81
Aws::Connect::Model::UserPhoneConfig::SetAfterContactWorkTimeLimit
void SetAfterContactWorkTimeLimit(int value)
Definition: UserPhoneConfig.h:107
Aws::Connect::Model::UserPhoneConfig::GetPhoneType
const PhoneType & GetPhoneType() const
Definition: UserPhoneConfig.h:45
Aws::Connect::Model::UserPhoneConfig::PhoneTypeHasBeenSet
bool PhoneTypeHasBeenSet() const
Definition: UserPhoneConfig.h:50
Aws::Connect::Model::UserPhoneConfig
Definition: UserPhoneConfig.h:34
Aws::Connect::Model::UserPhoneConfig::SetAutoAccept
void SetAutoAccept(bool value)
Definition: UserPhoneConfig.h:86
Aws::Connect::Model::UserPhoneConfig::AfterContactWorkTimeLimitHasBeenSet
bool AfterContactWorkTimeLimitHasBeenSet() const
Definition: UserPhoneConfig.h:102
Aws::Connect::Model::UserPhoneConfig::SetDeskPhoneNumber
void SetDeskPhoneNumber(const Aws::String &value)
Definition: UserPhoneConfig.h:128
Aws::Connect::Model::UserPhoneConfig::WithAutoAccept
UserPhoneConfig & WithAutoAccept(bool value)
Definition: UserPhoneConfig.h:91
Aws::Connect::Model::UserPhoneConfig::GetDeskPhoneNumber
const Aws::String & GetDeskPhoneNumber() const
Definition: UserPhoneConfig.h:118
Aws::Connect::Model::UserPhoneConfig::SetDeskPhoneNumber
void SetDeskPhoneNumber(const char *value)
Definition: UserPhoneConfig.h:138
Aws::Connect::Model::UserPhoneConfig::WithPhoneType
UserPhoneConfig & WithPhoneType(PhoneType &&value)
Definition: UserPhoneConfig.h:70
Aws::Connect::Model::UserPhoneConfig::WithAfterContactWorkTimeLimit
UserPhoneConfig & WithAfterContactWorkTimeLimit(int value)
Definition: UserPhoneConfig.h:112
Aws::Connect::Model::UserPhoneConfig::GetAutoAccept
bool GetAutoAccept() const
Definition: UserPhoneConfig.h:76
Aws::Connect::Model::PhoneType
PhoneType
Definition: PhoneType.h:17
PhoneType.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::UserPhoneConfig::DeskPhoneNumberHasBeenSet
bool DeskPhoneNumberHasBeenSet() const
Definition: UserPhoneConfig.h:123
Aws::Connect::Model::UserPhoneConfig::WithDeskPhoneNumber
UserPhoneConfig & WithDeskPhoneNumber(const char *value)
Definition: UserPhoneConfig.h:153
Aws::Connect::Model::UserPhoneConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::UserPhoneConfig::SetPhoneType
void SetPhoneType(PhoneType &&value)
Definition: UserPhoneConfig.h:60
Aws::Connect::Model::UserPhoneConfig::UserPhoneConfig
UserPhoneConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::UserPhoneConfig::WithPhoneType
UserPhoneConfig & WithPhoneType(const PhoneType &value)
Definition: UserPhoneConfig.h:65
Aws::Connect::Model::UserPhoneConfig::operator=
UserPhoneConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::UserPhoneConfig::SetDeskPhoneNumber
void SetDeskPhoneNumber(Aws::String &&value)
Definition: UserPhoneConfig.h:133
Aws::Connect::Model::UserPhoneConfig::UserPhoneConfig
UserPhoneConfig()
Aws::Connect::Model::UserPhoneConfig::WithDeskPhoneNumber
UserPhoneConfig & WithDeskPhoneNumber(const Aws::String &value)
Definition: UserPhoneConfig.h:143
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::UserPhoneConfig::SetPhoneType
void SetPhoneType(const PhoneType &value)
Definition: UserPhoneConfig.h:55