7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template <
typename BranchesT = Aws::Vector<Aws::String>>
44 m_branchesHasBeenSet =
true;
45 m_branches = std::forward<BranchesT>(value);
47 template <
typename BranchesT = Aws::Vector<Aws::String>>
52 template <
typename BranchesT = Aws::String>
54 m_branchesHasBeenSet =
true;
55 m_branches.emplace_back(std::forward<BranchesT>(value));
65 template <
typename NextTokenT = Aws::String>
67 m_nextTokenHasBeenSet =
true;
68 m_nextToken = std::forward<NextTokenT>(value);
70 template <
typename NextTokenT = Aws::String>
80 template <
typename RequestIdT = Aws::String>
82 m_requestIdHasBeenSet =
true;
83 m_requestId = std::forward<RequestIdT>(value);
85 template <
typename RequestIdT = Aws::String>
100 bool m_branchesHasBeenSet =
false;
101 bool m_nextTokenHasBeenSet =
false;
102 bool m_requestIdHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() const
ListBranchesResult & WithBranches(BranchesT &&value)
ListBranchesResult & AddBranches(BranchesT &&value)
AWS_CODECOMMIT_API ListBranchesResult()=default
const Aws::String & GetNextToken() const
ListBranchesResult & WithRequestId(RequestIdT &&value)
ListBranchesResult & WithNextToken(NextTokenT &&value)
void SetBranches(BranchesT &&value)
AWS_CODECOMMIT_API ListBranchesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetBranches() const
AWS_CODECOMMIT_API ListBranchesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue