7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace CloudWatchLogs
43 template<
typename PolicyNameT = Aws::String>
44 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
45 template<
typename PolicyNameT = Aws::String>
56 template<
typename ResourceArnT = Aws::String>
57 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
58 template<
typename ResourceArnT = Aws::String>
69 template<
typename ExpectedRevisionIdT = Aws::String>
70 void SetExpectedRevisionId(ExpectedRevisionIdT&& value) { m_expectedRevisionIdHasBeenSet =
true; m_expectedRevisionId = std::forward<ExpectedRevisionIdT>(value); }
71 template<
typename ExpectedRevisionIdT = Aws::String>
77 bool m_policyNameHasBeenSet =
false;
80 bool m_resourceArnHasBeenSet =
false;
83 bool m_expectedRevisionIdHasBeenSet =
false;
const Aws::String & GetResourceArn() const
virtual const char * GetServiceRequestName() const override
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteResourcePolicyRequest & WithExpectedRevisionId(ExpectedRevisionIdT &&value)
bool ResourceArnHasBeenSet() const
void SetPolicyName(PolicyNameT &&value)
const Aws::String & GetExpectedRevisionId() const
const Aws::String & GetPolicyName() const
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
bool PolicyNameHasBeenSet() const
void SetResourceArn(ResourceArnT &&value)
bool ExpectedRevisionIdHasBeenSet() const
AWS_CLOUDWATCHLOGS_API DeleteResourcePolicyRequest()=default
DeleteResourcePolicyRequest & WithResourceArn(ResourceArnT &&value)
void SetExpectedRevisionId(ExpectedRevisionIdT &&value)
DeleteResourcePolicyRequest & WithPolicyName(PolicyNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String