7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/EnableHybridValues.h>
11#include <aws/glue/model/ExistCondition.h>
41 template <
typename PolicyInJsonT = Aws::String>
43 m_policyInJsonHasBeenSet =
true;
44 m_policyInJson = std::forward<PolicyInJsonT>(value);
46 template <
typename PolicyInJsonT = Aws::String>
59 template <
typename ResourceArnT = Aws::String>
61 m_resourceArnHasBeenSet =
true;
62 m_resourceArn = std::forward<ResourceArnT>(value);
64 template <
typename ResourceArnT = Aws::String>
80 template <
typename PolicyHashConditionT = Aws::String>
82 m_policyHashConditionHasBeenSet =
true;
83 m_policyHashCondition = std::forward<PolicyHashConditionT>(value);
85 template <
typename PolicyHashConditionT = Aws::String>
102 m_policyExistsConditionHasBeenSet =
true;
103 m_policyExistsCondition = value;
124 m_enableHybridHasBeenSet =
true;
125 m_enableHybrid = value;
134 bool m_policyInJsonHasBeenSet =
false;
137 bool m_resourceArnHasBeenSet =
false;
140 bool m_policyHashConditionHasBeenSet =
false;
143 bool m_policyExistsConditionHasBeenSet =
false;
146 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