AWS SDK for C++  1.9.17
AWS SDK for C++
Public Member Functions | List of all members
Aws::Glue::Model::PutResourcePolicyRequest Class Reference

#include <PutResourcePolicyRequest.h>

+ Inheritance diagram for Aws::Glue::Model::PutResourcePolicyRequest:

Public Member Functions

 PutResourcePolicyRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetPolicyInJson () const
 
bool PolicyInJsonHasBeenSet () const
 
void SetPolicyInJson (const Aws::String &value)
 
void SetPolicyInJson (Aws::String &&value)
 
void SetPolicyInJson (const char *value)
 
PutResourcePolicyRequestWithPolicyInJson (const Aws::String &value)
 
PutResourcePolicyRequestWithPolicyInJson (Aws::String &&value)
 
PutResourcePolicyRequestWithPolicyInJson (const char *value)
 
const Aws::StringGetResourceArn () const
 
bool ResourceArnHasBeenSet () const
 
void SetResourceArn (const Aws::String &value)
 
void SetResourceArn (Aws::String &&value)
 
void SetResourceArn (const char *value)
 
PutResourcePolicyRequestWithResourceArn (const Aws::String &value)
 
PutResourcePolicyRequestWithResourceArn (Aws::String &&value)
 
PutResourcePolicyRequestWithResourceArn (const char *value)
 
const Aws::StringGetPolicyHashCondition () const
 
bool PolicyHashConditionHasBeenSet () const
 
void SetPolicyHashCondition (const Aws::String &value)
 
void SetPolicyHashCondition (Aws::String &&value)
 
void SetPolicyHashCondition (const char *value)
 
PutResourcePolicyRequestWithPolicyHashCondition (const Aws::String &value)
 
PutResourcePolicyRequestWithPolicyHashCondition (Aws::String &&value)
 
PutResourcePolicyRequestWithPolicyHashCondition (const char *value)
 
const ExistConditionGetPolicyExistsCondition () const
 
bool PolicyExistsConditionHasBeenSet () const
 
void SetPolicyExistsCondition (const ExistCondition &value)
 
void SetPolicyExistsCondition (ExistCondition &&value)
 
PutResourcePolicyRequestWithPolicyExistsCondition (const ExistCondition &value)
 
PutResourcePolicyRequestWithPolicyExistsCondition (ExistCondition &&value)
 
const EnableHybridValuesGetEnableHybrid () const
 
bool EnableHybridHasBeenSet () const
 
void SetEnableHybrid (const EnableHybridValues &value)
 
void SetEnableHybrid (EnableHybridValues &&value)
 
PutResourcePolicyRequestWithEnableHybrid (const EnableHybridValues &value)
 
PutResourcePolicyRequestWithEnableHybrid (EnableHybridValues &&value)
 
- Public Member Functions inherited from Aws::Glue::GlueRequest
virtual ~GlueRequest ()
 
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 PutResourcePolicyRequest.h.

Constructor & Destructor Documentation

◆ PutResourcePolicyRequest()

Aws::Glue::Model::PutResourcePolicyRequest::PutResourcePolicyRequest ( )

Member Function Documentation

◆ EnableHybridHasBeenSet()

bool Aws::Glue::Model::PutResourcePolicyRequest::EnableHybridHasBeenSet ( ) const
inline

If 'TRUE', indicates that you are using both methods to grant cross-account access to Data Catalog resources:

  • By directly updating the resource policy with PutResourePolicy

  • By using the Grant permissions command on the AWS Management Console.

Must be set to 'TRUE' if you have already used the Management Console to grant cross-account access, otherwise the call fails. Default is 'FALSE'.

Definition at line 255 of file PutResourcePolicyRequest.h.

◆ GetEnableHybrid()

const EnableHybridValues& Aws::Glue::Model::PutResourcePolicyRequest::GetEnableHybrid ( ) const
inline

If 'TRUE', indicates that you are using both methods to grant cross-account access to Data Catalog resources:

  • By directly updating the resource policy with PutResourePolicy

  • By using the Grant permissions command on the AWS Management Console.

Must be set to 'TRUE' if you have already used the Management Console to grant cross-account access, otherwise the call fails. Default is 'FALSE'.

