7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/ExistCondition.h>
11#include <aws/glue/model/EnableHybridValues.h>
47 inline void SetPolicyInJson(
const char* value) { m_policyInJsonHasBeenSet =
true; m_policyInJson.assign(value); }
61 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
78 inline void SetPolicyHashCondition(
const char* value) { m_policyHashConditionHasBeenSet =
true; m_policyHashCondition.assign(value); }
119 bool m_policyInJsonHasBeenSet =
false;
122 bool m_resourceArnHasBeenSet =
false;
125 bool m_policyHashConditionHasBeenSet =
false;
128 bool m_policyExistsConditionHasBeenSet =
false;
131 bool m_enableHybridHasBeenSet =
false;
void SetEnableHybrid(EnableHybridValues &&value)
PutResourcePolicyRequest & WithResourceArn(Aws::String &&value)
void SetResourceArn(const Aws::String &value)
PutResourcePolicyRequest & WithPolicyInJson(const char *value)
void SetPolicyExistsCondition(ExistCondition &&value)
void SetPolicyInJson(const char *value)
bool PolicyHashConditionHasBeenSet() const
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutResourcePolicyRequest & WithResourceArn(const Aws::String &value)
PutResourcePolicyRequest & WithPolicyHashCondition(const char *value)
void SetPolicyHashCondition(const Aws::String &value)
void SetPolicyInJson(Aws::String &&value)
void SetResourceArn(Aws::String &&value)
PutResourcePolicyRequest & WithPolicyHashCondition(const Aws::String &value)
PutResourcePolicyRequest & WithPolicyInJson(const Aws::String &value)
PutResourcePolicyRequest & WithPolicyInJson(Aws::String &&value)
PutResourcePolicyRequest & WithPolicyExistsCondition(ExistCondition &&value)
const EnableHybridValues & GetEnableHybrid() const
AWS_GLUE_API PutResourcePolicyRequest()
void SetPolicyExistsCondition(const ExistCondition &value)
bool ResourceArnHasBeenSet() const
const ExistCondition & GetPolicyExistsCondition() const
PutResourcePolicyRequest & WithResourceArn(const char *value)
void SetEnableHybrid(const EnableHybridValues &value)
AWS_GLUE_API Aws::String SerializePayload() const override
void SetPolicyInJson(const Aws::String &value)
void SetPolicyHashCondition(Aws::String &&value)
const Aws::String & GetResourceArn() const
void SetPolicyHashCondition(const char *value)
bool PolicyInJsonHasBeenSet() const
bool EnableHybridHasBeenSet() const
PutResourcePolicyRequest & WithPolicyHashCondition(Aws::String &&value)
void SetResourceArn(const char *value)
PutResourcePolicyRequest & WithEnableHybrid(EnableHybridValues &&value)
const Aws::String & GetPolicyHashCondition() const
const Aws::String & GetPolicyInJson() const
PutResourcePolicyRequest & WithEnableHybrid(const EnableHybridValues &value)
PutResourcePolicyRequest & WithPolicyExistsCondition(const ExistCondition &value)
bool PolicyExistsConditionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String