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/Root.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); }
AWS_ORGANIZATIONS_API ListRootsResult()
void SetRoots(const Aws::Vector< Root > &value)
void SetRequestId(const Aws::String &value)
ListRootsResult & WithRoots(Aws::Vector< Root > &&value)
void SetRoots(Aws::Vector< Root > &&value)
void SetNextToken(const Aws::String &value)
const Aws::String & GetNextToken() const
ListRootsResult & WithNextToken(const Aws::String &value)
ListRootsResult & WithNextToken(Aws::String &&value)
ListRootsResult & WithRequestId(const Aws::String &value)
void SetRequestId(Aws::String &&value)
ListRootsResult & WithRoots(const Aws::Vector< Root > &value)
ListRootsResult & WithNextToken(const char *value)
ListRootsResult & AddRoots(Root &&value)
void SetNextToken(const char *value)
void SetRequestId(const char *value)
ListRootsResult & WithRequestId(const char *value)
const Aws::Vector< Root > & GetRoots() const
AWS_ORGANIZATIONS_API ListRootsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(Aws::String &&value)
ListRootsResult & AddRoots(const Root &value)
AWS_ORGANIZATIONS_API ListRootsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
ListRootsResult & WithRequestId(Aws::String &&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