7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
13template<
typename RESULT_TYPE>
14class AmazonWebServiceResult;
43 inline void SetResourceArn(
const char* value) { m_resourceArn.assign(value); }
68 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetRequestId(const char *value)
PutResourcePolicyResult & WithRequestId(const Aws::String &value)
AWS_CLOUDTRAIL_API PutResourcePolicyResult()
PutResourcePolicyResult & WithRequestId(Aws::String &&value)
PutResourcePolicyResult & WithResourceArn(const Aws::String &value)
const Aws::String & GetResourceArn() const
PutResourcePolicyResult & WithResourceArn(const char *value)
PutResourcePolicyResult & WithResourcePolicy(const Aws::String &value)
void SetResourceArn(const Aws::String &value)
void SetResourcePolicy(const char *value)
PutResourcePolicyResult & WithResourceArn(Aws::String &&value)
PutResourcePolicyResult & WithRequestId(const char *value)
AWS_CLOUDTRAIL_API PutResourcePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetResourceArn(const char *value)
const Aws::String & GetResourcePolicy() const
void SetResourcePolicy(const Aws::String &value)
void SetRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
PutResourcePolicyResult & WithResourcePolicy(const char *value)
PutResourcePolicyResult & WithResourcePolicy(Aws::String &&value)
void SetResourcePolicy(Aws::String &&value)
AWS_CLOUDTRAIL_API PutResourcePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetResourceArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue