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();
51 inline void SetApplicationId(
const char* value) { m_applicationIdHasBeenSet =
true; m_applicationId.assign(value); }
65 inline void SetCreationTime(
const char* value) { m_creationTimeHasBeenSet =
true; m_creationTime.assign(value); }
163 inline void SetResourcesSupported(
bool value) { m_resourcesSupportedHasBeenSet =
true; m_resourcesSupported = value; }
178 inline void SetSemanticVersion(
const char* value) { m_semanticVersionHasBeenSet =
true; m_semanticVersion.assign(value); }
193 inline void SetSourceCodeArchiveUrl(
const char* value) { m_sourceCodeArchiveUrlHasBeenSet =
true; m_sourceCodeArchiveUrl.assign(value); }
208 inline void SetSourceCodeUrl(
const char* value) { m_sourceCodeUrlHasBeenSet =
true; m_sourceCodeUrl.assign(value); }
222 inline void SetTemplateUrl(
const char* value) { m_templateUrlHasBeenSet =
true; m_templateUrl.assign(value); }
230 bool m_applicationIdHasBeenSet =
false;
233 bool m_creationTimeHasBeenSet =
false;
236 bool m_parameterDefinitionsHasBeenSet =
false;
239 bool m_requiredCapabilitiesHasBeenSet =
false;
241 bool m_resourcesSupported;
242 bool m_resourcesSupportedHasBeenSet =
false;
245 bool m_semanticVersionHasBeenSet =
false;
248 bool m_sourceCodeArchiveUrlHasBeenSet =
false;
251 bool m_sourceCodeUrlHasBeenSet =
false;
254 bool m_templateUrlHasBeenSet =
false;
Version & WithTemplateUrl(Aws::String &&value)
Version & WithApplicationId(Aws::String &&value)
bool SourceCodeArchiveUrlHasBeenSet() const
Version & WithApplicationId(const char *value)
void SetSourceCodeUrl(const Aws::String &value)
Version & WithCreationTime(const char *value)
const Aws::Vector< Capability > & GetRequiredCapabilities() const
Version & WithRequiredCapabilities(Aws::Vector< Capability > &&value)
Version & WithRequiredCapabilities(const Aws::Vector< Capability > &value)
const Aws::String & GetSourceCodeArchiveUrl() const
void SetCreationTime(const char *value)
Version & AddParameterDefinitions(const ParameterDefinition &value)
const Aws::Vector< ParameterDefinition > & GetParameterDefinitions() const
Version & WithParameterDefinitions(Aws::Vector< ParameterDefinition > &&value)
void SetSourceCodeArchiveUrl(const Aws::String &value)
void SetSourceCodeUrl(const char *value)
bool ResourcesSupportedHasBeenSet() const
Version & WithSourceCodeArchiveUrl(Aws::String &&value)
void SetSourceCodeArchiveUrl(Aws::String &&value)
Version & WithSourceCodeArchiveUrl(const Aws::String &value)
void SetCreationTime(Aws::String &&value)
void SetSourceCodeUrl(Aws::String &&value)
void SetSemanticVersion(Aws::String &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Version(Aws::Utils::Json::JsonView jsonValue)
bool TemplateUrlHasBeenSet() const
Version & WithCreationTime(const Aws::String &value)
Version & AddRequiredCapabilities(const Capability &value)
const Aws::String & GetApplicationId() const
void SetApplicationId(const char *value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Version & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetParameterDefinitions(Aws::Vector< ParameterDefinition > &&value)
Version & WithSemanticVersion(Aws::String &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const
Version & WithSourceCodeUrl(const char *value)
Version & WithSourceCodeUrl(const Aws::String &value)
Version & AddRequiredCapabilities(Capability &&value)
void SetCreationTime(const Aws::String &value)
bool SourceCodeUrlHasBeenSet() const
Version & WithResourcesSupported(bool value)
void SetTemplateUrl(const char *value)
void SetRequiredCapabilities(const Aws::Vector< Capability > &value)
void SetSourceCodeArchiveUrl(const char *value)
Version & WithSourceCodeUrl(Aws::String &&value)
bool CreationTimeHasBeenSet() const
void SetParameterDefinitions(const Aws::Vector< ParameterDefinition > &value)
void SetResourcesSupported(bool value)
Version & WithTemplateUrl(const Aws::String &value)
const Aws::String & GetSourceCodeUrl() const
Version & WithParameterDefinitions(const Aws::Vector< ParameterDefinition > &value)
bool RequiredCapabilitiesHasBeenSet() const
Version & WithApplicationId(const Aws::String &value)
bool ApplicationIdHasBeenSet() const
void SetRequiredCapabilities(Aws::Vector< Capability > &&value)
bool ParameterDefinitionsHasBeenSet() const
void SetTemplateUrl(const Aws::String &value)
Version & WithSemanticVersion(const char *value)
bool GetResourcesSupported() const
void SetTemplateUrl(Aws::String &&value)
void SetApplicationId(const Aws::String &value)
Version & WithSourceCodeArchiveUrl(const char *value)
Version & WithCreationTime(Aws::String &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Version()
Version & WithTemplateUrl(const char *value)
const Aws::String & GetTemplateUrl() const
void SetSemanticVersion(const char *value)
Version & AddParameterDefinitions(ParameterDefinition &&value)
void SetApplicationId(Aws::String &&value)
const Aws::String & GetSemanticVersion() const
Version & WithSemanticVersion(const Aws::String &value)
void SetSemanticVersion(const Aws::String &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