AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateIntegrationAssociationRequest.h
1
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/IntegrationType.h>
11#include <aws/connect/model/SourceType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Connect
18{
19namespace 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_CONNECT_API Aws::String SerializePayload() const override;
36
37
39
44 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
45 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
46 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
47 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
48 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
49 inline CreateIntegrationAssociationRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
50 inline CreateIntegrationAssociationRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
51 inline CreateIntegrationAssociationRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
53
55
58 inline const IntegrationType& GetIntegrationType() const{ return m_integrationType; }
59 inline bool IntegrationTypeHasBeenSet() const { return m_integrationTypeHasBeenSet; }
60 inline void SetIntegrationType(const IntegrationType& value) { m_integrationTypeHasBeenSet = true; m_integrationType = value; }
61 inline void SetIntegrationType(IntegrationType&& value) { m_integrationTypeHasBeenSet = true; m_integrationType = std::move(value); }
65
67
72 inline const Aws::String& GetIntegrationArn() const{ return m_integrationArn; }
73 inline bool IntegrationArnHasBeenSet() const { return m_integrationArnHasBeenSet; }
74 inline void SetIntegrationArn(const Aws::String& value) { m_integrationArnHasBeenSet = true; m_integrationArn = value; }
75 inline void SetIntegrationArn(Aws::String&& value) { m_integrationArnHasBeenSet = true; m_integrationArn = std::move(value); }
76 inline void SetIntegrationArn(const char* value) { m_integrationArnHasBeenSet = true; m_integrationArn.assign(value); }
78 inline CreateIntegrationAssociationRequest& WithIntegrationArn(Aws::String&& value) { SetIntegrationArn(std::move(value)); return *this;}
79 inline CreateIntegrationAssociationRequest& WithIntegrationArn(const char* value) { SetIntegrationArn(value); return *this;}
81
83
87 inline const Aws::String& GetSourceApplicationUrl() const{ return m_sourceApplicationUrl; }
88 inline bool SourceApplicationUrlHasBeenSet() const { return m_sourceApplicationUrlHasBeenSet; }
89 inline void SetSourceApplicationUrl(const Aws::String& value) { m_sourceApplicationUrlHasBeenSet = true; m_sourceApplicationUrl = value; }
90 inline void SetSourceApplicationUrl(Aws::String&& value) { m_sourceApplicationUrlHasBeenSet = true; m_sourceApplicationUrl = std::move(value); }
91 inline void SetSourceApplicationUrl(const char* value) { m_sourceApplicationUrlHasBeenSet = true; m_sourceApplicationUrl.assign(value); }
96
98
102 inline const Aws::String& GetSourceApplicationName() const{ return m_sourceApplicationName; }
103 inline bool SourceApplicationNameHasBeenSet() const { return m_sourceApplicationNameHasBeenSet; }
104 inline void SetSourceApplicationName(const Aws::String& value) { m_sourceApplicationNameHasBeenSet = true; m_sourceApplicationName = value; }
105 inline void SetSourceApplicationName(Aws::String&& value) { m_sourceApplicationNameHasBeenSet = true; m_sourceApplicationName = std::move(value); }
106 inline void SetSourceApplicationName(const char* value) { m_sourceApplicationNameHasBeenSet = true; m_sourceApplicationName.assign(value); }
111
113
117 inline const SourceType& GetSourceType() const{ return m_sourceType; }
118 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
119 inline void SetSourceType(const SourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
120 inline void SetSourceType(SourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
121 inline CreateIntegrationAssociationRequest& WithSourceType(const SourceType& value) { SetSourceType(value); return *this;}
122 inline CreateIntegrationAssociationRequest& WithSourceType(SourceType&& value) { SetSourceType(std::move(value)); return *this;}
124
126
130 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
131 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
132 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
133 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
136 inline CreateIntegrationAssociationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
137 inline CreateIntegrationAssociationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
138 inline CreateIntegrationAssociationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
139 inline CreateIntegrationAssociationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
140 inline CreateIntegrationAssociationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
141 inline CreateIntegrationAssociationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
142 inline CreateIntegrationAssociationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
144 private:
145
146 Aws::String m_instanceId;
147 bool m_instanceIdHasBeenSet = false;
148
149 IntegrationType m_integrationType;
150 bool m_integrationTypeHasBeenSet = false;
151
152 Aws::String m_integrationArn;
153 bool m_integrationArnHasBeenSet = false;
154
155 Aws::String m_sourceApplicationUrl;
156 bool m_sourceApplicationUrlHasBeenSet = false;
157
158 Aws::String m_sourceApplicationName;
159 bool m_sourceApplicationNameHasBeenSet = false;
160
161 SourceType m_sourceType;
162 bool m_sourceTypeHasBeenSet = false;
163
165 bool m_tagsHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace Connect
170} // namespace Aws
CreateIntegrationAssociationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateIntegrationAssociationRequest & WithSourceType(SourceType &&value)
CreateIntegrationAssociationRequest & WithSourceApplicationName(const char *value)
CreateIntegrationAssociationRequest & AddTags(Aws::String &&key, const char *value)
AWS_CONNECT_API Aws::String SerializePayload() const override
CreateIntegrationAssociationRequest & WithInstanceId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateIntegrationAssociationRequest & WithInstanceId(const char *value)
CreateIntegrationAssociationRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateIntegrationAssociationRequest & WithSourceApplicationName(Aws::String &&value)
CreateIntegrationAssociationRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateIntegrationAssociationRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateIntegrationAssociationRequest & WithIntegrationType(IntegrationType &&value)
CreateIntegrationAssociationRequest & WithSourceType(const SourceType &value)
CreateIntegrationAssociationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateIntegrationAssociationRequest & AddTags(const char *key, const char *value)
CreateIntegrationAssociationRequest & WithSourceApplicationUrl(Aws::String &&value)
CreateIntegrationAssociationRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateIntegrationAssociationRequest & WithIntegrationArn(Aws::String &&value)
CreateIntegrationAssociationRequest & WithIntegrationArn(const Aws::String &value)
CreateIntegrationAssociationRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateIntegrationAssociationRequest & WithSourceApplicationUrl(const Aws::String &value)
CreateIntegrationAssociationRequest & WithIntegrationArn(const char *value)
CreateIntegrationAssociationRequest & WithIntegrationType(const IntegrationType &value)
CreateIntegrationAssociationRequest & WithSourceApplicationName(const Aws::String &value)
CreateIntegrationAssociationRequest & WithInstanceId(Aws::String &&value)
CreateIntegrationAssociationRequest & WithSourceApplicationUrl(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String