AWS SDK for C++  1.9.157
AWS SDK for C++
GetBranchResult.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 {
28  {
29  public:
33 
34 
35 
36  inline const Branch& GetBranch() const{ return m_branch; }
37 
38 
39  inline void SetBranch(const Branch& value) { m_branch = value; }
40 
41 
42  inline void SetBranch(Branch&& value) { m_branch = std::move(value); }
43 
44 
45  inline GetBranchResult& WithBranch(const Branch& value) { SetBranch(value); return *this;}
46 
47 
48  inline GetBranchResult& WithBranch(Branch&& value) { SetBranch(std::move(value)); return *this;}
49 
50  private:
51 
52  Branch m_branch;
53  };
54 
55 } // namespace Model
56 } // namespace Amplify
57 } // namespace Aws
Amplify_EXPORTS.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Amplify::Model::GetBranchResult
Definition: GetBranchResult.h:28
Aws::Amplify::Model::GetBranchResult::SetBranch
void SetBranch(Branch &&value)
Definition: GetBranchResult.h:42
Aws::Amplify::Model::GetBranchResult::SetBranch
void SetBranch(const Branch &value)
Definition: GetBranchResult.h:39
Branch.h
Aws::Amplify::Model::GetBranchResult::operator=
GetBranchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Amplify::Model::GetBranchResult::GetBranchResult
GetBranchResult()
Aws::Amplify::Model::GetBranchResult::WithBranch
GetBranchResult & WithBranch(const Branch &value)
Definition: GetBranchResult.h:45
Aws::Amplify::Model::GetBranchResult::WithBranch
GetBranchResult & WithBranch(Branch &&value)
Definition: GetBranchResult.h:48
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::GetBranchResult::GetBranch
const Branch & GetBranch() const
Definition: GetBranchResult.h:36
Aws::Amplify::Model::Branch
Definition: Branch.h:37
Aws::Amplify::Model::GetBranchResult::GetBranchResult
GetBranchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28