AWS SDK for C++

AWS SDK for C++ Version 1.11.903

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
179 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
180 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
181 void SetTags(TagsT&& value) {
182 m_tagsHasBeenSet = true;
183 m_tags = std::forward<TagsT>(value);
184 }
185 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
187 SetTags(std::forward<TagsT>(value));
188 return *this;
189 }
190 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
191 GetApplicationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
192 m_tagsHasBeenSet = true;
193 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
194 return *this;
195 }
197
199
203 inline const Aws::Vector<Aws::String>& GetPermissions() const { return m_permissions; }
204 template <typename PermissionsT = Aws::Vector<Aws::String>>
205 void SetPermissions(PermissionsT&& value) {
206 m_permissionsHasBeenSet = true;
207 m_permissions = std::forward<PermissionsT>(value);
208 }
209 template <typename PermissionsT = Aws::Vector<Aws::String>>
210 GetApplicationResult& WithPermissions(PermissionsT&& value) {
211 SetPermissions(std::forward<PermissionsT>(value));
212 return *this;
213 }
214 template <typename PermissionsT = Aws::String>
215 GetApplicationResult& AddPermissions(PermissionsT&& value) {
216 m_permissionsHasBeenSet = true;
217 m_permissions.emplace_back(std::forward<PermissionsT>(value));
218 return *this;
219 }
221
223
227 inline int GetInitializationTimeout() const { return m_initializationTimeout; }
228 inline void SetInitializationTimeout(int value) {
229 m_initializationTimeoutHasBeenSet = true;
230 m_initializationTimeout = value;
231 }
234 return *this;
235 }
237
239
242 inline const ApplicationConfig& GetApplicationConfig() const { return m_applicationConfig; }
243 template <typename ApplicationConfigT = ApplicationConfig>
244 void SetApplicationConfig(ApplicationConfigT&& value) {
245 m_applicationConfigHasBeenSet = true;
246 m_applicationConfig = std::forward<ApplicationConfigT>(value);
247 }
248 template <typename ApplicationConfigT = ApplicationConfig>
249 GetApplicationResult& WithApplicationConfig(ApplicationConfigT&& value) {
250 SetApplicationConfig(std::forward<ApplicationConfigT>(value));
251 return *this;
252 }
254
256
259 inline const IframeConfig& GetIframeConfig() const { return m_iframeConfig; }
260 template <typename IframeConfigT = IframeConfig>
261 void SetIframeConfig(IframeConfigT&& value) {
262 m_iframeConfigHasBeenSet = true;
263 m_iframeConfig = std::forward<IframeConfigT>(value);
264 }
265 template <typename IframeConfigT = IframeConfig>
266 GetApplicationResult& WithIframeConfig(IframeConfigT&& value) {
267 SetIframeConfig(std::forward<IframeConfigT>(value));
268 return *this;
269 }
271
273
276 inline ApplicationType GetApplicationType() const { return m_applicationType; }
278 m_applicationTypeHasBeenSet = true;
279 m_applicationType = value;
280 }
282 SetApplicationType(value);
283 return *this;
284 }
286
288
292 inline const AuthConfig& GetAuthConfig() const { return m_authConfig; }
293 template <typename AuthConfigT = AuthConfig>
294 void SetAuthConfig(AuthConfigT&& value) {
295 m_authConfigHasBeenSet = true;
296 m_authConfig = std::forward<AuthConfigT>(value);
297 }
298 template <typename AuthConfigT = AuthConfig>
299 GetApplicationResult& WithAuthConfig(AuthConfigT&& value) {
300 SetAuthConfig(std::forward<AuthConfigT>(value));
301 return *this;
302 }
304
306
307 inline const Aws::String& GetRequestId() const { return m_requestId; }
308 template <typename RequestIdT = Aws::String>
309 void SetRequestId(RequestIdT&& value) {
310 m_requestIdHasBeenSet = true;
311 m_requestId = std::forward<RequestIdT>(value);
312 }
313 template <typename RequestIdT = Aws::String>
314 GetApplicationResult& WithRequestId(RequestIdT&& value) {
315 SetRequestId(std::forward<RequestIdT>(value));
316 return *this;
317 }
319 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
320
321 private:
322 Aws::String m_arn;
323
324 Aws::String m_id;
325
326 Aws::String m_name;
327
328 Aws::String m_namespace;
329
330 Aws::String m_description;
331
332 ApplicationSourceConfig m_applicationSourceConfig;
333
334 Aws::Utils::DateTime m_createdTime{};
335
336 Aws::Utils::DateTime m_lastModifiedTime{};
337
339
340 Aws::Vector<Aws::String> m_permissions;
341
342 int m_initializationTimeout{0};
343
344 ApplicationConfig m_applicationConfig;
345
346 IframeConfig m_iframeConfig;
347
348 ApplicationType m_applicationType{ApplicationType::NOT_SET};
349
350 AuthConfig m_authConfig;
351
352 Aws::String m_requestId;
353 Aws::Http::HttpResponseCode m_HttpResponseCode;
354 bool m_arnHasBeenSet = false;
355 bool m_idHasBeenSet = false;
356 bool m_nameHasBeenSet = false;
357 bool m_namespaceHasBeenSet = false;
358 bool m_descriptionHasBeenSet = false;
359 bool m_applicationSourceConfigHasBeenSet = false;
360 bool m_createdTimeHasBeenSet = false;
361 bool m_lastModifiedTimeHasBeenSet = false;
362 bool m_tagsHasBeenSet = false;
363 bool m_permissionsHasBeenSet = false;
364 bool m_initializationTimeoutHasBeenSet = false;
365 bool m_applicationConfigHasBeenSet = false;
366 bool m_iframeConfigHasBeenSet = false;
367 bool m_applicationTypeHasBeenSet = false;
368 bool m_authConfigHasBeenSet = false;
369 bool m_requestIdHasBeenSet = false;
370};
371
372} // namespace Model
373} // namespace AppIntegrationsService
374} // 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 & 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