7#include <aws/compute-optimizer-automation/ComputeOptimizerAutomation_EXPORTS.h>
8#include <aws/compute-optimizer-automation/model/AccountInfo.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 ComputeOptimizerAutomation {
37 template <
typename AccountsT = Aws::Vector<AccountInfo>>
39 m_accountsHasBeenSet =
true;
40 m_accounts = std::forward<AccountsT>(value);
42 template <
typename AccountsT = Aws::Vector<AccountInfo>>
47 template <
typename AccountsT = AccountInfo>
49 m_accountsHasBeenSet =
true;
50 m_accounts.emplace_back(std::forward<AccountsT>(value));
60 template <
typename NextTokenT = Aws::String>
62 m_nextTokenHasBeenSet =
true;
63 m_nextToken = std::forward<NextTokenT>(value);
65 template <
typename NextTokenT = Aws::String>
75 template <
typename RequestIdT = Aws::String>
77 m_requestIdHasBeenSet =
true;
78 m_requestId = std::forward<RequestIdT>(value);
80 template <
typename RequestIdT = Aws::String>
95 bool m_accountsHasBeenSet =
false;
96 bool m_nextTokenHasBeenSet =
false;
97 bool m_requestIdHasBeenSet =
false;
void SetAccounts(AccountsT &&value)
ListAccountsResult & WithAccounts(AccountsT &&value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API ListAccountsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListAccountsResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
const Aws::Vector< AccountInfo > & GetAccounts() const
ListAccountsResult & WithNextToken(NextTokenT &&value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API ListAccountsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListAccountsResult & AddAccounts(AccountsT &&value)
const Aws::String & GetNextToken() const
AWS_COMPUTEOPTIMIZERAUTOMATION_API ListAccountsResult()=default
void SetNextToken(NextTokenT &&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