AWS SDK for C++  1.9.16
AWS SDK for C++
Public Member Functions | List of all members
Aws::Organizations::Model::CreateOrganizationalUnitRequest Class Reference

#include <CreateOrganizationalUnitRequest.h>

+ Inheritance diagram for Aws::Organizations::Model::CreateOrganizationalUnitRequest:

Public Member Functions

 CreateOrganizationalUnitRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetParentId () const
 
bool ParentIdHasBeenSet () const
 
void SetParentId (const Aws::String &value)
 
void SetParentId (Aws::String &&value)
 
void SetParentId (const char *value)
 
CreateOrganizationalUnitRequestWithParentId (const Aws::String &value)
 
CreateOrganizationalUnitRequestWithParentId (Aws::String &&value)
 
CreateOrganizationalUnitRequestWithParentId (const char *value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
CreateOrganizationalUnitRequestWithName (const Aws::String &value)
 
CreateOrganizationalUnitRequestWithName (Aws::String &&value)
 
CreateOrganizationalUnitRequestWithName (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateOrganizationalUnitRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateOrganizationalUnitRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateOrganizationalUnitRequestAddTags (const Tag &value)
 
CreateOrganizationalUnitRequestAddTags (Tag &&value)
 
- Public Member Functions inherited from Aws::Organizations::OrganizationsRequest
virtual ~OrganizationsRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 23 of file CreateOrganizationalUnitRequest.h.

Constructor & Destructor Documentation

◆ CreateOrganizationalUnitRequest()

Aws::Organizations::Model::CreateOrganizationalUnitRequest::CreateOrganizationalUnitRequest ( )

Member Function Documentation

◆ AddTags() [1/2]

CreateOrganizationalUnitRequest& Aws::Organizations::Model::CreateOrganizationalUnitRequest::AddTags ( const Tag value)
inline

A list of tags that you want to attach to the newly created OU. For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags for an OU, then the entire request fails and the OU is not created.

Definition at line 267 of file CreateOrganizationalUnitRequest.h.

◆ AddTags() [2/2]

CreateOrganizationalUnitRequest& Aws::Organizations::Model::CreateOrganizationalUnitRequest::AddTags ( Tag &&  value)
inline

A list of tags that you want to attach to the newly created OU. For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags for an OU, then the entire request fails and the OU is not created.

Definition at line 279 of file CreateOrganizationalUnitRequest.h.

◆ GetName()

const Aws::String& Aws::Organizations::Model::CreateOrganizationalUnitRequest::GetName ( ) const
inline

The friendly name to assign to the new OU.

Definition at line 147 of file CreateOrganizationalUnitRequest.h.

◆ GetParentId()

const Aws::String& Aws::Organizations::Model::CreateOrganizationalUnitRequest::GetParentId ( ) const
inline

The unique identifier (ID) of the parent root or OU that you want to create the new OU in.

The regex pattern for a parent ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Organizational unit (OU)

    • A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Definition at line 50 of file CreateOrganizationalUnitRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::Organizations::Model::CreateOrganizationalUnitRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

◆ GetServiceRequestName()

virtual const char* Aws::Organizations::Model::CreateOrganizationalUnitRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file CreateOrganizationalUnitRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::Organizations::Model::CreateOrganizationalUnitRequest::GetTags ( ) const
inline

A list of tags that you want to attach to the newly created OU. For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags for an OU, then the entire request fails and the OU is not created.

Definition at line 195 of file CreateOrganizationalUnitRequest.h.

◆ NameHasBeenSet()

bool Aws::Organizations::Model::CreateOrganizationalUnitRequest::NameHasBeenSet ( ) const
inline

The friendly name to assign to the new OU.

Definition at line 152 of file CreateOrganizationalUnitRequest.h.

◆ ParentIdHasBeenSet()

bool Aws::Organizations::Model::CreateOrganizationalUnitRequest::ParentIdHasBeenSet ( ) const
inline

The unique identifier (ID) of the parent root or OU that you want to create the new OU in.

The regex pattern for a parent ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Organizational unit (OU)

    • A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Definition at line 63 of file CreateOrganizationalUnitRequest.h.

◆ SerializePayload()

Aws::String Aws::Organizations::Model::CreateOrganizationalUnitRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetName() [1/3]

void Aws::Organizations::Model::CreateOrganizationalUnitRequest::SetName ( Aws::String &&  value)
inline

The friendly name to assign to the new OU.

Definition at line 162 of file CreateOrganizationalUnitRequest.h.

◆ SetName() [2/3]

void Aws::Organizations::Model::CreateOrganizationalUnitRequest::SetName ( const Aws::String value)
inline

The friendly name to assign to the new OU.

Definition at line 157 of file CreateOrganizationalUnitRequest.h.

◆ SetName() [3/3]

void Aws::Organizations::Model::CreateOrganizationalUnitRequest::SetName ( const char *  value)
inline

The friendly name to assign to the new OU.

Definition at line 167 of file CreateOrganizationalUnitRequest.h.

◆ SetParentId() [1/3]

void Aws::Organizations::Model::CreateOrganizationalUnitRequest::SetParentId ( Aws::String &&  value)
inline

The unique identifier (ID) of the parent root or OU that you want to create the new OU in.

The regex pattern for a parent ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Organizational unit (OU)

    • A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Definition at line 89 of file CreateOrganizationalUnitRequest.h.

◆ SetParentId() [2/3]

void Aws::Organizations::Model::CreateOrganizationalUnitRequest::SetParentId ( const Aws::String value)
inline

The unique identifier (ID) of the parent root or OU that you want to create the new OU in.

The regex pattern for a parent ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Organizational unit (OU)

    • A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Definition at line 76 of file CreateOrganizationalUnitRequest.h.

◆ SetParentId() [3/3]

void Aws::Organizations::Model::CreateOrganizationalUnitRequest::SetParentId ( const char *  value)
inline

The unique identifier (ID) of the parent root or OU that you want to create the new OU in.

The regex pattern for a parent ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Organizational unit (OU)

    • A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Definition at line 102 of file CreateOrganizationalUnitRequest.h.

◆ SetTags() [1/2]

void Aws::Organizations::Model::CreateOrganizationalUnitRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

A list of tags that you want to attach to the newly created OU. For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags for an OU, then the entire request fails and the OU is not created.

Definition at line 231 of file CreateOrganizationalUnitRequest.h.

◆ SetTags() [2/2]

void Aws::Organizations::Model::CreateOrganizationalUnitRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

A list of tags that you want to attach to the newly created OU. For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags for an OU, then the entire request fails and the OU is not created.

Definition at line 219 of file CreateOrganizationalUnitRequest.h.

◆ TagsHasBeenSet()

bool Aws::Organizations::Model::CreateOrganizationalUnitRequest::TagsHasBeenSet ( ) const
inline

A list of tags that you want to attach to the newly created OU. For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags for an OU, then the entire request fails and the OU is not created.

Definition at line 207 of file CreateOrganizationalUnitRequest.h.

◆ WithName() [1/3]

CreateOrganizationalUnitRequest& Aws::Organizations::Model::CreateOrganizationalUnitRequest::WithName ( Aws::String &&  value)
inline

The friendly name to assign to the new OU.

Definition at line 177 of file CreateOrganizationalUnitRequest.h.

◆ WithName() [2/3]

CreateOrganizationalUnitRequest& Aws::Organizations::Model::CreateOrganizationalUnitRequest::WithName ( const Aws::String value)
inline

The friendly name to assign to the new OU.

Definition at line 172 of file CreateOrganizationalUnitRequest.h.

◆ WithName() [3/3]

CreateOrganizationalUnitRequest& Aws::Organizations::Model::CreateOrganizationalUnitRequest::WithName ( const char *  value)
inline

The friendly name to assign to the new OU.

Definition at line 182 of file CreateOrganizationalUnitRequest.h.

◆ WithParentId() [1/3]

CreateOrganizationalUnitRequest& Aws::Organizations::Model::CreateOrganizationalUnitRequest::WithParentId ( Aws::String &&  value)
inline

The unique identifier (ID) of the parent root or OU that you want to create the new OU in.

The regex pattern for a parent ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Organizational unit (OU)

    • A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Definition at line 128 of file CreateOrganizationalUnitRequest.h.

◆ WithParentId() [2/3]

CreateOrganizationalUnitRequest& Aws::Organizations::Model::CreateOrganizationalUnitRequest::WithParentId ( const Aws::String value)
inline

The unique identifier (ID) of the parent root or OU that you want to create the new OU in.

The regex pattern for a parent ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Organizational unit (OU)

    • A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Definition at line 115 of file CreateOrganizationalUnitRequest.h.

◆ WithParentId() [3/3]

CreateOrganizationalUnitRequest& Aws::Organizations::Model::CreateOrganizationalUnitRequest::WithParentId ( const char *  value)
inline

The unique identifier (ID) of the parent root or OU that you want to create the new OU in.

The regex pattern for a parent ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Organizational unit (OU)

    • A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Definition at line 141 of file CreateOrganizationalUnitRequest.h.

◆ WithTags() [1/2]

CreateOrganizationalUnitRequest& Aws::Organizations::Model::CreateOrganizationalUnitRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

A list of tags that you want to attach to the newly created OU. For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags for an OU, then the entire request fails and the OU is not created.

Definition at line 255 of file CreateOrganizationalUnitRequest.h.

◆ WithTags() [2/2]

CreateOrganizationalUnitRequest& Aws::Organizations::Model::CreateOrganizationalUnitRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

A list of tags that you want to attach to the newly created OU. For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags for an OU, then the entire request fails and the OU is not created.

Definition at line 243 of file CreateOrganizationalUnitRequest.h.


The documentation for this class was generated from the following file: