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/core/utils/memory/stl/AWSVector.h>
11#include <aws/organizations/model/Tag.h>
16namespace Organizations
55 inline void SetParentId(
const char* value) { m_parentIdHasBeenSet =
true; m_parentId.assign(value); }
69 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
98 bool m_parentIdHasBeenSet =
false;
101 bool m_nameHasBeenSet =
false;
104 bool m_tagsHasBeenSet =
false;
void SetParentId(const char *value)
virtual const char * GetServiceRequestName() const override
void SetTags(Aws::Vector< Tag > &&value)
CreateOrganizationalUnitRequest & AddTags(const Tag &value)
void SetParentId(Aws::String &&value)
CreateOrganizationalUnitRequest & WithName(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override
bool ParentIdHasBeenSet() const
void SetParentId(const Aws::String &value)
bool TagsHasBeenSet() const
CreateOrganizationalUnitRequest & WithName(const char *value)
CreateOrganizationalUnitRequest & WithParentId(Aws::String &&value)
void SetName(Aws::String &&value)
CreateOrganizationalUnitRequest & WithTags(Aws::Vector< Tag > &&value)
bool NameHasBeenSet() const
AWS_ORGANIZATIONS_API CreateOrganizationalUnitRequest()
void SetName(const Aws::String &value)
void SetName(const char *value)
AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateOrganizationalUnitRequest & WithParentId(const Aws::String &value)
CreateOrganizationalUnitRequest & WithParentId(const char *value)
CreateOrganizationalUnitRequest & WithName(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetName() const
CreateOrganizationalUnitRequest & AddTags(Tag &&value)
CreateOrganizationalUnitRequest & WithTags(const Aws::Vector< Tag > &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
std::vector< T, Aws::Allocator< T > > Vector