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/connect/Connect_EXPORTS.h>
8 #include <aws/connect/ConnectRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Connect
15 {
16 namespace Model
17 {
18 
19   /**
20    */
21   class AWS_CONNECT_API DeleteQuickConnectRequest : public ConnectRequest
22   {
23   public:
24     DeleteQuickConnectRequest();
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 "DeleteQuickConnect"; }
31 
32     Aws::String SerializePayload() const override;
33 
34 
35     /**
36      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
37      * the ARN of the instance.</p>
38      */
GetInstanceId()39     inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
40 
41     /**
42      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
43      * the ARN of the instance.</p>
44      */
InstanceIdHasBeenSet()45     inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
46 
47     /**
48      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
49      * the ARN of the instance.</p>
50      */
SetInstanceId(const Aws::String & value)51     inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
52 
53     /**
54      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
55      * the ARN of the instance.</p>
56      */
SetInstanceId(Aws::String && value)57     inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
58 
59     /**
60      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
61      * the ARN of the instance.</p>
62      */
SetInstanceId(const char * value)63     inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
64 
65     /**
66      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
67      * the ARN of the instance.</p>
68      */
WithInstanceId(const Aws::String & value)69     inline DeleteQuickConnectRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
70 
71     /**
72      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
73      * the ARN of the instance.</p>
74      */
WithInstanceId(Aws::String && value)75     inline DeleteQuickConnectRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
76 
77     /**
78      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
79      * the ARN of the instance.</p>
80      */
WithInstanceId(const char * value)81     inline DeleteQuickConnectRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
82 
83 
84     /**
85      * <p>The identifier for the quick connect.</p>
86      */
GetQuickConnectId()87     inline const Aws::String& GetQuickConnectId() const{ return m_quickConnectId; }
88 
89     /**
90      * <p>The identifier for the quick connect.</p>
91      */
QuickConnectIdHasBeenSet()92     inline bool QuickConnectIdHasBeenSet() const { return m_quickConnectIdHasBeenSet; }
93 
94     /**
95      * <p>The identifier for the quick connect.</p>
96      */
SetQuickConnectId(const Aws::String & value)97     inline void SetQuickConnectId(const Aws::String& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = value; }
98 
99     /**
100      * <p>The identifier for the quick connect.</p>
101      */
SetQuickConnectId(Aws::String && value)102     inline void SetQuickConnectId(Aws::String&& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = std::move(value); }
103 
104     /**
105      * <p>The identifier for the quick connect.</p>
106      */
SetQuickConnectId(const char * value)107     inline void SetQuickConnectId(const char* value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId.assign(value); }
108 
109     /**
110      * <p>The identifier for the quick connect.</p>
111      */
WithQuickConnectId(const Aws::String & value)112     inline DeleteQuickConnectRequest& WithQuickConnectId(const Aws::String& value) { SetQuickConnectId(value); return *this;}
113 
114     /**
115      * <p>The identifier for the quick connect.</p>
116      */
WithQuickConnectId(Aws::String && value)117     inline DeleteQuickConnectRequest& WithQuickConnectId(Aws::String&& value) { SetQuickConnectId(std::move(value)); return *this;}
118 
119     /**
120      * <p>The identifier for the quick connect.</p>
121      */
WithQuickConnectId(const char * value)122     inline DeleteQuickConnectRequest& WithQuickConnectId(const char* value) { SetQuickConnectId(value); return *this;}
123 
124   private:
125 
126     Aws::String m_instanceId;
127     bool m_instanceIdHasBeenSet;
128 
129     Aws::String m_quickConnectId;
130     bool m_quickConnectIdHasBeenSet;
131   };
132 
133 } // namespace Model
134 } // namespace Connect
135 } // namespace Aws
136