7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/BranchSummary.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace AmplifyGen3 {
37 template <
typename BranchesT = Aws::Vector<BranchSummary>>
39 m_branchesHasBeenSet =
true;
40 m_branches = std::forward<BranchesT>(value);
42 template <
typename BranchesT = Aws::Vector<BranchSummary>>
47 template <
typename BranchesT = BranchSummary>
49 m_branchesHasBeenSet =
true;
50 m_branches.emplace_back(std::forward<BranchesT>(value));
61 template <
typename NextTokenT = Aws::String>
63 m_nextTokenHasBeenSet =
true;
64 m_nextToken = std::forward<NextTokenT>(value);
66 template <
typename NextTokenT = Aws::String>
76 template <
typename RequestIdT = Aws::String>
78 m_requestIdHasBeenSet =
true;
79 m_requestId = std::forward<RequestIdT>(value);
81 template <
typename RequestIdT = Aws::String>
96 bool m_branchesHasBeenSet =
false;
97 bool m_nextTokenHasBeenSet =
false;
98 bool m_requestIdHasBeenSet =
false;
ListBranchesResult & AddBranches(BranchesT &&value)
const Aws::String & GetRequestId() const
ListBranchesResult & WithNextToken(NextTokenT &&value)
ListBranchesResult & WithBranches(BranchesT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Vector< BranchSummary > & GetBranches() const
AWS_AMPLIFYGEN3_API ListBranchesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(NextTokenT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_AMPLIFYGEN3_API ListBranchesResult()=default
AWS_AMPLIFYGEN3_API ListBranchesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBranches(BranchesT &&value)
ListBranchesResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue