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
43 template<
typename AuthorT = Aws::String>
44 void SetAuthor(AuthorT&& value) { m_authorHasBeenSet =
true; m_author = std::forward<AuthorT>(value); }
45 template<
typename AuthorT = Aws::String>
56 template<
typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
58 template<
typename DescriptionT = Aws::String>
69 template<
typename HomePageUrlT = Aws::String>
70 void SetHomePageUrl(HomePageUrlT&& value) { m_homePageUrlHasBeenSet =
true; m_homePageUrl = std::forward<HomePageUrlT>(value); }
71 template<
typename HomePageUrlT = Aws::String>
83 template<
typename LabelsT = Aws::Vector<Aws::String>>
84 void SetLabels(LabelsT&& value) { m_labelsHasBeenSet =
true; m_labels = std::forward<LabelsT>(value); }
85 template<
typename LabelsT = Aws::Vector<Aws::String>>
87 template<
typename LabelsT = Aws::String>
101 template<
typename LicenseBodyT = Aws::String>
102 void SetLicenseBody(LicenseBodyT&& value) { m_licenseBodyHasBeenSet =
true; m_licenseBody = std::forward<LicenseBodyT>(value); }
103 template<
typename LicenseBodyT = Aws::String>
115 template<
typename LicenseUrlT = Aws::String>
116 void SetLicenseUrl(LicenseUrlT&& value) { m_licenseUrlHasBeenSet =
true; m_licenseUrl = std::forward<LicenseUrlT>(value); }
117 template<
typename LicenseUrlT = Aws::String>
128 template<
typename NameT = Aws::String>
129 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
130 template<
typename NameT = Aws::String>
144 template<
typename ReadmeBodyT = Aws::String>
145 void SetReadmeBody(ReadmeBodyT&& value) { m_readmeBodyHasBeenSet =
true; m_readmeBody = std::forward<ReadmeBodyT>(value); }
146 template<
typename ReadmeBodyT = Aws::String>
159 template<
typename ReadmeUrlT = Aws::String>
160 void SetReadmeUrl(ReadmeUrlT&& value) { m_readmeUrlHasBeenSet =
true; m_readmeUrl = std::forward<ReadmeUrlT>(value); }
161 template<
typename ReadmeUrlT = Aws::String>
174 template<
typename SemanticVersionT = Aws::String>
175 void SetSemanticVersion(SemanticVersionT&& value) { m_semanticVersionHasBeenSet =
true; m_semanticVersion = std::forward<SemanticVersionT>(value); }
176 template<
typename SemanticVersionT = Aws::String>
187 template<
typename SourceCodeArchiveUrlT = Aws::String>
188 void SetSourceCodeArchiveUrl(SourceCodeArchiveUrlT&& value) { m_sourceCodeArchiveUrlHasBeenSet =
true; m_sourceCodeArchiveUrl = std::forward<SourceCodeArchiveUrlT>(value); }
189 template<
typename SourceCodeArchiveUrlT = Aws::String>
200 template<
typename SourceCodeUrlT = Aws::String>
201 void SetSourceCodeUrl(SourceCodeUrlT&& value) { m_sourceCodeUrlHasBeenSet =
true; m_sourceCodeUrl = std::forward<SourceCodeUrlT>(value); }
202 template<
typename SourceCodeUrlT = Aws::String>
213 template<
typename SpdxLicenseIdT = Aws::String>
214 void SetSpdxLicenseId(SpdxLicenseIdT&& value) { m_spdxLicenseIdHasBeenSet =
true; m_spdxLicenseId = std::forward<SpdxLicenseIdT>(value); }
215 template<
typename SpdxLicenseIdT = Aws::String>
228 template<
typename TemplateBodyT = Aws::String>
229 void SetTemplateBody(TemplateBodyT&& value) { m_templateBodyHasBeenSet =
true; m_templateBody = std::forward<TemplateBodyT>(value); }
230 template<
typename TemplateBodyT = Aws::String>
242 template<
typename TemplateUrlT = Aws::String>
243 void SetTemplateUrl(TemplateUrlT&& value) { m_templateUrlHasBeenSet =
true; m_templateUrl = std::forward<TemplateUrlT>(value); }
244 template<
typename TemplateUrlT = Aws::String>
250 bool m_authorHasBeenSet =
false;
253 bool m_descriptionHasBeenSet =
false;
256 bool m_homePageUrlHasBeenSet =
false;
259 bool m_labelsHasBeenSet =
false;
262 bool m_licenseBodyHasBeenSet =
false;
265 bool m_licenseUrlHasBeenSet =
false;
268 bool m_nameHasBeenSet =
false;
271 bool m_readmeBodyHasBeenSet =
false;
274 bool m_readmeUrlHasBeenSet =
false;
277 bool m_semanticVersionHasBeenSet =
false;
280 bool m_sourceCodeArchiveUrlHasBeenSet =
false;
283 bool m_sourceCodeUrlHasBeenSet =
false;
286 bool m_spdxLicenseIdHasBeenSet =
false;
289 bool m_templateBodyHasBeenSet =
false;
292 bool m_templateUrlHasBeenSet =
false;
bool SemanticVersionHasBeenSet() const
bool ReadmeUrlHasBeenSet() const
const Aws::String & GetDescription() const
CreateApplicationRequest & WithSemanticVersion(SemanticVersionT &&value)
bool DescriptionHasBeenSet() const
const Aws::Vector< Aws::String > & GetLabels() const
void SetLicenseBody(LicenseBodyT &&value)
CreateApplicationRequest & WithLicenseUrl(LicenseUrlT &&value)
void SetSpdxLicenseId(SpdxLicenseIdT &&value)
void SetReadmeBody(ReadmeBodyT &&value)
const Aws::String & GetSemanticVersion() const
const Aws::String & GetAuthor() const
bool HomePageUrlHasBeenSet() const
AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateApplicationRequest()=default
void SetAuthor(AuthorT &&value)
bool SourceCodeUrlHasBeenSet() const
CreateApplicationRequest & WithAuthor(AuthorT &&value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
CreateApplicationRequest & WithTemplateUrl(TemplateUrlT &&value)
void SetSourceCodeUrl(SourceCodeUrlT &&value)
const Aws::String & GetSourceCodeUrl() const
CreateApplicationRequest & WithSourceCodeUrl(SourceCodeUrlT &&value)
CreateApplicationRequest & WithLabels(LabelsT &&value)
CreateApplicationRequest & WithHomePageUrl(HomePageUrlT &&value)
const Aws::String & GetHomePageUrl() const
CreateApplicationRequest & WithTemplateBody(TemplateBodyT &&value)
CreateApplicationRequest & WithDescription(DescriptionT &&value)
void SetTemplateUrl(TemplateUrlT &&value)
bool LicenseBodyHasBeenSet() const
void SetTemplateBody(TemplateBodyT &&value)
const Aws::String & GetReadmeBody() const
void SetName(NameT &&value)
bool SourceCodeArchiveUrlHasBeenSet() const
bool TemplateUrlHasBeenSet() const
const Aws::String & GetTemplateBody() const
const Aws::String & GetLicenseBody() const
bool SpdxLicenseIdHasBeenSet() const
CreateApplicationRequest & WithLicenseBody(LicenseBodyT &&value)
void SetHomePageUrl(HomePageUrlT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::String SerializePayload() const override
void SetLabels(LabelsT &&value)
bool TemplateBodyHasBeenSet() const
CreateApplicationRequest & WithName(NameT &&value)
const Aws::String & GetLicenseUrl() const
bool AuthorHasBeenSet() const
CreateApplicationRequest & AddLabels(LabelsT &&value)
CreateApplicationRequest & WithReadmeBody(ReadmeBodyT &&value)
const Aws::String & GetSpdxLicenseId() const
bool ReadmeBodyHasBeenSet() const
void SetReadmeUrl(ReadmeUrlT &&value)
bool LabelsHasBeenSet() const
void SetLicenseUrl(LicenseUrlT &&value)
CreateApplicationRequest & WithSpdxLicenseId(SpdxLicenseIdT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetTemplateUrl() const
CreateApplicationRequest & WithSourceCodeArchiveUrl(SourceCodeArchiveUrlT &&value)
const Aws::String & GetSourceCodeArchiveUrl() const
void SetSemanticVersion(SemanticVersionT &&value)
CreateApplicationRequest & WithReadmeUrl(ReadmeUrlT &&value)
bool LicenseUrlHasBeenSet() const
void SetSourceCodeArchiveUrl(SourceCodeArchiveUrlT &&value)
const Aws::String & GetReadmeUrl() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector