AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
AutoAcceptConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/Channel.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
29 public:
30 AWS_CONNECT_API AutoAcceptConfig() = default;
31 AWS_CONNECT_API AutoAcceptConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline Channel GetChannel() const { return m_channel; }
41 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
42 inline void SetChannel(Channel value) {
43 m_channelHasBeenSet = true;
44 m_channel = value;
45 }
47 SetChannel(value);
48 return *this;
49 }
51
53
57 inline bool GetAutoAccept() const { return m_autoAccept; }
58 inline bool AutoAcceptHasBeenSet() const { return m_autoAcceptHasBeenSet; }
59 inline void SetAutoAccept(bool value) {
60 m_autoAcceptHasBeenSet = true;
61 m_autoAccept = value;
62 }
63 inline AutoAcceptConfig& WithAutoAccept(bool value) {
64 SetAutoAccept(value);
65 return *this;
66 }
68
70
74 inline bool GetAgentFirstCallbackAutoAccept() const { return m_agentFirstCallbackAutoAccept; }
75 inline bool AgentFirstCallbackAutoAcceptHasBeenSet() const { return m_agentFirstCallbackAutoAcceptHasBeenSet; }
76 inline void SetAgentFirstCallbackAutoAccept(bool value) {
77 m_agentFirstCallbackAutoAcceptHasBeenSet = true;
78 m_agentFirstCallbackAutoAccept = value;
79 }
82 return *this;
83 }
85 private:
86 Channel m_channel{Channel::NOT_SET};
87
88 bool m_autoAccept{false};
89
90 bool m_agentFirstCallbackAutoAccept{false};
91 bool m_channelHasBeenSet = false;
92 bool m_autoAcceptHasBeenSet = false;
93 bool m_agentFirstCallbackAutoAcceptHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace Connect
98} // namespace Aws
AutoAcceptConfig & WithAgentFirstCallbackAutoAccept(bool value)
AWS_CONNECT_API AutoAcceptConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API AutoAcceptConfig()=default
AutoAcceptConfig & WithAutoAccept(bool value)
AWS_CONNECT_API AutoAcceptConfig(Aws::Utils::Json::JsonView jsonValue)
AutoAcceptConfig & WithChannel(Channel value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue