7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/organizations/OrganizationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/organizations/model/ChildType.h>
15namespace Organizations
51 template<
typename ParentIdT = Aws::String>
52 void SetParentId(ParentIdT&& value) { m_parentIdHasBeenSet =
true; m_parentId = std::forward<ParentIdT>(value); }
53 template<
typename ParentIdT = Aws::String>
77 template<
typename NextTokenT = Aws::String>
78 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
79 template<
typename NextTokenT = Aws::String>
97 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
103 bool m_parentIdHasBeenSet =
false;
106 bool m_childTypeHasBeenSet =
false;
109 bool m_nextTokenHasBeenSet =
false;
112 bool m_maxResultsHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
ListChildrenRequest & WithParentId(ParentIdT &&value)
ListChildrenRequest & WithChildType(ChildType value)
virtual const char * GetServiceRequestName() const override
AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetParentId(ParentIdT &&value)
ListChildrenRequest & WithMaxResults(int value)
int GetMaxResults() const
void SetMaxResults(int value)
bool ParentIdHasBeenSet() const
ChildType GetChildType() const
bool ChildTypeHasBeenSet() const
bool NextTokenHasBeenSet() const
ListChildrenRequest & WithNextToken(NextTokenT &&value)
AWS_ORGANIZATIONS_API ListChildrenRequest()=default
const Aws::String & GetNextToken() const
AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override
void SetChildType(ChildType value)
bool MaxResultsHasBeenSet() const
const Aws::String & GetParentId() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String