7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/chime/model/Account.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename AccountsT = Aws::Vector<Account>>
43 void SetAccounts(AccountsT&& value) { m_accountsHasBeenSet =
true; m_accounts = std::forward<AccountsT>(value); }
44 template<
typename AccountsT = Aws::Vector<Account>>
46 template<
typename AccountsT = Account>
47 ListAccountsResult&
AddAccounts(AccountsT&& value) { m_accountsHasBeenSet =
true; m_accounts.emplace_back(std::forward<AccountsT>(value));
return *
this; }
55 template<
typename NextTokenT = Aws::String>
56 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
57 template<
typename NextTokenT = Aws::String>
64 template<
typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
66 template<
typename RequestIdT = Aws::String>
72 bool m_accountsHasBeenSet =
false;
75 bool m_nextTokenHasBeenSet =
false;
78 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