1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/pinpoint/Pinpoint_EXPORTS.h>
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 Pinpoint
20 {
21 namespace Model
22 {
23 
24   /**
25    * <p>Specifies the status and settings of the voice channel for an
26    * application.</p><p><h3>See Also:</h3>   <a
27    * href="http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/VoiceChannelRequest">AWS
28    * API Reference</a></p>
29    */
30   class AWS_PINPOINT_API VoiceChannelRequest
31   {
32   public:
33     VoiceChannelRequest();
34     VoiceChannelRequest(Aws::Utils::Json::JsonView jsonValue);
35     VoiceChannelRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
36     Aws::Utils::Json::JsonValue Jsonize() const;
37 
38 
39     /**
40      * <p>Specifies whether to enable the voice channel for the application.</p>
41      */
GetEnabled()42     inline bool GetEnabled() const{ return m_enabled; }
43 
44     /**
45      * <p>Specifies whether to enable the voice channel for the application.</p>
46      */
EnabledHasBeenSet()47     inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
48 
49     /**
50      * <p>Specifies whether to enable the voice channel for the application.</p>
51      */
SetEnabled(bool value)52     inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
53 
54     /**
55      * <p>Specifies whether to enable the voice channel for the application.</p>
56      */
WithEnabled(bool value)57     inline VoiceChannelRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
58 
59   private:
60 
61     bool m_enabled;
62     bool m_enabledHasBeenSet;
63   };
64 
65 } // namespace Model
66 } // namespace Pinpoint
67 } // namespace Aws
68