AWS SDK for C++  1.9.157
AWS SDK for C++
UpdateBranchResult.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 Amplify
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
45  inline const Branch& GetBranch() const{ return m_branch; }
46 
51  inline void SetBranch(const Branch& value) { m_branch = value; }
52 
57  inline void SetBranch(Branch&& value) { m_branch = std::move(value); }
58 
63  inline UpdateBranchResult& WithBranch(const Branch& value) { SetBranch(value); return *this;}
64 
69  inline UpdateBranchResult& WithBranch(Branch&& value) { SetBranch(std::move(value)); return *this;}
70 
71  private:
72 
73  Branch m_branch;
74  };
75 
76 } // namespace Model
77 } // namespace Amplify
78 } // namespace Aws
Aws::Amplify::Model::UpdateBranchResult::SetBranch
void SetBranch(const Branch &value)
Definition: UpdateBranchResult.h:51
Amplify_EXPORTS.h
Aws::Amplify::Model::UpdateBranchResult::WithBranch
UpdateBranchResult & WithBranch(Branch &&value)
Definition: UpdateBranchResult.h:69
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Amplify::Model::UpdateBranchResult::GetBranch
const Branch & GetBranch() const
Definition: UpdateBranchResult.h:45
Aws::Amplify::Model::UpdateBranchResult::UpdateBranchResult
UpdateBranchResult()
Aws::Amplify::Model::UpdateBranchResult::UpdateBranchResult
UpdateBranchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Branch.h
Aws::Amplify::Model::UpdateBranchResult::SetBranch
void SetBranch(Branch &&value)
Definition: UpdateBranchResult.h:57
Aws::Amplify::Model::UpdateBranchResult::operator=
UpdateBranchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Amplify::Model::UpdateBranchResult::WithBranch
UpdateBranchResult & WithBranch(const Branch &value)
Definition: UpdateBranchResult.h:63
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::Branch
Definition: Branch.h:37
Aws::Amplify::Model::UpdateBranchResult
Definition: UpdateBranchResult.h:34
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28