AWS SDK for C++  1.9.157
AWS SDK for C++
CreateBranchResult.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 CreateBranchResult& WithBranch(const Branch& value) { SetBranch(value); return *this;}
64 
69  inline CreateBranchResult& 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
Amplify_EXPORTS.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Amplify::Model::CreateBranchResult
Definition: CreateBranchResult.h:34
Aws::Amplify::Model::CreateBranchResult::CreateBranchResult
CreateBranchResult()
Aws::Amplify::Model::CreateBranchResult::SetBranch
void SetBranch(Branch &&value)
Definition: CreateBranchResult.h:57
Aws::Amplify::Model::CreateBranchResult::WithBranch
CreateBranchResult & WithBranch(Branch &&value)
Definition: CreateBranchResult.h:69
Aws::Amplify::Model::CreateBranchResult::WithBranch
CreateBranchResult & WithBranch(const Branch &value)
Definition: CreateBranchResult.h:63
Branch.h
Aws::Amplify::Model::CreateBranchResult::CreateBranchResult
CreateBranchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Amplify::Model::CreateBranchResult::operator=
CreateBranchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::Branch
Definition: Branch.h:37
Aws::Amplify::Model::CreateBranchResult::GetBranch
const Branch & GetBranch() const
Definition: CreateBranchResult.h:45
Aws::Amplify::Model::CreateBranchResult::SetBranch
void SetBranch(const Branch &value)
Definition: CreateBranchResult.h:51
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28