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