7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
62 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
70 bool m_resourceArnHasBeenSet =
false;
73 bool m_policyHasBeenSet =
false;
const Aws::String & GetPolicy() const
void SetPolicy(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
PutResourcePolicyRequest & WithPolicy(const Aws::String &value)
void SetPolicy(const Aws::String &value)
PutResourcePolicyRequest & WithPolicy(Aws::String &&value)
PutResourcePolicyRequest & WithResourceArn(const Aws::String &value)
const Aws::String & GetResourceArn() const
void SetResourceArn(Aws::String &&value)
bool PolicyHasBeenSet() const
PutResourcePolicyRequest & WithPolicy(const char *value)
void SetPolicy(const char *value)
AWS_REDSHIFT_API PutResourcePolicyRequest()
bool ResourceArnHasBeenSet() const
PutResourcePolicyRequest & WithResourceArn(Aws::String &&value)
PutResourcePolicyRequest & WithResourceArn(const char *value)
void SetResourceArn(const Aws::String &value)
void SetResourceArn(const char *value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String