AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
GetApplicationResult.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/appintegrations/model/ApplicationConfig.h>
9#include <aws/appintegrations/model/ApplicationSourceConfig.h>
10#include <aws/appintegrations/model/ApplicationType.h>
11#include <aws/appintegrations/model/AuthConfig.h>
12#include <aws/appintegrations/model/IframeConfig.h>
13#include <aws/core/http/HttpResponse.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace AppIntegrationsService {
31namespace Model {
33 public:
34 AWS_APPINTEGRATIONSSERVICE_API GetApplicationResult() = default;
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 template <typename IdT = Aws::String>
61 void SetId(IdT&& value) {
62 m_idHasBeenSet = true;
63 m_id = std::forward<IdT>(value);
64 }
65 template <typename IdT = Aws::String>
67 SetId(std::forward<IdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetNamespace() const { return m_namespace; }
94 template <typename NamespaceT = Aws::String>
95 void SetNamespace(NamespaceT&& value) {
96 m_namespaceHasBeenSet = true;
97 m_namespace = std::forward<NamespaceT>(value);
98 }
99 template <typename NamespaceT = Aws::String>
100 GetApplicationResult& WithNamespace(NamespaceT&& value) {
101 SetNamespace(std::forward<NamespaceT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetDescription() const { return m_description; }
111 template <typename DescriptionT = Aws::String>
112 void SetDescription(DescriptionT&& value) {
113 m_descriptionHasBeenSet = true;
114 m_description = std::forward<DescriptionT>(value);
115 }
116 template <typename DescriptionT = Aws::String>
117 GetApplicationResult& WithDescription(DescriptionT&& value) {
118 SetDescription(std::forward<DescriptionT>(value));
119 return *this;
120 }
122
124
127 inline const ApplicationSourceConfig& GetApplicationSourceConfig() const { return m_applicationSourceConfig; }
128 template <typename ApplicationSourceConfigT = ApplicationSourceConfig>
129 void SetApplicationSourceConfig(ApplicationSourceConfigT&& value) {
130 m_applicationSourceConfigHasBeenSet = true;
131 m_applicationSourceConfig = std::forward<ApplicationSourceConfigT>(value);
132 }
133 template <typename ApplicationSourceConfigT = ApplicationSourceConfig>
134 GetApplicationResult& WithApplicationSourceConfig(ApplicationSourceConfigT&& value) {
135 SetApplicationSourceConfig(std::forward<ApplicationSourceConfigT>(value));
136 return *this;
137 }
139
141
144 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
145 template <typename CreatedTimeT = Aws::Utils::DateTime>
146 void SetCreatedTime(CreatedTimeT&& value) {
147 m_createdTimeHasBeenSet = true;
148 m_createdTime = std::forward<CreatedTimeT>(value);
149 }
150 template <typename CreatedTimeT = Aws::Utils::DateTime>
151 GetApplicationResult& WithCreatedTime(CreatedTimeT&& value) {
152 SetCreatedTime(std::forward<CreatedTimeT>(value));
153 return *this;
154 }
156
158
161 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
162 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
163 void SetLastModifiedTime(LastModifiedTimeT&& value) {
164 m_lastModifiedTimeHasBeenSet = true;
165 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
166 }
167 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
168 GetApplicationResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
169 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
179 template <typename LastModifiedRegionT = Aws::String>
180 void SetLastModifiedRegion(LastModifiedRegionT&& value) {
181 m_lastModifiedRegionHasBeenSet = true;
182 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
183 }
184 template <typename LastModifiedRegionT = Aws::String>
185 GetApplicationResult& WithLastModifiedRegion(LastModifiedRegionT&& value) {
186 SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value));
187 return *this;
188 }
190
192
196 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
197 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
198 void SetTags(TagsT&& value) {
199 m_tagsHasBeenSet = true;
200 m_tags = std::forward<TagsT>(value);
201 }
202 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
204 SetTags(std::forward<TagsT>(value));
205 return *this;
206 }
207 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
208 GetApplicationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
209 m_tagsHasBeenSet = true;
210 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
211 return *this;
212 }
214
216
220 inline const Aws::Vector<Aws::String>& GetPermissions() const { return m_permissions; }
221 template <typename PermissionsT = Aws::Vector<Aws::String>>
222 void SetPermissions(PermissionsT&& value) {
223 m_permissionsHasBeenSet = true;
224 m_permissions = std::forward<PermissionsT>(value);
225 }
226 template <typename PermissionsT = Aws::Vector<Aws::String>>
227 GetApplicationResult& WithPermissions(PermissionsT&& value) {
228 SetPermissions(std::forward<PermissionsT>(value));
229 return *this;
230 }
231 template <typename PermissionsT = Aws::String>
232 GetApplicationResult& AddPermissions(PermissionsT&& value) {
233 m_permissionsHasBeenSet = true;
234 m_permissions.emplace_back(std::forward<PermissionsT>(value));
235 return *this;
236 }
238
240
244 inline int GetInitializationTimeout() const { return m_initializationTimeout; }
245 inline void SetInitializationTimeout(int value) {
246 m_initializationTimeoutHasBeenSet = true;
247 m_initializationTimeout = value;
248 }
251 return *this;
252 }
254
256
259 inline const ApplicationConfig& GetApplicationConfig() const { return m_applicationConfig; }
260 template <typename ApplicationConfigT = ApplicationConfig>
261 void SetApplicationConfig(ApplicationConfigT&& value) {
262 m_applicationConfigHasBeenSet = true;
263 m_applicationConfig = std::forward<ApplicationConfigT>(value);
264 }
265 template <typename ApplicationConfigT = ApplicationConfig>
266 GetApplicationResult& WithApplicationConfig(ApplicationConfigT&& value) {
267 SetApplicationConfig(std::forward<ApplicationConfigT>(value));
268 return *this;
269 }
271
273
276 inline const IframeConfig& GetIframeConfig() const { return m_iframeConfig; }
277 template <typename IframeConfigT = IframeConfig>
278 void SetIframeConfig(IframeConfigT&& value) {
279 m_iframeConfigHasBeenSet = true;
280 m_iframeConfig = std::forward<IframeConfigT>(value);
281 }
282 template <typename IframeConfigT = IframeConfig>
283 GetApplicationResult& WithIframeConfig(IframeConfigT&& value) {
284 SetIframeConfig(std::forward<IframeConfigT>(value));
285 return *this;
286 }
288
290
293 inline ApplicationType GetApplicationType() const { return m_applicationType; }
295 m_applicationTypeHasBeenSet = true;
296 m_applicationType = value;
297 }
299 SetApplicationType(value);
300 return *this;
301 }
303
305
309 inline const AuthConfig& GetAuthConfig() const { return m_authConfig; }
310 template <typename AuthConfigT = AuthConfig>
311 void SetAuthConfig(AuthConfigT&& value) {
312 m_authConfigHasBeenSet = true;
313 m_authConfig = std::forward<AuthConfigT>(value);
314 }
315 template <typename AuthConfigT = AuthConfig>
316 GetApplicationResult& WithAuthConfig(AuthConfigT&& value) {
317 SetAuthConfig(std::forward<AuthConfigT>(value));
318 return *this;
319 }
321
323
324 inline const Aws::String& GetRequestId() const { return m_requestId; }
325 template <typename RequestIdT = Aws::String>
326 void SetRequestId(RequestIdT&& value) {
327 m_requestIdHasBeenSet = true;
328 m_requestId = std::forward<RequestIdT>(value);
329 }
330 template <typename RequestIdT = Aws::String>
331 GetApplicationResult& WithRequestId(RequestIdT&& value) {
332 SetRequestId(std::forward<RequestIdT>(value));
333 return *this;
334 }
336 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
337
338 private:
339 Aws::String m_arn;
340
341 Aws::String m_id;
342
343 Aws::String m_name;
344
345 Aws::String m_namespace;
346
347 Aws::String m_description;
348
349 ApplicationSourceConfig m_applicationSourceConfig;
350
351 Aws::Utils::DateTime m_createdTime{};
352
353 Aws::Utils::DateTime m_lastModifiedTime{};
354
355 Aws::String m_lastModifiedRegion;
356
358
359 Aws::Vector<Aws::String> m_permissions;
360
361 int m_initializationTimeout{0};
362
363 ApplicationConfig m_applicationConfig;
364
365 IframeConfig m_iframeConfig;
366
367 ApplicationType m_applicationType{ApplicationType::NOT_SET};
368
369 AuthConfig m_authConfig;
370
371 Aws::String m_requestId;
372 Aws::Http::HttpResponseCode m_HttpResponseCode;
373 bool m_arnHasBeenSet = false;
374 bool m_idHasBeenSet = false;
375 bool m_nameHasBeenSet = false;
376 bool m_namespaceHasBeenSet = false;
377 bool m_descriptionHasBeenSet = false;
378 bool m_applicationSourceConfigHasBeenSet = false;
379 bool m_createdTimeHasBeenSet = false;
380 bool m_lastModifiedTimeHasBeenSet = false;
381 bool m_lastModifiedRegionHasBeenSet = false;
382 bool m_tagsHasBeenSet = false;
383 bool m_permissionsHasBeenSet = false;
384 bool m_initializationTimeoutHasBeenSet = false;
385 bool m_applicationConfigHasBeenSet = false;
386 bool m_iframeConfigHasBeenSet = false;
387 bool m_applicationTypeHasBeenSet = false;
388 bool m_authConfigHasBeenSet = false;
389 bool m_requestIdHasBeenSet = false;
390};
391
392} // namespace Model
393} // namespace AppIntegrationsService
394} // namespace Aws
GetApplicationResult & WithIframeConfig(IframeConfigT &&value)
GetApplicationResult & WithCreatedTime(CreatedTimeT &&value)
GetApplicationResult & WithDescription(DescriptionT &&value)
GetApplicationResult & WithLastModifiedTime(LastModifiedTimeT &&value)
GetApplicationResult & WithPermissions(PermissionsT &&value)
GetApplicationResult & WithApplicationSourceConfig(ApplicationSourceConfigT &&value)
GetApplicationResult & WithRequestId(RequestIdT &&value)
GetApplicationResult & AddPermissions(PermissionsT &&value)
GetApplicationResult & WithApplicationConfig(ApplicationConfigT &&value)
GetApplicationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_APPINTEGRATIONSSERVICE_API GetApplicationResult()=default
const Aws::Vector< Aws::String > & GetPermissions() const
void SetApplicationSourceConfig(ApplicationSourceConfigT &&value)
GetApplicationResult & WithLastModifiedRegion(LastModifiedRegionT &&value)
GetApplicationResult & WithAuthConfig(AuthConfigT &&value)
const ApplicationSourceConfig & GetApplicationSourceConfig() const
GetApplicationResult & WithApplicationType(ApplicationType value)
AWS_APPINTEGRATIONSSERVICE_API GetApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPINTEGRATIONSSERVICE_API GetApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetApplicationResult & WithNamespace(NamespaceT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue