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 SetLogGroupIdentifier(
const char* value) { m_logGroupIdentifierHasBeenSet =
true; m_logGroupIdentifier.assign(value); }
87 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
95 bool m_logGroupIdentifierHasBeenSet =
false;
98 bool m_policyDocumentHasBeenSet =
false;
AWS_CLOUDWATCHLOGS_API PutDataProtectionPolicyRequest()
void SetLogGroupIdentifier(const char *value)
PutDataProtectionPolicyRequest & WithPolicyDocument(Aws::String &&value)
void SetPolicyDocument(const Aws::String &value)
PutDataProtectionPolicyRequest & WithLogGroupIdentifier(const char *value)
const Aws::String & GetLogGroupIdentifier() const
void SetPolicyDocument(const char *value)
PutDataProtectionPolicyRequest & WithPolicyDocument(const Aws::String &value)
void SetLogGroupIdentifier(const Aws::String &value)
void SetLogGroupIdentifier(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetPolicyDocument() const
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetPolicyDocument(Aws::String &&value)
bool LogGroupIdentifierHasBeenSet() const
PutDataProtectionPolicyRequest & WithPolicyDocument(const char *value)
bool PolicyDocumentHasBeenSet() const
PutDataProtectionPolicyRequest & WithLogGroupIdentifier(const Aws::String &value)
PutDataProtectionPolicyRequest & WithLogGroupIdentifier(Aws::String &&value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String