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/servicecatalog-appregistry/AppRegistry_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/servicecatalog-appregistry/model/Integrations.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace AppRegistry
27{
28namespace Model
29{
31 {
32 public:
33 AWS_APPREGISTRY_API GetApplicationResult() = default;
36
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 template<typename IdT = Aws::String>
44 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
45 template<typename IdT = Aws::String>
46 GetApplicationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
48
50
54 inline const Aws::String& GetArn() const { return m_arn; }
55 template<typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
57 template<typename ArnT = Aws::String>
58 GetApplicationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
60
62
66 inline const Aws::String& GetName() const { return m_name; }
67 template<typename NameT = Aws::String>
68 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
69 template<typename NameT = Aws::String>
70 GetApplicationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 template<typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
80 template<typename DescriptionT = Aws::String>
81 GetApplicationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
83
85
89 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
90 template<typename CreationTimeT = Aws::Utils::DateTime>
91 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
92 template<typename CreationTimeT = Aws::Utils::DateTime>
93 GetApplicationResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
95
97
101 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
102 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
103 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
104 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
105 GetApplicationResult& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
107
109
113 inline int GetAssociatedResourceCount() const { return m_associatedResourceCount; }
114 inline void SetAssociatedResourceCount(int value) { m_associatedResourceCountHasBeenSet = true; m_associatedResourceCount = value; }
117
119
122 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
123 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
125 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 GetApplicationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
127 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
128 GetApplicationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
129 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
130 }
132
134
138 inline const Integrations& GetIntegrations() const { return m_integrations; }
139 template<typename IntegrationsT = Integrations>
140 void SetIntegrations(IntegrationsT&& value) { m_integrationsHasBeenSet = true; m_integrations = std::forward<IntegrationsT>(value); }
141 template<typename IntegrationsT = Integrations>
142 GetApplicationResult& WithIntegrations(IntegrationsT&& value) { SetIntegrations(std::forward<IntegrationsT>(value)); return *this;}
144
146
149 inline const Aws::Map<Aws::String, Aws::String>& GetApplicationTag() const { return m_applicationTag; }
150 template<typename ApplicationTagT = Aws::Map<Aws::String, Aws::String>>
151 void SetApplicationTag(ApplicationTagT&& value) { m_applicationTagHasBeenSet = true; m_applicationTag = std::forward<ApplicationTagT>(value); }
152 template<typename ApplicationTagT = Aws::Map<Aws::String, Aws::String>>
153 GetApplicationResult& WithApplicationTag(ApplicationTagT&& value) { SetApplicationTag(std::forward<ApplicationTagT>(value)); return *this;}
154 template<typename ApplicationTagKeyT = Aws::String, typename ApplicationTagValueT = Aws::String>
155 GetApplicationResult& AddApplicationTag(ApplicationTagKeyT&& key, ApplicationTagValueT&& value) {
156 m_applicationTagHasBeenSet = true; m_applicationTag.emplace(std::forward<ApplicationTagKeyT>(key), std::forward<ApplicationTagValueT>(value)); return *this;
157 }
159
161
162 inline const Aws::String& GetRequestId() const { return m_requestId; }
163 template<typename RequestIdT = Aws::String>
164 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
165 template<typename RequestIdT = Aws::String>
166 GetApplicationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
168 private:
169
170 Aws::String m_id;
171 bool m_idHasBeenSet = false;
172
173 Aws::String m_arn;
174 bool m_arnHasBeenSet = false;
175
176 Aws::String m_name;
177 bool m_nameHasBeenSet = false;
178
179 Aws::String m_description;
180 bool m_descriptionHasBeenSet = false;
181
182 Aws::Utils::DateTime m_creationTime{};
183 bool m_creationTimeHasBeenSet = false;
184
185 Aws::Utils::DateTime m_lastUpdateTime{};
186 bool m_lastUpdateTimeHasBeenSet = false;
187
188 int m_associatedResourceCount{0};
189 bool m_associatedResourceCountHasBeenSet = false;
190
192 bool m_tagsHasBeenSet = false;
193
194 Integrations m_integrations;
195 bool m_integrationsHasBeenSet = false;
196
197 Aws::Map<Aws::String, Aws::String> m_applicationTag;
198 bool m_applicationTagHasBeenSet = false;
199
200 Aws::String m_requestId;
201 bool m_requestIdHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace AppRegistry
206} // namespace Aws
GetApplicationResult & WithIntegrations(IntegrationsT &&value)
GetApplicationResult & WithLastUpdateTime(LastUpdateTimeT &&value)
AWS_APPREGISTRY_API GetApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_APPREGISTRY_API GetApplicationResult()=default
GetApplicationResult & AddApplicationTag(ApplicationTagKeyT &&key, ApplicationTagValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetApplicationResult & WithRequestId(RequestIdT &&value)
GetApplicationResult & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
GetApplicationResult & WithId(IdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetApplicationTag() const
const Aws::Utils::DateTime & GetLastUpdateTime() const
GetApplicationResult & WithArn(ArnT &&value)
GetApplicationResult & WithApplicationTag(ApplicationTagT &&value)
AWS_APPREGISTRY_API GetApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationResult & WithDescription(DescriptionT &&value)
GetApplicationResult & WithTags(TagsT &&value)
GetApplicationResult & WithName(NameT &&value)
GetApplicationResult & WithAssociatedResourceCount(int 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
Aws::Utils::Json::JsonValue JsonValue