7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/CloudTrailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
66 inline void SetResourcePolicy(
const char* value) { m_resourcePolicyHasBeenSet =
true; m_resourcePolicy.assign(value); }
74 bool m_resourceArnHasBeenSet =
false;
77 bool m_resourcePolicyHasBeenSet =
false;
bool ResourceArnHasBeenSet() const
bool ResourcePolicyHasBeenSet() const
void SetResourcePolicy(const Aws::String &value)
void SetResourceArn(const Aws::String &value)
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutResourcePolicyRequest & WithResourceArn(const char *value)
PutResourcePolicyRequest & WithResourcePolicy(const char *value)
PutResourcePolicyRequest & WithResourceArn(Aws::String &&value)
void SetResourcePolicy(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetResourceArn(const char *value)
const Aws::String & GetResourcePolicy() const
PutResourcePolicyRequest & WithResourceArn(const Aws::String &value)
void SetResourceArn(Aws::String &&value)
void SetResourcePolicy(const char *value)
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
const Aws::String & GetResourceArn() const
AWS_CLOUDTRAIL_API PutResourcePolicyRequest()
PutResourcePolicyRequest & WithResourcePolicy(Aws::String &&value)
PutResourcePolicyRequest & WithResourcePolicy(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String