AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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/IframeConfig.h>
12#include <aws/core/http/HttpResponse.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace AppIntegrationsService {
30namespace Model {
32 public:
33 AWS_APPINTEGRATIONSSERVICE_API GetApplicationResult() = default;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 template <typename IdT = Aws::String>
60 void SetId(IdT&& value) {
61 m_idHasBeenSet = true;
62 m_id = std::forward<IdT>(value);
63 }
64 template <typename IdT = Aws::String>
66 SetId(std::forward<IdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetNamespace() const { return m_namespace; }
93 template <typename NamespaceT = Aws::String>
94 void SetNamespace(NamespaceT&& value) {
95 m_namespaceHasBeenSet = true;
96 m_namespace = std::forward<NamespaceT>(value);
97 }
98 template <typename NamespaceT = Aws::String>
99 GetApplicationResult& WithNamespace(NamespaceT&& value) {
100 SetNamespace(std::forward<NamespaceT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetDescription() const { return m_description; }
110 template <typename DescriptionT = Aws::String>
111 void SetDescription(DescriptionT&& value) {
112 m_descriptionHasBeenSet = true;
113 m_description = std::forward<DescriptionT>(value);
114 }
115 template <typename DescriptionT = Aws::String>
116 GetApplicationResult& WithDescription(DescriptionT&& value) {
117 SetDescription(std::forward<DescriptionT>(value));
118 return *this;
119 }
121
123
126 inline const ApplicationSourceConfig& GetApplicationSourceConfig() const { return m_applicationSourceConfig; }
127 template <typename ApplicationSourceConfigT = ApplicationSourceConfig>
128 void SetApplicationSourceConfig(ApplicationSourceConfigT&& value) {
129 m_applicationSourceConfigHasBeenSet = true;
130 m_applicationSourceConfig = std::forward<ApplicationSourceConfigT>(value);
131 }
132 template <typename ApplicationSourceConfigT = ApplicationSourceConfig>
133 GetApplicationResult& WithApplicationSourceConfig(ApplicationSourceConfigT&& value) {
134 SetApplicationSourceConfig(std::forward<ApplicationSourceConfigT>(value));
135 return *this;
136 }
138
140
143 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
144 template <typename CreatedTimeT = Aws::Utils::DateTime>
145 void SetCreatedTime(CreatedTimeT&& value) {
146 m_createdTimeHasBeenSet = true;
147 m_createdTime = std::forward<CreatedTimeT>(value);
148 }
149 template <typename CreatedTimeT = Aws::Utils::DateTime>
150 GetApplicationResult& WithCreatedTime(CreatedTimeT&& value) {
151 SetCreatedTime(std::forward<CreatedTimeT>(value));
152 return *this;
153 }
155
157
160 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
161 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
162 void SetLastModifiedTime(LastModifiedTimeT&& value) {
163 m_lastModifiedTimeHasBeenSet = true;
164 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
165 }
166 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
167 GetApplicationResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
168 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
169 return *this;
170 }
172
174
178 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
179 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
180 void SetTags(TagsT&& value) {
181 m_tagsHasBeenSet = true;
182 m_tags = std::forward<TagsT>(value);
183 }
184 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
186 SetTags(std::forward<TagsT>(value));
187 return *this;
188 }
189 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
190 GetApplicationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
191 m_tagsHasBeenSet = true;
192 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
193 return *this;
194 }
196
198
202 inline const Aws::Vector<Aws::String>& GetPermissions() const { return m_permissions; }
203 template <typename PermissionsT = Aws::Vector<Aws::String>>
204 void SetPermissions(PermissionsT&& value) {
205 m_permissionsHasBeenSet = true;
206 m_permissions = std::forward<PermissionsT>(value);
207 }
208 template <typename PermissionsT = Aws::Vector<Aws::String>>
209 GetApplicationResult& WithPermissions(PermissionsT&& value) {
210 SetPermissions(std::forward<PermissionsT>(value));
211 return *this;
212 }
213 template <typename PermissionsT = Aws::String>
214 GetApplicationResult& AddPermissions(PermissionsT&& value) {
215 m_permissionsHasBeenSet = true;
216 m_permissions.emplace_back(std::forward<PermissionsT>(value));
217 return *this;
218 }
220
222
226 inline int GetInitializationTimeout() const { return m_initializationTimeout; }
227 inline void SetInitializationTimeout(int value) {
228 m_initializationTimeoutHasBeenSet = true;
229 m_initializationTimeout = value;
230 }
233 return *this;
234 }
236
238
241 inline const ApplicationConfig& GetApplicationConfig() const { return m_applicationConfig; }
242 template <typename ApplicationConfigT = ApplicationConfig>
243 void SetApplicationConfig(ApplicationConfigT&& value) {
244 m_applicationConfigHasBeenSet = true;
245 m_applicationConfig = std::forward<ApplicationConfigT>(value);
246 }
247 template <typename ApplicationConfigT = ApplicationConfig>
248 GetApplicationResult& WithApplicationConfig(ApplicationConfigT&& value) {
249 SetApplicationConfig(std::forward<ApplicationConfigT>(value));
250 return *this;
251 }
253
255
258 inline const IframeConfig& GetIframeConfig() const { return m_iframeConfig; }
259 template <typename IframeConfigT = IframeConfig>
260 void SetIframeConfig(IframeConfigT&& value) {
261 m_iframeConfigHasBeenSet = true;
262 m_iframeConfig = std::forward<IframeConfigT>(value);
263 }
264 template <typename IframeConfigT = IframeConfig>
265 GetApplicationResult& WithIframeConfig(IframeConfigT&& value) {
266 SetIframeConfig(std::forward<IframeConfigT>(value));
267 return *this;
268 }
270
272
275 inline ApplicationType GetApplicationType() const { return m_applicationType; }
277 m_applicationTypeHasBeenSet = true;
278 m_applicationType = value;
279 }
281 SetApplicationType(value);
282 return *this;
283 }
285
287
288 inline const Aws::String& GetRequestId() const { return m_requestId; }
289 template <typename RequestIdT = Aws::String>
290 void SetRequestId(RequestIdT&& value) {
291 m_requestIdHasBeenSet = true;
292 m_requestId = std::forward<RequestIdT>(value);
293 }
294 template <typename RequestIdT = Aws::String>
295 GetApplicationResult& WithRequestId(RequestIdT&& value) {
296 SetRequestId(std::forward<RequestIdT>(value));
297 return *this;
298 }
300 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
301
302 private:
303 Aws::String m_arn;
304
305 Aws::String m_id;
306
307 Aws::String m_name;
308
309 Aws::String m_namespace;
310
311 Aws::String m_description;
312
313 ApplicationSourceConfig m_applicationSourceConfig;
314
315 Aws::Utils::DateTime m_createdTime{};
316
317 Aws::Utils::DateTime m_lastModifiedTime{};
318
320
321 Aws::Vector<Aws::String> m_permissions;
322
323 int m_initializationTimeout{0};
324
325 ApplicationConfig m_applicationConfig;
326
327 IframeConfig m_iframeConfig;
328
329 ApplicationType m_applicationType{ApplicationType::NOT_SET};
330
331 Aws::String m_requestId;
332 Aws::Http::HttpResponseCode m_HttpResponseCode;
333 bool m_arnHasBeenSet = false;
334 bool m_idHasBeenSet = false;
335 bool m_nameHasBeenSet = false;
336 bool m_namespaceHasBeenSet = false;
337 bool m_descriptionHasBeenSet = false;
338 bool m_applicationSourceConfigHasBeenSet = false;
339 bool m_createdTimeHasBeenSet = false;
340 bool m_lastModifiedTimeHasBeenSet = false;
341 bool m_tagsHasBeenSet = false;
342 bool m_permissionsHasBeenSet = false;
343 bool m_initializationTimeoutHasBeenSet = false;
344 bool m_applicationConfigHasBeenSet = false;
345 bool m_iframeConfigHasBeenSet = false;
346 bool m_applicationTypeHasBeenSet = false;
347 bool m_requestIdHasBeenSet = false;
348};
349
350} // namespace Model
351} // namespace AppIntegrationsService
352} // 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)
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