AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
GetApplicationResult.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appintegrations/model/ApplicationSourceConfig.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/appintegrations/model/ApplicationConfig.h>
14#include <aws/appintegrations/model/IframeConfig.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace AppIntegrationsService
30{
31namespace Model
32{
34 {
35 public:
36 AWS_APPINTEGRATIONSSERVICE_API GetApplicationResult() = default;
39
40
42
45 inline const Aws::String& GetArn() const { return m_arn; }
46 template<typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
48 template<typename ArnT = Aws::String>
49 GetApplicationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
51
53
56 inline const Aws::String& GetId() const { return m_id; }
57 template<typename IdT = Aws::String>
58 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
59 template<typename IdT = Aws::String>
60 GetApplicationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
62
64
67 inline const Aws::String& GetName() const { return m_name; }
68 template<typename NameT = Aws::String>
69 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
70 template<typename NameT = Aws::String>
71 GetApplicationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
73
75
78 inline const Aws::String& GetNamespace() const { return m_namespace; }
79 template<typename NamespaceT = Aws::String>
80 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
81 template<typename NamespaceT = Aws::String>
82 GetApplicationResult& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
84
86
89 inline const Aws::String& GetDescription() const { return m_description; }
90 template<typename DescriptionT = Aws::String>
91 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
92 template<typename DescriptionT = Aws::String>
93 GetApplicationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
95
97
100 inline const ApplicationSourceConfig& GetApplicationSourceConfig() const { return m_applicationSourceConfig; }
101 template<typename ApplicationSourceConfigT = ApplicationSourceConfig>
102 void SetApplicationSourceConfig(ApplicationSourceConfigT&& value) { m_applicationSourceConfigHasBeenSet = true; m_applicationSourceConfig = std::forward<ApplicationSourceConfigT>(value); }
103 template<typename ApplicationSourceConfigT = ApplicationSourceConfig>
104 GetApplicationResult& WithApplicationSourceConfig(ApplicationSourceConfigT&& value) { SetApplicationSourceConfig(std::forward<ApplicationSourceConfigT>(value)); return *this;}
106
108
111 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
112 template<typename CreatedTimeT = Aws::Utils::DateTime>
113 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
114 template<typename CreatedTimeT = Aws::Utils::DateTime>
115 GetApplicationResult& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
123 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
124 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
125 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
126 GetApplicationResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
128
130
134 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
135 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
136 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
137 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
138 GetApplicationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
139 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
140 GetApplicationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
141 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
142 }
144
146
150 inline const Aws::Vector<Aws::String>& GetPermissions() const { return m_permissions; }
151 template<typename PermissionsT = Aws::Vector<Aws::String>>
152 void SetPermissions(PermissionsT&& value) { m_permissionsHasBeenSet = true; m_permissions = std::forward<PermissionsT>(value); }
153 template<typename PermissionsT = Aws::Vector<Aws::String>>
154 GetApplicationResult& WithPermissions(PermissionsT&& value) { SetPermissions(std::forward<PermissionsT>(value)); return *this;}
155 template<typename PermissionsT = Aws::String>
156 GetApplicationResult& AddPermissions(PermissionsT&& value) { m_permissionsHasBeenSet = true; m_permissions.emplace_back(std::forward<PermissionsT>(value)); return *this; }
158
160
163 inline bool GetIsService() const { return m_isService; }
164 inline void SetIsService(bool value) { m_isServiceHasBeenSet = true; m_isService = value; }
165 inline GetApplicationResult& WithIsService(bool value) { SetIsService(value); return *this;}
167
169
173 inline int GetInitializationTimeout() const { return m_initializationTimeout; }
174 inline void SetInitializationTimeout(int value) { m_initializationTimeoutHasBeenSet = true; m_initializationTimeout = value; }
177
179
182 inline const ApplicationConfig& GetApplicationConfig() const { return m_applicationConfig; }
183 template<typename ApplicationConfigT = ApplicationConfig>
184 void SetApplicationConfig(ApplicationConfigT&& value) { m_applicationConfigHasBeenSet = true; m_applicationConfig = std::forward<ApplicationConfigT>(value); }
185 template<typename ApplicationConfigT = ApplicationConfig>
186 GetApplicationResult& WithApplicationConfig(ApplicationConfigT&& value) { SetApplicationConfig(std::forward<ApplicationConfigT>(value)); return *this;}
188
190
193 inline const IframeConfig& GetIframeConfig() const { return m_iframeConfig; }
194 template<typename IframeConfigT = IframeConfig>
195 void SetIframeConfig(IframeConfigT&& value) { m_iframeConfigHasBeenSet = true; m_iframeConfig = std::forward<IframeConfigT>(value); }
196 template<typename IframeConfigT = IframeConfig>
197 GetApplicationResult& WithIframeConfig(IframeConfigT&& value) { SetIframeConfig(std::forward<IframeConfigT>(value)); return *this;}
199
201
202 inline const Aws::String& GetRequestId() const { return m_requestId; }
203 template<typename RequestIdT = Aws::String>
204 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
205 template<typename RequestIdT = Aws::String>
206 GetApplicationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
208 private:
209
210 Aws::String m_arn;
211 bool m_arnHasBeenSet = false;
212
213 Aws::String m_id;
214 bool m_idHasBeenSet = false;
215
216 Aws::String m_name;
217 bool m_nameHasBeenSet = false;
218
219 Aws::String m_namespace;
220 bool m_namespaceHasBeenSet = false;
221
222 Aws::String m_description;
223 bool m_descriptionHasBeenSet = false;
224
225 ApplicationSourceConfig m_applicationSourceConfig;
226 bool m_applicationSourceConfigHasBeenSet = false;
227
228 Aws::Utils::DateTime m_createdTime{};
229 bool m_createdTimeHasBeenSet = false;
230
231 Aws::Utils::DateTime m_lastModifiedTime{};
232 bool m_lastModifiedTimeHasBeenSet = false;
233
235 bool m_tagsHasBeenSet = false;
236
237 Aws::Vector<Aws::String> m_permissions;
238 bool m_permissionsHasBeenSet = false;
239
240 bool m_isService{false};
241 bool m_isServiceHasBeenSet = false;
242
243 int m_initializationTimeout{0};
244 bool m_initializationTimeoutHasBeenSet = false;
245
246 ApplicationConfig m_applicationConfig;
247 bool m_applicationConfigHasBeenSet = false;
248
249 IframeConfig m_iframeConfig;
250 bool m_iframeConfigHasBeenSet = false;
251
252 Aws::String m_requestId;
253 bool m_requestIdHasBeenSet = false;
254 };
255
256} // namespace Model
257} // namespace AppIntegrationsService
258} // 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
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