7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/organizations/OrganizationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace Organizations
53 inline void SetChildId(
const char* value) { m_childIdHasBeenSet =
true; m_childId.assign(value); }
71 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
91 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
97 bool m_childIdHasBeenSet =
false;
100 bool m_nextTokenHasBeenSet =
false;
103 bool m_maxResultsHasBeenSet =
false;
int GetMaxResults() const
ListParentsRequest & WithChildId(const char *value)
void SetNextToken(const char *value)
AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetNextToken(Aws::String &&value)
void SetChildId(const char *value)
const Aws::String & GetNextToken() const
bool MaxResultsHasBeenSet() const
void SetNextToken(const Aws::String &value)
void SetChildId(Aws::String &&value)
AWS_ORGANIZATIONS_API ListParentsRequest()
const Aws::String & GetChildId() const
bool ChildIdHasBeenSet() const
ListParentsRequest & WithChildId(Aws::String &&value)
ListParentsRequest & WithNextToken(Aws::String &&value)
AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override
void SetChildId(const Aws::String &value)
ListParentsRequest & WithMaxResults(int value)
ListParentsRequest & WithNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool NextTokenHasBeenSet() const
void SetMaxResults(int value)
ListParentsRequest & WithChildId(const Aws::String &value)
ListParentsRequest & WithNextToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String