7#include <aws/serverlessrepo/ServerlessApplicationRepository_EXPORTS.h>
8#include <aws/serverlessrepo/ServerlessApplicationRepositoryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
15namespace ServerlessApplicationRepository
45 inline void SetAuthor(
const char* value) { m_authorHasBeenSet =
true; m_author.assign(value); }
60 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
75 inline void SetHomePageUrl(
const char* value) { m_homePageUrlHasBeenSet =
true; m_homePageUrl.assign(value); }
110 inline void SetLicenseBody(
const char* value) { m_licenseBodyHasBeenSet =
true; m_licenseBody.assign(value); }
126 inline void SetLicenseUrl(
const char* value) { m_licenseUrlHasBeenSet =
true; m_licenseUrl.assign(value); }
141 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
159 inline void SetReadmeBody(
const char* value) { m_readmeBodyHasBeenSet =
true; m_readmeBody.assign(value); }
176 inline void SetReadmeUrl(
const char* value) { m_readmeUrlHasBeenSet =
true; m_readmeUrl.assign(value); }
193 inline void SetSemanticVersion(
const char* value) { m_semanticVersionHasBeenSet =
true; m_semanticVersion.assign(value); }
208 inline void SetSourceCodeArchiveUrl(
const char* value) { m_sourceCodeArchiveUrlHasBeenSet =
true; m_sourceCodeArchiveUrl.assign(value); }
223 inline void SetSourceCodeUrl(
const char* value) { m_sourceCodeUrlHasBeenSet =
true; m_sourceCodeUrl.assign(value); }
238 inline void SetSpdxLicenseId(
const char* value) { m_spdxLicenseIdHasBeenSet =
true; m_spdxLicenseId.assign(value); }
255 inline void SetTemplateBody(
const char* value) { m_templateBodyHasBeenSet =
true; m_templateBody.assign(value); }
271 inline void SetTemplateUrl(
const char* value) { m_templateUrlHasBeenSet =
true; m_templateUrl.assign(value); }
279 bool m_authorHasBeenSet =
false;
282 bool m_descriptionHasBeenSet =
false;
285 bool m_homePageUrlHasBeenSet =
false;
288 bool m_labelsHasBeenSet =
false;
291 bool m_licenseBodyHasBeenSet =
false;
294 bool m_licenseUrlHasBeenSet =
false;
297 bool m_nameHasBeenSet =
false;
300 bool m_readmeBodyHasBeenSet =
false;
303 bool m_readmeUrlHasBeenSet =
false;
306 bool m_semanticVersionHasBeenSet =
false;
309 bool m_sourceCodeArchiveUrlHasBeenSet =
false;
312 bool m_sourceCodeUrlHasBeenSet =
false;
315 bool m_spdxLicenseIdHasBeenSet =
false;
318 bool m_templateBodyHasBeenSet =
false;
321 bool m_templateUrlHasBeenSet =
false;
bool SemanticVersionHasBeenSet() const
void SetLicenseUrl(const Aws::String &value)
void SetSourceCodeUrl(const char *value)
void SetAuthor(Aws::String &&value)
void SetReadmeBody(Aws::String &&value)
CreateApplicationRequest & AddLabels(const Aws::String &value)
bool ReadmeUrlHasBeenSet() const
const Aws::String & GetDescription() const
CreateApplicationRequest & WithSpdxLicenseId(const char *value)
void SetName(Aws::String &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateApplicationRequest()
CreateApplicationRequest & WithName(const char *value)
void SetTemplateUrl(const Aws::String &value)
CreateApplicationRequest & WithLicenseUrl(const char *value)
CreateApplicationRequest & WithAuthor(const Aws::String &value)
CreateApplicationRequest & WithDescription(const Aws::String &value)
CreateApplicationRequest & WithLabels(Aws::Vector< Aws::String > &&value)
bool DescriptionHasBeenSet() const
const Aws::Vector< Aws::String > & GetLabels() const
CreateApplicationRequest & WithReadmeBody(const char *value)
CreateApplicationRequest & WithTemplateUrl(Aws::String &&value)
CreateApplicationRequest & WithSemanticVersion(const char *value)
void SetLicenseUrl(Aws::String &&value)
void SetSpdxLicenseId(const char *value)
void SetReadmeUrl(Aws::String &&value)
const Aws::String & GetSemanticVersion() const
void SetTemplateBody(const Aws::String &value)
const Aws::String & GetAuthor() const
bool HomePageUrlHasBeenSet() const
CreateApplicationRequest & WithLicenseUrl(const Aws::String &value)
void SetAuthor(const char *value)
CreateApplicationRequest & WithLicenseBody(const char *value)
CreateApplicationRequest & WithTemplateUrl(const Aws::String &value)
void SetTemplateBody(const char *value)
bool SourceCodeUrlHasBeenSet() const
void SetLabels(Aws::Vector< Aws::String > &&value)
void SetSemanticVersion(const Aws::String &value)
void SetTemplateUrl(Aws::String &&value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
void SetLabels(const Aws::Vector< Aws::String > &value)
void SetAuthor(const Aws::String &value)
void SetDescription(const char *value)
void SetName(const char *value)
CreateApplicationRequest & WithReadmeUrl(const char *value)
const Aws::String & GetSourceCodeUrl() const
CreateApplicationRequest & WithLabels(const Aws::Vector< Aws::String > &value)
void SetName(const Aws::String &value)
void SetSourceCodeUrl(const Aws::String &value)
void SetReadmeBody(const Aws::String &value)
CreateApplicationRequest & WithAuthor(Aws::String &&value)
CreateApplicationRequest & WithHomePageUrl(Aws::String &&value)
void SetDescription(Aws::String &&value)
const Aws::String & GetHomePageUrl() const
CreateApplicationRequest & WithReadmeBody(const Aws::String &value)
void SetLicenseBody(Aws::String &&value)
void SetHomePageUrl(const char *value)
CreateApplicationRequest & WithSourceCodeUrl(const char *value)
CreateApplicationRequest & WithSpdxLicenseId(const Aws::String &value)
CreateApplicationRequest & WithSourceCodeArchiveUrl(Aws::String &&value)
CreateApplicationRequest & AddLabels(const char *value)
bool LicenseBodyHasBeenSet() const
void SetSpdxLicenseId(Aws::String &&value)
CreateApplicationRequest & WithTemplateBody(const Aws::String &value)
const Aws::String & GetReadmeBody() const
CreateApplicationRequest & WithHomePageUrl(const Aws::String &value)
bool SourceCodeArchiveUrlHasBeenSet() const
bool TemplateUrlHasBeenSet() const
void SetSemanticVersion(Aws::String &&value)
const Aws::String & GetTemplateBody() const
CreateApplicationRequest & WithSemanticVersion(Aws::String &&value)
const Aws::String & GetLicenseBody() const
CreateApplicationRequest & WithSpdxLicenseId(Aws::String &&value)
bool SpdxLicenseIdHasBeenSet() const
CreateApplicationRequest & WithSemanticVersion(const Aws::String &value)
void SetHomePageUrl(Aws::String &&value)
void SetTemplateUrl(const char *value)
CreateApplicationRequest & WithSourceCodeArchiveUrl(const Aws::String &value)
CreateApplicationRequest & WithSourceCodeUrl(Aws::String &&value)
CreateApplicationRequest & WithHomePageUrl(const char *value)
CreateApplicationRequest & WithLicenseUrl(Aws::String &&value)
CreateApplicationRequest & WithDescription(const char *value)
CreateApplicationRequest & WithTemplateBody(const char *value)
CreateApplicationRequest & WithTemplateBody(Aws::String &&value)
CreateApplicationRequest & WithTemplateUrl(const char *value)
void SetSourceCodeArchiveUrl(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::String SerializePayload() const override
void SetLicenseBody(const char *value)
bool TemplateBodyHasBeenSet() const
void SetReadmeUrl(const Aws::String &value)
const Aws::String & GetLicenseUrl() const
bool AuthorHasBeenSet() const
CreateApplicationRequest & WithSourceCodeArchiveUrl(const char *value)
CreateApplicationRequest & WithReadmeUrl(const Aws::String &value)
CreateApplicationRequest & WithReadmeBody(Aws::String &&value)
CreateApplicationRequest & WithLicenseBody(Aws::String &&value)
CreateApplicationRequest & AddLabels(Aws::String &&value)
void SetHomePageUrl(const Aws::String &value)
const Aws::String & GetSpdxLicenseId() const
CreateApplicationRequest & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetReadmeUrl(const char *value)
bool ReadmeBodyHasBeenSet() const
void SetLicenseUrl(const char *value)
CreateApplicationRequest & WithAuthor(const char *value)
void SetTemplateBody(Aws::String &&value)
bool LabelsHasBeenSet() const
void SetSourceCodeArchiveUrl(Aws::String &&value)
void SetSourceCodeUrl(Aws::String &&value)
void SetReadmeBody(const char *value)
void SetLicenseBody(const Aws::String &value)
void SetSourceCodeArchiveUrl(const char *value)
const Aws::String & GetTemplateUrl() const
const Aws::String & GetSourceCodeArchiveUrl() const
CreateApplicationRequest & WithName(const Aws::String &value)
CreateApplicationRequest & WithSourceCodeUrl(const Aws::String &value)
CreateApplicationRequest & WithLicenseBody(const Aws::String &value)
void SetSpdxLicenseId(const Aws::String &value)
CreateApplicationRequest & WithName(Aws::String &&value)
void SetSemanticVersion(const char *value)
CreateApplicationRequest & WithReadmeUrl(Aws::String &&value)
bool LicenseUrlHasBeenSet() const
const Aws::String & GetReadmeUrl() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector