AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
GetIntegrationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityagent/SecurityAgent_EXPORTS.h>
10#include <aws/securityagent/model/Provider.h>
11#include <aws/securityagent/model/ProviderType.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SecurityAgent {
25namespace Model {
27 public:
28 AWS_SECURITYAGENT_API GetIntegrationResult() = default;
31
33
36 inline const Aws::String& GetIntegrationId() const { return m_integrationId; }
37 template <typename IntegrationIdT = Aws::String>
38 void SetIntegrationId(IntegrationIdT&& value) {
39 m_integrationIdHasBeenSet = true;
40 m_integrationId = std::forward<IntegrationIdT>(value);
41 }
42 template <typename IntegrationIdT = Aws::String>
43 GetIntegrationResult& WithIntegrationId(IntegrationIdT&& value) {
44 SetIntegrationId(std::forward<IntegrationIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetInstallationId() const { return m_installationId; }
54 template <typename InstallationIdT = Aws::String>
55 void SetInstallationId(InstallationIdT&& value) {
56 m_installationIdHasBeenSet = true;
57 m_installationId = std::forward<InstallationIdT>(value);
58 }
59 template <typename InstallationIdT = Aws::String>
60 GetIntegrationResult& WithInstallationId(InstallationIdT&& value) {
61 SetInstallationId(std::forward<InstallationIdT>(value));
62 return *this;
63 }
65
67
70 inline Provider GetProvider() const { return m_provider; }
71 inline void SetProvider(Provider value) {
72 m_providerHasBeenSet = true;
73 m_provider = value;
74 }
76 SetProvider(value);
77 return *this;
78 }
80
82
85 inline ProviderType GetProviderType() const { return m_providerType; }
86 inline void SetProviderType(ProviderType value) {
87 m_providerTypeHasBeenSet = true;
88 m_providerType = value;
89 }
91 SetProviderType(value);
92 return *this;
93 }
95
97
100 inline const Aws::String& GetDisplayName() const { return m_displayName; }
101 template <typename DisplayNameT = Aws::String>
102 void SetDisplayName(DisplayNameT&& value) {
103 m_displayNameHasBeenSet = true;
104 m_displayName = std::forward<DisplayNameT>(value);
105 }
106 template <typename DisplayNameT = Aws::String>
107 GetIntegrationResult& WithDisplayName(DisplayNameT&& value) {
108 SetDisplayName(std::forward<DisplayNameT>(value));
109 return *this;
110 }
112
114
118 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
119 template <typename KmsKeyIdT = Aws::String>
120 void SetKmsKeyId(KmsKeyIdT&& value) {
121 m_kmsKeyIdHasBeenSet = true;
122 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
123 }
124 template <typename KmsKeyIdT = Aws::String>
125 GetIntegrationResult& WithKmsKeyId(KmsKeyIdT&& value) {
126 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
127 return *this;
128 }
130
132
137 inline const Aws::String& GetTargetUrl() const { return m_targetUrl; }
138 template <typename TargetUrlT = Aws::String>
139 void SetTargetUrl(TargetUrlT&& value) {
140 m_targetUrlHasBeenSet = true;
141 m_targetUrl = std::forward<TargetUrlT>(value);
142 }
143 template <typename TargetUrlT = Aws::String>
144 GetIntegrationResult& WithTargetUrl(TargetUrlT&& value) {
145 SetTargetUrl(std::forward<TargetUrlT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::String& GetSiteUrl() const { return m_siteUrl; }
155 template <typename SiteUrlT = Aws::String>
156 void SetSiteUrl(SiteUrlT&& value) {
157 m_siteUrlHasBeenSet = true;
158 m_siteUrl = std::forward<SiteUrlT>(value);
159 }
160 template <typename SiteUrlT = Aws::String>
162 SetSiteUrl(std::forward<SiteUrlT>(value));
163 return *this;
164 }
166
168
172 inline const Aws::String& GetWebhookUrl() const { return m_webhookUrl; }
173 template <typename WebhookUrlT = Aws::String>
174 void SetWebhookUrl(WebhookUrlT&& value) {
175 m_webhookUrlHasBeenSet = true;
176 m_webhookUrl = std::forward<WebhookUrlT>(value);
177 }
178 template <typename WebhookUrlT = Aws::String>
179 GetIntegrationResult& WithWebhookUrl(WebhookUrlT&& value) {
180 SetWebhookUrl(std::forward<WebhookUrlT>(value));
181 return *this;
182 }
184
186
190 inline const Aws::String& GetPrivateConnectionName() const { return m_privateConnectionName; }
191 template <typename PrivateConnectionNameT = Aws::String>
192 void SetPrivateConnectionName(PrivateConnectionNameT&& value) {
193 m_privateConnectionNameHasBeenSet = true;
194 m_privateConnectionName = std::forward<PrivateConnectionNameT>(value);
195 }
196 template <typename PrivateConnectionNameT = Aws::String>
197 GetIntegrationResult& WithPrivateConnectionName(PrivateConnectionNameT&& value) {
198 SetPrivateConnectionName(std::forward<PrivateConnectionNameT>(value));
199 return *this;
200 }
202
204
205 inline const Aws::String& GetRequestId() const { return m_requestId; }
206 template <typename RequestIdT = Aws::String>
207 void SetRequestId(RequestIdT&& value) {
208 m_requestIdHasBeenSet = true;
209 m_requestId = std::forward<RequestIdT>(value);
210 }
211 template <typename RequestIdT = Aws::String>
212 GetIntegrationResult& WithRequestId(RequestIdT&& value) {
213 SetRequestId(std::forward<RequestIdT>(value));
214 return *this;
215 }
217 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
218
219 private:
220 Aws::String m_integrationId;
221
222 Aws::String m_installationId;
223
224 Provider m_provider{Provider::NOT_SET};
225
226 ProviderType m_providerType{ProviderType::NOT_SET};
227
228 Aws::String m_displayName;
229
230 Aws::String m_kmsKeyId;
231
232 Aws::String m_targetUrl;
233
234 Aws::String m_siteUrl;
235
236 Aws::String m_webhookUrl;
237
238 Aws::String m_privateConnectionName;
239
240 Aws::String m_requestId;
241 Aws::Http::HttpResponseCode m_HttpResponseCode;
242 bool m_integrationIdHasBeenSet = false;
243 bool m_installationIdHasBeenSet = false;
244 bool m_providerHasBeenSet = false;
245 bool m_providerTypeHasBeenSet = false;
246 bool m_displayNameHasBeenSet = false;
247 bool m_kmsKeyIdHasBeenSet = false;
248 bool m_targetUrlHasBeenSet = false;
249 bool m_siteUrlHasBeenSet = false;
250 bool m_webhookUrlHasBeenSet = false;
251 bool m_privateConnectionNameHasBeenSet = false;
252 bool m_requestIdHasBeenSet = false;
253};
254
255} // namespace Model
256} // namespace SecurityAgent
257} // namespace Aws
GetIntegrationResult & WithIntegrationId(IntegrationIdT &&value)
GetIntegrationResult & WithRequestId(RequestIdT &&value)
GetIntegrationResult & WithTargetUrl(TargetUrlT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_SECURITYAGENT_API GetIntegrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIntegrationResult & WithKmsKeyId(KmsKeyIdT &&value)
AWS_SECURITYAGENT_API GetIntegrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIntegrationResult & WithProviderType(ProviderType value)
void SetPrivateConnectionName(PrivateConnectionNameT &&value)
GetIntegrationResult & WithWebhookUrl(WebhookUrlT &&value)
GetIntegrationResult & WithProvider(Provider value)
GetIntegrationResult & WithDisplayName(DisplayNameT &&value)
GetIntegrationResult & WithSiteUrl(SiteUrlT &&value)
AWS_SECURITYAGENT_API GetIntegrationResult()=default
GetIntegrationResult & WithPrivateConnectionName(PrivateConnectionNameT &&value)
GetIntegrationResult & WithInstallationId(InstallationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue