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 <aws/connect/model/QuickConnectConfig.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Connect
16 {
17 namespace Model
18 {
19 
20   /**
21    */
22   class AWS_CONNECT_API UpdateQuickConnectConfigRequest : public ConnectRequest
23   {
24   public:
25     UpdateQuickConnectConfigRequest();
26 
27     // Service request name is the Operation name which will send this request out,
28     // each operation should has unique request name, so that we can get operation's name from this request.
29     // Note: this is not true for response, multiple operations may have the same response name,
30     // so we can not get operation's name from response.
GetServiceRequestName()31     inline virtual const char* GetServiceRequestName() const override { return "UpdateQuickConnectConfig"; }
32 
33     Aws::String SerializePayload() const override;
34 
35 
36     /**
37      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
38      * the ARN of the instance.</p>
39      */
GetInstanceId()40     inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
41 
42     /**
43      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
44      * the ARN of the instance.</p>
45      */
InstanceIdHasBeenSet()46     inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
47 
48     /**
49      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
50      * the ARN of the instance.</p>
51      */
SetInstanceId(const Aws::String & value)52     inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
53 
54     /**
55      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
56      * the ARN of the instance.</p>
57      */
SetInstanceId(Aws::String && value)58     inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
59 
60     /**
61      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
62      * the ARN of the instance.</p>
63      */
SetInstanceId(const char * value)64     inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
65 
66     /**
67      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
68      * the ARN of the instance.</p>
69      */
WithInstanceId(const Aws::String & value)70     inline UpdateQuickConnectConfigRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
71 
72     /**
73      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
74      * the ARN of the instance.</p>
75      */
WithInstanceId(Aws::String && value)76     inline UpdateQuickConnectConfigRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
77 
78     /**
79      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
80      * the ARN of the instance.</p>
81      */
WithInstanceId(const char * value)82     inline UpdateQuickConnectConfigRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
83 
84 
85     /**
86      * <p>The identifier for the quick connect.</p>
87      */
GetQuickConnectId()88     inline const Aws::String& GetQuickConnectId() const{ return m_quickConnectId; }
89 
90     /**
91      * <p>The identifier for the quick connect.</p>
92      */
QuickConnectIdHasBeenSet()93     inline bool QuickConnectIdHasBeenSet() const { return m_quickConnectIdHasBeenSet; }
94 
95     /**
96      * <p>The identifier for the quick connect.</p>
97      */
SetQuickConnectId(const Aws::String & value)98     inline void SetQuickConnectId(const Aws::String& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = value; }
99 
100     /**
101      * <p>The identifier for the quick connect.</p>
102      */
SetQuickConnectId(Aws::String && value)103     inline void SetQuickConnectId(Aws::String&& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = std::move(value); }
104 
105     /**
106      * <p>The identifier for the quick connect.</p>
107      */
SetQuickConnectId(const char * value)108     inline void SetQuickConnectId(const char* value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId.assign(value); }
109 
110     /**
111      * <p>The identifier for the quick connect.</p>
112      */
WithQuickConnectId(const Aws::String & value)113     inline UpdateQuickConnectConfigRequest& WithQuickConnectId(const Aws::String& value) { SetQuickConnectId(value); return *this;}
114 
115     /**
116      * <p>The identifier for the quick connect.</p>
117      */
WithQuickConnectId(Aws::String && value)118     inline UpdateQuickConnectConfigRequest& WithQuickConnectId(Aws::String&& value) { SetQuickConnectId(std::move(value)); return *this;}
119 
120     /**
121      * <p>The identifier for the quick connect.</p>
122      */
WithQuickConnectId(const char * value)123     inline UpdateQuickConnectConfigRequest& WithQuickConnectId(const char* value) { SetQuickConnectId(value); return *this;}
124 
125 
126     /**
127      * <p>Information about the configuration settings for the quick connect.</p>
128      */
GetQuickConnectConfig()129     inline const QuickConnectConfig& GetQuickConnectConfig() const{ return m_quickConnectConfig; }
130 
131     /**
132      * <p>Information about the configuration settings for the quick connect.</p>
133      */
QuickConnectConfigHasBeenSet()134     inline bool QuickConnectConfigHasBeenSet() const { return m_quickConnectConfigHasBeenSet; }
135 
136     /**
137      * <p>Information about the configuration settings for the quick connect.</p>
138      */
SetQuickConnectConfig(const QuickConnectConfig & value)139     inline void SetQuickConnectConfig(const QuickConnectConfig& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = value; }
140 
141     /**
142      * <p>Information about the configuration settings for the quick connect.</p>
143      */
SetQuickConnectConfig(QuickConnectConfig && value)144     inline void SetQuickConnectConfig(QuickConnectConfig&& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = std::move(value); }
145 
146     /**
147      * <p>Information about the configuration settings for the quick connect.</p>
148      */
WithQuickConnectConfig(const QuickConnectConfig & value)149     inline UpdateQuickConnectConfigRequest& WithQuickConnectConfig(const QuickConnectConfig& value) { SetQuickConnectConfig(value); return *this;}
150 
151     /**
152      * <p>Information about the configuration settings for the quick connect.</p>
153      */
WithQuickConnectConfig(QuickConnectConfig && value)154     inline UpdateQuickConnectConfigRequest& WithQuickConnectConfig(QuickConnectConfig&& value) { SetQuickConnectConfig(std::move(value)); return *this;}
155 
156   private:
157 
158     Aws::String m_instanceId;
159     bool m_instanceIdHasBeenSet;
160 
161     Aws::String m_quickConnectId;
162     bool m_quickConnectIdHasBeenSet;
163 
164     QuickConnectConfig m_quickConnectConfig;
165     bool m_quickConnectConfigHasBeenSet;
166   };
167 
168 } // namespace Model
169 } // namespace Connect
170 } // namespace Aws
171