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

#include <UpdatePolicyRequest.h>

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

Public Member Functions

 UpdatePolicyRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetPolicyId () const
 
bool PolicyIdHasBeenSet () const
 
void SetPolicyId (const Aws::String &value)
 
void SetPolicyId (Aws::String &&value)
 
void SetPolicyId (const char *value)
 
UpdatePolicyRequestWithPolicyId (const Aws::String &value)
 
UpdatePolicyRequestWithPolicyId (Aws::String &&value)
 
UpdatePolicyRequestWithPolicyId (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)
 
UpdatePolicyRequestWithName (const Aws::String &value)
 
UpdatePolicyRequestWithName (Aws::String &&value)
 
UpdatePolicyRequestWithName (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)
 
UpdatePolicyRequestWithDescription (const Aws::String &value)
 
UpdatePolicyRequestWithDescription (Aws::String &&value)
 
UpdatePolicyRequestWithDescription (const char *value)
 
const Aws::StringGetContent () const
 
bool ContentHasBeenSet () const
 
void SetContent (const Aws::String &value)
 
void SetContent (Aws::String &&value)
 
void SetContent (const char *value)
 
UpdatePolicyRequestWithContent (const Aws::String &value)
 
UpdatePolicyRequestWithContent (Aws::String &&value)
 
UpdatePolicyRequestWithContent (const char *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 21 of file UpdatePolicyRequest.h.

Constructor & Destructor Documentation

◆ UpdatePolicyRequest()

Aws::Organizations::Model::UpdatePolicyRequest::UpdatePolicyRequest ( )

Member Function Documentation

◆ ContentHasBeenSet()

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

If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy's type. For more information, see Service Control Policy Syntax in the AWS Organizations User Guide.

Definition at line 224 of file UpdatePolicyRequest.h.

◆ DescriptionHasBeenSet()

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

If provided, the new description for the policy.

Definition at line 175 of file UpdatePolicyRequest.h.

◆ GetContent()

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

If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy's type. For more information, see Service Control Policy Syntax in the AWS Organizations User Guide.

Definition at line 215 of file UpdatePolicyRequest.h.

◆ GetDescription()

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

If provided, the new description for the policy.

Definition at line 170 of file UpdatePolicyRequest.h.

◆ GetName()

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

If provided, the new name for 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 108 of file UpdatePolicyRequest.h.

◆ GetPolicyId()

const Aws::String& Aws::Organizations::Model::UpdatePolicyRequest::GetPolicyId ( ) const
inline

The unique identifier (ID) of the policy that you want to update.

The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

Definition at line 43 of file UpdatePolicyRequest.h.

◆ GetRequestSpecificHeaders()

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

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 30 of file UpdatePolicyRequest.h.

◆ NameHasBeenSet()

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

If provided, the new name for 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 116 of file UpdatePolicyRequest.h.

◆ PolicyIdHasBeenSet()

bool Aws::Organizations::Model::UpdatePolicyRequest::PolicyIdHasBeenSet ( ) const
inline

The unique identifier (ID) of the policy that you want to update.

The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

Definition at line 51 of file UpdatePolicyRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetContent() [1/3]

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

If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy's type. For more information, see Service Control Policy Syntax in the AWS Organizations User Guide.

Definition at line 242 of file UpdatePolicyRequest.h.

◆ SetContent() [2/3]

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

If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy's type. For more information, see Service Control Policy Syntax in the AWS Organizations User Guide.

Definition at line 233 of file UpdatePolicyRequest.h.

◆ SetContent() [3/3]

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

If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy's type. For more information, see Service Control Policy Syntax in the AWS Organizations User Guide.

Definition at line 251 of file UpdatePolicyRequest.h.

◆ SetDescription() [1/3]

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

If provided, the new description for the policy.

Definition at line 185 of file UpdatePolicyRequest.h.

◆ SetDescription() [2/3]

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

If provided, the new description for the policy.

Definition at line 180 of file UpdatePolicyRequest.h.

◆ SetDescription() [3/3]

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

If provided, the new description for the policy.

Definition at line 190 of file UpdatePolicyRequest.h.

◆ SetName() [1/3]

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

If provided, the new name for 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 132 of file UpdatePolicyRequest.h.

◆ SetName() [2/3]

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

If provided, the new name for 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 124 of file UpdatePolicyRequest.h.

◆ SetName() [3/3]

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

If provided, the new name for 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 140 of file UpdatePolicyRequest.h.

◆ SetPolicyId() [1/3]

void Aws::Organizations::Model::UpdatePolicyRequest::SetPolicyId ( Aws::String &&  value)
inline

The unique identifier (ID) of the policy that you want to update.

The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

Definition at line 67 of file UpdatePolicyRequest.h.

◆ SetPolicyId() [2/3]

void Aws::Organizations::Model::UpdatePolicyRequest::SetPolicyId ( const Aws::String value)
inline

The unique identifier (ID) of the policy that you want to update.

The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

Definition at line 59 of file UpdatePolicyRequest.h.

◆ SetPolicyId() [3/3]

void Aws::Organizations::Model::UpdatePolicyRequest::SetPolicyId ( const char *  value)
inline

The unique identifier (ID) of the policy that you want to update.

The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

Definition at line 75 of file UpdatePolicyRequest.h.

◆ WithContent() [1/3]

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

If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy's type. For more information, see Service Control Policy Syntax in the AWS Organizations User Guide.

Definition at line 269 of file UpdatePolicyRequest.h.

◆ WithContent() [2/3]

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

If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy's type. For more information, see Service Control Policy Syntax in the AWS Organizations User Guide.

Definition at line 260 of file UpdatePolicyRequest.h.

◆ WithContent() [3/3]

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

If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy's type. For more information, see Service Control Policy Syntax in the AWS Organizations User Guide.

Definition at line 278 of file UpdatePolicyRequest.h.

◆ WithDescription() [1/3]

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

If provided, the new description for the policy.

Definition at line 200 of file UpdatePolicyRequest.h.

◆ WithDescription() [2/3]

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

If provided, the new description for the policy.

Definition at line 195 of file UpdatePolicyRequest.h.

◆ WithDescription() [3/3]

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

If provided, the new description for the policy.

Definition at line 205 of file UpdatePolicyRequest.h.

◆ WithName() [1/3]

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

If provided, the new name for 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 156 of file UpdatePolicyRequest.h.

◆ WithName() [2/3]

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

If provided, the new name for 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 148 of file UpdatePolicyRequest.h.

◆ WithName() [3/3]

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

If provided, the new name for 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 164 of file UpdatePolicyRequest.h.

◆ WithPolicyId() [1/3]

UpdatePolicyRequest& Aws::Organizations::Model::UpdatePolicyRequest::WithPolicyId ( Aws::String &&  value)
inline

The unique identifier (ID) of the policy that you want to update.

The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

Definition at line 91 of file UpdatePolicyRequest.h.

◆ WithPolicyId() [2/3]

UpdatePolicyRequest& Aws::Organizations::Model::UpdatePolicyRequest::WithPolicyId ( const Aws::String value)
inline

The unique identifier (ID) of the policy that you want to update.

The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

Definition at line 83 of file UpdatePolicyRequest.h.

◆ WithPolicyId() [3/3]

UpdatePolicyRequest& Aws::Organizations::Model::UpdatePolicyRequest::WithPolicyId ( const char *  value)
inline

The unique identifier (ID) of the policy that you want to update.

The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

Definition at line 99 of file UpdatePolicyRequest.h.


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