AWS SDK for C++

AWS SDK for C++ Version 1.11.845

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
155 inline const Aws::String& GetPrivateConnectionName() const { return m_privateConnectionName; }
156 template <typename PrivateConnectionNameT = Aws::String>
157 void SetPrivateConnectionName(PrivateConnectionNameT&& value) {
158 m_privateConnectionNameHasBeenSet = true;
159 m_privateConnectionName = std::forward<PrivateConnectionNameT>(value);
160 }
161 template <typename PrivateConnectionNameT = Aws::String>
162 GetIntegrationResult& WithPrivateConnectionName(PrivateConnectionNameT&& value) {
163 SetPrivateConnectionName(std::forward<PrivateConnectionNameT>(value));
164 return *this;
165 }
167
169
170 inline const Aws::String& GetRequestId() const { return m_requestId; }
171 template <typename RequestIdT = Aws::String>
172 void SetRequestId(RequestIdT&& value) {
173 m_requestIdHasBeenSet = true;
174 m_requestId = std::forward<RequestIdT>(value);
175 }
176 template <typename RequestIdT = Aws::String>
177 GetIntegrationResult& WithRequestId(RequestIdT&& value) {
178 SetRequestId(std::forward<RequestIdT>(value));
179 return *this;
180 }
182 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
183
184 private:
185 Aws::String m_integrationId;
186
187 Aws::String m_installationId;
188
189 Provider m_provider{Provider::NOT_SET};
190
191 ProviderType m_providerType{ProviderType::NOT_SET};
192
193 Aws::String m_displayName;
194
195 Aws::String m_kmsKeyId;
196
197 Aws::String m_targetUrl;
198
199 Aws::String m_privateConnectionName;
200
201 Aws::String m_requestId;
202 Aws::Http::HttpResponseCode m_HttpResponseCode;
203 bool m_integrationIdHasBeenSet = false;
204 bool m_installationIdHasBeenSet = false;
205 bool m_providerHasBeenSet = false;
206 bool m_providerTypeHasBeenSet = false;
207 bool m_displayNameHasBeenSet = false;
208 bool m_kmsKeyIdHasBeenSet = false;
209 bool m_targetUrlHasBeenSet = false;
210 bool m_privateConnectionNameHasBeenSet = false;
211 bool m_requestIdHasBeenSet = false;
212};
213
214} // namespace Model
215} // namespace SecurityAgent
216} // 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 & WithProvider(Provider value)
GetIntegrationResult & WithDisplayName(DisplayNameT &&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