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>
45 template<
typename PolicyInJsonT = Aws::String>
46 void SetPolicyInJson(PolicyInJsonT&& value) { m_policyInJsonHasBeenSet =
true; m_policyInJson = std::forward<PolicyInJsonT>(value); }
47 template<
typename PolicyInJsonT = Aws::String>
57 template<
typename ResourceArnT = Aws::String>
58 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
59 template<
typename ResourceArnT = Aws::String>
72 template<
typename PolicyHashConditionT = Aws::String>
73 void SetPolicyHashCondition(PolicyHashConditionT&& value) { m_policyHashConditionHasBeenSet =
true; m_policyHashCondition = std::forward<PolicyHashConditionT>(value); }
74 template<
typename PolicyHashConditionT = Aws::String>
109 bool m_policyInJsonHasBeenSet =
false;
112 bool m_resourceArnHasBeenSet =
false;
115 bool m_policyHashConditionHasBeenSet =
false;
118 bool m_policyExistsConditionHasBeenSet =
false;
121 bool m_enableHybridHasBeenSet =
false;
void SetPolicyInJson(PolicyInJsonT &&value)
bool PolicyHashConditionHasBeenSet() const
void SetPolicyHashCondition(PolicyHashConditionT &&value)
void SetResourceArn(ResourceArnT &&value)
EnableHybridValues GetEnableHybrid() const
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ExistCondition GetPolicyExistsCondition() const
PutResourcePolicyRequest & WithPolicyHashCondition(PolicyHashConditionT &&value)
bool ResourceArnHasBeenSet() const
PutResourcePolicyRequest & WithResourceArn(ResourceArnT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
void SetEnableHybrid(EnableHybridValues value)
const Aws::String & GetResourceArn() const
bool PolicyInJsonHasBeenSet() const
AWS_GLUE_API PutResourcePolicyRequest()=default
PutResourcePolicyRequest & WithPolicyInJson(PolicyInJsonT &&value)
void SetPolicyExistsCondition(ExistCondition value)
bool EnableHybridHasBeenSet() const
PutResourcePolicyRequest & WithPolicyExistsCondition(ExistCondition value)
const Aws::String & GetPolicyHashCondition() const
PutResourcePolicyRequest & WithEnableHybrid(EnableHybridValues value)
const Aws::String & GetPolicyInJson() const
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