7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/model/Account.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;
36 template <
typename AccountsT = Aws::Vector<Account>>
38 m_accountsHasBeenSet =
true;
39 m_accounts = std::forward<AccountsT>(value);
41 template <
typename AccountsT = Aws::Vector<Account>>
46 template <
typename AccountsT = Account>
48 m_accountsHasBeenSet =
true;
49 m_accounts.emplace_back(std::forward<AccountsT>(value));
59 template <
typename NextTokenT = Aws::String>
61 m_nextTokenHasBeenSet =
true;
62 m_nextToken = std::forward<NextTokenT>(value);
64 template <
typename NextTokenT = Aws::String>
74 template <
typename RequestIdT = Aws::String>
76 m_requestIdHasBeenSet =
true;
77 m_requestId = std::forward<RequestIdT>(value);
79 template <
typename RequestIdT = Aws::String>
91 bool m_accountsHasBeenSet =
false;
92 bool m_nextTokenHasBeenSet =
false;
93 bool m_requestIdHasBeenSet =
false;
AWS_CHIME_API ListAccountsResult()=default
const Aws::String & GetRequestId() const
ListAccountsResult & WithNextToken(NextTokenT &&value)
ListAccountsResult & WithAccounts(AccountsT &&value)
const Aws::String & GetNextToken() const
AWS_CHIME_API ListAccountsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListAccountsResult & WithRequestId(RequestIdT &&value)
AWS_CHIME_API ListAccountsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Account > & GetAccounts() const
void SetAccounts(AccountsT &&value)
void SetRequestId(RequestIdT &&value)
ListAccountsResult & AddAccounts(AccountsT &&value)
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