AWS SDK for C++

AWS SDK for C++ Version 1.11.691

Loading...
Searching...
No Matches
AnswerMachineDetectionConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Connect {
17namespace Model {
18
26 public:
27 AWS_CONNECT_API AnswerMachineDetectionConfig() = default;
30 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
38 inline bool GetEnableAnswerMachineDetection() const { return m_enableAnswerMachineDetection; }
39 inline bool EnableAnswerMachineDetectionHasBeenSet() const { return m_enableAnswerMachineDetectionHasBeenSet; }
40 inline void SetEnableAnswerMachineDetection(bool value) {
41 m_enableAnswerMachineDetectionHasBeenSet = true;
42 m_enableAnswerMachineDetection = value;
43 }
46 return *this;
47 }
49
51
54 inline bool GetAwaitAnswerMachinePrompt() const { return m_awaitAnswerMachinePrompt; }
55 inline bool AwaitAnswerMachinePromptHasBeenSet() const { return m_awaitAnswerMachinePromptHasBeenSet; }
56 inline void SetAwaitAnswerMachinePrompt(bool value) {
57 m_awaitAnswerMachinePromptHasBeenSet = true;
58 m_awaitAnswerMachinePrompt = value;
59 }
62 return *this;
63 }
65 private:
66 bool m_enableAnswerMachineDetection{false};
67 bool m_enableAnswerMachineDetectionHasBeenSet = false;
68
69 bool m_awaitAnswerMachinePrompt{false};
70 bool m_awaitAnswerMachinePromptHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace Connect
75} // namespace Aws
AnswerMachineDetectionConfig & WithAwaitAnswerMachinePrompt(bool value)
AWS_CONNECT_API AnswerMachineDetectionConfig()=default
AWS_CONNECT_API AnswerMachineDetectionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AnswerMachineDetectionConfig & WithEnableAnswerMachineDetection(bool value)
AWS_CONNECT_API AnswerMachineDetectionConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue