This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-codeartifact/include/aws/codeartifact/model/PackageVersionDescription.h

698 lines
29 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
#include <aws/codeartifact/model/PackageFormat.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/codeartifact/model/PackageVersionStatus.h>
#include <aws/codeartifact/model/LicenseInfo.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace CodeArtifact
{
namespace Model
{
/**
* <p> Details about a package version. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageVersionDescription">AWS
* API Reference</a></p>
*/
class AWS_CODEARTIFACT_API PackageVersionDescription
{
public:
PackageVersionDescription();
PackageVersionDescription(Aws::Utils::Json::JsonView jsonValue);
PackageVersionDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p> The format of the package version. The valid package formats are: </p> <ul>
* <li> <p> <code>npm</code>: A Node Package Manager (npm) package. </p> </li> <li>
* <p> <code>pypi</code>: A Python Package Index (PyPI) package. </p> </li> <li>
* <p> <code>maven</code>: A Maven package that contains compiled code in a
* distributable format, such as a JAR file. </p> </li> </ul>
*/
inline const PackageFormat& GetFormat() const{ return m_format; }
/**
* <p> The format of the package version. The valid package formats are: </p> <ul>
* <li> <p> <code>npm</code>: A Node Package Manager (npm) package. </p> </li> <li>
* <p> <code>pypi</code>: A Python Package Index (PyPI) package. </p> </li> <li>
* <p> <code>maven</code>: A Maven package that contains compiled code in a
* distributable format, such as a JAR file. </p> </li> </ul>
*/
inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
/**
* <p> The format of the package version. The valid package formats are: </p> <ul>
* <li> <p> <code>npm</code>: A Node Package Manager (npm) package. </p> </li> <li>
* <p> <code>pypi</code>: A Python Package Index (PyPI) package. </p> </li> <li>
* <p> <code>maven</code>: A Maven package that contains compiled code in a
* distributable format, such as a JAR file. </p> </li> </ul>
*/
inline void SetFormat(const PackageFormat& value) { m_formatHasBeenSet = true; m_format = value; }
/**
* <p> The format of the package version. The valid package formats are: </p> <ul>
* <li> <p> <code>npm</code>: A Node Package Manager (npm) package. </p> </li> <li>
* <p> <code>pypi</code>: A Python Package Index (PyPI) package. </p> </li> <li>
* <p> <code>maven</code>: A Maven package that contains compiled code in a
* distributable format, such as a JAR file. </p> </li> </ul>
*/
inline void SetFormat(PackageFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
/**
* <p> The format of the package version. The valid package formats are: </p> <ul>
* <li> <p> <code>npm</code>: A Node Package Manager (npm) package. </p> </li> <li>
* <p> <code>pypi</code>: A Python Package Index (PyPI) package. </p> </li> <li>
* <p> <code>maven</code>: A Maven package that contains compiled code in a
* distributable format, such as a JAR file. </p> </li> </ul>
*/
inline PackageVersionDescription& WithFormat(const PackageFormat& value) { SetFormat(value); return *this;}
/**
* <p> The format of the package version. The valid package formats are: </p> <ul>
* <li> <p> <code>npm</code>: A Node Package Manager (npm) package. </p> </li> <li>
* <p> <code>pypi</code>: A Python Package Index (PyPI) package. </p> </li> <li>
* <p> <code>maven</code>: A Maven package that contains compiled code in a
* distributable format, such as a JAR file. </p> </li> </ul>
*/
inline PackageVersionDescription& WithFormat(PackageFormat&& value) { SetFormat(std::move(value)); return *this;}
/**
* <p> The namespace of the package. The package component that specifies its
* namespace depends on its type. For example: </p> <ul> <li> <p> The namespace of
* a Maven package is its <code>groupId</code>. </p> </li> <li> <p> The namespace
* of an npm package is its <code>scope</code>. </p> </li> <li> <p> A Python
* package does not contain a corresponding component, so Python packages do not
* have a namespace. </p> </li> </ul>
*/
inline const Aws::String& GetNamespace() const{ return m_namespace; }
/**
* <p> The namespace of the package. The package component that specifies its
* namespace depends on its type. For example: </p> <ul> <li> <p> The namespace of
* a Maven package is its <code>groupId</code>. </p> </li> <li> <p> The namespace
* of an npm package is its <code>scope</code>. </p> </li> <li> <p> A Python
* package does not contain a corresponding component, so Python packages do not
* have a namespace. </p> </li> </ul>
*/
inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
/**
* <p> The namespace of the package. The package component that specifies its
* namespace depends on its type. For example: </p> <ul> <li> <p> The namespace of
* a Maven package is its <code>groupId</code>. </p> </li> <li> <p> The namespace
* of an npm package is its <code>scope</code>. </p> </li> <li> <p> A Python
* package does not contain a corresponding component, so Python packages do not
* have a namespace. </p> </li> </ul>
*/
inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
/**
* <p> The namespace of the package. The package component that specifies its
* namespace depends on its type. For example: </p> <ul> <li> <p> The namespace of
* a Maven package is its <code>groupId</code>. </p> </li> <li> <p> The namespace
* of an npm package is its <code>scope</code>. </p> </li> <li> <p> A Python
* package does not contain a corresponding component, so Python packages do not
* have a namespace. </p> </li> </ul>
*/
inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
/**
* <p> The namespace of the package. The package component that specifies its
* namespace depends on its type. For example: </p> <ul> <li> <p> The namespace of
* a Maven package is its <code>groupId</code>. </p> </li> <li> <p> The namespace
* of an npm package is its <code>scope</code>. </p> </li> <li> <p> A Python
* package does not contain a corresponding component, so Python packages do not
* have a namespace. </p> </li> </ul>
*/
inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
/**
* <p> The namespace of the package. The package component that specifies its
* namespace depends on its type. For example: </p> <ul> <li> <p> The namespace of
* a Maven package is its <code>groupId</code>. </p> </li> <li> <p> The namespace
* of an npm package is its <code>scope</code>. </p> </li> <li> <p> A Python
* package does not contain a corresponding component, so Python packages do not
* have a namespace. </p> </li> </ul>
*/
inline PackageVersionDescription& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
/**
* <p> The namespace of the package. The package component that specifies its
* namespace depends on its type. For example: </p> <ul> <li> <p> The namespace of
* a Maven package is its <code>groupId</code>. </p> </li> <li> <p> The namespace
* of an npm package is its <code>scope</code>. </p> </li> <li> <p> A Python
* package does not contain a corresponding component, so Python packages do not
* have a namespace. </p> </li> </ul>
*/
inline PackageVersionDescription& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
/**
* <p> The namespace of the package. The package component that specifies its
* namespace depends on its type. For example: </p> <ul> <li> <p> The namespace of
* a Maven package is its <code>groupId</code>. </p> </li> <li> <p> The namespace
* of an npm package is its <code>scope</code>. </p> </li> <li> <p> A Python
* package does not contain a corresponding component, so Python packages do not
* have a namespace. </p> </li> </ul>
*/
inline PackageVersionDescription& WithNamespace(const char* value) { SetNamespace(value); return *this;}
/**
* <p> The name of the requested package. </p>
*/
inline const Aws::String& GetPackageName() const{ return m_packageName; }
/**
* <p> The name of the requested package. </p>
*/
inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
/**
* <p> The name of the requested package. </p>
*/
inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
/**
* <p> The name of the requested package. </p>
*/
inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
/**
* <p> The name of the requested package. </p>
*/
inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
/**
* <p> The name of the requested package. </p>
*/
inline PackageVersionDescription& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
/**
* <p> The name of the requested package. </p>
*/
inline PackageVersionDescription& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
/**
* <p> The name of the requested package. </p>
*/
inline PackageVersionDescription& WithPackageName(const char* value) { SetPackageName(value); return *this;}
/**
* <p> The name of the package that is displayed. The <code>displayName</code>
* varies depending on the package version's format. For example, if an npm package
* is named <code>ui</code>, is in the namespace <code>vue</code>, and has the
* format <code>npm</code>, then the <code>displayName</code> is
* <code>@vue/ui</code>. </p>
*/
inline const Aws::String& GetDisplayName() const{ return m_displayName; }
/**
* <p> The name of the package that is displayed. The <code>displayName</code>
* varies depending on the package version's format. For example, if an npm package
* is named <code>ui</code>, is in the namespace <code>vue</code>, and has the
* format <code>npm</code>, then the <code>displayName</code> is
* <code>@vue/ui</code>. </p>
*/
inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
/**
* <p> The name of the package that is displayed. The <code>displayName</code>
* varies depending on the package version's format. For example, if an npm package
* is named <code>ui</code>, is in the namespace <code>vue</code>, and has the
* format <code>npm</code>, then the <code>displayName</code> is
* <code>@vue/ui</code>. </p>
*/
inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
/**
* <p> The name of the package that is displayed. The <code>displayName</code>
* varies depending on the package version's format. For example, if an npm package
* is named <code>ui</code>, is in the namespace <code>vue</code>, and has the
* format <code>npm</code>, then the <code>displayName</code> is
* <code>@vue/ui</code>. </p>
*/
inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
/**
* <p> The name of the package that is displayed. The <code>displayName</code>
* varies depending on the package version's format. For example, if an npm package
* is named <code>ui</code>, is in the namespace <code>vue</code>, and has the
* format <code>npm</code>, then the <code>displayName</code> is
* <code>@vue/ui</code>. </p>
*/
inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
/**
* <p> The name of the package that is displayed. The <code>displayName</code>
* varies depending on the package version's format. For example, if an npm package
* is named <code>ui</code>, is in the namespace <code>vue</code>, and has the
* format <code>npm</code>, then the <code>displayName</code> is
* <code>@vue/ui</code>. </p>
*/
inline PackageVersionDescription& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
/**
* <p> The name of the package that is displayed. The <code>displayName</code>
* varies depending on the package version's format. For example, if an npm package
* is named <code>ui</code>, is in the namespace <code>vue</code>, and has the
* format <code>npm</code>, then the <code>displayName</code> is
* <code>@vue/ui</code>. </p>
*/
inline PackageVersionDescription& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
/**
* <p> The name of the package that is displayed. The <code>displayName</code>
* varies depending on the package version's format. For example, if an npm package
* is named <code>ui</code>, is in the namespace <code>vue</code>, and has the
* format <code>npm</code>, then the <code>displayName</code> is
* <code>@vue/ui</code>. </p>
*/
inline PackageVersionDescription& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
/**
* <p> The version of the package. </p>
*/
inline const Aws::String& GetVersion() const{ return m_version; }
/**
* <p> The version of the package. </p>
*/
inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
/**
* <p> The version of the package. </p>
*/
inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
/**
* <p> The version of the package. </p>
*/
inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
/**
* <p> The version of the package. </p>
*/
inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
/**
* <p> The version of the package. </p>
*/
inline PackageVersionDescription& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
/**
* <p> The version of the package. </p>
*/
inline PackageVersionDescription& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
/**
* <p> The version of the package. </p>
*/
inline PackageVersionDescription& WithVersion(const char* value) { SetVersion(value); return *this;}
/**
* <p> 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. </p>
*/
inline const Aws::String& GetSummary() const{ return m_summary; }
/**
* <p> 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. </p>
*/
inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
/**
* <p> 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. </p>
*/
inline void SetSummary(const Aws::String& value) { m_summaryHasBeenSet = true; m_summary = value; }
/**
* <p> 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. </p>
*/
inline void SetSummary(Aws::String&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); }
/**
* <p> 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. </p>
*/
inline void SetSummary(const char* value) { m_summaryHasBeenSet = true; m_summary.assign(value); }
/**
* <p> 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. </p>
*/
inline PackageVersionDescription& WithSummary(const Aws::String& value) { SetSummary(value); return *this;}
/**
* <p> 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. </p>
*/
inline PackageVersionDescription& WithSummary(Aws::String&& value) { SetSummary(std::move(value)); return *this;}
/**
* <p> 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. </p>
*/
inline PackageVersionDescription& WithSummary(const char* value) { SetSummary(value); return *this;}
/**
* <p> The homepage associated with the package. </p>
*/
inline const Aws::String& GetHomePage() const{ return m_homePage; }
/**
* <p> The homepage associated with the package. </p>
*/
inline bool HomePageHasBeenSet() const { return m_homePageHasBeenSet; }
/**
* <p> The homepage associated with the package. </p>
*/
inline void SetHomePage(const Aws::String& value) { m_homePageHasBeenSet = true; m_homePage = value; }
/**
* <p> The homepage associated with the package. </p>
*/
inline void SetHomePage(Aws::String&& value) { m_homePageHasBeenSet = true; m_homePage = std::move(value); }
/**
* <p> The homepage associated with the package. </p>
*/
inline void SetHomePage(const char* value) { m_homePageHasBeenSet = true; m_homePage.assign(value); }
/**
* <p> The homepage associated with the package. </p>
*/
inline PackageVersionDescription& WithHomePage(const Aws::String& value) { SetHomePage(value); return *this;}
/**
* <p> The homepage associated with the package. </p>
*/
inline PackageVersionDescription& WithHomePage(Aws::String&& value) { SetHomePage(std::move(value)); return *this;}
/**
* <p> The homepage associated with the package. </p>
*/
inline PackageVersionDescription& WithHomePage(const char* value) { SetHomePage(value); return *this;}
/**
* <p> The repository for the source code in the package version, or the source
* code used to build it. </p>
*/
inline const Aws::String& GetSourceCodeRepository() const{ return m_sourceCodeRepository; }
/**
* <p> The repository for the source code in the package version, or the source
* code used to build it. </p>
*/
inline bool SourceCodeRepositoryHasBeenSet() const { return m_sourceCodeRepositoryHasBeenSet; }
/**
* <p> The repository for the source code in the package version, or the source
* code used to build it. </p>
*/
inline void SetSourceCodeRepository(const Aws::String& value) { m_sourceCodeRepositoryHasBeenSet = true; m_sourceCodeRepository = value; }
/**
* <p> The repository for the source code in the package version, or the source
* code used to build it. </p>
*/
inline void SetSourceCodeRepository(Aws::String&& value) { m_sourceCodeRepositoryHasBeenSet = true; m_sourceCodeRepository = std::move(value); }
/**
* <p> The repository for the source code in the package version, or the source
* code used to build it. </p>
*/
inline void SetSourceCodeRepository(const char* value) { m_sourceCodeRepositoryHasBeenSet = true; m_sourceCodeRepository.assign(value); }
/**
* <p> The repository for the source code in the package version, or the source
* code used to build it. </p>
*/
inline PackageVersionDescription& WithSourceCodeRepository(const Aws::String& value) { SetSourceCodeRepository(value); return *this;}
/**
* <p> The repository for the source code in the package version, or the source
* code used to build it. </p>
*/
inline PackageVersionDescription& WithSourceCodeRepository(Aws::String&& value) { SetSourceCodeRepository(std::move(value)); return *this;}
/**
* <p> The repository for the source code in the package version, or the source
* code used to build it. </p>
*/
inline PackageVersionDescription& WithSourceCodeRepository(const char* value) { SetSourceCodeRepository(value); return *this;}
/**
* <p> A timestamp that contains the date and time the package version was
* published. </p>
*/
inline const Aws::Utils::DateTime& GetPublishedTime() const{ return m_publishedTime; }
/**
* <p> A timestamp that contains the date and time the package version was
* published. </p>
*/
inline bool PublishedTimeHasBeenSet() const { return m_publishedTimeHasBeenSet; }
/**
* <p> A timestamp that contains the date and time the package version was
* published. </p>
*/
inline void SetPublishedTime(const Aws::Utils::DateTime& value) { m_publishedTimeHasBeenSet = true; m_publishedTime = value; }
/**
* <p> A timestamp that contains the date and time the package version was
* published. </p>
*/
inline void SetPublishedTime(Aws::Utils::DateTime&& value) { m_publishedTimeHasBeenSet = true; m_publishedTime = std::move(value); }
/**
* <p> A timestamp that contains the date and time the package version was
* published. </p>
*/
inline PackageVersionDescription& WithPublishedTime(const Aws::Utils::DateTime& value) { SetPublishedTime(value); return *this;}
/**
* <p> A timestamp that contains the date and time the package version was
* published. </p>
*/
inline PackageVersionDescription& WithPublishedTime(Aws::Utils::DateTime&& value) { SetPublishedTime(std::move(value)); return *this;}
/**
* <p> Information about licenses associated with the package version. </p>
*/
inline const Aws::Vector<LicenseInfo>& GetLicenses() const{ return m_licenses; }
/**
* <p> Information about licenses associated with the package version. </p>
*/
inline bool LicensesHasBeenSet() const { return m_licensesHasBeenSet; }
/**
* <p> Information about licenses associated with the package version. </p>
*/
inline void SetLicenses(const Aws::Vector<LicenseInfo>& value) { m_licensesHasBeenSet = true; m_licenses = value; }
/**
* <p> Information about licenses associated with the package version. </p>
*/
inline void SetLicenses(Aws::Vector<LicenseInfo>&& value) { m_licensesHasBeenSet = true; m_licenses = std::move(value); }
/**
* <p> Information about licenses associated with the package version. </p>
*/
inline PackageVersionDescription& WithLicenses(const Aws::Vector<LicenseInfo>& value) { SetLicenses(value); return *this;}
/**
* <p> Information about licenses associated with the package version. </p>
*/
inline PackageVersionDescription& WithLicenses(Aws::Vector<LicenseInfo>&& value) { SetLicenses(std::move(value)); return *this;}
/**
* <p> Information about licenses associated with the package version. </p>
*/
inline PackageVersionDescription& AddLicenses(const LicenseInfo& value) { m_licensesHasBeenSet = true; m_licenses.push_back(value); return *this; }
/**
* <p> Information about licenses associated with the package version. </p>
*/
inline PackageVersionDescription& AddLicenses(LicenseInfo&& value) { m_licensesHasBeenSet = true; m_licenses.push_back(std::move(value)); return *this; }
/**
* <p> The revision of the package version. </p>
*/
inline const Aws::String& GetRevision() const{ return m_revision; }
/**
* <p> The revision of the package version. </p>
*/
inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
/**
* <p> The revision of the package version. </p>
*/
inline void SetRevision(const Aws::String& value) { m_revisionHasBeenSet = true; m_revision = value; }
/**
* <p> The revision of the package version. </p>
*/
inline void SetRevision(Aws::String&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); }
/**
* <p> The revision of the package version. </p>
*/
inline void SetRevision(const char* value) { m_revisionHasBeenSet = true; m_revision.assign(value); }
/**
* <p> The revision of the package version. </p>
*/
inline PackageVersionDescription& WithRevision(const Aws::String& value) { SetRevision(value); return *this;}
/**
* <p> The revision of the package version. </p>
*/
inline PackageVersionDescription& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;}
/**
* <p> The revision of the package version. </p>
*/
inline PackageVersionDescription& WithRevision(const char* value) { SetRevision(value); return *this;}
/**
* <p> A string that contains the status of the package version. It can be one of
* the following: </p> <ul> <li> <p> <code>Published</code> </p> </li> <li> <p>
* <code>Unfinished</code> </p> </li> <li> <p> <code>Unlisted</code> </p> </li>
* <li> <p> <code>Archived</code> </p> </li> <li> <p> <code>Disposed</code> </p>
* </li> </ul>
*/
inline const PackageVersionStatus& GetStatus() const{ return m_status; }
/**
* <p> A string that contains the status of the package version. It can be one of
* the following: </p> <ul> <li> <p> <code>Published</code> </p> </li> <li> <p>
* <code>Unfinished</code> </p> </li> <li> <p> <code>Unlisted</code> </p> </li>
* <li> <p> <code>Archived</code> </p> </li> <li> <p> <code>Disposed</code> </p>
* </li> </ul>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p> A string that contains the status of the package version. It can be one of
* the following: </p> <ul> <li> <p> <code>Published</code> </p> </li> <li> <p>
* <code>Unfinished</code> </p> </li> <li> <p> <code>Unlisted</code> </p> </li>
* <li> <p> <code>Archived</code> </p> </li> <li> <p> <code>Disposed</code> </p>
* </li> </ul>
*/
inline void SetStatus(const PackageVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p> A string that contains the status of the package version. It can be one of
* the following: </p> <ul> <li> <p> <code>Published</code> </p> </li> <li> <p>
* <code>Unfinished</code> </p> </li> <li> <p> <code>Unlisted</code> </p> </li>
* <li> <p> <code>Archived</code> </p> </li> <li> <p> <code>Disposed</code> </p>
* </li> </ul>
*/
inline void SetStatus(PackageVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p> A string that contains the status of the package version. It can be one of
* the following: </p> <ul> <li> <p> <code>Published</code> </p> </li> <li> <p>
* <code>Unfinished</code> </p> </li> <li> <p> <code>Unlisted</code> </p> </li>
* <li> <p> <code>Archived</code> </p> </li> <li> <p> <code>Disposed</code> </p>
* </li> </ul>
*/
inline PackageVersionDescription& WithStatus(const PackageVersionStatus& value) { SetStatus(value); return *this;}
/**
* <p> A string that contains the status of the package version. It can be one of
* the following: </p> <ul> <li> <p> <code>Published</code> </p> </li> <li> <p>
* <code>Unfinished</code> </p> </li> <li> <p> <code>Unlisted</code> </p> </li>
* <li> <p> <code>Archived</code> </p> </li> <li> <p> <code>Disposed</code> </p>
* </li> </ul>
*/
inline PackageVersionDescription& WithStatus(PackageVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
private:
PackageFormat m_format;
bool m_formatHasBeenSet;
Aws::String m_namespace;
bool m_namespaceHasBeenSet;
Aws::String m_packageName;
bool m_packageNameHasBeenSet;
Aws::String m_displayName;
bool m_displayNameHasBeenSet;
Aws::String m_version;
bool m_versionHasBeenSet;
Aws::String m_summary;
bool m_summaryHasBeenSet;
Aws::String m_homePage;
bool m_homePageHasBeenSet;
Aws::String m_sourceCodeRepository;
bool m_sourceCodeRepositoryHasBeenSet;
Aws::Utils::DateTime m_publishedTime;
bool m_publishedTimeHasBeenSet;
Aws::Vector<LicenseInfo> m_licenses;
bool m_licensesHasBeenSet;
Aws::String m_revision;
bool m_revisionHasBeenSet;
PackageVersionStatus m_status;
bool m_statusHasBeenSet;
};
} // namespace Model
} // namespace CodeArtifact
} // namespace Aws