7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace CloudWatchLogs
45 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
77 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
85 bool m_policyNameHasBeenSet =
false;
88 bool m_policyDocumentHasBeenSet =
false;
void SetPolicyName(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
PutResourcePolicyRequest & WithPolicyDocument(const Aws::String &value)
PutResourcePolicyRequest & WithPolicyName(Aws::String &&value)
void SetPolicyDocument(const char *value)
void SetPolicyName(Aws::String &&value)
PutResourcePolicyRequest & WithPolicyDocument(const char *value)
PutResourcePolicyRequest & WithPolicyDocument(Aws::String &&value)
const Aws::String & GetPolicyDocument() const
PutResourcePolicyRequest & WithPolicyName(const char *value)
virtual const char * GetServiceRequestName() const override
bool PolicyNameHasBeenSet() const
void SetPolicyDocument(Aws::String &&value)
const Aws::String & GetPolicyName() const
void SetPolicyDocument(const Aws::String &value)
PutResourcePolicyRequest & WithPolicyName(const Aws::String &value)
void SetPolicyName(const char *value)
bool PolicyDocumentHasBeenSet() const
AWS_CLOUDWATCHLOGS_API PutResourcePolicyRequest()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String