AWS SDK for C++  1.9.125
AWS SDK for C++
DescribePackageVersionResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace CodeArtifact
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
40  inline const PackageVersionDescription& GetPackageVersion() const{ return m_packageVersion; }
41 
47  inline void SetPackageVersion(const PackageVersionDescription& value) { m_packageVersion = value; }
48 
54  inline void SetPackageVersion(PackageVersionDescription&& value) { m_packageVersion = std::move(value); }
55 
61  inline DescribePackageVersionResult& WithPackageVersion(const PackageVersionDescription& value) { SetPackageVersion(value); return *this;}
62 
68  inline DescribePackageVersionResult& WithPackageVersion(PackageVersionDescription&& value) { SetPackageVersion(std::move(value)); return *this;}
69 
70  private:
71 
72  PackageVersionDescription m_packageVersion;
73  };
74 
75 } // namespace Model
76 } // namespace CodeArtifact
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeArtifact_EXPORTS.h
Aws::CodeArtifact::Model::DescribePackageVersionResult::SetPackageVersion
void SetPackageVersion(PackageVersionDescription &&value)
Definition: DescribePackageVersionResult.h:54
Aws::CodeArtifact::Model::DescribePackageVersionResult::DescribePackageVersionResult
DescribePackageVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeArtifact::Model::DescribePackageVersionResult::WithPackageVersion
DescribePackageVersionResult & WithPackageVersion(PackageVersionDescription &&value)
Definition: DescribePackageVersionResult.h:68
Aws::CodeArtifact::Model::DescribePackageVersionResult::SetPackageVersion
void SetPackageVersion(const PackageVersionDescription &value)
Definition: DescribePackageVersionResult.h:47
Aws::CodeArtifact::Model::PackageVersionDescription
Definition: PackageVersionDescription.h:37
Aws::CodeArtifact::Model::DescribePackageVersionResult::GetPackageVersion
const PackageVersionDescription & GetPackageVersion() const
Definition: DescribePackageVersionResult.h:40
Aws::CodeArtifact::Model::DescribePackageVersionResult
Definition: DescribePackageVersionResult.h:28
Aws::CodeArtifact::Model::DescribePackageVersionResult::operator=
DescribePackageVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeArtifact::Model::DescribePackageVersionResult::WithPackageVersion
DescribePackageVersionResult & WithPackageVersion(const PackageVersionDescription &value)
Definition: DescribePackageVersionResult.h:61
AWS_CODEARTIFACT_API
#define AWS_CODEARTIFACT_API
Definition: CodeArtifact_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
PackageVersionDescription.h
Aws::CodeArtifact::Model::DescribePackageVersionResult::DescribePackageVersionResult
DescribePackageVersionResult()