Definition at line 244 of file PutResourcePolicyRequest.h.

◆ GetPolicyExistsCondition()

const ExistCondition& Aws::Glue::Model::PutResourcePolicyRequest::GetPolicyExistsCondition ( ) const
inline

A value of MUST_EXIST is used to update a policy. A value of NOT_EXIST is used to create a new policy. If a value of NONE or a null value is used, the call does not depend on the existence of a policy.

Definition at line 192 of file PutResourcePolicyRequest.h.

◆ GetPolicyHashCondition()

const Aws::String& Aws::Glue::Model::PutResourcePolicyRequest::GetPolicyHashCondition ( ) const
inline

The hash value returned when the previous policy was set using PutResourcePolicy. Its purpose is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy has been set.

Definition at line 127 of file PutResourcePolicyRequest.h.

◆ GetPolicyInJson()

const Aws::String& Aws::Glue::Model::PutResourcePolicyRequest::GetPolicyInJson ( ) const
inline

Contains the policy document to set, in JSON format.

Definition at line 42 of file PutResourcePolicyRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::Glue::Model::PutResourcePolicyRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::Glue::GlueRequest.

◆ GetResourceArn()

const Aws::String& Aws::Glue::Model::PutResourcePolicyRequest::GetResourceArn ( ) const
inline

Do not use. For internal use only.

Definition at line 83 of file PutResourcePolicyRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::Glue::Model::PutResourcePolicyRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file PutResourcePolicyRequest.h.

◆ PolicyExistsConditionHasBeenSet()

bool Aws::Glue::Model::PutResourcePolicyRequest::PolicyExistsConditionHasBeenSet ( ) const
inline

A value of MUST_EXIST is used to update a policy. A value of NOT_EXIST is used to create a new policy. If a value of NONE or a null value is used, the call does not depend on the existence of a policy.

Definition at line 200 of file PutResourcePolicyRequest.h.

◆ PolicyHashConditionHasBeenSet()

bool Aws::Glue::Model::PutResourcePolicyRequest::PolicyHashConditionHasBeenSet ( ) const
inline

The hash value returned when the previous policy was set using PutResourcePolicy. Its purpose is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy has been set.

Definition at line 135 of file PutResourcePolicyRequest.h.

◆ PolicyInJsonHasBeenSet()

bool Aws::Glue::Model::PutResourcePolicyRequest::PolicyInJsonHasBeenSet ( ) const
inline

Contains the policy document to set, in JSON format.

Definition at line 47 of file PutResourcePolicyRequest.h.

◆ ResourceArnHasBeenSet()

bool Aws::Glue::Model::PutResourcePolicyRequest::ResourceArnHasBeenSet ( ) const
inline

Do not use. For internal use only.

Definition at line 88 of file PutResourcePolicyRequest.h.

◆ SerializePayload()

Aws::String Aws::Glue::Model::PutResourcePolicyRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetEnableHybrid() [1/2]

void Aws::Glue::Model::PutResourcePolicyRequest::SetEnableHybrid ( const EnableHybridValues value)
inline

If 'TRUE', indicates that you are using both methods to grant cross-account access to Data Catalog resources:

  • By directly updating the resource policy with PutResourePolicy

  • By using the Grant permissions command on the AWS Management Console.

Must be set to 'TRUE' if you have already used the Management Console to grant cross-account access, otherwise the call fails. Default is 'FALSE'.

Definition at line 266 of file PutResourcePolicyRequest.h.

◆ SetEnableHybrid() [2/2]

void Aws::Glue::Model::PutResourcePolicyRequest::SetEnableHybrid ( EnableHybridValues &&  value)
inline

If 'TRUE', indicates that you are using both methods to grant cross-account access to Data Catalog resources:

  • By directly updating the resource policy with PutResourePolicy

  • By using the Grant permissions command on the AWS Management Console.

Must be set to 'TRUE' if you have already used the Management Console to grant cross-account access, otherwise the call fails. Default is 'FALSE'.

Definition at line 277 of file PutResourcePolicyRequest.h.

◆ SetPolicyExistsCondition() [1/2]

void Aws::Glue::Model::PutResourcePolicyRequest::SetPolicyExistsCondition ( const ExistCondition value)
inline

