AWS SDK for C++  1.9.153
AWS SDK for C++
CreateRepositoryResult.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 
38  inline const RepositoryDescription& GetRepository() const{ return m_repository; }
39 
43  inline void SetRepository(const RepositoryDescription& value) { m_repository = value; }
44 
48  inline void SetRepository(RepositoryDescription&& value) { m_repository = std::move(value); }
49 
53  inline CreateRepositoryResult& WithRepository(const RepositoryDescription& value) { SetRepository(value); return *this;}
54 
58  inline CreateRepositoryResult& WithRepository(RepositoryDescription&& value) { SetRepository(std::move(value)); return *this;}
59 
60  private:
61 
62  RepositoryDescription m_repository;
63  };
64 
65 } // namespace Model
66 } // namespace CodeArtifact
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeArtifact_EXPORTS.h
Aws::CodeArtifact::Model::CreateRepositoryResult::WithRepository
CreateRepositoryResult & WithRepository(RepositoryDescription &&value)
Definition: CreateRepositoryResult.h:58
Aws::CodeArtifact::Model::CreateRepositoryResult::CreateRepositoryResult
CreateRepositoryResult()
Aws::CodeArtifact::Model::CreateRepositoryResult::WithRepository
CreateRepositoryResult & WithRepository(const RepositoryDescription &value)
Definition: CreateRepositoryResult.h:53
Aws::CodeArtifact::Model::CreateRepositoryResult::operator=
CreateRepositoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeArtifact::Model::CreateRepositoryResult::SetRepository
void SetRepository(const RepositoryDescription &value)
Definition: CreateRepositoryResult.h:43
Aws::CodeArtifact::Model::RepositoryDescription
Definition: RepositoryDescription.h:41
Aws::CodeArtifact::Model::CreateRepositoryResult::SetRepository
void SetRepository(RepositoryDescription &&value)
Definition: CreateRepositoryResult.h:48
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::CreateRepositoryResult::CreateRepositoryResult
CreateRepositoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeArtifact::Model::CreateRepositoryResult::GetRepository
const RepositoryDescription & GetRepository() const
Definition: CreateRepositoryResult.h:38
Aws::CodeArtifact::Model::CreateRepositoryResult
Definition: CreateRepositoryResult.h:28