AWS SDK for C++  1.9.154
AWS SDK for C++
CreateQuickConnectRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Connect
17 {
18 namespace Model
19 {
20 
24  {
25  public:
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.
32  inline virtual const char* GetServiceRequestName() const override { return "CreateQuickConnect"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
41  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
42 
47  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
48 
53  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
54 
59  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
60 
65  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
66 
71  inline CreateQuickConnectRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
72 
77  inline CreateQuickConnectRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
78 
83  inline CreateQuickConnectRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
84 
85 
89  inline const Aws::String& GetName() const{ return m_name; }
90 
94  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
95 
99  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
100 
104  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
105 
109  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
110 
114  inline CreateQuickConnectRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
115 
119  inline CreateQuickConnectRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
120 
124  inline CreateQuickConnectRequest& WithName(const char* value) { SetName(value); return *this;}
125 
126 
130  inline const Aws::String& GetDescription() const{ return m_description; }
131 
135  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
136 
140  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
141 
145  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
146 
150  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
151 
155  inline CreateQuickConnectRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
156 
160  inline CreateQuickConnectRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
161 
165  inline CreateQuickConnectRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
166 
167 
171  inline const QuickConnectConfig& GetQuickConnectConfig() const{ return m_quickConnectConfig; }
172 
176  inline bool QuickConnectConfigHasBeenSet() const { return m_quickConnectConfigHasBeenSet; }
177 
181  inline void SetQuickConnectConfig(const QuickConnectConfig& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = value; }
182 
186  inline void SetQuickConnectConfig(QuickConnectConfig&& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = std::move(value); }
187 
191  inline CreateQuickConnectRequest& WithQuickConnectConfig(const QuickConnectConfig& value) { SetQuickConnectConfig(value); return *this;}
192 
196  inline CreateQuickConnectRequest& WithQuickConnectConfig(QuickConnectConfig&& value) { SetQuickConnectConfig(std::move(value)); return *this;}
197 
198 
202  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
203 
207  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
208 
212  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
213 
217  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
218 
222  inline CreateQuickConnectRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
223 
227  inline CreateQuickConnectRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
228 
232  inline CreateQuickConnectRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
233 
237  inline CreateQuickConnectRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
238 
242  inline CreateQuickConnectRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
243 
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 
252  inline CreateQuickConnectRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
253 
257  inline CreateQuickConnectRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
258 
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 
279  bool m_tagsHasBeenSet;
280  };
281 
282 } // namespace Model
283 } // namespace Connect
284 } // namespace Aws
Aws::Connect::Model::CreateQuickConnectRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: CreateQuickConnectRequest.h:47
Aws::Connect::Model::CreateQuickConnectRequest::WithTags
CreateQuickConnectRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateQuickConnectRequest.h:227
Aws::Connect::Model::CreateQuickConnectRequest::AddTags
CreateQuickConnectRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateQuickConnectRequest.h:257
Aws::Connect::Model::CreateQuickConnectRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateQuickConnectRequest.h:207
Aws::Connect::Model::CreateQuickConnectRequest::WithQuickConnectConfig
CreateQuickConnectRequest & WithQuickConnectConfig(const QuickConnectConfig &value)
Definition: CreateQuickConnectRequest.h:191
Aws::Connect::Model::CreateQuickConnectRequest::WithInstanceId
CreateQuickConnectRequest & WithInstanceId(const Aws::String &value)
Definition: CreateQuickConnectRequest.h:71
Aws::Connect::Model::CreateQuickConnectRequest::WithTags
CreateQuickConnectRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateQuickConnectRequest.h:222
Aws::Connect::Model::CreateQuickConnectRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateQuickConnectRequest.h:202
Aws::Connect::Model::CreateQuickConnectRequest::SetName
void SetName(const char *value)
Definition: CreateQuickConnectRequest.h:109
Aws::Connect::Model::CreateQuickConnectRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateQuickConnectRequest.h:104
Aws::Connect::Model::CreateQuickConnectRequest::GetQuickConnectConfig
const QuickConnectConfig & GetQuickConnectConfig() const
Definition: CreateQuickConnectRequest.h:171
Aws::Connect::Model::CreateQuickConnectRequest::WithQuickConnectConfig
CreateQuickConnectRequest & WithQuickConnectConfig(QuickConnectConfig &&value)
Definition: CreateQuickConnectRequest.h:196
Aws::Connect::Model::CreateQuickConnectRequest
Definition: CreateQuickConnectRequest.h:24
Aws::Connect::Model::CreateQuickConnectRequest::AddTags
CreateQuickConnectRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateQuickConnectRequest.h:232
Aws::Connect::Model::CreateQuickConnectRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: CreateQuickConnectRequest.h:41
Aws::Connect::Model::CreateQuickConnectRequest::WithName
CreateQuickConnectRequest & WithName(Aws::String &&value)
Definition: CreateQuickConnectRequest.h:119
Aws::Connect::Model::CreateQuickConnectRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateQuickConnectRequest.h:130
Aws::Connect::Model::CreateQuickConnectRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateQuickConnectRequest.h:32
Aws::Connect::Model::CreateQuickConnectRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateQuickConnectRequest.h:212
Aws::Connect::Model::CreateQuickConnectRequest::WithName
CreateQuickConnectRequest & WithName(const Aws::String &value)
Definition: CreateQuickConnectRequest.h:114
Aws::Connect::Model::CreateQuickConnectRequest::WithDescription
CreateQuickConnectRequest & WithDescription(const Aws::String &value)
Definition: CreateQuickConnectRequest.h:155
Aws::Connect::Model::CreateQuickConnectRequest::AddTags
CreateQuickConnectRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateQuickConnectRequest.h:252
Aws::Connect::Model::CreateQuickConnectRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: CreateQuickConnectRequest.h:53
QuickConnectConfig.h
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::CreateQuickConnectRequest::WithDescription
CreateQuickConnectRequest & WithDescription(Aws::String &&value)
Definition: CreateQuickConnectRequest.h:160
AWSString.h
Aws::Connect::Model::CreateQuickConnectRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::CreateQuickConnectRequest::SetQuickConnectConfig
void SetQuickConnectConfig(const QuickConnectConfig &value)
Definition: CreateQuickConnectRequest.h:181
Aws::Connect::Model::CreateQuickConnectRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateQuickConnectRequest.h:217
Aws::Connect::Model::CreateQuickConnectRequest::AddTags
CreateQuickConnectRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateQuickConnectRequest.h:247
Aws::Connect::Model::CreateQuickConnectRequest::GetName
const Aws::String & GetName() const
Definition: CreateQuickConnectRequest.h:89
Aws::Connect::Model::CreateQuickConnectRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateQuickConnectRequest.h:140
Aws::Connect::Model::CreateQuickConnectRequest::WithName
CreateQuickConnectRequest & WithName(const char *value)
Definition: CreateQuickConnectRequest.h:124
Aws::Connect::Model::CreateQuickConnectRequest::WithInstanceId
CreateQuickConnectRequest & WithInstanceId(Aws::String &&value)
Definition: CreateQuickConnectRequest.h:77
Aws::Connect::Model::CreateQuickConnectRequest::AddTags
CreateQuickConnectRequest & AddTags(const char *key, const char *value)
Definition: CreateQuickConnectRequest.h:262
Aws::Connect::Model::CreateQuickConnectRequest::AddTags
CreateQuickConnectRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateQuickConnectRequest.h:237
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::CreateQuickConnectRequest::WithInstanceId
CreateQuickConnectRequest & WithInstanceId(const char *value)
Definition: CreateQuickConnectRequest.h:83
Aws::Connect::Model::CreateQuickConnectRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateQuickConnectRequest.h:99
Aws::Connect::Model::CreateQuickConnectRequest::CreateQuickConnectRequest
CreateQuickConnectRequest()
Aws::Connect::Model::QuickConnectConfig
Definition: QuickConnectConfig.h:36
Aws::Connect::Model::CreateQuickConnectRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateQuickConnectRequest.h:150
Aws::Connect::Model::CreateQuickConnectRequest::WithDescription
CreateQuickConnectRequest & WithDescription(const char *value)
Definition: CreateQuickConnectRequest.h:165
Aws::Connect::Model::CreateQuickConnectRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateQuickConnectRequest.h:145
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::CreateQuickConnectRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateQuickConnectRequest.h:94
Aws::Connect::Model::CreateQuickConnectRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateQuickConnectRequest.h:135
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::CreateQuickConnectRequest::AddTags
CreateQuickConnectRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateQuickConnectRequest.h:242
Aws::Connect::Model::CreateQuickConnectRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: CreateQuickConnectRequest.h:59
Aws::Connect::Model::CreateQuickConnectRequest::SetQuickConnectConfig
void SetQuickConnectConfig(QuickConnectConfig &&value)
Definition: CreateQuickConnectRequest.h:186
Connect_EXPORTS.h
AWSMap.h
ConnectRequest.h
Aws::Connect::Model::CreateQuickConnectRequest::QuickConnectConfigHasBeenSet
bool QuickConnectConfigHasBeenSet() const
Definition: CreateQuickConnectRequest.h:176
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Connect::Model::CreateQuickConnectRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: CreateQuickConnectRequest.h:65