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>
24namespace ServerlessApplicationRepository
37 AWS_SERVERLESSAPPLICATIONREPOSITORY_API
Version() =
default;
49 template<
typename ApplicationIdT = Aws::String>
50 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet =
true; m_applicationId = std::forward<ApplicationIdT>(value); }
51 template<
typename ApplicationIdT = Aws::String>
61 template<
typename CreationTimeT = Aws::String>
62 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
63 template<
typename CreationTimeT = Aws::String>
73 template<
typename ParameterDefinitionsT = Aws::Vector<ParameterDefinition>>
74 void SetParameterDefinitions(ParameterDefinitionsT&& value) { m_parameterDefinitionsHasBeenSet =
true; m_parameterDefinitions = std::forward<ParameterDefinitionsT>(value); }
75 template<
typename ParameterDefinitionsT = Aws::Vector<ParameterDefinition>>
77 template<
typename ParameterDefinitionsT = ParameterDefinition>
78 Version&
AddParameterDefinitions(ParameterDefinitionsT&& value) { m_parameterDefinitionsHasBeenSet =
true; m_parameterDefinitions.emplace_back(std::forward<ParameterDefinitionsT>(value));
return *
this; }
143 template<
typename RequiredCapabilitiesT = Aws::Vector<Capability>>
144 void SetRequiredCapabilities(RequiredCapabilitiesT&& value) { m_requiredCapabilitiesHasBeenSet =
true; m_requiredCapabilities = std::forward<RequiredCapabilitiesT>(value); }
145 template<
typename RequiredCapabilitiesT = Aws::Vector<Capability>>
158 inline void SetResourcesSupported(
bool value) { m_resourcesSupportedHasBeenSet =
true; m_resourcesSupported = value; }
171 template<
typename SemanticVersionT = Aws::String>
172 void SetSemanticVersion(SemanticVersionT&& value) { m_semanticVersionHasBeenSet =
true; m_semanticVersion = std::forward<SemanticVersionT>(value); }
173 template<
typename SemanticVersionT = Aws::String>
184 template<
typename SourceCodeArchiveUrlT = Aws::String>
185 void SetSourceCodeArchiveUrl(SourceCodeArchiveUrlT&& value) { m_sourceCodeArchiveUrlHasBeenSet =
true; m_sourceCodeArchiveUrl = std::forward<SourceCodeArchiveUrlT>(value); }
186 template<
typename SourceCodeArchiveUrlT = Aws::String>
197 template<
typename SourceCodeUrlT = Aws::String>
198 void SetSourceCodeUrl(SourceCodeUrlT&& value) { m_sourceCodeUrlHasBeenSet =
true; m_sourceCodeUrl = std::forward<SourceCodeUrlT>(value); }
199 template<
typename SourceCodeUrlT = Aws::String>
209 template<
typename TemplateUrlT = Aws::String>
210 void SetTemplateUrl(TemplateUrlT&& value) { m_templateUrlHasBeenSet =
true; m_templateUrl = std::forward<TemplateUrlT>(value); }
211 template<
typename TemplateUrlT = Aws::String>
217 bool m_applicationIdHasBeenSet =
false;
220 bool m_creationTimeHasBeenSet =
false;
223 bool m_parameterDefinitionsHasBeenSet =
false;
226 bool m_requiredCapabilitiesHasBeenSet =
false;
228 bool m_resourcesSupported{
false};
229 bool m_resourcesSupportedHasBeenSet =
false;
232 bool m_semanticVersionHasBeenSet =
false;
235 bool m_sourceCodeArchiveUrlHasBeenSet =
false;
238 bool m_sourceCodeUrlHasBeenSet =
false;
241 bool m_templateUrlHasBeenSet =
false;
bool SourceCodeArchiveUrlHasBeenSet() const
void SetTemplateUrl(TemplateUrlT &&value)
const Aws::Vector< Capability > & GetRequiredCapabilities() const
void SetParameterDefinitions(ParameterDefinitionsT &&value)
const Aws::String & GetSourceCodeArchiveUrl() const
Version & AddParameterDefinitions(ParameterDefinitionsT &&value)
const Aws::Vector< ParameterDefinition > & GetParameterDefinitions() const
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Version()=default
Version & WithSemanticVersion(SemanticVersionT &&value)
Version & WithSourceCodeArchiveUrl(SourceCodeArchiveUrlT &&value)
bool ResourcesSupportedHasBeenSet() const
Version & WithRequiredCapabilities(RequiredCapabilitiesT &&value)
void SetRequiredCapabilities(RequiredCapabilitiesT &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Version(Aws::Utils::Json::JsonView jsonValue)
bool TemplateUrlHasBeenSet() const
Version & WithApplicationId(ApplicationIdT &&value)
const Aws::String & GetApplicationId() const
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Version & operator=(Aws::Utils::Json::JsonView jsonValue)
Version & WithSourceCodeUrl(SourceCodeUrlT &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const
Version & WithParameterDefinitions(ParameterDefinitionsT &&value)
bool SourceCodeUrlHasBeenSet() const
Version & WithResourcesSupported(bool value)
bool CreationTimeHasBeenSet() const
void SetResourcesSupported(bool value)
Version & WithCreationTime(CreationTimeT &&value)
void SetSourceCodeUrl(SourceCodeUrlT &&value)
const Aws::String & GetSourceCodeUrl() const
void SetApplicationId(ApplicationIdT &&value)
bool RequiredCapabilitiesHasBeenSet() const
Version & AddRequiredCapabilities(Capability value)
bool ApplicationIdHasBeenSet() const
bool ParameterDefinitionsHasBeenSet() const
bool GetResourcesSupported() const
const Aws::String & GetTemplateUrl() const
void SetSourceCodeArchiveUrl(SourceCodeArchiveUrlT &&value)
const Aws::String & GetSemanticVersion() const
void SetSemanticVersion(SemanticVersionT &&value)
void SetCreationTime(CreationTimeT &&value)
Version & WithTemplateUrl(TemplateUrlT &&value)
bool SemanticVersionHasBeenSet() const
const Aws::String & GetCreationTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue