/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Configuration of the answering machine detection.See Also:
* AWS
* API Reference
The flag to indicate if answer machine detection analysis needs to be
* performed for a voice call. If set to true
,
* TrafficType
must be set as CAMPAIGN
.
The flag to indicate if answer machine detection analysis needs to be
* performed for a voice call. If set to true
,
* TrafficType
must be set as CAMPAIGN
.
The flag to indicate if answer machine detection analysis needs to be
* performed for a voice call. If set to true
,
* TrafficType
must be set as CAMPAIGN
.
The flag to indicate if answer machine detection analysis needs to be
* performed for a voice call. If set to true
,
* TrafficType
must be set as CAMPAIGN
.
Wait for the answering machine prompt.
*/ inline bool GetAwaitAnswerMachinePrompt() const{ return m_awaitAnswerMachinePrompt; } /** *Wait for the answering machine prompt.
*/ inline bool AwaitAnswerMachinePromptHasBeenSet() const { return m_awaitAnswerMachinePromptHasBeenSet; } /** *Wait for the answering machine prompt.
*/ inline void SetAwaitAnswerMachinePrompt(bool value) { m_awaitAnswerMachinePromptHasBeenSet = true; m_awaitAnswerMachinePrompt = value; } /** *Wait for the answering machine prompt.
*/ inline AnswerMachineDetectionConfig& WithAwaitAnswerMachinePrompt(bool value) { SetAwaitAnswerMachinePrompt(value); return *this;} private: bool m_enableAnswerMachineDetection; bool m_enableAnswerMachineDetectionHasBeenSet = false; bool m_awaitAnswerMachinePrompt; bool m_awaitAnswerMachinePromptHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws