AWS SDK for C++

AWS SDK for C++ Version 1.11.611

Loading...
Searching...
No Matches
QuickConnectConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/QuickConnectType.h>
9#include <aws/connect/model/UserQuickConnectConfig.h>
10#include <aws/connect/model/QueueQuickConnectConfig.h>
11#include <aws/connect/model/PhoneNumberQuickConnectConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Connect
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CONNECT_API QuickConnectConfig() = default;
41 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline QuickConnectType GetQuickConnectType() const { return m_quickConnectType; }
51 inline bool QuickConnectTypeHasBeenSet() const { return m_quickConnectTypeHasBeenSet; }
52 inline void SetQuickConnectType(QuickConnectType value) { m_quickConnectTypeHasBeenSet = true; m_quickConnectType = value; }
55
57
61 inline const UserQuickConnectConfig& GetUserConfig() const { return m_userConfig; }
62 inline bool UserConfigHasBeenSet() const { return m_userConfigHasBeenSet; }
63 template<typename UserConfigT = UserQuickConnectConfig>
64 void SetUserConfig(UserConfigT&& value) { m_userConfigHasBeenSet = true; m_userConfig = std::forward<UserConfigT>(value); }
65 template<typename UserConfigT = UserQuickConnectConfig>
66 QuickConnectConfig& WithUserConfig(UserConfigT&& value) { SetUserConfig(std::forward<UserConfigT>(value)); return *this;}
68
70
74 inline const QueueQuickConnectConfig& GetQueueConfig() const { return m_queueConfig; }
75 inline bool QueueConfigHasBeenSet() const { return m_queueConfigHasBeenSet; }
76 template<typename QueueConfigT = QueueQuickConnectConfig>
77 void SetQueueConfig(QueueConfigT&& value) { m_queueConfigHasBeenSet = true; m_queueConfig = std::forward<QueueConfigT>(value); }
78 template<typename QueueConfigT = QueueQuickConnectConfig>
79 QuickConnectConfig& WithQueueConfig(QueueConfigT&& value) { SetQueueConfig(std::forward<QueueConfigT>(value)); return *this;}
81
83
87 inline const PhoneNumberQuickConnectConfig& GetPhoneConfig() const { return m_phoneConfig; }
88 inline bool PhoneConfigHasBeenSet() const { return m_phoneConfigHasBeenSet; }
89 template<typename PhoneConfigT = PhoneNumberQuickConnectConfig>
90 void SetPhoneConfig(PhoneConfigT&& value) { m_phoneConfigHasBeenSet = true; m_phoneConfig = std::forward<PhoneConfigT>(value); }
91 template<typename PhoneConfigT = PhoneNumberQuickConnectConfig>
92 QuickConnectConfig& WithPhoneConfig(PhoneConfigT&& value) { SetPhoneConfig(std::forward<PhoneConfigT>(value)); return *this;}
94 private:
95
97 bool m_quickConnectTypeHasBeenSet = false;
98
99 UserQuickConnectConfig m_userConfig;
100 bool m_userConfigHasBeenSet = false;
101
102 QueueQuickConnectConfig m_queueConfig;
103 bool m_queueConfigHasBeenSet = false;
104
105 PhoneNumberQuickConnectConfig m_phoneConfig;
106 bool m_phoneConfigHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Connect
111} // namespace Aws
QuickConnectConfig & WithUserConfig(UserConfigT &&value)
AWS_CONNECT_API QuickConnectConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetQuickConnectType(QuickConnectType value)
QuickConnectConfig & WithQueueConfig(QueueConfigT &&value)
const QueueQuickConnectConfig & GetQueueConfig() const
QuickConnectConfig & WithQuickConnectType(QuickConnectType value)
QuickConnectConfig & WithPhoneConfig(PhoneConfigT &&value)
const PhoneNumberQuickConnectConfig & GetPhoneConfig() const
const UserQuickConnectConfig & GetUserConfig() const
AWS_CONNECT_API QuickConnectConfig()=default
void SetPhoneConfig(PhoneConfigT &&value)
void SetQueueConfig(QueueConfigT &&value)
AWS_CONNECT_API QuickConnectConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue