7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/model/BranchInfo.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template <
typename BranchT = BranchInfo>
44 m_branchHasBeenSet =
true;
45 m_branch = std::forward<BranchT>(value);
47 template <
typename BranchT = BranchInfo>
57 template <
typename RequestIdT = Aws::String>
59 m_requestIdHasBeenSet =
true;
60 m_requestId = std::forward<RequestIdT>(value);
62 template <
typename RequestIdT = Aws::String>
75 bool m_branchHasBeenSet =
false;
76 bool m_requestIdHasBeenSet =
false;
AWS_CODECOMMIT_API GetBranchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const BranchInfo & GetBranch() const
void SetBranch(BranchT &&value)
GetBranchResult & WithRequestId(RequestIdT &&value)
GetBranchResult & WithBranch(BranchT &&value)
void SetRequestId(RequestIdT &&value)
AWS_CODECOMMIT_API GetBranchResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_CODECOMMIT_API GetBranchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue