AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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 <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace AppIntegrationsService
28{
29namespace Model
30{
32 {
33 public:
34 AWS_APPINTEGRATIONSSERVICE_API GetApplicationResult() = default;
37
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template<typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
46 template<typename ArnT = Aws::String>
47 GetApplicationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
49
51
54 inline const Aws::String& GetId() const { return m_id; }
55 template<typename IdT = Aws::String>
56 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
57 template<typename IdT = Aws::String>
58 GetApplicationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetName() const { return m_name; }
66 template<typename NameT = Aws::String>
67 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
68 template<typename NameT = Aws::String>
69 GetApplicationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
71
73
76 inline const Aws::String& GetNamespace() const { return m_namespace; }
77 template<typename NamespaceT = Aws::String>
78 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
79 template<typename NamespaceT = Aws::String>
80 GetApplicationResult& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
82
84
87 inline const Aws::String& GetDescription() const { return m_description; }
88 template<typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
90 template<typename DescriptionT = Aws::String>
91 GetApplicationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
93
95
98 inline const ApplicationSourceConfig& GetApplicationSourceConfig() const { return m_applicationSourceConfig; }
99 template<typename ApplicationSourceConfigT = ApplicationSourceConfig>
100 void SetApplicationSourceConfig(ApplicationSourceConfigT&& value) { m_applicationSourceConfigHasBeenSet = true; m_applicationSourceConfig = std::forward<ApplicationSourceConfigT>(value); }
101 template<typename ApplicationSourceConfigT = ApplicationSourceConfig>
102 GetApplicationResult& WithApplicationSourceConfig(ApplicationSourceConfigT&& value) { SetApplicationSourceConfig(std::forward<ApplicationSourceConfigT>(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
110 template<typename CreatedTimeT = Aws::Utils::DateTime>
111 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
112 template<typename CreatedTimeT = Aws::Utils::DateTime>
113 GetApplicationResult& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
115
117
120 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
121 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
122 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
123 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
124 GetApplicationResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
126
128
132 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
133 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
134 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
135 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
136 GetApplicationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
137 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
138 GetApplicationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
139 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
140 }
142
144
148 inline const Aws::Vector<Aws::String>& GetPermissions() const { return m_permissions; }
149 template<typename PermissionsT = Aws::Vector<Aws::String>>
150 void SetPermissions(PermissionsT&& value) { m_permissionsHasBeenSet = true; m_permissions = std::forward<PermissionsT>(value); }
151 template<typename PermissionsT = Aws::Vector<Aws::String>>
152 GetApplicationResult& WithPermissions(PermissionsT&& value) { SetPermissions(std::forward<PermissionsT>(value)); return *this;}
153 template<typename PermissionsT = Aws::String>
154 GetApplicationResult& AddPermissions(PermissionsT&& value) { m_permissionsHasBeenSet = true; m_permissions.emplace_back(std::forward<PermissionsT>(value)); return *this; }
156
158
159 inline const Aws::String& GetRequestId() const { return m_requestId; }
160 template<typename RequestIdT = Aws::String>
161 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
162 template<typename RequestIdT = Aws::String>
163 GetApplicationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
165 private:
166
167 Aws::String m_arn;
168 bool m_arnHasBeenSet = false;
169
170 Aws::String m_id;
171 bool m_idHasBeenSet = false;
172
173 Aws::String m_name;
174 bool m_nameHasBeenSet = false;
175
176 Aws::String m_namespace;
177 bool m_namespaceHasBeenSet = false;
178
179 Aws::String m_description;
180 bool m_descriptionHasBeenSet = false;
181
182 ApplicationSourceConfig m_applicationSourceConfig;
183 bool m_applicationSourceConfigHasBeenSet = false;
184
185 Aws::Utils::DateTime m_createdTime{};
186 bool m_createdTimeHasBeenSet = false;
187
188 Aws::Utils::DateTime m_lastModifiedTime{};
189 bool m_lastModifiedTimeHasBeenSet = false;
190
192 bool m_tagsHasBeenSet = false;
193
194 Aws::Vector<Aws::String> m_permissions;
195 bool m_permissionsHasBeenSet = false;
196
197 Aws::String m_requestId;
198 bool m_requestIdHasBeenSet = false;
199 };
200
201} // namespace Model
202} // namespace AppIntegrationsService
203} // namespace Aws
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 & 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