AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateApplicationResult.h
1
6#pragma once
7#include <aws/serverlessrepo/ServerlessApplicationRepository_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/serverlessrepo/model/Version.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ServerlessApplicationRepository
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateApplicationResult() = default;
33 AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateApplicationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
35
36
38
41 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
42 template<typename ApplicationIdT = Aws::String>
43 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
44 template<typename ApplicationIdT = Aws::String>
45 CreateApplicationResult& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
47
49
53 inline const Aws::String& GetAuthor() const { return m_author; }
54 template<typename AuthorT = Aws::String>
55 void SetAuthor(AuthorT&& value) { m_authorHasBeenSet = true; m_author = std::forward<AuthorT>(value); }
56 template<typename AuthorT = Aws::String>
57 CreateApplicationResult& WithAuthor(AuthorT&& value) { SetAuthor(std::forward<AuthorT>(value)); return *this;}
59
61
64 inline const Aws::String& GetCreationTime() const { return m_creationTime; }
65 template<typename CreationTimeT = Aws::String>
66 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
67 template<typename CreationTimeT = Aws::String>
68 CreateApplicationResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
70
72
76 inline const Aws::String& GetDescription() const { return m_description; }
77 template<typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
79 template<typename DescriptionT = Aws::String>
80 CreateApplicationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
82
84
88 inline const Aws::String& GetHomePageUrl() const { return m_homePageUrl; }
89 template<typename HomePageUrlT = Aws::String>
90 void SetHomePageUrl(HomePageUrlT&& value) { m_homePageUrlHasBeenSet = true; m_homePageUrl = std::forward<HomePageUrlT>(value); }
91 template<typename HomePageUrlT = Aws::String>
92 CreateApplicationResult& WithHomePageUrl(HomePageUrlT&& value) { SetHomePageUrl(std::forward<HomePageUrlT>(value)); return *this;}
94
96
102 inline bool GetIsVerifiedAuthor() const { return m_isVerifiedAuthor; }
103 inline void SetIsVerifiedAuthor(bool value) { m_isVerifiedAuthorHasBeenSet = true; m_isVerifiedAuthor = value; }
104 inline CreateApplicationResult& WithIsVerifiedAuthor(bool value) { SetIsVerifiedAuthor(value); return *this;}
106
108
113 inline const Aws::Vector<Aws::String>& GetLabels() const { return m_labels; }
114 template<typename LabelsT = Aws::Vector<Aws::String>>
115 void SetLabels(LabelsT&& value) { m_labelsHasBeenSet = true; m_labels = std::forward<LabelsT>(value); }
116 template<typename LabelsT = Aws::Vector<Aws::String>>
117 CreateApplicationResult& WithLabels(LabelsT&& value) { SetLabels(std::forward<LabelsT>(value)); return *this;}
118 template<typename LabelsT = Aws::String>
119 CreateApplicationResult& AddLabels(LabelsT&& value) { m_labelsHasBeenSet = true; m_labels.emplace_back(std::forward<LabelsT>(value)); return *this; }
121
123
127 inline const Aws::String& GetLicenseUrl() const { return m_licenseUrl; }
128 template<typename LicenseUrlT = Aws::String>
129 void SetLicenseUrl(LicenseUrlT&& value) { m_licenseUrlHasBeenSet = true; m_licenseUrl = std::forward<LicenseUrlT>(value); }
130 template<typename LicenseUrlT = Aws::String>
131 CreateApplicationResult& WithLicenseUrl(LicenseUrlT&& value) { SetLicenseUrl(std::forward<LicenseUrlT>(value)); return *this;}
133
135
139 inline const Aws::String& GetName() const { return m_name; }
140 template<typename NameT = Aws::String>
141 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
142 template<typename NameT = Aws::String>
143 CreateApplicationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
145
147
151 inline const Aws::String& GetReadmeUrl() const { return m_readmeUrl; }
152 template<typename ReadmeUrlT = Aws::String>
153 void SetReadmeUrl(ReadmeUrlT&& value) { m_readmeUrlHasBeenSet = true; m_readmeUrl = std::forward<ReadmeUrlT>(value); }
154 template<typename ReadmeUrlT = Aws::String>
155 CreateApplicationResult& WithReadmeUrl(ReadmeUrlT&& value) { SetReadmeUrl(std::forward<ReadmeUrlT>(value)); return *this;}
157
159
162 inline const Aws::String& GetSpdxLicenseId() const { return m_spdxLicenseId; }
163 template<typename SpdxLicenseIdT = Aws::String>
164 void SetSpdxLicenseId(SpdxLicenseIdT&& value) { m_spdxLicenseIdHasBeenSet = true; m_spdxLicenseId = std::forward<SpdxLicenseIdT>(value); }
165 template<typename SpdxLicenseIdT = Aws::String>
166 CreateApplicationResult& WithSpdxLicenseId(SpdxLicenseIdT&& value) { SetSpdxLicenseId(std::forward<SpdxLicenseIdT>(value)); return *this;}
168
170
174 inline const Aws::String& GetVerifiedAuthorUrl() const { return m_verifiedAuthorUrl; }
175 template<typename VerifiedAuthorUrlT = Aws::String>
176 void SetVerifiedAuthorUrl(VerifiedAuthorUrlT&& value) { m_verifiedAuthorUrlHasBeenSet = true; m_verifiedAuthorUrl = std::forward<VerifiedAuthorUrlT>(value); }
177 template<typename VerifiedAuthorUrlT = Aws::String>
178 CreateApplicationResult& WithVerifiedAuthorUrl(VerifiedAuthorUrlT&& value) { SetVerifiedAuthorUrl(std::forward<VerifiedAuthorUrlT>(value)); return *this;}
180
182
185 inline const Version& GetVersion() const { return m_version; }
186 template<typename VersionT = Version>
187 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
188 template<typename VersionT = Version>
189 CreateApplicationResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
191
193
194 inline const Aws::String& GetRequestId() const { return m_requestId; }
195 template<typename RequestIdT = Aws::String>
196 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
197 template<typename RequestIdT = Aws::String>
198 CreateApplicationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
200 private:
201
202 Aws::String m_applicationId;
203 bool m_applicationIdHasBeenSet = false;
204
205 Aws::String m_author;
206 bool m_authorHasBeenSet = false;
207
208 Aws::String m_creationTime;
209 bool m_creationTimeHasBeenSet = false;
210
211 Aws::String m_description;
212 bool m_descriptionHasBeenSet = false;
213
214 Aws::String m_homePageUrl;
215 bool m_homePageUrlHasBeenSet = false;
216
217 bool m_isVerifiedAuthor{false};
218 bool m_isVerifiedAuthorHasBeenSet = false;
219
221 bool m_labelsHasBeenSet = false;
222
223 Aws::String m_licenseUrl;
224 bool m_licenseUrlHasBeenSet = false;
225
226 Aws::String m_name;
227 bool m_nameHasBeenSet = false;
228
229 Aws::String m_readmeUrl;
230 bool m_readmeUrlHasBeenSet = false;
231
232 Aws::String m_spdxLicenseId;
233 bool m_spdxLicenseIdHasBeenSet = false;
234
235 Aws::String m_verifiedAuthorUrl;
236 bool m_verifiedAuthorUrlHasBeenSet = false;
237
238 Version m_version;
239 bool m_versionHasBeenSet = false;
240
241 Aws::String m_requestId;
242 bool m_requestIdHasBeenSet = false;
243 };
244
245} // namespace Model
246} // namespace ServerlessApplicationRepository
247} // namespace Aws
CreateApplicationResult & WithApplicationId(ApplicationIdT &&value)
CreateApplicationResult & WithVerifiedAuthorUrl(VerifiedAuthorUrlT &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateApplicationResult()=default
CreateApplicationResult & WithSpdxLicenseId(SpdxLicenseIdT &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApplicationResult & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue