7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
14namespace CloudWatchLogs {
42 template <
typename LogGroupIdentifierT = Aws::String>
44 m_logGroupIdentifierHasBeenSet =
true;
45 m_logGroupIdentifier = std::forward<LogGroupIdentifierT>(value);
47 template <
typename LogGroupIdentifierT = Aws::String>
71 template <
typename PolicyDocumentT = Aws::String>
73 m_policyDocumentHasBeenSet =
true;
74 m_policyDocument = std::forward<PolicyDocumentT>(value);
76 template <
typename PolicyDocumentT = Aws::String>
86 bool m_logGroupIdentifierHasBeenSet =
false;
87 bool m_policyDocumentHasBeenSet =
false;
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
const Aws::String & GetPolicyDocument() const
PutIndexPolicyRequest & WithPolicyDocument(PolicyDocumentT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetLogGroupIdentifier() const
AWS_CLOUDWATCHLOGS_API PutIndexPolicyRequest()=default
virtual const char * GetServiceRequestName() const override
void SetLogGroupIdentifier(LogGroupIdentifierT &&value)
bool PolicyDocumentHasBeenSet() const
bool LogGroupIdentifierHasBeenSet() const
PutIndexPolicyRequest & WithLogGroupIdentifier(LogGroupIdentifierT &&value)
void SetPolicyDocument(PolicyDocumentT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String