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 <aws/core/utils/memory/stl/AWSMap.h> 12 #include <utility> 13 14 namespace Aws 15 { 16 namespace Connect 17 { 18 namespace Model 19 { 20 21 /** 22 */ 23 class AWS_CONNECT_API CreateQuickConnectRequest : public ConnectRequest 24 { 25 public: 26 CreateQuickConnectRequest(); 27 28 // Service request name is the Operation name which will send this request out, 29 // each operation should has unique request name, so that we can get operation's name from this request. 30 // Note: this is not true for response, multiple operations may have the same response name, 31 // so we can not get operation's name from response. GetServiceRequestName()32 inline virtual const char* GetServiceRequestName() const override { return "CreateQuickConnect"; } 33 34 Aws::String SerializePayload() const override; 35 36 37 /** 38 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 39 * the ARN of the instance.</p> 40 */ GetInstanceId()41 inline const Aws::String& GetInstanceId() const{ return m_instanceId; } 42 43 /** 44 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 45 * the ARN of the instance.</p> 46 */ InstanceIdHasBeenSet()47 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } 48 49 /** 50 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 51 * the ARN of the instance.</p> 52 */ SetInstanceId(const Aws::String & value)53 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } 54 55 /** 56 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 57 * the ARN of the instance.</p> 58 */ SetInstanceId(Aws::String && value)59 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } 60 61 /** 62 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 63 * the ARN of the instance.</p> 64 */ SetInstanceId(const char * value)65 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } 66 67 /** 68 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 69 * the ARN of the instance.</p> 70 */ WithInstanceId(const Aws::String & value)71 inline CreateQuickConnectRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} 72 73 /** 74 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 75 * the ARN of the instance.</p> 76 */ WithInstanceId(Aws::String && value)77 inline CreateQuickConnectRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} 78 79 /** 80 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 81 * the ARN of the instance.</p> 82 */ WithInstanceId(const char * value)83 inline CreateQuickConnectRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} 84 85 86 /** 87 * <p>The name of the quick connect.</p> 88 */ GetName()89 inline const Aws::String& GetName() const{ return m_name; } 90 91 /** 92 * <p>The name of the quick connect.</p> 93 */ NameHasBeenSet()94 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } 95 96 /** 97 * <p>The name of the quick connect.</p> 98 */ SetName(const Aws::String & value)99 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } 100 101 /** 102 * <p>The name of the quick connect.</p> 103 */ SetName(Aws::String && value)104 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } 105 106 /** 107 * <p>The name of the quick connect.</p> 108 */ SetName(const char * value)109 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } 110 111 /** 112 * <p>The name of the quick connect.</p> 113 */ WithName(const Aws::String & value)114 inline CreateQuickConnectRequest& WithName(const Aws::String& value) { SetName(value); return *this;} 115 116 /** 117 * <p>The name of the quick connect.</p> 118 */ WithName(Aws::String && value)119 inline CreateQuickConnectRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} 120 121 /** 122 * <p>The name of the quick connect.</p> 123 */ WithName(const char * value)124 inline CreateQuickConnectRequest& WithName(const char* value) { SetName(value); return *this;} 125 126 127 /** 128 * <p>The description of the quick connect.</p> 129 */ GetDescription()130 inline const Aws::String& GetDescription() const{ return m_description; } 131 132 /** 133 * <p>The description of the quick connect.</p> 134 */ DescriptionHasBeenSet()135 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } 136 137 /** 138 * <p>The description of the quick connect.</p> 139 */ SetDescription(const Aws::String & value)140 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } 141 142 /** 143 * <p>The description of the quick connect.</p> 144 */ SetDescription(Aws::String && value)145 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } 146 147 /** 148 * <p>The description of the quick connect.</p> 149 */ SetDescription(const char * value)150 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } 151 152 /** 153 * <p>The description of the quick connect.</p> 154 */ WithDescription(const Aws::String & value)155 inline CreateQuickConnectRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} 156 157 /** 158 * <p>The description of the quick connect.</p> 159 */ WithDescription(Aws::String && value)160 inline CreateQuickConnectRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} 161 162 /** 163 * <p>The description of the quick connect.</p> 164 */ WithDescription(const char * value)165 inline CreateQuickConnectRequest& WithDescription(const char* value) { SetDescription(value); return *this;} 166 167 168 /** 169 * <p>Configuration settings for the quick connect.</p> 170 */ GetQuickConnectConfig()171 inline const QuickConnectConfig& GetQuickConnectConfig() const{ return m_quickConnectConfig; } 172 173 /** 174 * <p>Configuration settings for the quick connect.</p> 175 */ QuickConnectConfigHasBeenSet()176 inline bool QuickConnectConfigHasBeenSet() const { return m_quickConnectConfigHasBeenSet; } 177 178 /** 179 * <p>Configuration settings for the quick connect.</p> 180 */ SetQuickConnectConfig(const QuickConnectConfig & value)181 inline void SetQuickConnectConfig(const QuickConnectConfig& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = value; } 182 183 /** 184 * <p>Configuration settings for the quick connect.</p> 185 */ SetQuickConnectConfig(QuickConnectConfig && value)186 inline void SetQuickConnectConfig(QuickConnectConfig&& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = std::move(value); } 187 188 /** 189 * <p>Configuration settings for the quick connect.</p> 190 */ WithQuickConnectConfig(const QuickConnectConfig & value)191 inline CreateQuickConnectRequest& WithQuickConnectConfig(const QuickConnectConfig& value) { SetQuickConnectConfig(value); return *this;} 192 193 /** 194 * <p>Configuration settings for the quick connect.</p> 195 */ WithQuickConnectConfig(QuickConnectConfig && value)196 inline CreateQuickConnectRequest& WithQuickConnectConfig(QuickConnectConfig&& value) { SetQuickConnectConfig(std::move(value)); return *this;} 197 198 199 /** 200 * <p>One or more tags.</p> 201 */ GetTags()202 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; } 203 204 /** 205 * <p>One or more tags.</p> 206 */ TagsHasBeenSet()207 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } 208 209 /** 210 * <p>One or more tags.</p> 211 */ SetTags(const Aws::Map<Aws::String,Aws::String> & value)212 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; } 213 214 /** 215 * <p>One or more tags.</p> 216 */ SetTags(Aws::Map<Aws::String,Aws::String> && value)217 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } 218 219 /** 220 * <p>One or more tags.</p> 221 */ WithTags(const Aws::Map<Aws::String,Aws::String> & value)222 inline CreateQuickConnectRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;} 223 224 /** 225 * <p>One or more tags.</p> 226 */ WithTags(Aws::Map<Aws::String,Aws::String> && value)227 inline CreateQuickConnectRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;} 228 229 /** 230 * <p>One or more tags.</p> 231 */ AddTags(const Aws::String & key,const Aws::String & value)232 inline CreateQuickConnectRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } 233 234 /** 235 * <p>One or more tags.</p> 236 */ AddTags(Aws::String && key,const Aws::String & value)237 inline CreateQuickConnectRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } 238 239 /** 240 * <p>One or more tags.</p> 241 */ AddTags(const Aws::String & key,Aws::String && value)242 inline CreateQuickConnectRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } 243 244 /** 245 * <p>One or more tags.</p> 246 */ AddTags(Aws::String && key,Aws::String && value)247 inline CreateQuickConnectRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } 248 249 /** 250 * <p>One or more tags.</p> 251 */ AddTags(const char * key,Aws::String && value)252 inline CreateQuickConnectRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } 253 254 /** 255 * <p>One or more tags.</p> 256 */ AddTags(Aws::String && key,const char * value)257 inline CreateQuickConnectRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } 258 259 /** 260 * <p>One or more tags.</p> 261 */ AddTags(const char * key,const char * value)262 inline CreateQuickConnectRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } 263 264 private: 265 266 Aws::String m_instanceId; 267 bool m_instanceIdHasBeenSet; 268 269 Aws::String m_name; 270 bool m_nameHasBeenSet; 271 272 Aws::String m_description; 273 bool m_descriptionHasBeenSet; 274 275 QuickConnectConfig m_quickConnectConfig; 276 bool m_quickConnectConfigHasBeenSet; 277 278 Aws::Map<Aws::String, Aws::String> m_tags; 279 bool m_tagsHasBeenSet; 280 }; 281 282 } // namespace Model 283 } // namespace Connect 284 } // namespace Aws 285