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 #include <aws/pinpoint/PinpointRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Pinpoint
15 {
16 namespace Model
17 {
18 
19   /**
20    */
21   class AWS_PINPOINT_API GetVoiceChannelRequest : public PinpointRequest
22   {
23   public:
24     GetVoiceChannelRequest();
25 
26     // Service request name is the Operation name which will send this request out,
27     // each operation should has unique request name, so that we can get operation's name from this request.
28     // Note: this is not true for response, multiple operations may have the same response name,
29     // so we can not get operation's name from response.
GetServiceRequestName()30     inline virtual const char* GetServiceRequestName() const override { return "GetVoiceChannel"; }
31 
32     Aws::String SerializePayload() const override;
33 
34 
35     /**
36      * <p>The unique identifier for the application. This identifier is displayed as
37      * the <b>Project ID</b> on the Amazon Pinpoint console.</p>
38      */
GetApplicationId()39     inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
40 
41     /**
42      * <p>The unique identifier for the application. This identifier is displayed as
43      * the <b>Project ID</b> on the Amazon Pinpoint console.</p>
44      */
ApplicationIdHasBeenSet()45     inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
46 
47     /**
48      * <p>The unique identifier for the application. This identifier is displayed as
49      * the <b>Project ID</b> on the Amazon Pinpoint console.</p>
50      */
SetApplicationId(const Aws::String & value)51     inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
52 
53     /**
54      * <p>The unique identifier for the application. This identifier is displayed as
55      * the <b>Project ID</b> on the Amazon Pinpoint console.</p>
56      */
SetApplicationId(Aws::String && value)57     inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
58 
59     /**
60      * <p>The unique identifier for the application. This identifier is displayed as
61      * the <b>Project ID</b> on the Amazon Pinpoint console.</p>
62      */
SetApplicationId(const char * value)63     inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
64 
65     /**
66      * <p>The unique identifier for the application. This identifier is displayed as
67      * the <b>Project ID</b> on the Amazon Pinpoint console.</p>
68      */
WithApplicationId(const Aws::String & value)69     inline GetVoiceChannelRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
70 
71     /**
72      * <p>The unique identifier for the application. This identifier is displayed as
73      * the <b>Project ID</b> on the Amazon Pinpoint console.</p>
74      */
WithApplicationId(Aws::String && value)75     inline GetVoiceChannelRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
76 
77     /**
78      * <p>The unique identifier for the application. This identifier is displayed as
79      * the <b>Project ID</b> on the Amazon Pinpoint console.</p>
80      */
WithApplicationId(const char * value)81     inline GetVoiceChannelRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
82 
83   private:
84 
85     Aws::String m_applicationId;
86     bool m_applicationIdHasBeenSet;
87   };
88 
89 } // namespace Model
90 } // namespace Pinpoint
91 } // namespace Aws
92