7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/organizations/OrganizationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace Organizations
47 template<
typename NextTokenT = Aws::String>
48 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
49 template<
typename NextTokenT = Aws::String>
67 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
73 bool m_nextTokenHasBeenSet =
false;
76 bool m_maxResultsHasBeenSet =
false;
void SetMaxResults(int value)
ListRootsRequest & WithMaxResults(int value)
int GetMaxResults() const
AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override
AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListRootsRequest & WithNextToken(NextTokenT &&value)
bool NextTokenHasBeenSet() const
void SetNextToken(NextTokenT &&value)
bool MaxResultsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_ORGANIZATIONS_API ListRootsRequest()=default
const Aws::String & GetNextToken() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String