AWS SDK for C++  1.8.154
AWS SDK for C++
GetRepositoryResult.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 GetRepositoryResult& WithRepositoryMetadata(const RepositoryMetadata& value) { SetRepositoryMetadata(value); return *this;}
60 
64  inline GetRepositoryResult& 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::GetRepositoryResult::GetRepositoryResult
GetRepositoryResult()
Aws::CodeCommit::Model::GetRepositoryResult::SetRepositoryMetadata
void SetRepositoryMetadata(RepositoryMetadata &&value)
Definition: GetRepositoryResult.h:54
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::GetRepositoryResult::WithRepositoryMetadata
GetRepositoryResult & WithRepositoryMetadata(RepositoryMetadata &&value)
Definition: GetRepositoryResult.h:64
RepositoryMetadata.h
Aws::CodeCommit::Model::GetRepositoryResult::WithRepositoryMetadata
GetRepositoryResult & WithRepositoryMetadata(const RepositoryMetadata &value)
Definition: GetRepositoryResult.h:59
Aws::CodeCommit::Model::GetRepositoryResult::GetRepositoryMetadata
const RepositoryMetadata & GetRepositoryMetadata() const
Definition: GetRepositoryResult.h:44
Aws::CodeCommit::Model::GetRepositoryResult::GetRepositoryResult
GetRepositoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::RepositoryMetadata
Definition: RepositoryMetadata.h:33
Aws::CodeCommit::Model::GetRepositoryResult::operator=
GetRepositoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::GetRepositoryResult
Definition: GetRepositoryResult.h:34
Aws::CodeCommit::Model::GetRepositoryResult::SetRepositoryMetadata
void SetRepositoryMetadata(const RepositoryMetadata &value)
Definition: GetRepositoryResult.h:49
Aws
Definition: AccessManagementClient.h:15