/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CodeArtifact { namespace Model { class AWS_CODEARTIFACT_API DescribePackageVersionResult { public: DescribePackageVersionResult(); DescribePackageVersionResult(const Aws::AmazonWebServiceResult& result); DescribePackageVersionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A PackageVersionDescription * object that contains information about the requested package version. *

*/ inline const PackageVersionDescription& GetPackageVersion() const{ return m_packageVersion; } /** *

A PackageVersionDescription * object that contains information about the requested package version. *

*/ inline void SetPackageVersion(const PackageVersionDescription& value) { m_packageVersion = value; } /** *

A PackageVersionDescription * object that contains information about the requested package version. *

*/ inline void SetPackageVersion(PackageVersionDescription&& value) { m_packageVersion = std::move(value); } /** *

A PackageVersionDescription * object that contains information about the requested package version. *

*/ inline DescribePackageVersionResult& WithPackageVersion(const PackageVersionDescription& value) { SetPackageVersion(value); return *this;} /** *

A PackageVersionDescription * object that contains information about the requested package version. *

*/ inline DescribePackageVersionResult& WithPackageVersion(PackageVersionDescription&& value) { SetPackageVersion(std::move(value)); return *this;} private: PackageVersionDescription m_packageVersion; }; } // namespace Model } // namespace CodeArtifact } // namespace Aws