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

#include <CreatePolicyRequest.h>

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

Public Member Functions

 CreatePolicyRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetContent () const
 
bool ContentHasBeenSet () const
 
void SetContent (const Aws::String &value)
 
void SetContent (Aws::String &&value)
 
void SetContent (const char *value)
 
CreatePolicyRequestWithContent (const Aws::String &value)
 
CreatePolicyRequestWithContent (Aws::String &&value)
 
CreatePolicyRequestWithContent (const char *value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
CreatePolicyRequestWithDescription (const Aws::String &value)
 
CreatePolicyRequestWithDescription (Aws::String &&value)
 
CreatePolicyRequestWithDescription (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)
 
CreatePolicyRequestWithName (const Aws::String &value)
 
CreatePolicyRequestWithName (Aws::String &&value)
 
CreatePolicyRequestWithName (const char *value)
 
const PolicyTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const PolicyType &value)
 
void SetType (PolicyType &&value)
 
CreatePolicyRequestWithType (const PolicyType &value)
 
CreatePolicyRequestWithType (PolicyType &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreatePolicyRequestWithTags (const Aws::Vector< Tag > &value)
 
CreatePolicyRequestWithTags (Aws::Vector< Tag > &&value)
 
CreatePolicyRequestAddTags (const Tag &value)
 
CreatePolicyRequestAddTags (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 24 of file CreatePolicyRequest.h.

Constructor & Destructor Documentation

◆ CreatePolicyRequest()

Aws::Organizations::Model::CreatePolicyRequest::CreatePolicyRequest ( )

Member Function Documentation

◆ AddTags() [1/2]

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

A list of tags that you want to attach to the newly created policy. 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 a policy, then the entire request fails and the policy is not created.

Definition at line 377 of file CreatePolicyRequest.h.

◆ AddTags() [2/2]

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

A list of tags that you want to attach to the newly created policy. 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 a policy, then the entire request fails and the policy is not created.

Definition at line 390 of file CreatePolicyRequest.h.

◆ ContentHasBeenSet()

bool Aws::Organizations::Model::CreatePolicyRequest::ContentHasBeenSet ( ) const
inline

The policy text content to add to the new policy. The text that you supply must adhere to the rules of the policy type you specify in the Type parameter.

Definition at line 52 of file CreatePolicyRequest.h.

◆ DescriptionHasBeenSet()

bool Aws::Organizations::Model::CreatePolicyRequest::DescriptionHasBeenSet ( ) const
inline

An optional description to assign to the policy.

Definition at line 105 of file CreatePolicyRequest.h.

◆ GetContent()

const Aws::String& Aws::Organizations::Model::CreatePolicyRequest::GetContent ( ) const
inline

The policy text content to add to the new policy. The text that you supply must adhere to the rules of the policy type you specify in the Type parameter.

Definition at line 45 of file CreatePolicyRequest.h.

◆ GetDescription()

const Aws::String& Aws::Organizations::Model::CreatePolicyRequest::GetDescription ( ) const
inline

An optional description to assign to the policy.

Definition at line 100 of file CreatePolicyRequest.h.

◆ GetName()

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

The friendly name to assign to the policy.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Definition at line 144 of file CreatePolicyRequest.h.

◆ GetRequestSpecificHeaders()

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

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 33 of file CreatePolicyRequest.h.

◆ GetTags()

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

A list of tags that you want to attach to the newly created policy. 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 a policy, then the entire request fails and the policy is not created.

Definition at line 299 of file CreatePolicyRequest.h.

◆ GetType()

const PolicyType& Aws::Organizations::Model::CreatePolicyRequest::GetType ( ) const
inline

The type of policy to create. You can specify one of the following values:

Definition at line 215 of file CreatePolicyRequest.h.

◆ NameHasBeenSet()

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

The friendly name to assign to the policy.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Definition at line 152 of file CreatePolicyRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetContent() [1/3]

void Aws::Organizations::Model::CreatePolicyRequest::SetContent ( Aws::String &&  value)
inline

The policy text content to add to the new policy. The text that you supply must adhere to the rules of the policy type you specify in the Type parameter.

Definition at line 66 of file CreatePolicyRequest.h.

◆ SetContent() [2/3]

void Aws::Organizations::Model::CreatePolicyRequest::SetContent ( const Aws::String value)
inline

The policy text content to add to the new policy. The text that you supply must adhere to the rules of the policy type you specify in the Type parameter.

Definition at line 59 of file CreatePolicyRequest.h.

◆ SetContent() [3/3]

void Aws::Organizations::Model::CreatePolicyRequest::SetContent ( const char *  value)
inline

The policy text content to add to the new policy. The text that you supply must adhere to the rules of the policy type you specify in the Type parameter.

Definition at line 73 of file CreatePolicyRequest.h.

◆ SetDescription() [1/3]

void Aws::Organizations::Model::CreatePolicyRequest::SetDescription ( Aws::String &&  value)
inline

An optional description to assign to the policy.

Definition at line 115 of file CreatePolicyRequest.h.

◆ SetDescription() [2/3]

void Aws::Organizations::Model::CreatePolicyRequest::SetDescription ( const Aws::String value)
inline

An optional description to assign to the policy.

Definition at line 110 of file CreatePolicyRequest.h.

◆ SetDescription() [3/3]

void Aws::Organizations::Model::CreatePolicyRequest::SetDescription ( const char *  value)
inline

An optional description to assign to the policy.

Definition at line 120 of file CreatePolicyRequest.h.

◆ SetName() [1/3]

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

The friendly name to assign to the policy.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Definition at line 168 of file CreatePolicyRequest.h.

◆ SetName() [2/3]

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

The friendly name to assign to the policy.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Definition at line 160 of file CreatePolicyRequest.h.

◆ SetName() [3/3]

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

The friendly name to assign to the policy.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Definition at line 176 of file CreatePolicyRequest.h.

◆ SetTags() [1/2]

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

A list of tags that you want to attach to the newly created policy. 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 a policy, then the entire request fails and the policy is not created.

Definition at line 338 of file CreatePolicyRequest.h.

◆ SetTags() [2/2]

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

A list of tags that you want to attach to the newly created policy. 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 a policy, then the entire request fails and the policy is not created.

Definition at line 325 of file CreatePolicyRequest.h.

◆ SetType() [1/2]

void Aws::Organizations::Model::CreatePolicyRequest::SetType ( const PolicyType value)
inline

The type of policy to create. You can specify one of the following values:

Definition at line 243 of file CreatePolicyRequest.h.

◆ SetType() [2/2]

void Aws::Organizations::Model::CreatePolicyRequest::SetType ( PolicyType &&  value)
inline

The type of policy to create. You can specify one of the following values:

Definition at line 257 of file CreatePolicyRequest.h.

◆ TagsHasBeenSet()

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

A list of tags that you want to attach to the newly created policy. 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 a policy, then the entire request fails and the policy is not created.

Definition at line 312 of file CreatePolicyRequest.h.

◆ TypeHasBeenSet()

bool Aws::Organizations::Model::CreatePolicyRequest::TypeHasBeenSet ( ) const
inline

The type of policy to create. You can specify one of the following values:

Definition at line 229 of file CreatePolicyRequest.h.

◆ WithContent() [1/3]

CreatePolicyRequest& Aws::Organizations::Model::CreatePolicyRequest::WithContent ( Aws::String &&  value)
inline

The policy text content to add to the new policy. The text that you supply must adhere to the rules of the policy type you specify in the Type parameter.

Definition at line 87 of file CreatePolicyRequest.h.

◆ WithContent() [2/3]

CreatePolicyRequest& Aws::Organizations::Model::CreatePolicyRequest::WithContent ( const Aws::String value)
inline

The policy text content to add to the new policy. The text that you supply must adhere to the rules of the policy type you specify in the Type parameter.

Definition at line 80 of file CreatePolicyRequest.h.

◆ WithContent() [3/3]

CreatePolicyRequest& Aws::Organizations::Model::CreatePolicyRequest::WithContent ( const char *  value)
inline

The policy text content to add to the new policy. The text that you supply must adhere to the rules of the policy type you specify in the Type parameter.

Definition at line 94 of file CreatePolicyRequest.h.

◆ WithDescription() [1/3]

CreatePolicyRequest& Aws::Organizations::Model::CreatePolicyRequest::WithDescription ( Aws::String &&  value)
inline

An optional description to assign to the policy.

Definition at line 130 of file CreatePolicyRequest.h.

◆ WithDescription() [2/3]

CreatePolicyRequest& Aws::Organizations::Model::CreatePolicyRequest::WithDescription ( const Aws::String value)
inline

An optional description to assign to the policy.

Definition at line 125 of file CreatePolicyRequest.h.

◆ WithDescription() [3/3]

CreatePolicyRequest& Aws::Organizations::Model::CreatePolicyRequest::WithDescription ( const char *  value)
inline

An optional description to assign to the policy.

Definition at line 135 of file CreatePolicyRequest.h.

◆ WithName() [1/3]

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

The friendly name to assign to the policy.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Definition at line 192 of file CreatePolicyRequest.h.

◆ WithName() [2/3]

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

The friendly name to assign to the policy.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Definition at line 184 of file CreatePolicyRequest.h.

◆ WithName() [3/3]

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

The friendly name to assign to the policy.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Definition at line 200 of file CreatePolicyRequest.h.

◆ WithTags() [1/2]

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

A list of tags that you want to attach to the newly created policy. 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 a policy, then the entire request fails and the policy is not created.

Definition at line 364 of file CreatePolicyRequest.h.

◆ WithTags() [2/2]

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

A list of tags that you want to attach to the newly created policy. 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 a policy, then the entire request fails and the policy is not created.

Definition at line 351 of file CreatePolicyRequest.h.

◆ WithType() [1/2]

CreatePolicyRequest& Aws::Organizations::Model::CreatePolicyRequest::WithType ( const PolicyType value)
inline

The type of policy to create. You can specify one of the following values:

Definition at line 271 of file CreatePolicyRequest.h.

◆ WithType() [2/2]

CreatePolicyRequest& Aws::Organizations::Model::CreatePolicyRequest::WithType ( PolicyType &&  value)
inline

The type of policy to create. You can specify one of the following values:

Definition at line 285 of file CreatePolicyRequest.h.


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