7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/NetworkFirewallRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace NetworkFirewall
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;
PutResourcePolicyRequest & WithResourceArn(Aws::String &&value)
PutResourcePolicyRequest & WithPolicy(Aws::String &&value)
PutResourcePolicyRequest & WithResourceArn(const Aws::String &value)
PutResourcePolicyRequest & WithResourceArn(const char *value)
virtual const char * GetServiceRequestName() const override
bool ResourceArnHasBeenSet() const
AWS_NETWORKFIREWALL_API PutResourcePolicyRequest()
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
bool PolicyHasBeenSet() const
void SetResourceArn(const Aws::String &value)
PutResourcePolicyRequest & WithPolicy(const char *value)
void SetResourceArn(Aws::String &&value)
PutResourcePolicyRequest & WithPolicy(const Aws::String &value)
const Aws::String & GetResourceArn() const
void SetPolicy(const char *value)
void SetPolicy(Aws::String &&value)
void SetPolicy(const Aws::String &value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetPolicy() const
void SetResourceArn(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String