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 <aws/core/utils/memory/stl/AWSVector.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template <
typename BranchesT = Aws::Vector<Branch>>
44 m_branchesHasBeenSet =
true;
45 m_branches = std::forward<BranchesT>(value);
47 template <
typename BranchesT = Aws::Vector<Branch>>
52 template <
typename BranchesT = Branch>
54 m_branchesHasBeenSet =
true;
55 m_branches.emplace_back(std::forward<BranchesT>(value));
66 template <
typename NextTokenT = Aws::String>
68 m_nextTokenHasBeenSet =
true;
69 m_nextToken = std::forward<NextTokenT>(value);
71 template <
typename NextTokenT = Aws::String>
81 template <
typename RequestIdT = Aws::String>
83 m_requestIdHasBeenSet =
true;
84 m_requestId = std::forward<RequestIdT>(value);
86 template <
typename RequestIdT = Aws::String>
98 bool m_branchesHasBeenSet =
false;
99 bool m_nextTokenHasBeenSet =
false;
100 bool m_requestIdHasBeenSet =
false;
ListBranchesResult & WithNextToken(NextTokenT &&value)
ListBranchesResult & AddBranches(BranchesT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetNextToken() const
const Aws::Vector< Branch > & GetBranches() const
void SetRequestId(RequestIdT &&value)
ListBranchesResult & WithBranches(BranchesT &&value)
ListBranchesResult & WithRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
AWS_AMPLIFY_API ListBranchesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBranches(BranchesT &&value)
AWS_AMPLIFY_API ListBranchesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_AMPLIFY_API ListBranchesResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue