/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about a package version. See Also:
AWS
* API Reference
The format of the package version. The valid package formats are:
npm: A Node Package Manager (npm) package.
pypi: A Python Package Index (PyPI) package.
maven: A Maven package that contains compiled code in a
* distributable format, such as a JAR file.
The format of the package version. The valid package formats are:
npm: A Node Package Manager (npm) package.
pypi: A Python Package Index (PyPI) package.
maven: A Maven package that contains compiled code in a
* distributable format, such as a JAR file.
The format of the package version. The valid package formats are:
npm: A Node Package Manager (npm) package.
pypi: A Python Package Index (PyPI) package.
maven: A Maven package that contains compiled code in a
* distributable format, such as a JAR file.
The format of the package version. The valid package formats are:
npm: A Node Package Manager (npm) package.
pypi: A Python Package Index (PyPI) package.
maven: A Maven package that contains compiled code in a
* distributable format, such as a JAR file.
The format of the package version. The valid package formats are:
npm: A Node Package Manager (npm) package.
pypi: A Python Package Index (PyPI) package.
maven: A Maven package that contains compiled code in a
* distributable format, such as a JAR file.
The format of the package version. The valid package formats are:
npm: A Node Package Manager (npm) package.
pypi: A Python Package Index (PyPI) package.
maven: A Maven package that contains compiled code in a
* distributable format, such as a JAR file.
The namespace of the package. The package component that specifies its * namespace depends on its type. For example:
The namespace of
* a Maven package is its groupId.
The namespace
* of an npm package is its scope.
A Python * package does not contain a corresponding component, so Python packages do not * have a namespace.
The namespace of the package. The package component that specifies its * namespace depends on its type. For example:
The namespace of
* a Maven package is its groupId.
The namespace
* of an npm package is its scope.
A Python * package does not contain a corresponding component, so Python packages do not * have a namespace.
The namespace of the package. The package component that specifies its * namespace depends on its type. For example:
The namespace of
* a Maven package is its groupId.
The namespace
* of an npm package is its scope.
A Python * package does not contain a corresponding component, so Python packages do not * have a namespace.
The namespace of the package. The package component that specifies its * namespace depends on its type. For example:
The namespace of
* a Maven package is its groupId.
The namespace
* of an npm package is its scope.
A Python * package does not contain a corresponding component, so Python packages do not * have a namespace.
The namespace of the package. The package component that specifies its * namespace depends on its type. For example:
The namespace of
* a Maven package is its groupId.
The namespace
* of an npm package is its scope.
A Python * package does not contain a corresponding component, so Python packages do not * have a namespace.
The namespace of the package. The package component that specifies its * namespace depends on its type. For example:
The namespace of
* a Maven package is its groupId.
The namespace
* of an npm package is its scope.
A Python * package does not contain a corresponding component, so Python packages do not * have a namespace.
The namespace of the package. The package component that specifies its * namespace depends on its type. For example:
The namespace of
* a Maven package is its groupId.
The namespace
* of an npm package is its scope.
A Python * package does not contain a corresponding component, so Python packages do not * have a namespace.
The namespace of the package. The package component that specifies its * namespace depends on its type. For example:
The namespace of
* a Maven package is its groupId.
The namespace
* of an npm package is its scope.
A Python * package does not contain a corresponding component, so Python packages do not * have a namespace.
The name of the requested package.
*/ inline const Aws::String& GetPackageName() const{ return m_packageName; } /** *The name of the requested package.
*/ inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; } /** *The name of the requested package.
*/ inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; } /** *The name of the requested package.
*/ inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); } /** *The name of the requested package.
*/ inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); } /** *The name of the requested package.
*/ inline PackageVersionDescription& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;} /** *The name of the requested package.
*/ inline PackageVersionDescription& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;} /** *The name of the requested package.
*/ inline PackageVersionDescription& WithPackageName(const char* value) { SetPackageName(value); return *this;} /** * The name of the package that is displayed. The displayName
* varies depending on the package version's format. For example, if an npm package
* is named ui, is in the namespace vue, and has the
* format npm, then the displayName is
* @vue/ui.
The name of the package that is displayed. The displayName
* varies depending on the package version's format. For example, if an npm package
* is named ui, is in the namespace vue, and has the
* format npm, then the displayName is
* @vue/ui.
The name of the package that is displayed. The displayName
* varies depending on the package version's format. For example, if an npm package
* is named ui, is in the namespace vue, and has the
* format npm, then the displayName is
* @vue/ui.
The name of the package that is displayed. The displayName
* varies depending on the package version's format. For example, if an npm package
* is named ui, is in the namespace vue, and has the
* format npm, then the displayName is
* @vue/ui.
The name of the package that is displayed. The displayName
* varies depending on the package version's format. For example, if an npm package
* is named ui, is in the namespace vue, and has the
* format npm, then the displayName is
* @vue/ui.
The name of the package that is displayed. The displayName
* varies depending on the package version's format. For example, if an npm package
* is named ui, is in the namespace vue, and has the
* format npm, then the displayName is
* @vue/ui.
The name of the package that is displayed. The displayName
* varies depending on the package version's format. For example, if an npm package
* is named ui, is in the namespace vue, and has the
* format npm, then the displayName is
* @vue/ui.
The name of the package that is displayed. The displayName
* varies depending on the package version's format. For example, if an npm package
* is named ui, is in the namespace vue, and has the
* format npm, then the displayName is
* @vue/ui.
The version of the package.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The version of the package.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version of the package.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The version of the package.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The version of the package.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The version of the package.
*/ inline PackageVersionDescription& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The version of the package.
*/ inline PackageVersionDescription& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The version of the package.
*/ inline PackageVersionDescription& WithVersion(const char* value) { SetVersion(value); return *this;} /** *A summary of the package version. The summary is extracted from the package. * The information in and detail level of the summary depends on the package * version's format.
*/ inline const Aws::String& GetSummary() const{ return m_summary; } /** *A summary of the package version. The summary is extracted from the package. * The information in and detail level of the summary depends on the package * version's format.
*/ inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; } /** *A summary of the package version. The summary is extracted from the package. * The information in and detail level of the summary depends on the package * version's format.
*/ inline void SetSummary(const Aws::String& value) { m_summaryHasBeenSet = true; m_summary = value; } /** *A summary of the package version. The summary is extracted from the package. * The information in and detail level of the summary depends on the package * version's format.
*/ inline void SetSummary(Aws::String&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); } /** *A summary of the package version. The summary is extracted from the package. * The information in and detail level of the summary depends on the package * version's format.
*/ inline void SetSummary(const char* value) { m_summaryHasBeenSet = true; m_summary.assign(value); } /** *A summary of the package version. The summary is extracted from the package. * The information in and detail level of the summary depends on the package * version's format.
*/ inline PackageVersionDescription& WithSummary(const Aws::String& value) { SetSummary(value); return *this;} /** *A summary of the package version. The summary is extracted from the package. * The information in and detail level of the summary depends on the package * version's format.
*/ inline PackageVersionDescription& WithSummary(Aws::String&& value) { SetSummary(std::move(value)); return *this;} /** *A summary of the package version. The summary is extracted from the package. * The information in and detail level of the summary depends on the package * version's format.
*/ inline PackageVersionDescription& WithSummary(const char* value) { SetSummary(value); return *this;} /** *The homepage associated with the package.
*/ inline const Aws::String& GetHomePage() const{ return m_homePage; } /** *The homepage associated with the package.
*/ inline bool HomePageHasBeenSet() const { return m_homePageHasBeenSet; } /** *The homepage associated with the package.
*/ inline void SetHomePage(const Aws::String& value) { m_homePageHasBeenSet = true; m_homePage = value; } /** *The homepage associated with the package.
*/ inline void SetHomePage(Aws::String&& value) { m_homePageHasBeenSet = true; m_homePage = std::move(value); } /** *The homepage associated with the package.
*/ inline void SetHomePage(const char* value) { m_homePageHasBeenSet = true; m_homePage.assign(value); } /** *The homepage associated with the package.
*/ inline PackageVersionDescription& WithHomePage(const Aws::String& value) { SetHomePage(value); return *this;} /** *The homepage associated with the package.
*/ inline PackageVersionDescription& WithHomePage(Aws::String&& value) { SetHomePage(std::move(value)); return *this;} /** *The homepage associated with the package.
*/ inline PackageVersionDescription& WithHomePage(const char* value) { SetHomePage(value); return *this;} /** *The repository for the source code in the package version, or the source * code used to build it.
*/ inline const Aws::String& GetSourceCodeRepository() const{ return m_sourceCodeRepository; } /** *The repository for the source code in the package version, or the source * code used to build it.
*/ inline bool SourceCodeRepositoryHasBeenSet() const { return m_sourceCodeRepositoryHasBeenSet; } /** *The repository for the source code in the package version, or the source * code used to build it.
*/ inline void SetSourceCodeRepository(const Aws::String& value) { m_sourceCodeRepositoryHasBeenSet = true; m_sourceCodeRepository = value; } /** *The repository for the source code in the package version, or the source * code used to build it.
*/ inline void SetSourceCodeRepository(Aws::String&& value) { m_sourceCodeRepositoryHasBeenSet = true; m_sourceCodeRepository = std::move(value); } /** *The repository for the source code in the package version, or the source * code used to build it.
*/ inline void SetSourceCodeRepository(const char* value) { m_sourceCodeRepositoryHasBeenSet = true; m_sourceCodeRepository.assign(value); } /** *The repository for the source code in the package version, or the source * code used to build it.
*/ inline PackageVersionDescription& WithSourceCodeRepository(const Aws::String& value) { SetSourceCodeRepository(value); return *this;} /** *The repository for the source code in the package version, or the source * code used to build it.
*/ inline PackageVersionDescription& WithSourceCodeRepository(Aws::String&& value) { SetSourceCodeRepository(std::move(value)); return *this;} /** *The repository for the source code in the package version, or the source * code used to build it.
*/ inline PackageVersionDescription& WithSourceCodeRepository(const char* value) { SetSourceCodeRepository(value); return *this;} /** *A timestamp that contains the date and time the package version was * published.
*/ inline const Aws::Utils::DateTime& GetPublishedTime() const{ return m_publishedTime; } /** *A timestamp that contains the date and time the package version was * published.
*/ inline bool PublishedTimeHasBeenSet() const { return m_publishedTimeHasBeenSet; } /** *A timestamp that contains the date and time the package version was * published.
*/ inline void SetPublishedTime(const Aws::Utils::DateTime& value) { m_publishedTimeHasBeenSet = true; m_publishedTime = value; } /** *A timestamp that contains the date and time the package version was * published.
*/ inline void SetPublishedTime(Aws::Utils::DateTime&& value) { m_publishedTimeHasBeenSet = true; m_publishedTime = std::move(value); } /** *A timestamp that contains the date and time the package version was * published.
*/ inline PackageVersionDescription& WithPublishedTime(const Aws::Utils::DateTime& value) { SetPublishedTime(value); return *this;} /** *A timestamp that contains the date and time the package version was * published.
*/ inline PackageVersionDescription& WithPublishedTime(Aws::Utils::DateTime&& value) { SetPublishedTime(std::move(value)); return *this;} /** *Information about licenses associated with the package version.
*/ inline const Aws::VectorInformation about licenses associated with the package version.
*/ inline bool LicensesHasBeenSet() const { return m_licensesHasBeenSet; } /** *Information about licenses associated with the package version.
*/ inline void SetLicenses(const Aws::VectorInformation about licenses associated with the package version.
*/ inline void SetLicenses(Aws::VectorInformation about licenses associated with the package version.
*/ inline PackageVersionDescription& WithLicenses(const Aws::VectorInformation about licenses associated with the package version.
*/ inline PackageVersionDescription& WithLicenses(Aws::VectorInformation about licenses associated with the package version.
*/ inline PackageVersionDescription& AddLicenses(const LicenseInfo& value) { m_licensesHasBeenSet = true; m_licenses.push_back(value); return *this; } /** *Information about licenses associated with the package version.
*/ inline PackageVersionDescription& AddLicenses(LicenseInfo&& value) { m_licensesHasBeenSet = true; m_licenses.push_back(std::move(value)); return *this; } /** *The revision of the package version.
*/ inline const Aws::String& GetRevision() const{ return m_revision; } /** *The revision of the package version.
*/ inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; } /** *The revision of the package version.
*/ inline void SetRevision(const Aws::String& value) { m_revisionHasBeenSet = true; m_revision = value; } /** *The revision of the package version.
*/ inline void SetRevision(Aws::String&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); } /** *The revision of the package version.
*/ inline void SetRevision(const char* value) { m_revisionHasBeenSet = true; m_revision.assign(value); } /** *The revision of the package version.
*/ inline PackageVersionDescription& WithRevision(const Aws::String& value) { SetRevision(value); return *this;} /** *The revision of the package version.
*/ inline PackageVersionDescription& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;} /** *The revision of the package version.
*/ inline PackageVersionDescription& WithRevision(const char* value) { SetRevision(value); return *this;} /** *A string that contains the status of the package version. It can be one of * the following:
Published
* Unfinished
Unlisted
Archived
Disposed
A string that contains the status of the package version. It can be one of * the following:
Published
* Unfinished
Unlisted
Archived
Disposed
A string that contains the status of the package version. It can be one of * the following:
Published
* Unfinished
Unlisted
Archived
Disposed
A string that contains the status of the package version. It can be one of * the following:
Published
* Unfinished
Unlisted
Archived
Disposed
A string that contains the status of the package version. It can be one of * the following:
Published
* Unfinished
Unlisted
Archived
Disposed
A string that contains the status of the package version. It can be one of * the following:
Published
* Unfinished
Unlisted
Archived
Disposed