AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const QuickConnectType& GetQuickConnectType() const{ return m_quickConnectType; }
51 inline bool QuickConnectTypeHasBeenSet() const { return m_quickConnectTypeHasBeenSet; }
52 inline void SetQuickConnectType(const QuickConnectType& value) { m_quickConnectTypeHasBeenSet = true; m_quickConnectType = value; }
53 inline void SetQuickConnectType(QuickConnectType&& value) { m_quickConnectTypeHasBeenSet = true; m_quickConnectType = std::move(value); }
54 inline QuickConnectConfig& WithQuickConnectType(const QuickConnectType& value) { SetQuickConnectType(value); return *this;}
55 inline QuickConnectConfig& WithQuickConnectType(QuickConnectType&& value) { SetQuickConnectType(std::move(value)); return *this;}
57
59
63 inline const UserQuickConnectConfig& GetUserConfig() const{ return m_userConfig; }
64 inline bool UserConfigHasBeenSet() const { return m_userConfigHasBeenSet; }
65 inline void SetUserConfig(const UserQuickConnectConfig& value) { m_userConfigHasBeenSet = true; m_userConfig = value; }
66 inline void SetUserConfig(UserQuickConnectConfig&& value) { m_userConfigHasBeenSet = true; m_userConfig = std::move(value); }
67 inline QuickConnectConfig& WithUserConfig(const UserQuickConnectConfig& value) { SetUserConfig(value); return *this;}
68 inline QuickConnectConfig& WithUserConfig(UserQuickConnectConfig&& value) { SetUserConfig(std::move(value)); return *this;}
70
72
76 inline const QueueQuickConnectConfig& GetQueueConfig() const{ return m_queueConfig; }
77 inline bool QueueConfigHasBeenSet() const { return m_queueConfigHasBeenSet; }
78 inline void SetQueueConfig(const QueueQuickConnectConfig& value) { m_queueConfigHasBeenSet = true; m_queueConfig = value; }
79 inline void SetQueueConfig(QueueQuickConnectConfig&& value) { m_queueConfigHasBeenSet = true; m_queueConfig = std::move(value); }
80 inline QuickConnectConfig& WithQueueConfig(const QueueQuickConnectConfig& value) { SetQueueConfig(value); return *this;}
81 inline QuickConnectConfig& WithQueueConfig(QueueQuickConnectConfig&& value) { SetQueueConfig(std::move(value)); return *this;}
83
85
89 inline const PhoneNumberQuickConnectConfig& GetPhoneConfig() const{ return m_phoneConfig; }
90 inline bool PhoneConfigHasBeenSet() const { return m_phoneConfigHasBeenSet; }
91 inline void SetPhoneConfig(const PhoneNumberQuickConnectConfig& value) { m_phoneConfigHasBeenSet = true; m_phoneConfig = value; }
92 inline void SetPhoneConfig(PhoneNumberQuickConnectConfig&& value) { m_phoneConfigHasBeenSet = true; m_phoneConfig = std::move(value); }
94 inline QuickConnectConfig& WithPhoneConfig(PhoneNumberQuickConnectConfig&& value) { SetPhoneConfig(std::move(value)); return *this;}
96 private:
97
98 QuickConnectType m_quickConnectType;
99 bool m_quickConnectTypeHasBeenSet = false;
100
101 UserQuickConnectConfig m_userConfig;
102 bool m_userConfigHasBeenSet = false;
103
104 QueueQuickConnectConfig m_queueConfig;
105 bool m_queueConfigHasBeenSet = false;
106
107 PhoneNumberQuickConnectConfig m_phoneConfig;
108 bool m_phoneConfigHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Connect
113} // namespace Aws
AWS_CONNECT_API QuickConnectConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
QuickConnectConfig & WithQueueConfig(const QueueQuickConnectConfig &value)
QuickConnectConfig & WithPhoneConfig(const PhoneNumberQuickConnectConfig &value)
void SetQueueConfig(QueueQuickConnectConfig &&value)
void SetUserConfig(const UserQuickConnectConfig &value)
QuickConnectConfig & WithPhoneConfig(PhoneNumberQuickConnectConfig &&value)
void SetQuickConnectType(const QuickConnectType &value)
const QuickConnectType & GetQuickConnectType() const
const QueueQuickConnectConfig & GetQueueConfig() const
void SetPhoneConfig(const PhoneNumberQuickConnectConfig &value)
QuickConnectConfig & WithQuickConnectType(QuickConnectType &&value)
QuickConnectConfig & WithUserConfig(UserQuickConnectConfig &&value)
QuickConnectConfig & WithQuickConnectType(const QuickConnectType &value)
QuickConnectConfig & WithQueueConfig(QueueQuickConnectConfig &&value)
void SetQueueConfig(const QueueQuickConnectConfig &value)
void SetQuickConnectType(QuickConnectType &&value)
const PhoneNumberQuickConnectConfig & GetPhoneConfig() const
const UserQuickConnectConfig & GetUserConfig() const
void SetPhoneConfig(PhoneNumberQuickConnectConfig &&value)
void SetUserConfig(UserQuickConnectConfig &&value)
QuickConnectConfig & WithUserConfig(const UserQuickConnectConfig &value)
AWS_CONNECT_API QuickConnectConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue