AWS SDK for C++  1.9.154
AWS SDK for C++
AnswerMachineDetectionConfig.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace Connect
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
44  inline bool GetEnableAnswerMachineDetection() const{ return m_enableAnswerMachineDetection; }
45 
51  inline bool EnableAnswerMachineDetectionHasBeenSet() const { return m_enableAnswerMachineDetectionHasBeenSet; }
52 
58  inline void SetEnableAnswerMachineDetection(bool value) { m_enableAnswerMachineDetectionHasBeenSet = true; m_enableAnswerMachineDetection = value; }
59 
65  inline AnswerMachineDetectionConfig& WithEnableAnswerMachineDetection(bool value) { SetEnableAnswerMachineDetection(value); return *this;}
66 
67 
71  inline bool GetAwaitAnswerMachinePrompt() const{ return m_awaitAnswerMachinePrompt; }
72 
76  inline bool AwaitAnswerMachinePromptHasBeenSet() const { return m_awaitAnswerMachinePromptHasBeenSet; }
77 
81  inline void SetAwaitAnswerMachinePrompt(bool value) { m_awaitAnswerMachinePromptHasBeenSet = true; m_awaitAnswerMachinePrompt = value; }
82 
86  inline AnswerMachineDetectionConfig& WithAwaitAnswerMachinePrompt(bool value) { SetAwaitAnswerMachinePrompt(value); return *this;}
87 
88  private:
89 
90  bool m_enableAnswerMachineDetection;
91  bool m_enableAnswerMachineDetectionHasBeenSet;
92 
93  bool m_awaitAnswerMachinePrompt;
94  bool m_awaitAnswerMachinePromptHasBeenSet;
95  };
96 
97 } // namespace Model
98 } // namespace Connect
99 } // namespace Aws
Aws::Connect::Model::AnswerMachineDetectionConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::AnswerMachineDetectionConfig::AwaitAnswerMachinePromptHasBeenSet
bool AwaitAnswerMachinePromptHasBeenSet() const
Definition: AnswerMachineDetectionConfig.h:76
Aws::Connect::Model::AnswerMachineDetectionConfig::WithEnableAnswerMachineDetection
AnswerMachineDetectionConfig & WithEnableAnswerMachineDetection(bool value)
Definition: AnswerMachineDetectionConfig.h:65
Aws::Connect::Model::AnswerMachineDetectionConfig::WithAwaitAnswerMachinePrompt
AnswerMachineDetectionConfig & WithAwaitAnswerMachinePrompt(bool value)
Definition: AnswerMachineDetectionConfig.h:86
Aws::Connect::Model::AnswerMachineDetectionConfig::operator=
AnswerMachineDetectionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::AnswerMachineDetectionConfig::GetEnableAnswerMachineDetection
bool GetEnableAnswerMachineDetection() const
Definition: AnswerMachineDetectionConfig.h:44
Aws::Connect::Model::AnswerMachineDetectionConfig::SetAwaitAnswerMachinePrompt
void SetAwaitAnswerMachinePrompt(bool value)
Definition: AnswerMachineDetectionConfig.h:81
Aws::Connect::Model::AnswerMachineDetectionConfig::EnableAnswerMachineDetectionHasBeenSet
bool EnableAnswerMachineDetectionHasBeenSet() const
Definition: AnswerMachineDetectionConfig.h:51
Aws::Connect::Model::AnswerMachineDetectionConfig::SetEnableAnswerMachineDetection
void SetEnableAnswerMachineDetection(bool value)
Definition: AnswerMachineDetectionConfig.h:58
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::AnswerMachineDetectionConfig::GetAwaitAnswerMachinePrompt
bool GetAwaitAnswerMachinePrompt() const
Definition: AnswerMachineDetectionConfig.h:71
Aws::Connect::Model::AnswerMachineDetectionConfig::AnswerMachineDetectionConfig
AnswerMachineDetectionConfig()
Aws::Connect::Model::AnswerMachineDetectionConfig::AnswerMachineDetectionConfig
AnswerMachineDetectionConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::AnswerMachineDetectionConfig
Definition: AnswerMachineDetectionConfig.h:31
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h