AWS SDK for C++  1.9.158
AWS SDK for C++
QuickConnectConfig.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Connect
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
49  inline const QuickConnectType& GetQuickConnectType() const{ return m_quickConnectType; }
50 
56  inline bool QuickConnectTypeHasBeenSet() const { return m_quickConnectTypeHasBeenSet; }
57 
63  inline void SetQuickConnectType(const QuickConnectType& value) { m_quickConnectTypeHasBeenSet = true; m_quickConnectType = value; }
64 
70  inline void SetQuickConnectType(QuickConnectType&& value) { m_quickConnectTypeHasBeenSet = true; m_quickConnectType = std::move(value); }
71 
77  inline QuickConnectConfig& WithQuickConnectType(const QuickConnectType& value) { SetQuickConnectType(value); return *this;}
78 
84  inline QuickConnectConfig& WithQuickConnectType(QuickConnectType&& value) { SetQuickConnectType(std::move(value)); return *this;}
85 
86 
91  inline const UserQuickConnectConfig& GetUserConfig() const{ return m_userConfig; }
92 
97  inline bool UserConfigHasBeenSet() const { return m_userConfigHasBeenSet; }
98 
103  inline void SetUserConfig(const UserQuickConnectConfig& value) { m_userConfigHasBeenSet = true; m_userConfig = value; }
104 
109  inline void SetUserConfig(UserQuickConnectConfig&& value) { m_userConfigHasBeenSet = true; m_userConfig = std::move(value); }
110 
115  inline QuickConnectConfig& WithUserConfig(const UserQuickConnectConfig& value) { SetUserConfig(value); return *this;}
116 
121  inline QuickConnectConfig& WithUserConfig(UserQuickConnectConfig&& value) { SetUserConfig(std::move(value)); return *this;}
122 
123 
128  inline const QueueQuickConnectConfig& GetQueueConfig() const{ return m_queueConfig; }
129 
134  inline bool QueueConfigHasBeenSet() const { return m_queueConfigHasBeenSet; }
135 
140  inline void SetQueueConfig(const QueueQuickConnectConfig& value) { m_queueConfigHasBeenSet = true; m_queueConfig = value; }
141 
146  inline void SetQueueConfig(QueueQuickConnectConfig&& value) { m_queueConfigHasBeenSet = true; m_queueConfig = std::move(value); }
147 
152  inline QuickConnectConfig& WithQueueConfig(const QueueQuickConnectConfig& value) { SetQueueConfig(value); return *this;}
153 
158  inline QuickConnectConfig& WithQueueConfig(QueueQuickConnectConfig&& value) { SetQueueConfig(std::move(value)); return *this;}
159 
160 
165  inline const PhoneNumberQuickConnectConfig& GetPhoneConfig() const{ return m_phoneConfig; }
166 
171  inline bool PhoneConfigHasBeenSet() const { return m_phoneConfigHasBeenSet; }
172 
177  inline void SetPhoneConfig(const PhoneNumberQuickConnectConfig& value) { m_phoneConfigHasBeenSet = true; m_phoneConfig = value; }
178 
183  inline void SetPhoneConfig(PhoneNumberQuickConnectConfig&& value) { m_phoneConfigHasBeenSet = true; m_phoneConfig = std::move(value); }
184 
189  inline QuickConnectConfig& WithPhoneConfig(const PhoneNumberQuickConnectConfig& value) { SetPhoneConfig(value); return *this;}
190 
195  inline QuickConnectConfig& WithPhoneConfig(PhoneNumberQuickConnectConfig&& value) { SetPhoneConfig(std::move(value)); return *this;}
196 
197  private:
198 
199  QuickConnectType m_quickConnectType;
200  bool m_quickConnectTypeHasBeenSet;
201 
202  UserQuickConnectConfig m_userConfig;
203  bool m_userConfigHasBeenSet;
204 
205  QueueQuickConnectConfig m_queueConfig;
206  bool m_queueConfigHasBeenSet;
207 
208  PhoneNumberQuickConnectConfig m_phoneConfig;
209  bool m_phoneConfigHasBeenSet;
210  };
211 
212 } // namespace Model
213 } // namespace Connect
214 } // namespace Aws
Aws::Connect::Model::QuickConnectConfig::QuickConnectTypeHasBeenSet
bool QuickConnectTypeHasBeenSet() const
Definition: QuickConnectConfig.h:56
Aws::Connect::Model::QuickConnectConfig::WithQuickConnectType
QuickConnectConfig & WithQuickConnectType(QuickConnectType &&value)
Definition: QuickConnectConfig.h:84
Aws::Connect::Model::QuickConnectConfig::WithQueueConfig
QuickConnectConfig & WithQueueConfig(QueueQuickConnectConfig &&value)
Definition: QuickConnectConfig.h:158
Aws::Connect::Model::QuickConnectConfig::SetUserConfig
void SetUserConfig(const UserQuickConnectConfig &value)
Definition: QuickConnectConfig.h:103
Aws::Connect::Model::QuickConnectConfig::SetPhoneConfig
void SetPhoneConfig(const PhoneNumberQuickConnectConfig &value)
Definition: QuickConnectConfig.h:177
Aws::Connect::Model::QuickConnectConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::QuickConnectConfig::SetPhoneConfig
void SetPhoneConfig(PhoneNumberQuickConnectConfig &&value)
Definition: QuickConnectConfig.h:183
Aws::Connect::Model::QuickConnectConfig::SetQueueConfig
void SetQueueConfig(QueueQuickConnectConfig &&value)
Definition: QuickConnectConfig.h:146
Aws::Connect::Model::QuickConnectConfig::GetQueueConfig
const QueueQuickConnectConfig & GetQueueConfig() const
Definition: QuickConnectConfig.h:128
Aws::Connect::Model::QuickConnectConfig::WithUserConfig
QuickConnectConfig & WithUserConfig(UserQuickConnectConfig &&value)
Definition: QuickConnectConfig.h:121
Aws::Connect::Model::QuickConnectType
QuickConnectType
Definition: QuickConnectType.h:17
Aws::Connect::Model::QuickConnectConfig::WithPhoneConfig
QuickConnectConfig & WithPhoneConfig(PhoneNumberQuickConnectConfig &&value)
Definition: QuickConnectConfig.h:195
QuickConnectType.h
Aws::Connect::Model::QuickConnectConfig::SetUserConfig
void SetUserConfig(UserQuickConnectConfig &&value)
Definition: QuickConnectConfig.h:109
Aws::Connect::Model::QuickConnectConfig::QuickConnectConfig
QuickConnectConfig()
Aws::Connect::Model::QuickConnectConfig::GetPhoneConfig
const PhoneNumberQuickConnectConfig & GetPhoneConfig() const
Definition: QuickConnectConfig.h:165
Aws::Connect::Model::QuickConnectConfig::SetQuickConnectType
void SetQuickConnectType(const QuickConnectType &value)
Definition: QuickConnectConfig.h:63
Aws::Connect::Model::QuickConnectConfig::WithQuickConnectType
QuickConnectConfig & WithQuickConnectType(const QuickConnectType &value)
Definition: QuickConnectConfig.h:77
Aws::Connect::Model::UserQuickConnectConfig
Definition: UserQuickConnectConfig.h:34
Aws::Connect::Model::QuickConnectConfig::WithPhoneConfig
QuickConnectConfig & WithPhoneConfig(const PhoneNumberQuickConnectConfig &value)
Definition: QuickConnectConfig.h:189
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
UserQuickConnectConfig.h
PhoneNumberQuickConnectConfig.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::QuickConnectConfig::UserConfigHasBeenSet
bool UserConfigHasBeenSet() const
Definition: QuickConnectConfig.h:97
Aws::Connect::Model::QuickConnectConfig::QueueConfigHasBeenSet
bool QueueConfigHasBeenSet() const
Definition: QuickConnectConfig.h:134
Aws::Connect::Model::QuickConnectConfig::WithUserConfig
QuickConnectConfig & WithUserConfig(const UserQuickConnectConfig &value)
Definition: QuickConnectConfig.h:115
Aws::Connect::Model::QuickConnectConfig::QuickConnectConfig
QuickConnectConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::QuickConnectConfig::WithQueueConfig
QuickConnectConfig & WithQueueConfig(const QueueQuickConnectConfig &value)
Definition: QuickConnectConfig.h:152
Aws::Connect::Model::QuickConnectConfig::SetQueueConfig
void SetQueueConfig(const QueueQuickConnectConfig &value)
Definition: QuickConnectConfig.h:140
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::QuickConnectConfig::GetUserConfig
const UserQuickConnectConfig & GetUserConfig() const
Definition: QuickConnectConfig.h:91
Aws::Connect::Model::QuickConnectConfig
Definition: QuickConnectConfig.h:36
QueueQuickConnectConfig.h
Aws::Connect::Model::QueueQuickConnectConfig
Definition: QueueQuickConnectConfig.h:33
Aws::Connect::Model::QuickConnectConfig::PhoneConfigHasBeenSet
bool PhoneConfigHasBeenSet() const
Definition: QuickConnectConfig.h:171
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::QuickConnectConfig::operator=
QuickConnectConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::QuickConnectConfig::SetQuickConnectType
void SetQuickConnectType(QuickConnectType &&value)
Definition: QuickConnectConfig.h:70
Connect_EXPORTS.h
Aws::Connect::Model::QuickConnectConfig::GetQuickConnectType
const QuickConnectType & GetQuickConnectType() const
Definition: QuickConnectConfig.h:49
Aws::Connect::Model::PhoneNumberQuickConnectConfig
Definition: PhoneNumberQuickConnectConfig.h:33