A value of MUST_EXIST is used to update a policy. A value of NOT_EXIST is used to create a new policy. If a value of NONE or a null value is used, the call does not depend on the existence of a policy.

Definition at line 208 of file PutResourcePolicyRequest.h.

◆ SetPolicyExistsCondition() [2/2]

void Aws::Glue::Model::PutResourcePolicyRequest::SetPolicyExistsCondition ( ExistCondition &&  value)
inline

A value of MUST_EXIST is used to update a policy. A value of NOT_EXIST is used to create a new policy. If a value of NONE or a null value is used, the call does not depend on the existence of a policy.

Definition at line 216 of file PutResourcePolicyRequest.h.

◆ SetPolicyHashCondition() [1/3]

void Aws::Glue::Model::PutResourcePolicyRequest::SetPolicyHashCondition ( Aws::String &&  value)
inline

The hash value returned when the previous policy was set using PutResourcePolicy. Its purpose is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy has been set.

Definition at line 151 of file PutResourcePolicyRequest.h.

◆ SetPolicyHashCondition() [2/3]

void Aws::Glue::Model::PutResourcePolicyRequest::SetPolicyHashCondition ( const Aws::String value)
inline

The hash value returned when the previous policy was set using PutResourcePolicy. Its purpose is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy has been set.

Definition at line 143 of file PutResourcePolicyRequest.h.

◆ SetPolicyHashCondition() [3/3]

void Aws::Glue::Model::PutResourcePolicyRequest::SetPolicyHashCondition ( const char *  value)
inline

The hash value returned when the previous policy was set using PutResourcePolicy. Its purpose is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy has been set.

Definition at line 159 of file PutResourcePolicyRequest.h.

◆ SetPolicyInJson() [1/3]

void Aws::Glue::Model::PutResourcePolicyRequest::SetPolicyInJson ( Aws::String &&  value)
inline

Contains the policy document to set, in JSON format.

Definition at line 57 of file PutResourcePolicyRequest.h.

◆ SetPolicyInJson() [2/3]

void Aws::Glue::Model::PutResourcePolicyRequest::SetPolicyInJson ( const Aws::String value)
inline

Contains the policy document to set, in JSON format.

Definition at line 52 of file PutResourcePolicyRequest.h.

◆ SetPolicyInJson() [3/3]

void Aws::Glue::Model::PutResourcePolicyRequest::SetPolicyInJson ( const char *  value)
inline

Contains the policy document to set, in JSON format.

Definition at line 62 of file PutResourcePolicyRequest.h.

◆ SetResourceArn() [1/3]

void Aws::Glue::Model::PutResourcePolicyRequest::SetResourceArn ( Aws::String &&  value)
inline

Do not use. For internal use only.

Definition at line 98 of file PutResourcePolicyRequest.h.

◆ SetResourceArn() [2/3]

void Aws::Glue::Model::PutResourcePolicyRequest::SetResourceArn ( const Aws::String value)
inline

Do not use. For internal use only.

Definition at line 93 of file PutResourcePolicyRequest.h.

◆ SetResourceArn() [3/3]

void Aws::Glue::Model::PutResourcePolicyRequest::SetResourceArn ( const char *  value)
inline

Do not use. For internal use only.

Definition at line 103 of file PutResourcePolicyRequest.h.

◆ WithEnableHybrid() [1/2]

PutResourcePolicyRequest& Aws::Glue::Model::PutResourcePolicyRequest::WithEnableHybrid ( const EnableHybridValues value)
inline

If 'TRUE', indicates that you are using both methods to grant cross-account access to Data Catalog resources:

  • By directly updating the resource policy with PutResourePolicy

  • By using the Grant permissions command on the AWS Management Console.

Must be set to 'TRUE' if you have already used the Management Console to grant cross-account access, otherwise the call fails. Default is 'FALSE'.

Definition at line 288 of file PutResourcePolicyRequest.h.

◆ WithEnableHybrid() [2/2]

PutResourcePolicyRequest& Aws::Glue::Model::PutResourcePolicyRequest::WithEnableHybrid ( EnableHybridValues &&  value)
inline

