AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; }
43 inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); }
44 inline void SetApplicationId(const char* value) { m_applicationId.assign(value); }
45 inline CreateApplicationResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
46 inline CreateApplicationResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
47 inline CreateApplicationResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
49
51
55 inline const Aws::String& GetAuthor() const{ return m_author; }
56 inline void SetAuthor(const Aws::String& value) { m_author = value; }
57 inline void SetAuthor(Aws::String&& value) { m_author = std::move(value); }
58 inline void SetAuthor(const char* value) { m_author.assign(value); }
59 inline CreateApplicationResult& WithAuthor(const Aws::String& value) { SetAuthor(value); return *this;}
60 inline CreateApplicationResult& WithAuthor(Aws::String&& value) { SetAuthor(std::move(value)); return *this;}
61 inline CreateApplicationResult& WithAuthor(const char* value) { SetAuthor(value); return *this;}
63
65
68 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
69 inline void SetCreationTime(const Aws::String& value) { m_creationTime = value; }
70 inline void SetCreationTime(Aws::String&& value) { m_creationTime = std::move(value); }
71 inline void SetCreationTime(const char* value) { m_creationTime.assign(value); }
72 inline CreateApplicationResult& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
73 inline CreateApplicationResult& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
74 inline CreateApplicationResult& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
76
78
82 inline const Aws::String& GetDescription() const{ return m_description; }
83 inline void SetDescription(const Aws::String& value) { m_description = value; }
84 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
85 inline void SetDescription(const char* value) { m_description.assign(value); }
86 inline CreateApplicationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
87 inline CreateApplicationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
88 inline CreateApplicationResult& WithDescription(const char* value) { SetDescription(value); return *this;}
90
92
96 inline const Aws::String& GetHomePageUrl() const{ return m_homePageUrl; }
97 inline void SetHomePageUrl(const Aws::String& value) { m_homePageUrl = value; }
98 inline void SetHomePageUrl(Aws::String&& value) { m_homePageUrl = std::move(value); }
99 inline void SetHomePageUrl(const char* value) { m_homePageUrl.assign(value); }
100 inline CreateApplicationResult& WithHomePageUrl(const Aws::String& value) { SetHomePageUrl(value); return *this;}
101 inline CreateApplicationResult& WithHomePageUrl(Aws::String&& value) { SetHomePageUrl(std::move(value)); return *this;}
102 inline CreateApplicationResult& WithHomePageUrl(const char* value) { SetHomePageUrl(value); return *this;}
104
106
112 inline bool GetIsVerifiedAuthor() const{ return m_isVerifiedAuthor; }
113 inline void SetIsVerifiedAuthor(bool value) { m_isVerifiedAuthor = value; }
114 inline CreateApplicationResult& WithIsVerifiedAuthor(bool value) { SetIsVerifiedAuthor(value); return *this;}
116
118
123 inline const Aws::Vector<Aws::String>& GetLabels() const{ return m_labels; }
124 inline void SetLabels(const Aws::Vector<Aws::String>& value) { m_labels = value; }
125 inline void SetLabels(Aws::Vector<Aws::String>&& value) { m_labels = std::move(value); }
126 inline CreateApplicationResult& WithLabels(const Aws::Vector<Aws::String>& value) { SetLabels(value); return *this;}
127 inline CreateApplicationResult& WithLabels(Aws::Vector<Aws::String>&& value) { SetLabels(std::move(value)); return *this;}
128 inline CreateApplicationResult& AddLabels(const Aws::String& value) { m_labels.push_back(value); return *this; }
129 inline CreateApplicationResult& AddLabels(Aws::String&& value) { m_labels.push_back(std::move(value)); return *this; }
130 inline CreateApplicationResult& AddLabels(const char* value) { m_labels.push_back(value); return *this; }
132
134
138 inline const Aws::String& GetLicenseUrl() const{ return m_licenseUrl; }
139 inline void SetLicenseUrl(const Aws::String& value) { m_licenseUrl = value; }
140 inline void SetLicenseUrl(Aws::String&& value) { m_licenseUrl = std::move(value); }
141 inline void SetLicenseUrl(const char* value) { m_licenseUrl.assign(value); }
142 inline CreateApplicationResult& WithLicenseUrl(const Aws::String& value) { SetLicenseUrl(value); return *this;}
143 inline CreateApplicationResult& WithLicenseUrl(Aws::String&& value) { SetLicenseUrl(std::move(value)); return *this;}
144 inline CreateApplicationResult& WithLicenseUrl(const char* value) { SetLicenseUrl(value); return *this;}
146
148
152 inline const Aws::String& GetName() const{ return m_name; }
153 inline void SetName(const Aws::String& value) { m_name = value; }
154 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
155 inline void SetName(const char* value) { m_name.assign(value); }
156 inline CreateApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
157 inline CreateApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
158 inline CreateApplicationResult& WithName(const char* value) { SetName(value); return *this;}
160
162
166 inline const Aws::String& GetReadmeUrl() const{ return m_readmeUrl; }
167 inline void SetReadmeUrl(const Aws::String& value) { m_readmeUrl = value; }
168 inline void SetReadmeUrl(Aws::String&& value) { m_readmeUrl = std::move(value); }
169 inline void SetReadmeUrl(const char* value) { m_readmeUrl.assign(value); }
170 inline CreateApplicationResult& WithReadmeUrl(const Aws::String& value) { SetReadmeUrl(value); return *this;}
171 inline CreateApplicationResult& WithReadmeUrl(Aws::String&& value) { SetReadmeUrl(std::move(value)); return *this;}
172 inline CreateApplicationResult& WithReadmeUrl(const char* value) { SetReadmeUrl(value); return *this;}
174
176
179 inline const Aws::String& GetSpdxLicenseId() const{ return m_spdxLicenseId; }
180 inline void SetSpdxLicenseId(const Aws::String& value) { m_spdxLicenseId = value; }
181 inline void SetSpdxLicenseId(Aws::String&& value) { m_spdxLicenseId = std::move(value); }
182 inline void SetSpdxLicenseId(const char* value) { m_spdxLicenseId.assign(value); }
183 inline CreateApplicationResult& WithSpdxLicenseId(const Aws::String& value) { SetSpdxLicenseId(value); return *this;}
184 inline CreateApplicationResult& WithSpdxLicenseId(Aws::String&& value) { SetSpdxLicenseId(std::move(value)); return *this;}
185 inline CreateApplicationResult& WithSpdxLicenseId(const char* value) { SetSpdxLicenseId(value); return *this;}
187
189
193 inline const Aws::String& GetVerifiedAuthorUrl() const{ return m_verifiedAuthorUrl; }
194 inline void SetVerifiedAuthorUrl(const Aws::String& value) { m_verifiedAuthorUrl = value; }
195 inline void SetVerifiedAuthorUrl(Aws::String&& value) { m_verifiedAuthorUrl = std::move(value); }
196 inline void SetVerifiedAuthorUrl(const char* value) { m_verifiedAuthorUrl.assign(value); }
198 inline CreateApplicationResult& WithVerifiedAuthorUrl(Aws::String&& value) { SetVerifiedAuthorUrl(std::move(value)); return *this;}
199 inline CreateApplicationResult& WithVerifiedAuthorUrl(const char* value) { SetVerifiedAuthorUrl(value); return *this;}
201
203
206 inline const Version& GetVersion() const{ return m_version; }
207 inline void SetVersion(const Version& value) { m_version = value; }
208 inline void SetVersion(Version&& value) { m_version = std::move(value); }
209 inline CreateApplicationResult& WithVersion(const Version& value) { SetVersion(value); return *this;}
210 inline CreateApplicationResult& WithVersion(Version&& value) { SetVersion(std::move(value)); return *this;}
212
214
215 inline const Aws::String& GetRequestId() const{ return m_requestId; }
216 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
217 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
218 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
219 inline CreateApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
220 inline CreateApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
221 inline CreateApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
223 private:
224
225 Aws::String m_applicationId;
226
227 Aws::String m_author;
228
229 Aws::String m_creationTime;
230
231 Aws::String m_description;
232
233 Aws::String m_homePageUrl;
234
235 bool m_isVerifiedAuthor;
236
238
239 Aws::String m_licenseUrl;
240
241 Aws::String m_name;
242
243 Aws::String m_readmeUrl;
244
245 Aws::String m_spdxLicenseId;
246
247 Aws::String m_verifiedAuthorUrl;
248
249 Version m_version;
250
251 Aws::String m_requestId;
252 };
253
254} // namespace Model
255} // namespace ServerlessApplicationRepository
256} // namespace Aws
CreateApplicationResult & WithDescription(const Aws::String &value)
CreateApplicationResult & AddLabels(const Aws::String &value)
CreateApplicationResult & WithLicenseUrl(const Aws::String &value)
CreateApplicationResult & WithApplicationId(const Aws::String &value)
CreateApplicationResult & WithHomePageUrl(const Aws::String &value)
CreateApplicationResult & WithLabels(const Aws::Vector< Aws::String > &value)
CreateApplicationResult & WithReadmeUrl(const Aws::String &value)
CreateApplicationResult & WithVerifiedAuthorUrl(const Aws::String &value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApplicationResult & WithSpdxLicenseId(const Aws::String &value)
CreateApplicationResult & WithRequestId(const Aws::String &value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateApplicationResult()
AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApplicationResult & WithLabels(Aws::Vector< Aws::String > &&value)
CreateApplicationResult & WithAuthor(const Aws::String &value)
CreateApplicationResult & WithCreationTime(const Aws::String &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