7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/WAFRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
46 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
60 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
68 bool m_resourceArnHasBeenSet =
false;
71 bool m_policyHasBeenSet =
false;
bool PolicyHasBeenSet() const
bool ResourceArnHasBeenSet() const
void SetResourceArn(const char *value)
PutPermissionPolicyRequest & WithPolicy(Aws::String &&value)
const Aws::String & GetPolicy() const
PutPermissionPolicyRequest & WithResourceArn(Aws::String &&value)
PutPermissionPolicyRequest & WithResourceArn(const Aws::String &value)
AWS_WAF_API PutPermissionPolicyRequest()
PutPermissionPolicyRequest & WithPolicy(const char *value)
AWS_WAF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetPolicy(Aws::String &&value)
void SetResourceArn(Aws::String &&value)
PutPermissionPolicyRequest & WithPolicy(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetPolicy(const char *value)
AWS_WAF_API Aws::String SerializePayload() const override
const Aws::String & GetResourceArn() const
PutPermissionPolicyRequest & WithResourceArn(const char *value)
void SetPolicy(const Aws::String &value)
void SetResourceArn(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String