7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
47 template<
typename BranchesT = Aws::Vector<Aws::String>>
48 void SetBranches(BranchesT&& value) { m_branchesHasBeenSet =
true; m_branches = std::forward<BranchesT>(value); }
49 template<
typename BranchesT = Aws::Vector<Aws::String>>
51 template<
typename BranchesT = Aws::String>
52 ListBranchesResult&
AddBranches(BranchesT&& value) { m_branchesHasBeenSet =
true; m_branches.emplace_back(std::forward<BranchesT>(value));
return *
this; }
60 template<
typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
62 template<
typename NextTokenT = Aws::String>
69 template<
typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
71 template<
typename RequestIdT = Aws::String>
77 bool m_branchesHasBeenSet =
false;
80 bool m_nextTokenHasBeenSet =
false;
83 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)
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