AWS SDK for C++  1.8.95
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

Allows you to specify if you want to use both resource-level and account/catalog-level resource policies. A resource-level policy is a policy attached to an individual resource such as a database or a table.

The default value of NO indicates that resource-level policies cannot co-exist with an account-level policy. A value of YES means the use of both resource-level and account/catalog-level resource policies is allowed.

Definition at line 279 of file PutResourcePolicyRequest.h.

◆ GetEnableHybrid()

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

Allows you to specify if you want to use both resource-level and account/catalog-level resource policies. A resource-level policy is a policy attached to an individual resource such as a database or a table.

The default value of NO indicates that resource-level policies cannot co-exist with an account-level policy. A value of YES means the use of both resource-level and account/catalog-level resource policies is allowed.

Definition at line 268 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 will not depend on the existence of a policy.

Definition at line 216 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 151 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

The ARN of the AWS Glue resource for the resource policy to be set. For more information about AWS Glue resource ARNs, see the AWS Glue ARN string pattern

Definition at line 86 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 will not depend on the existence of a policy.

Definition at line 224 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 159 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

The ARN of the AWS Glue resource for the resource policy to be set. For more information about AWS Glue resource ARNs, see the AWS Glue ARN string pattern

Definition at line 94 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

Allows you to specify if you want to use both resource-level and account/catalog-level resource policies. A resource-level policy is a policy attached to an individual resource such as a database or a table.

The default value of NO indicates that resource-level policies cannot co-exist with an account-level policy. A value of YES means the use of both resource-level and account/catalog-level resource policies is allowed.

Definition at line 290 of file PutResourcePolicyRequest.h.

◆ SetEnableHybrid() [2/2]

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

Allows you to specify if you want to use both resource-level and account/catalog-level resource policies. A resource-level policy is a policy attached to an individual resource such as a database or a table.

The default value of NO indicates that resource-level policies cannot co-exist with an account-level policy. A value of YES means the use of both resource-level and account/catalog-level resource policies is allowed.

Definition at line 301 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 will not depend on the existence of a policy.

Definition at line 232 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 will not depend on the existence of a policy.

Definition at line 240 of file PutResourcePolicyRequest.h.

◆ SetPolicyHashCondition() [1/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 167 of file PutResourcePolicyRequest.h.

◆ SetPolicyHashCondition() [2/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 175 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 183 of file PutResourcePolicyRequest.h.

◆ SetPolicyInJson() [1/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() [2/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() [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 ( const Aws::String value)
inline

The ARN of the AWS Glue resource for the resource policy to be set. For more information about AWS Glue resource ARNs, see the AWS Glue ARN string pattern

Definition at line 102 of file PutResourcePolicyRequest.h.

◆ SetResourceArn() [2/3]

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

The ARN of the AWS Glue resource for the resource policy to be set. For more information about AWS Glue resource ARNs, see the AWS Glue ARN string pattern

Definition at line 110 of file PutResourcePolicyRequest.h.

◆ SetResourceArn() [3/3]

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

The ARN of the AWS Glue resource for the resource policy to be set. For more information about AWS Glue resource ARNs, see the AWS Glue ARN string pattern

Definition at line 118 of file PutResourcePolicyRequest.h.

◆ WithEnableHybrid() [1/2]

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

Allows you to specify if you want to use both resource-level and account/catalog-level resource policies. A resource-level policy is a policy attached to an individual resource such as a database or a table.

The default value of NO indicates that resource-level policies cannot co-exist with an account-level policy. A value of YES means the use of both resource-level and account/catalog-level resource policies is allowed.

Definition at line 312 of file PutResourcePolicyRequest.h.

◆ WithEnableHybrid() [2/2]

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

Allows you to specify if you want to use both resource-level and account/catalog-level resource policies. A resource-level policy is a policy attached to an individual resource such as a database or a table.

The default value of NO indicates that resource-level policies cannot co-exist with an account-level policy. A value of YES means the use of both resource-level and account/catalog-level resource policies is allowed.

Definition at line 323 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 will not depend on the existence of a policy.

Definition at line 248 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 will not depend on the existence of a policy.

Definition at line 256 of file PutResourcePolicyRequest.h.

◆ WithPolicyHashCondition() [1/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 191 of file PutResourcePolicyRequest.h.

◆ WithPolicyHashCondition() [2/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 199 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 207 of file PutResourcePolicyRequest.h.

◆ WithPolicyInJson() [1/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() [2/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() [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 ( const Aws::String value)
inline

The ARN of the AWS Glue resource for the resource policy to be set. For more information about AWS Glue resource ARNs, see the AWS Glue ARN string pattern

Definition at line 126 of file PutResourcePolicyRequest.h.

◆ WithResourceArn() [2/3]

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

The ARN of the AWS Glue resource for the resource policy to be set. For more information about AWS Glue resource ARNs, see the AWS Glue ARN string pattern

Definition at line 134 of file PutResourcePolicyRequest.h.

◆ WithResourceArn() [3/3]

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

The ARN of the AWS Glue resource for the resource policy to be set. For more information about AWS Glue resource ARNs, see the AWS Glue ARN string pattern

Definition at line 142 of file PutResourcePolicyRequest.h.


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