7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/ComprehendRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
46 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
68 inline void SetResourcePolicy(
const char* value) { m_resourcePolicyHasBeenSet =
true; m_resourcePolicy.assign(value); }
84 inline void SetPolicyRevisionId(
const char* value) { m_policyRevisionIdHasBeenSet =
true; m_policyRevisionId.assign(value); }
92 bool m_resourceArnHasBeenSet =
false;
95 bool m_resourcePolicyHasBeenSet =
false;
98 bool m_policyRevisionIdHasBeenSet =
false;
const Aws::String & GetResourceArn() const
PutResourcePolicyRequest & WithPolicyRevisionId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
PutResourcePolicyRequest & WithResourceArn(const char *value)
const Aws::String & GetPolicyRevisionId() const
void SetPolicyRevisionId(const char *value)
void SetResourceArn(const char *value)
const Aws::String & GetResourcePolicy() const
PutResourcePolicyRequest & WithResourceArn(const Aws::String &value)
void SetResourcePolicy(Aws::String &&value)
PutResourcePolicyRequest & WithResourcePolicy(Aws::String &&value)
bool ResourceArnHasBeenSet() const
PutResourcePolicyRequest & WithPolicyRevisionId(Aws::String &&value)
AWS_COMPREHEND_API PutResourcePolicyRequest()
PutResourcePolicyRequest & WithResourceArn(Aws::String &&value)
PutResourcePolicyRequest & WithResourcePolicy(const char *value)
void SetPolicyRevisionId(const Aws::String &value)
void SetResourcePolicy(const Aws::String &value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutResourcePolicyRequest & WithPolicyRevisionId(const char *value)
bool ResourcePolicyHasBeenSet() const
bool PolicyRevisionIdHasBeenSet() const
void SetResourceArn(const Aws::String &value)
void SetPolicyRevisionId(Aws::String &&value)
PutResourcePolicyRequest & WithResourcePolicy(const Aws::String &value)
void SetResourceArn(Aws::String &&value)
void SetResourcePolicy(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String