7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/vpc-lattice/VPCLatticeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
44 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
59 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
67 bool m_policyHasBeenSet =
false;
70 bool m_resourceArnHasBeenSet =
false;
const Aws::String & GetResourceArn() const
PutResourcePolicyRequest & WithPolicy(Aws::String &&value)
PutResourcePolicyRequest & WithResourceArn(const Aws::String &value)
void SetResourceArn(const Aws::String &value)
void SetResourceArn(Aws::String &&value)
bool PolicyHasBeenSet() const
void SetPolicy(const char *value)
AWS_VPCLATTICE_API PutResourcePolicyRequest()
PutResourcePolicyRequest & WithPolicy(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetPolicy(Aws::String &&value)
bool ResourceArnHasBeenSet() const
void SetPolicy(const Aws::String &value)
PutResourcePolicyRequest & WithPolicy(const char *value)
void SetResourceArn(const char *value)
PutResourcePolicyRequest & WithResourceArn(Aws::String &&value)
const Aws::String & GetPolicy() const
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
PutResourcePolicyRequest & WithResourceArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String