If 'TRUE', indicates that you are using both methods to grant cross-account access to Data Catalog resources:

  • By directly updating the resource policy with PutResourePolicy

  • By using the Grant permissions command on the AWS Management Console.

Must be set to 'TRUE' if you have already used the Management Console to grant cross-account access, otherwise the call fails. Default is 'FALSE'.

Definition at line 299 of file PutResourcePolicyRequest.h.

◆ WithPolicyExistsCondition() [1/2]

PutResourcePolicyRequest& Aws::Glue::Model::PutResourcePolicyRequest::WithPolicyExistsCondition ( const ExistCondition value)
inline

A value of MUST_EXIST is used to update a policy. A value of NOT_EXIST is used to create a new policy. If a value of NONE or a null value is used, the call does not depend on the existence of a policy.

Definition at line 224 of file PutResourcePolicyRequest.h.

◆ WithPolicyExistsCondition() [2/2]

PutResourcePolicyRequest& Aws::Glue::Model::PutResourcePolicyRequest::WithPolicyExistsCondition ( ExistCondition &&  value)
inline

A value of MUST_EXIST is used to update a policy. A value of NOT_EXIST is used to create a new policy. If a value of NONE or a null value is used, the call does not depend on the existence of a policy.

Definition at line 232 of file PutResourcePolicyRequest.h.

◆ WithPolicyHashCondition() [1/3]

PutResourcePolicyRequest& Aws::Glue::Model::PutResourcePolicyRequest::WithPolicyHashCondition ( Aws::String &&  value)
inline

The hash value returned when the previous policy was set using PutResourcePolicy. Its purpose is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy has been set.

Definition at line 175 of file PutResourcePolicyRequest.h.

◆ WithPolicyHashCondition() [2/3]

PutResourcePolicyRequest& Aws::Glue::Model::PutResourcePolicyRequest::WithPolicyHashCondition ( const Aws::String value)
inline

The hash value returned when the previous policy was set using PutResourcePolicy. Its purpose is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy has been set.

Definition at line 167 of file PutResourcePolicyRequest.h.

◆ WithPolicyHashCondition() [3/3]

PutResourcePolicyRequest& Aws::Glue::Model::PutResourcePolicyRequest::WithPolicyHashCondition ( const char *  value)
inline

The hash value returned when the previous policy was set using PutResourcePolicy. Its purpose is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy has been set.

Definition at line 183 of file PutResourcePolicyRequest.h.

◆ WithPolicyInJson() [1/3]

PutResourcePolicyRequest& Aws::Glue::Model::PutResourcePolicyRequest::WithPolicyInJson ( Aws::String &&  value)
inline

Contains the policy document to set, in JSON format.

Definition at line 72 of file PutResourcePolicyRequest.h.

◆ WithPolicyInJson() [2/3]

PutResourcePolicyRequest& Aws::Glue::Model::PutResourcePolicyRequest::WithPolicyInJson ( const Aws::String value)
inline

Contains the policy document to set, in JSON format.

Definition at line 67 of file PutResourcePolicyRequest.h.

◆ WithPolicyInJson() [3/3]

PutResourcePolicyRequest& Aws::Glue::Model::PutResourcePolicyRequest::WithPolicyInJson ( const char *  value)
inline

Contains the policy document to set, in JSON format.

Definition at line 77 of file PutResourcePolicyRequest.h.

◆ WithResourceArn() [1/3]

PutResourcePolicyRequest& Aws::Glue::Model::PutResourcePolicyRequest::WithResourceArn ( Aws::String &&  value)
inline

Do not use. For internal use only.

Definition at line 113 of file PutResourcePolicyRequest.h.

◆ WithResourceArn() [2/3]

PutResourcePolicyRequest& Aws::Glue::Model::PutResourcePolicyRequest::WithResourceArn ( const Aws::String value)
inline

Do not use. For internal use only.

Definition at line 108 of file PutResourcePolicyRequest.h.

◆ WithResourceArn() [3/3]

PutResourcePolicyRequest& Aws::Glue::Model::PutResourcePolicyRequest::WithResourceArn ( const char *  value)
inline

Do not use. For internal use only.

Definition at line 118 of file PutResourcePolicyRequest.h.


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