AWS SDK for C++  1.9.153
AWS SDK for C++
DescribeRepositoryResult.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 
39  inline const RepositoryDescription& GetRepository() const{ return m_repository; }
40 
45  inline void SetRepository(const RepositoryDescription& value) { m_repository = value; }
46 
51  inline void SetRepository(RepositoryDescription&& value) { m_repository = std::move(value); }
52 
57  inline DescribeRepositoryResult& WithRepository(const RepositoryDescription& value) { SetRepository(value); return *this;}
58 
63  inline DescribeRepositoryResult& WithRepository(RepositoryDescription&& value) { SetRepository(std::move(value)); return *this;}
64 
65  private:
66 
67  RepositoryDescription m_repository;
68  };
69 
70 } // namespace Model
71 } // namespace CodeArtifact
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeArtifact_EXPORTS.h
Aws::CodeArtifact::Model::DescribeRepositoryResult
Definition: DescribeRepositoryResult.h:28
Aws::CodeArtifact::Model::DescribeRepositoryResult::DescribeRepositoryResult
DescribeRepositoryResult()
Aws::CodeArtifact::Model::DescribeRepositoryResult::WithRepository
DescribeRepositoryResult & WithRepository(const RepositoryDescription &value)
Definition: DescribeRepositoryResult.h:57
Aws::CodeArtifact::Model::RepositoryDescription
Definition: RepositoryDescription.h:41
Aws::CodeArtifact::Model::DescribeRepositoryResult::SetRepository
void SetRepository(const RepositoryDescription &value)
Definition: DescribeRepositoryResult.h:45
Aws::CodeArtifact::Model::DescribeRepositoryResult::GetRepository
const RepositoryDescription & GetRepository() const
Definition: DescribeRepositoryResult.h:39
Aws::CodeArtifact::Model::DescribeRepositoryResult::operator=
DescribeRepositoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeArtifact::Model::DescribeRepositoryResult::WithRepository
DescribeRepositoryResult & WithRepository(RepositoryDescription &&value)
Definition: DescribeRepositoryResult.h:63
RepositoryDescription.h
AWS_CODEARTIFACT_API
#define AWS_CODEARTIFACT_API
Definition: CodeArtifact_EXPORTS.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::CodeArtifact::Model::DescribeRepositoryResult::SetRepository
void SetRepository(RepositoryDescription &&value)
Definition: DescribeRepositoryResult.h:51
Aws::CodeArtifact::Model::DescribeRepositoryResult::DescribeRepositoryResult
DescribeRepositoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)