/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Pinpoint { namespace Model { /** *

Specifies the status and settings of the voice channel for an * application.

See Also:

AWS * API Reference

*/ class VoiceChannelRequest { public: AWS_PINPOINT_API VoiceChannelRequest(); AWS_PINPOINT_API VoiceChannelRequest(Aws::Utils::Json::JsonView jsonValue); AWS_PINPOINT_API VoiceChannelRequest& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Specifies whether to enable the voice channel for the application.

*/ inline bool GetEnabled() const{ return m_enabled; } /** *

Specifies whether to enable the voice channel for the application.

*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *

Specifies whether to enable the voice channel for the application.

*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *

Specifies whether to enable the voice channel for the application.

*/ inline VoiceChannelRequest& WithEnabled(bool value) { SetEnabled(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws