AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBranchResult.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/model/Branch.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Amplify
25{
26namespace Model
27{
35 {
36 public:
37 AWS_AMPLIFY_API CreateBranchResult();
40
41
43
47 inline const Branch& GetBranch() const{ return m_branch; }
48 inline void SetBranch(const Branch& value) { m_branch = value; }
49 inline void SetBranch(Branch&& value) { m_branch = std::move(value); }
50 inline CreateBranchResult& WithBranch(const Branch& value) { SetBranch(value); return *this;}
51 inline CreateBranchResult& WithBranch(Branch&& value) { SetBranch(std::move(value)); return *this;}
53
55
56 inline const Aws::String& GetRequestId() const{ return m_requestId; }
57 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
58 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
59 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
60 inline CreateBranchResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
61 inline CreateBranchResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
62 inline CreateBranchResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
64 private:
65
66 Branch m_branch;
67
68 Aws::String m_requestId;
69 };
70
71} // namespace Model
72} // namespace Amplify
73} // namespace Aws
CreateBranchResult & WithRequestId(const char *value)
CreateBranchResult & WithRequestId(Aws::String &&value)
CreateBranchResult & WithBranch(Branch &&value)
AWS_AMPLIFY_API CreateBranchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBranchResult & WithBranch(const Branch &value)
const Aws::String & GetRequestId() const
CreateBranchResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
AWS_AMPLIFY_API CreateBranchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue