AWS SDK for C++  1.9.15
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 CodeCommit
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const RepositoryMetadata& GetRepositoryMetadata() const{ return m_repositoryMetadata; }
45 
49  inline void SetRepositoryMetadata(const RepositoryMetadata& value) { m_repositoryMetadata = value; }
50 
54  inline void SetRepositoryMetadata(RepositoryMetadata&& value) { m_repositoryMetadata = std::move(value); }
55 
59  inline CreateRepositoryResult& WithRepositoryMetadata(const RepositoryMetadata& value) { SetRepositoryMetadata(value); return *this;}
60 
64  inline CreateRepositoryResult& WithRepositoryMetadata(RepositoryMetadata&& value) { SetRepositoryMetadata(std::move(value)); return *this;}
65 
66  private:
67 
68  RepositoryMetadata m_repositoryMetadata;
69  };
70 
71 } // namespace Model
72 } // namespace CodeCommit
73 } // namespace Aws
Aws::CodeCommit::Model::CreateRepositoryResult::CreateRepositoryResult
CreateRepositoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CodeCommit::Model::CreateRepositoryResult::CreateRepositoryResult
CreateRepositoryResult()
CodeCommit_EXPORTS.h
RepositoryMetadata.h
Aws::CodeCommit::Model::CreateRepositoryResult::operator=
CreateRepositoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::CreateRepositoryResult::WithRepositoryMetadata
CreateRepositoryResult & WithRepositoryMetadata(RepositoryMetadata &&value)
Definition: CreateRepositoryResult.h:64
Aws::CodeCommit::Model::RepositoryMetadata
Definition: RepositoryMetadata.h:33
Aws::CodeCommit::Model::CreateRepositoryResult
Definition: CreateRepositoryResult.h:34
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::CreateRepositoryResult::SetRepositoryMetadata
void SetRepositoryMetadata(RepositoryMetadata &&value)
Definition: CreateRepositoryResult.h:54
Aws::CodeCommit::Model::CreateRepositoryResult::WithRepositoryMetadata
CreateRepositoryResult & WithRepositoryMetadata(const RepositoryMetadata &value)
Definition: CreateRepositoryResult.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::CreateRepositoryResult::GetRepositoryMetadata
const RepositoryMetadata & GetRepositoryMetadata() const
Definition: CreateRepositoryResult.h:44
Aws::CodeCommit::Model::CreateRepositoryResult::SetRepositoryMetadata
void SetRepositoryMetadata(const RepositoryMetadata &value)
Definition: CreateRepositoryResult.h:49