7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/model/PackageFormat.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codeartifact/model/PackageVersionStatus.h>
13#include <aws/codeartifact/model/PackageVersionOrigin.h>
14#include <aws/codeartifact/model/LicenseInfo.h>
73 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
87 inline void SetPackageName(
const char* value) { m_packageNameHasBeenSet =
true; m_packageName.assign(value); }
105 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
119 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
135 inline void SetSummary(
const char* value) { m_summaryHasBeenSet =
true; m_summary.assign(value); }
149 inline void SetHomePage(
const char* value) { m_homePageHasBeenSet =
true; m_homePage.assign(value); }
164 inline void SetSourceCodeRepository(
const char* value) { m_sourceCodeRepositoryHasBeenSet =
true; m_sourceCodeRepository.assign(value); }
205 inline void SetRevision(
const char* value) { m_revisionHasBeenSet =
true; m_revision.assign(value); }
240 bool m_formatHasBeenSet =
false;
243 bool m_namespaceHasBeenSet =
false;
246 bool m_packageNameHasBeenSet =
false;
249 bool m_displayNameHasBeenSet =
false;
252 bool m_versionHasBeenSet =
false;
255 bool m_summaryHasBeenSet =
false;
258 bool m_homePageHasBeenSet =
false;
261 bool m_sourceCodeRepositoryHasBeenSet =
false;
264 bool m_publishedTimeHasBeenSet =
false;
267 bool m_licensesHasBeenSet =
false;
270 bool m_revisionHasBeenSet =
false;
273 bool m_statusHasBeenSet =
false;
276 bool m_originHasBeenSet =
false;
bool RevisionHasBeenSet() const
PackageVersionDescription & WithFormat(PackageFormat &&value)
PackageVersionDescription & WithStatus(PackageVersionStatus &&value)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
PackageVersionDescription & WithHomePage(const Aws::String &value)
void SetNamespace(Aws::String &&value)
void SetStatus(const PackageVersionStatus &value)
const PackageVersionStatus & GetStatus() const
bool StatusHasBeenSet() const
const Aws::String & GetVersion() const
PackageVersionDescription & AddLicenses(LicenseInfo &&value)
PackageVersionDescription & WithNamespace(Aws::String &&value)
void SetVersion(Aws::String &&value)
bool PackageNameHasBeenSet() const
const Aws::String & GetDisplayName() const
AWS_CODEARTIFACT_API PackageVersionDescription()
PackageVersionDescription & WithVersion(const char *value)
PackageVersionDescription & WithDisplayName(const char *value)
PackageVersionDescription & WithSummary(Aws::String &&value)
PackageVersionDescription & WithPackageName(const Aws::String &value)
void SetHomePage(const Aws::String &value)
PackageVersionDescription & WithStatus(const PackageVersionStatus &value)
void SetSourceCodeRepository(const char *value)
PackageVersionDescription & WithPackageName(Aws::String &&value)
void SetPackageName(Aws::String &&value)
AWS_CODEARTIFACT_API PackageVersionDescription(Aws::Utils::Json::JsonView jsonValue)
PackageVersionDescription & WithNamespace(const Aws::String &value)
bool SummaryHasBeenSet() const
void SetSummary(const Aws::String &value)
void SetRevision(const char *value)
void SetNamespace(const Aws::String &value)
PackageVersionDescription & WithRevision(Aws::String &&value)
void SetFormat(PackageFormat &&value)
PackageVersionDescription & WithOrigin(PackageVersionOrigin &&value)
PackageVersionDescription & WithFormat(const PackageFormat &value)
PackageVersionDescription & WithSourceCodeRepository(const char *value)
PackageVersionDescription & WithDisplayName(Aws::String &&value)
PackageVersionDescription & WithOrigin(const PackageVersionOrigin &value)
bool PublishedTimeHasBeenSet() const
PackageVersionDescription & AddLicenses(const LicenseInfo &value)
void SetPackageName(const Aws::String &value)
const Aws::String & GetHomePage() const
bool DisplayNameHasBeenSet() const
void SetRevision(const Aws::String &value)
void SetSourceCodeRepository(const Aws::String &value)
void SetOrigin(PackageVersionOrigin &&value)
void SetDisplayName(const char *value)
const Aws::Vector< LicenseInfo > & GetLicenses() const
PackageVersionDescription & WithHomePage(Aws::String &&value)
void SetNamespace(const char *value)
const Aws::String & GetPackageName() const
AWS_CODEARTIFACT_API PackageVersionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NamespaceHasBeenSet() const
void SetVersion(const Aws::String &value)
void SetSummary(Aws::String &&value)
void SetStatus(PackageVersionStatus &&value)
bool VersionHasBeenSet() const
void SetPackageName(const char *value)
const Aws::String & GetRevision() const
bool OriginHasBeenSet() const
void SetDisplayName(Aws::String &&value)
bool LicensesHasBeenSet() const
PackageVersionDescription & WithPublishedTime(Aws::Utils::DateTime &&value)
PackageVersionDescription & WithLicenses(const Aws::Vector< LicenseInfo > &value)
bool FormatHasBeenSet() const
void SetFormat(const PackageFormat &value)
PackageVersionDescription & WithNamespace(const char *value)
void SetHomePage(Aws::String &&value)
void SetVersion(const char *value)
void SetDisplayName(const Aws::String &value)
bool HomePageHasBeenSet() const
void SetRevision(Aws::String &&value)
void SetLicenses(Aws::Vector< LicenseInfo > &&value)
PackageVersionDescription & WithSourceCodeRepository(const Aws::String &value)
const Aws::String & GetSourceCodeRepository() const
PackageVersionDescription & WithLicenses(Aws::Vector< LicenseInfo > &&value)
void SetSourceCodeRepository(Aws::String &&value)
PackageVersionDescription & WithVersion(Aws::String &&value)
PackageVersionDescription & WithSummary(const char *value)
PackageVersionDescription & WithPackageName(const char *value)
PackageVersionDescription & WithVersion(const Aws::String &value)
const Aws::Utils::DateTime & GetPublishedTime() const
PackageVersionDescription & WithRevision(const Aws::String &value)
const Aws::String & GetSummary() const
PackageVersionDescription & WithDisplayName(const Aws::String &value)
bool SourceCodeRepositoryHasBeenSet() const
void SetSummary(const char *value)
void SetPublishedTime(Aws::Utils::DateTime &&value)
const Aws::String & GetNamespace() const
void SetHomePage(const char *value)
void SetOrigin(const PackageVersionOrigin &value)
void SetPublishedTime(const Aws::Utils::DateTime &value)
const PackageFormat & GetFormat() const
PackageVersionDescription & WithSourceCodeRepository(Aws::String &&value)
PackageVersionDescription & WithPublishedTime(const Aws::Utils::DateTime &value)
void SetLicenses(const Aws::Vector< LicenseInfo > &value)
const PackageVersionOrigin & GetOrigin() const
PackageVersionDescription & WithHomePage(const char *value)
PackageVersionDescription & WithSummary(const Aws::String &value)
PackageVersionDescription & WithRevision(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue