/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about a package, including its format, namespace, and name. The
* ListPackages operation returns a list of
* PackageSummary objects. See Also:
AWS
* API Reference
The format of the package. Valid values are:
* npm
pypi
* maven
The format of the package. Valid values are:
* npm
pypi
* maven
The format of the package. Valid values are:
* npm
pypi
* maven
The format of the package. Valid values are:
* npm
pypi
* maven
The format of the package. Valid values are:
* npm
pypi
* maven
The format of the package. Valid values are:
* npm
pypi
* maven
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 package.
*/ inline const Aws::String& GetPackage() const{ return m_package; } /** *The name of the package.
*/ inline bool PackageHasBeenSet() const { return m_packageHasBeenSet; } /** *The name of the package.
*/ inline void SetPackage(const Aws::String& value) { m_packageHasBeenSet = true; m_package = value; } /** *The name of the package.
*/ inline void SetPackage(Aws::String&& value) { m_packageHasBeenSet = true; m_package = std::move(value); } /** *The name of the package.
*/ inline void SetPackage(const char* value) { m_packageHasBeenSet = true; m_package.assign(value); } /** *The name of the package.
*/ inline PackageSummary& WithPackage(const Aws::String& value) { SetPackage(value); return *this;} /** *The name of the package.
*/ inline PackageSummary& WithPackage(Aws::String&& value) { SetPackage(std::move(value)); return *this;} /** *The name of the package.
*/ inline PackageSummary& WithPackage(const char* value) { SetPackage(value); return *this;} private: PackageFormat m_format; bool m_formatHasBeenSet; Aws::String m_namespace; bool m_namespaceHasBeenSet; Aws::String m_package; bool m_packageHasBeenSet; }; } // namespace Model } // namespace CodeArtifact } // namespace Aws