AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateApplicationVersionResult.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/ParameterDefinition.h>
11#include <aws/serverlessrepo/model/Capability.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 ServerlessApplicationRepository
27{
28namespace Model
29{
31 {
32 public:
33 AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateApplicationVersionResult();
36
37
39
42 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
43 inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; }
44 inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); }
45 inline void SetApplicationId(const char* value) { m_applicationId.assign(value); }
47 inline CreateApplicationVersionResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
48 inline CreateApplicationVersionResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
50
52
55 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
56 inline void SetCreationTime(const Aws::String& value) { m_creationTime = value; }
57 inline void SetCreationTime(Aws::String&& value) { m_creationTime = std::move(value); }
58 inline void SetCreationTime(const char* value) { m_creationTime.assign(value); }
59 inline CreateApplicationVersionResult& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
60 inline CreateApplicationVersionResult& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
61 inline CreateApplicationVersionResult& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
63
65
68 inline const Aws::Vector<ParameterDefinition>& GetParameterDefinitions() const{ return m_parameterDefinitions; }
69 inline void SetParameterDefinitions(const Aws::Vector<ParameterDefinition>& value) { m_parameterDefinitions = value; }
70 inline void SetParameterDefinitions(Aws::Vector<ParameterDefinition>&& value) { m_parameterDefinitions = std::move(value); }
73 inline CreateApplicationVersionResult& AddParameterDefinitions(const ParameterDefinition& value) { m_parameterDefinitions.push_back(value); return *this; }
74 inline CreateApplicationVersionResult& AddParameterDefinitions(ParameterDefinition&& value) { m_parameterDefinitions.push_back(std::move(value)); return *this; }
76
78
137 inline const Aws::Vector<Capability>& GetRequiredCapabilities() const{ return m_requiredCapabilities; }
138 inline void SetRequiredCapabilities(const Aws::Vector<Capability>& value) { m_requiredCapabilities = value; }
139 inline void SetRequiredCapabilities(Aws::Vector<Capability>&& value) { m_requiredCapabilities = std::move(value); }
142 inline CreateApplicationVersionResult& AddRequiredCapabilities(const Capability& value) { m_requiredCapabilities.push_back(value); return *this; }
143 inline CreateApplicationVersionResult& AddRequiredCapabilities(Capability&& value) { m_requiredCapabilities.push_back(std::move(value)); return *this; }
145
147
152 inline bool GetResourcesSupported() const{ return m_resourcesSupported; }
153 inline void SetResourcesSupported(bool value) { m_resourcesSupported = value; }
156
158
164 inline const Aws::String& GetSemanticVersion() const{ return m_semanticVersion; }
165 inline void SetSemanticVersion(const Aws::String& value) { m_semanticVersion = value; }
166 inline void SetSemanticVersion(Aws::String&& value) { m_semanticVersion = std::move(value); }
167 inline void SetSemanticVersion(const char* value) { m_semanticVersion.assign(value); }
169 inline CreateApplicationVersionResult& WithSemanticVersion(Aws::String&& value) { SetSemanticVersion(std::move(value)); return *this;}
170 inline CreateApplicationVersionResult& WithSemanticVersion(const char* value) { SetSemanticVersion(value); return *this;}
172
174
178 inline const Aws::String& GetSourceCodeArchiveUrl() const{ return m_sourceCodeArchiveUrl; }
179 inline void SetSourceCodeArchiveUrl(const Aws::String& value) { m_sourceCodeArchiveUrl = value; }
180 inline void SetSourceCodeArchiveUrl(Aws::String&& value) { m_sourceCodeArchiveUrl = std::move(value); }
181 inline void SetSourceCodeArchiveUrl(const char* value) { m_sourceCodeArchiveUrl.assign(value); }
184 inline CreateApplicationVersionResult& WithSourceCodeArchiveUrl(const char* value) { SetSourceCodeArchiveUrl(value); return *this;}
186
188
192 inline const Aws::String& GetSourceCodeUrl() const{ return m_sourceCodeUrl; }
193 inline void SetSourceCodeUrl(const Aws::String& value) { m_sourceCodeUrl = value; }
194 inline void SetSourceCodeUrl(Aws::String&& value) { m_sourceCodeUrl = std::move(value); }
195 inline void SetSourceCodeUrl(const char* value) { m_sourceCodeUrl.assign(value); }
197 inline CreateApplicationVersionResult& WithSourceCodeUrl(Aws::String&& value) { SetSourceCodeUrl(std::move(value)); return *this;}
198 inline CreateApplicationVersionResult& WithSourceCodeUrl(const char* value) { SetSourceCodeUrl(value); return *this;}
200
202
205 inline const Aws::String& GetTemplateUrl() const{ return m_templateUrl; }
206 inline void SetTemplateUrl(const Aws::String& value) { m_templateUrl = value; }
207 inline void SetTemplateUrl(Aws::String&& value) { m_templateUrl = std::move(value); }
208 inline void SetTemplateUrl(const char* value) { m_templateUrl.assign(value); }
209 inline CreateApplicationVersionResult& WithTemplateUrl(const Aws::String& value) { SetTemplateUrl(value); return *this;}
210 inline CreateApplicationVersionResult& WithTemplateUrl(Aws::String&& value) { SetTemplateUrl(std::move(value)); return *this;}
211 inline CreateApplicationVersionResult& WithTemplateUrl(const char* value) { SetTemplateUrl(value); return *this;}
213
215
216 inline const Aws::String& GetRequestId() const{ return m_requestId; }
217 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
218 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
219 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
220 inline CreateApplicationVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
221 inline CreateApplicationVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
222 inline CreateApplicationVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
224 private:
225
226 Aws::String m_applicationId;
227
228 Aws::String m_creationTime;
229
230 Aws::Vector<ParameterDefinition> m_parameterDefinitions;
231
232 Aws::Vector<Capability> m_requiredCapabilities;
233
234 bool m_resourcesSupported;
235
236 Aws::String m_semanticVersion;
237
238 Aws::String m_sourceCodeArchiveUrl;
239
240 Aws::String m_sourceCodeUrl;
241
242 Aws::String m_templateUrl;
243
244 Aws::String m_requestId;
245 };
246
247} // namespace Model
248} // namespace ServerlessApplicationRepository
249} // namespace Aws
CreateApplicationVersionResult & WithSourceCodeUrl(const Aws::String &value)
CreateApplicationVersionResult & AddRequiredCapabilities(const Capability &value)
CreateApplicationVersionResult & WithRequiredCapabilities(Aws::Vector< Capability > &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateApplicationVersionResult()
AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateApplicationVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApplicationVersionResult & WithParameterDefinitions(const Aws::Vector< ParameterDefinition > &value)
CreateApplicationVersionResult & WithApplicationId(const Aws::String &value)
CreateApplicationVersionResult & WithSourceCodeArchiveUrl(const Aws::String &value)
CreateApplicationVersionResult & WithParameterDefinitions(Aws::Vector< ParameterDefinition > &&value)
CreateApplicationVersionResult & WithSemanticVersion(const Aws::String &value)
CreateApplicationVersionResult & WithCreationTime(const Aws::String &value)
CreateApplicationVersionResult & AddParameterDefinitions(ParameterDefinition &&value)
CreateApplicationVersionResult & AddParameterDefinitions(const ParameterDefinition &value)
CreateApplicationVersionResult & WithRequiredCapabilities(const Aws::Vector< Capability > &value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateApplicationVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue