7#include <aws/sns/SNS_EXPORTS.h>
8#include <aws/sns/SNSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
66 inline void SetDataProtectionPolicy(
const char* value) { m_dataProtectionPolicyHasBeenSet =
true; m_dataProtectionPolicy.assign(value); }
74 bool m_resourceArnHasBeenSet =
false;
77 bool m_dataProtectionPolicyHasBeenSet =
false;
PutDataProtectionPolicyRequest & WithResourceArn(const Aws::String &value)
void SetDataProtectionPolicy(const char *value)
PutDataProtectionPolicyRequest & WithDataProtectionPolicy(const char *value)
void SetResourceArn(const char *value)
bool DataProtectionPolicyHasBeenSet() const
bool ResourceArnHasBeenSet() const
const Aws::String & GetDataProtectionPolicy() const
void SetDataProtectionPolicy(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetResourceArn(Aws::String &&value)
PutDataProtectionPolicyRequest & WithDataProtectionPolicy(Aws::String &&value)
AWS_SNS_API Aws::String SerializePayload() const override
PutDataProtectionPolicyRequest & WithResourceArn(const char *value)
AWS_SNS_API PutDataProtectionPolicyRequest()
void SetDataProtectionPolicy(Aws::String &&value)
PutDataProtectionPolicyRequest & WithResourceArn(Aws::String &&value)
const Aws::String & GetResourceArn() const
AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
PutDataProtectionPolicyRequest & WithDataProtectionPolicy(const Aws::String &value)
void SetResourceArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String