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
53 inline void SetParentId(
const char* value) { m_parentIdHasBeenSet =
true; m_parentId.assign(value); }
83 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
103 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
109 bool m_parentIdHasBeenSet =
false;
112 bool m_childTypeHasBeenSet =
false;
115 bool m_nextTokenHasBeenSet =
false;
118 bool m_maxResultsHasBeenSet =
false;
ListChildrenRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetParentId(const Aws::String &value)
ListChildrenRequest & WithParentId(Aws::String &&value)
AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListChildrenRequest & WithChildType(const ChildType &value)
ListChildrenRequest & WithNextToken(const char *value)
void SetNextToken(const Aws::String &value)
ListChildrenRequest & WithParentId(const char *value)
ListChildrenRequest & WithNextToken(const Aws::String &value)
ListChildrenRequest & WithMaxResults(int value)
int GetMaxResults() const
ListChildrenRequest & WithParentId(const Aws::String &value)
void SetParentId(const char *value)
void SetChildType(const ChildType &value)
void SetMaxResults(int value)
void SetNextToken(const char *value)
bool ParentIdHasBeenSet() const
bool ChildTypeHasBeenSet() const
bool NextTokenHasBeenSet() const
AWS_ORGANIZATIONS_API ListChildrenRequest()
const Aws::String & GetNextToken() const
const ChildType & GetChildType() const
void SetNextToken(Aws::String &&value)
AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override
void SetChildType(ChildType &&value)
void SetParentId(Aws::String &&value)
bool MaxResultsHasBeenSet() const
ListChildrenRequest & WithChildType(ChildType &&value)
const Aws::String & GetParentId() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String