7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/DynamoDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
52 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
75 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
96 inline void SetExpectedRevisionId(
const char* value) { m_expectedRevisionIdHasBeenSet =
true; m_expectedRevisionId.assign(value); }
115 bool m_resourceArnHasBeenSet =
false;
118 bool m_policyHasBeenSet =
false;
121 bool m_expectedRevisionIdHasBeenSet =
false;
123 bool m_confirmRemoveSelfResourceAccess;
124 bool m_confirmRemoveSelfResourceAccessHasBeenSet =
false;
PutResourcePolicyRequest & WithExpectedRevisionId(const char *value)
void SetResourceArn(const char *value)
void SetConfirmRemoveSelfResourceAccess(bool value)
PutResourcePolicyRequest & WithExpectedRevisionId(const Aws::String &value)
const Aws::String & GetResourceArn() const
void SetPolicy(Aws::String &&value)
PutResourcePolicyRequest & WithResourceArn(const char *value)
PutResourcePolicyRequest & WithPolicy(Aws::String &&value)
bool GetConfirmRemoveSelfResourceAccess() const
virtual const char * GetServiceRequestName() const override
PutResourcePolicyRequest & WithExpectedRevisionId(Aws::String &&value)
const Aws::String & GetPolicy() const
void SetExpectedRevisionId(Aws::String &&value)
const Aws::String & GetExpectedRevisionId() const
void SetExpectedRevisionId(const char *value)
PutResourcePolicyRequest & WithResourceArn(const Aws::String &value)
void SetExpectedRevisionId(const Aws::String &value)
bool ExpectedRevisionIdHasBeenSet() const
void SetResourceArn(const Aws::String &value)
AWS_DYNAMODB_API PutResourcePolicyRequest()
bool ResourceArnHasBeenSet() const
PutResourcePolicyRequest & WithConfirmRemoveSelfResourceAccess(bool value)
AWS_DYNAMODB_API Aws::String SerializePayload() const override
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetResourceArn(Aws::String &&value)
PutResourcePolicyRequest & WithPolicy(const char *value)
bool ConfirmRemoveSelfResourceAccessHasBeenSet() const
PutResourcePolicyRequest & WithResourceArn(Aws::String &&value)
bool PolicyHasBeenSet() const
void SetPolicy(const char *value)
PutResourcePolicyRequest & WithPolicy(const Aws::String &value)
void SetPolicy(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String