AWS SDK for C++  1.8.152
AWS SDK for C++
DeleteBranchResult.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 
45  inline const BranchInfo& GetDeletedBranch() const{ return m_deletedBranch; }
46 
51  inline void SetDeletedBranch(const BranchInfo& value) { m_deletedBranch = value; }
52 
57  inline void SetDeletedBranch(BranchInfo&& value) { m_deletedBranch = std::move(value); }
58 
63  inline DeleteBranchResult& WithDeletedBranch(const BranchInfo& value) { SetDeletedBranch(value); return *this;}
64 
69  inline DeleteBranchResult& WithDeletedBranch(BranchInfo&& value) { SetDeletedBranch(std::move(value)); return *this;}
70 
71  private:
72 
73  BranchInfo m_deletedBranch;
74  };
75 
76 } // namespace Model
77 } // namespace CodeCommit
78 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::DeleteBranchResult::DeleteBranchResult
DeleteBranchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::DeleteBranchResult::GetDeletedBranch
const BranchInfo & GetDeletedBranch() const
Definition: DeleteBranchResult.h:45
Aws::CodeCommit::Model::DeleteBranchResult::DeleteBranchResult
DeleteBranchResult()
Aws::CodeCommit::Model::DeleteBranchResult
Definition: DeleteBranchResult.h:34
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::DeleteBranchResult::WithDeletedBranch
DeleteBranchResult & WithDeletedBranch(const BranchInfo &value)
Definition: DeleteBranchResult.h:63
Aws::CodeCommit::Model::DeleteBranchResult::operator=
DeleteBranchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::DeleteBranchResult::WithDeletedBranch
DeleteBranchResult & WithDeletedBranch(BranchInfo &&value)
Definition: DeleteBranchResult.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::DeleteBranchResult::SetDeletedBranch
void SetDeletedBranch(BranchInfo &&value)
Definition: DeleteBranchResult.h:57
BranchInfo.h
Aws::CodeCommit::Model::DeleteBranchResult::SetDeletedBranch
void SetDeletedBranch(const BranchInfo &value)
Definition: DeleteBranchResult.h:51
Aws::CodeCommit::Model::BranchInfo
Definition: BranchInfo.h:32