AWS SDK for C++  1.9.157
AWS SDK for C++
CreateIntegrationAssociationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Connect
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateIntegrationAssociation"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
42  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
43 
48  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
49 
54  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
55 
60  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
61 
66  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
67 
72  inline CreateIntegrationAssociationRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
73 
78  inline CreateIntegrationAssociationRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
79 
84  inline CreateIntegrationAssociationRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
85 
86 
90  inline const IntegrationType& GetIntegrationType() const{ return m_integrationType; }
91 
95  inline bool IntegrationTypeHasBeenSet() const { return m_integrationTypeHasBeenSet; }
96 
100  inline void SetIntegrationType(const IntegrationType& value) { m_integrationTypeHasBeenSet = true; m_integrationType = value; }
101 
105  inline void SetIntegrationType(IntegrationType&& value) { m_integrationTypeHasBeenSet = true; m_integrationType = std::move(value); }
106 
110  inline CreateIntegrationAssociationRequest& WithIntegrationType(const IntegrationType& value) { SetIntegrationType(value); return *this;}
111 
115  inline CreateIntegrationAssociationRequest& WithIntegrationType(IntegrationType&& value) { SetIntegrationType(std::move(value)); return *this;}
116 
117 
121  inline const Aws::String& GetIntegrationArn() const{ return m_integrationArn; }
122 
126  inline bool IntegrationArnHasBeenSet() const { return m_integrationArnHasBeenSet; }
127 
131  inline void SetIntegrationArn(const Aws::String& value) { m_integrationArnHasBeenSet = true; m_integrationArn = value; }
132 
136  inline void SetIntegrationArn(Aws::String&& value) { m_integrationArnHasBeenSet = true; m_integrationArn = std::move(value); }
137 
141  inline void SetIntegrationArn(const char* value) { m_integrationArnHasBeenSet = true; m_integrationArn.assign(value); }
142 
146  inline CreateIntegrationAssociationRequest& WithIntegrationArn(const Aws::String& value) { SetIntegrationArn(value); return *this;}
147 
151  inline CreateIntegrationAssociationRequest& WithIntegrationArn(Aws::String&& value) { SetIntegrationArn(std::move(value)); return *this;}
152 
156  inline CreateIntegrationAssociationRequest& WithIntegrationArn(const char* value) { SetIntegrationArn(value); return *this;}
157 
158 
163  inline const Aws::String& GetSourceApplicationUrl() const{ return m_sourceApplicationUrl; }
164 
169  inline bool SourceApplicationUrlHasBeenSet() const { return m_sourceApplicationUrlHasBeenSet; }
170 
175  inline void SetSourceApplicationUrl(const Aws::String& value) { m_sourceApplicationUrlHasBeenSet = true; m_sourceApplicationUrl = value; }
176 
181  inline void SetSourceApplicationUrl(Aws::String&& value) { m_sourceApplicationUrlHasBeenSet = true; m_sourceApplicationUrl = std::move(value); }
182 
187  inline void SetSourceApplicationUrl(const char* value) { m_sourceApplicationUrlHasBeenSet = true; m_sourceApplicationUrl.assign(value); }
188 
193  inline CreateIntegrationAssociationRequest& WithSourceApplicationUrl(const Aws::String& value) { SetSourceApplicationUrl(value); return *this;}
194 
199  inline CreateIntegrationAssociationRequest& WithSourceApplicationUrl(Aws::String&& value) { SetSourceApplicationUrl(std::move(value)); return *this;}
200 
205  inline CreateIntegrationAssociationRequest& WithSourceApplicationUrl(const char* value) { SetSourceApplicationUrl(value); return *this;}
206 
207 
212  inline const Aws::String& GetSourceApplicationName() const{ return m_sourceApplicationName; }
213 
218  inline bool SourceApplicationNameHasBeenSet() const { return m_sourceApplicationNameHasBeenSet; }
219 
224  inline void SetSourceApplicationName(const Aws::String& value) { m_sourceApplicationNameHasBeenSet = true; m_sourceApplicationName = value; }
225 
230  inline void SetSourceApplicationName(Aws::String&& value) { m_sourceApplicationNameHasBeenSet = true; m_sourceApplicationName = std::move(value); }
231 
236  inline void SetSourceApplicationName(const char* value) { m_sourceApplicationNameHasBeenSet = true; m_sourceApplicationName.assign(value); }
237 
242  inline CreateIntegrationAssociationRequest& WithSourceApplicationName(const Aws::String& value) { SetSourceApplicationName(value); return *this;}
243 
248  inline CreateIntegrationAssociationRequest& WithSourceApplicationName(Aws::String&& value) { SetSourceApplicationName(std::move(value)); return *this;}
249 
254  inline CreateIntegrationAssociationRequest& WithSourceApplicationName(const char* value) { SetSourceApplicationName(value); return *this;}
255 
256 
261  inline const SourceType& GetSourceType() const{ return m_sourceType; }
262 
267  inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
268 
273  inline void SetSourceType(const SourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
274 
279  inline void SetSourceType(SourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
280 
285  inline CreateIntegrationAssociationRequest& WithSourceType(const SourceType& value) { SetSourceType(value); return *this;}
286 
291  inline CreateIntegrationAssociationRequest& WithSourceType(SourceType&& value) { SetSourceType(std::move(value)); return *this;}
292 
293 
297  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
298 
302  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
303 
307  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
308 
312  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
313 
317  inline CreateIntegrationAssociationRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
318 
322  inline CreateIntegrationAssociationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
323 
327  inline CreateIntegrationAssociationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
328 
332  inline CreateIntegrationAssociationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
333 
337  inline CreateIntegrationAssociationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
338 
342  inline CreateIntegrationAssociationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
343 
347  inline CreateIntegrationAssociationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
348 
352  inline CreateIntegrationAssociationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
353 
357  inline CreateIntegrationAssociationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
358 
359  private:
360 
361  Aws::String m_instanceId;
362  bool m_instanceIdHasBeenSet;
363 
364  IntegrationType m_integrationType;
365  bool m_integrationTypeHasBeenSet;
366 
367  Aws::String m_integrationArn;
368  bool m_integrationArnHasBeenSet;
369 
370  Aws::String m_sourceApplicationUrl;
371  bool m_sourceApplicationUrlHasBeenSet;
372 
373  Aws::String m_sourceApplicationName;
374  bool m_sourceApplicationNameHasBeenSet;
375 
376  SourceType m_sourceType;
377  bool m_sourceTypeHasBeenSet;
378 
380  bool m_tagsHasBeenSet;
381  };
382 
383 } // namespace Model
384 } // namespace Connect
385 } // namespace Aws
Aws::Connect::Model::CreateIntegrationAssociationRequest::CreateIntegrationAssociationRequest
CreateIntegrationAssociationRequest()
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetSourceApplicationName
void SetSourceApplicationName(const char *value)
Definition: CreateIntegrationAssociationRequest.h:236
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithInstanceId
CreateIntegrationAssociationRequest & WithInstanceId(Aws::String &&value)
Definition: CreateIntegrationAssociationRequest.h:78
Aws::Connect::Model::CreateIntegrationAssociationRequest::AddTags
CreateIntegrationAssociationRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateIntegrationAssociationRequest.h:332
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetSourceType
void SetSourceType(const SourceType &value)
Definition: CreateIntegrationAssociationRequest.h:273
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetSourceApplicationName
void SetSourceApplicationName(Aws::String &&value)
Definition: CreateIntegrationAssociationRequest.h:230
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetIntegrationArn
void SetIntegrationArn(const Aws::String &value)
Definition: CreateIntegrationAssociationRequest.h:131
Aws::Connect::Model::CreateIntegrationAssociationRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: CreateIntegrationAssociationRequest.h:48
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithInstanceId
CreateIntegrationAssociationRequest & WithInstanceId(const Aws::String &value)
Definition: CreateIntegrationAssociationRequest.h:72
Aws::Connect::Model::SourceType
SourceType
Definition: SourceType.h:17
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithIntegrationType
CreateIntegrationAssociationRequest & WithIntegrationType(const IntegrationType &value)
Definition: CreateIntegrationAssociationRequest.h:110
Aws::Connect::Model::CreateIntegrationAssociationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateIntegrationAssociationRequest.h:33
Aws::Connect::Model::CreateIntegrationAssociationRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateIntegrationAssociationRequest.h:297
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetIntegrationArn
void SetIntegrationArn(Aws::String &&value)
Definition: CreateIntegrationAssociationRequest.h:136
Aws::Connect::Model::CreateIntegrationAssociationRequest::GetIntegrationArn
const Aws::String & GetIntegrationArn() const
Definition: CreateIntegrationAssociationRequest.h:121
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithInstanceId
CreateIntegrationAssociationRequest & WithInstanceId(const char *value)
Definition: CreateIntegrationAssociationRequest.h:84
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetSourceApplicationUrl
void SetSourceApplicationUrl(Aws::String &&value)
Definition: CreateIntegrationAssociationRequest.h:181
Aws::Connect::Model::CreateIntegrationAssociationRequest::AddTags
CreateIntegrationAssociationRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateIntegrationAssociationRequest.h:347
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: CreateIntegrationAssociationRequest.h:54
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithTags
CreateIntegrationAssociationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateIntegrationAssociationRequest.h:322
Aws::Connect::Model::CreateIntegrationAssociationRequest::GetIntegrationType
const IntegrationType & GetIntegrationType() const
Definition: CreateIntegrationAssociationRequest.h:90
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithSourceApplicationUrl
CreateIntegrationAssociationRequest & WithSourceApplicationUrl(const char *value)
Definition: CreateIntegrationAssociationRequest.h:205
Aws::Connect::Model::CreateIntegrationAssociationRequest::AddTags
CreateIntegrationAssociationRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateIntegrationAssociationRequest.h:337
Aws::Connect::Model::CreateIntegrationAssociationRequest::AddTags
CreateIntegrationAssociationRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateIntegrationAssociationRequest.h:342
Aws::Connect::Model::CreateIntegrationAssociationRequest::AddTags
CreateIntegrationAssociationRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateIntegrationAssociationRequest.h:327
Aws::Connect::Model::CreateIntegrationAssociationRequest::SourceApplicationUrlHasBeenSet
bool SourceApplicationUrlHasBeenSet() const
Definition: CreateIntegrationAssociationRequest.h:169
Aws::Connect::Model::CreateIntegrationAssociationRequest::GetSourceApplicationUrl
const Aws::String & GetSourceApplicationUrl() const
Definition: CreateIntegrationAssociationRequest.h:163
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetIntegrationArn
void SetIntegrationArn(const char *value)
Definition: CreateIntegrationAssociationRequest.h:141
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetIntegrationType
void SetIntegrationType(IntegrationType &&value)
Definition: CreateIntegrationAssociationRequest.h:105
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithIntegrationArn
CreateIntegrationAssociationRequest & WithIntegrationArn(const char *value)
Definition: CreateIntegrationAssociationRequest.h:156
Aws::Connect::Model::CreateIntegrationAssociationRequest::IntegrationArnHasBeenSet
bool IntegrationArnHasBeenSet() const
Definition: CreateIntegrationAssociationRequest.h:126
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithSourceType
CreateIntegrationAssociationRequest & WithSourceType(SourceType &&value)
Definition: CreateIntegrationAssociationRequest.h:291
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateIntegrationAssociationRequest.h:307
Aws::Connect::Model::CreateIntegrationAssociationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::CreateIntegrationAssociationRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateIntegrationAssociationRequest.h:302
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetIntegrationType
void SetIntegrationType(const IntegrationType &value)
Definition: CreateIntegrationAssociationRequest.h:100
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithTags
CreateIntegrationAssociationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateIntegrationAssociationRequest.h:317
Aws::Connect::Model::CreateIntegrationAssociationRequest::IntegrationTypeHasBeenSet
bool IntegrationTypeHasBeenSet() const
Definition: CreateIntegrationAssociationRequest.h:95
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithIntegrationArn
CreateIntegrationAssociationRequest & WithIntegrationArn(const Aws::String &value)
Definition: CreateIntegrationAssociationRequest.h:146
AWSString.h
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetSourceApplicationUrl
void SetSourceApplicationUrl(const char *value)
Definition: CreateIntegrationAssociationRequest.h:187
Aws::Connect::Model::CreateIntegrationAssociationRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: CreateIntegrationAssociationRequest.h:42
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithSourceApplicationUrl
CreateIntegrationAssociationRequest & WithSourceApplicationUrl(Aws::String &&value)
Definition: CreateIntegrationAssociationRequest.h:199
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithSourceApplicationUrl
CreateIntegrationAssociationRequest & WithSourceApplicationUrl(const Aws::String &value)
Definition: CreateIntegrationAssociationRequest.h:193
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithIntegrationType
CreateIntegrationAssociationRequest & WithIntegrationType(IntegrationType &&value)
Definition: CreateIntegrationAssociationRequest.h:115
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithSourceApplicationName
CreateIntegrationAssociationRequest & WithSourceApplicationName(const Aws::String &value)
Definition: CreateIntegrationAssociationRequest.h:242
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetSourceApplicationUrl
void SetSourceApplicationUrl(const Aws::String &value)
Definition: CreateIntegrationAssociationRequest.h:175
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetSourceApplicationName
void SetSourceApplicationName(const Aws::String &value)
Definition: CreateIntegrationAssociationRequest.h:224
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithSourceApplicationName
CreateIntegrationAssociationRequest & WithSourceApplicationName(const char *value)
Definition: CreateIntegrationAssociationRequest.h:254
Aws::Connect::Model::CreateIntegrationAssociationRequest
Definition: CreateIntegrationAssociationRequest.h:25
Aws::Connect::Model::CreateIntegrationAssociationRequest::SourceTypeHasBeenSet
bool SourceTypeHasBeenSet() const
Definition: CreateIntegrationAssociationRequest.h:267
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateIntegrationAssociationRequest.h:312
Aws::Connect::Model::CreateIntegrationAssociationRequest::AddTags
CreateIntegrationAssociationRequest & AddTags(const char *key, const char *value)
Definition: CreateIntegrationAssociationRequest.h:357
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithIntegrationArn
CreateIntegrationAssociationRequest & WithIntegrationArn(Aws::String &&value)
Definition: CreateIntegrationAssociationRequest.h:151
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: CreateIntegrationAssociationRequest.h:60
Aws::Connect::Model::CreateIntegrationAssociationRequest::GetSourceType
const SourceType & GetSourceType() const
Definition: CreateIntegrationAssociationRequest.h:261
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithSourceType
CreateIntegrationAssociationRequest & WithSourceType(const SourceType &value)
Definition: CreateIntegrationAssociationRequest.h:285
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::CreateIntegrationAssociationRequest::SourceApplicationNameHasBeenSet
bool SourceApplicationNameHasBeenSet() const
Definition: CreateIntegrationAssociationRequest.h:218
SourceType.h
Aws::Connect::Model::CreateIntegrationAssociationRequest::WithSourceApplicationName
CreateIntegrationAssociationRequest & WithSourceApplicationName(Aws::String &&value)
Definition: CreateIntegrationAssociationRequest.h:248
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::CreateIntegrationAssociationRequest::AddTags
CreateIntegrationAssociationRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateIntegrationAssociationRequest.h:352
Aws::Connect::Model::IntegrationType
IntegrationType
Definition: IntegrationType.h:17
IntegrationType.h
Connect_EXPORTS.h
AWSMap.h
ConnectRequest.h
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: CreateIntegrationAssociationRequest.h:66
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Connect::Model::CreateIntegrationAssociationRequest::GetSourceApplicationName
const Aws::String & GetSourceApplicationName() const
Definition: CreateIntegrationAssociationRequest.h:212
Aws::Connect::Model::CreateIntegrationAssociationRequest::SetSourceType
void SetSourceType(SourceType &&value)
Definition: CreateIntegrationAssociationRequest.h:279