7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/organizations/model/Account.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace Organizations
61 inline void SetNextToken(
const char* value) { m_nextToken.assign(value); }
72 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
const Aws::String & GetRequestId() const
const Aws::Vector< Account > & GetAccounts() const
void SetRequestId(const Aws::String &value)
void SetAccounts(Aws::Vector< Account > &&value)
ListAccountsResult & WithAccounts(Aws::Vector< Account > &&value)
ListAccountsResult & WithRequestId(const Aws::String &value)
const Aws::String & GetNextToken() const
ListAccountsResult & WithRequestId(Aws::String &&value)
AWS_ORGANIZATIONS_API ListAccountsResult()
void SetNextToken(const char *value)
AWS_ORGANIZATIONS_API ListAccountsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const char *value)
AWS_ORGANIZATIONS_API ListAccountsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListAccountsResult & WithNextToken(const Aws::String &value)
ListAccountsResult & WithNextToken(Aws::String &&value)
ListAccountsResult & WithNextToken(const char *value)
void SetRequestId(Aws::String &&value)
ListAccountsResult & AddAccounts(Account &&value)
void SetAccounts(const Aws::Vector< Account > &value)
ListAccountsResult & WithAccounts(const Aws::Vector< Account > &value)
ListAccountsResult & WithRequestId(const char *value)
void SetNextToken(Aws::String &&value)
void SetNextToken(const Aws::String &value)
ListAccountsResult & AddAccounts(const Account &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