AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
IntegrationSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgent_EXPORTS.h>
9#include <aws/securityagent/model/Provider.h>
10#include <aws/securityagent/model/ProviderType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityAgent {
22namespace Model {
23
31 public:
32 AWS_SECURITYAGENT_API IntegrationSummary() = default;
33 AWS_SECURITYAGENT_API IntegrationSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYAGENT_API IntegrationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetIntegrationId() const { return m_integrationId; }
42 inline bool IntegrationIdHasBeenSet() const { return m_integrationIdHasBeenSet; }
43 template <typename IntegrationIdT = Aws::String>
44 void SetIntegrationId(IntegrationIdT&& value) {
45 m_integrationIdHasBeenSet = true;
46 m_integrationId = std::forward<IntegrationIdT>(value);
47 }
48 template <typename IntegrationIdT = Aws::String>
49 IntegrationSummary& WithIntegrationId(IntegrationIdT&& value) {
50 SetIntegrationId(std::forward<IntegrationIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetInstallationId() const { return m_installationId; }
60 inline bool InstallationIdHasBeenSet() const { return m_installationIdHasBeenSet; }
61 template <typename InstallationIdT = Aws::String>
62 void SetInstallationId(InstallationIdT&& value) {
63 m_installationIdHasBeenSet = true;
64 m_installationId = std::forward<InstallationIdT>(value);
65 }
66 template <typename InstallationIdT = Aws::String>
67 IntegrationSummary& WithInstallationId(InstallationIdT&& value) {
68 SetInstallationId(std::forward<InstallationIdT>(value));
69 return *this;
70 }
72
74
77 inline Provider GetProvider() const { return m_provider; }
78 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
79 inline void SetProvider(Provider value) {
80 m_providerHasBeenSet = true;
81 m_provider = value;
82 }
84 SetProvider(value);
85 return *this;
86 }
88
90
93 inline ProviderType GetProviderType() const { return m_providerType; }
94 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
95 inline void SetProviderType(ProviderType value) {
96 m_providerTypeHasBeenSet = true;
97 m_providerType = value;
98 }
100 SetProviderType(value);
101 return *this;
102 }
104
106
109 inline const Aws::String& GetDisplayName() const { return m_displayName; }
110 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
111 template <typename DisplayNameT = Aws::String>
112 void SetDisplayName(DisplayNameT&& value) {
113 m_displayNameHasBeenSet = true;
114 m_displayName = std::forward<DisplayNameT>(value);
115 }
116 template <typename DisplayNameT = Aws::String>
117 IntegrationSummary& WithDisplayName(DisplayNameT&& value) {
118 SetDisplayName(std::forward<DisplayNameT>(value));
119 return *this;
120 }
122
124
129 inline const Aws::String& GetTargetUrl() const { return m_targetUrl; }
130 inline bool TargetUrlHasBeenSet() const { return m_targetUrlHasBeenSet; }
131 template <typename TargetUrlT = Aws::String>
132 void SetTargetUrl(TargetUrlT&& value) {
133 m_targetUrlHasBeenSet = true;
134 m_targetUrl = std::forward<TargetUrlT>(value);
135 }
136 template <typename TargetUrlT = Aws::String>
137 IntegrationSummary& WithTargetUrl(TargetUrlT&& value) {
138 SetTargetUrl(std::forward<TargetUrlT>(value));
139 return *this;
140 }
142
144
148 inline const Aws::String& GetWebhookUrl() const { return m_webhookUrl; }
149 inline bool WebhookUrlHasBeenSet() const { return m_webhookUrlHasBeenSet; }
150 template <typename WebhookUrlT = Aws::String>
151 void SetWebhookUrl(WebhookUrlT&& value) {
152 m_webhookUrlHasBeenSet = true;
153 m_webhookUrl = std::forward<WebhookUrlT>(value);
154 }
155 template <typename WebhookUrlT = Aws::String>
156 IntegrationSummary& WithWebhookUrl(WebhookUrlT&& value) {
157 SetWebhookUrl(std::forward<WebhookUrlT>(value));
158 return *this;
159 }
161
163
167 inline const Aws::String& GetPrivateConnectionName() const { return m_privateConnectionName; }
168 inline bool PrivateConnectionNameHasBeenSet() const { return m_privateConnectionNameHasBeenSet; }
169 template <typename PrivateConnectionNameT = Aws::String>
170 void SetPrivateConnectionName(PrivateConnectionNameT&& value) {
171 m_privateConnectionNameHasBeenSet = true;
172 m_privateConnectionName = std::forward<PrivateConnectionNameT>(value);
173 }
174 template <typename PrivateConnectionNameT = Aws::String>
175 IntegrationSummary& WithPrivateConnectionName(PrivateConnectionNameT&& value) {
176 SetPrivateConnectionName(std::forward<PrivateConnectionNameT>(value));
177 return *this;
178 }
180 private:
181 Aws::String m_integrationId;
182
183 Aws::String m_installationId;
184
185 Provider m_provider{Provider::NOT_SET};
186
187 ProviderType m_providerType{ProviderType::NOT_SET};
188
189 Aws::String m_displayName;
190
191 Aws::String m_targetUrl;
192
193 Aws::String m_webhookUrl;
194
195 Aws::String m_privateConnectionName;
196 bool m_integrationIdHasBeenSet = false;
197 bool m_installationIdHasBeenSet = false;
198 bool m_providerHasBeenSet = false;
199 bool m_providerTypeHasBeenSet = false;
200 bool m_displayNameHasBeenSet = false;
201 bool m_targetUrlHasBeenSet = false;
202 bool m_webhookUrlHasBeenSet = false;
203 bool m_privateConnectionNameHasBeenSet = false;
204};
205
206} // namespace Model
207} // namespace SecurityAgent
208} // namespace Aws
AWS_SECURITYAGENT_API IntegrationSummary()=default
IntegrationSummary & WithInstallationId(InstallationIdT &&value)
IntegrationSummary & WithTargetUrl(TargetUrlT &&value)
IntegrationSummary & WithDisplayName(DisplayNameT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYAGENT_API IntegrationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IntegrationSummary & WithWebhookUrl(WebhookUrlT &&value)
void SetPrivateConnectionName(PrivateConnectionNameT &&value)
IntegrationSummary & WithIntegrationId(IntegrationIdT &&value)
AWS_SECURITYAGENT_API IntegrationSummary(Aws::Utils::Json::JsonView jsonValue)
void SetInstallationId(InstallationIdT &&value)
IntegrationSummary & WithProviderType(ProviderType value)
IntegrationSummary & WithProvider(Provider value)
IntegrationSummary & WithPrivateConnectionName(PrivateConnectionNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue