7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
13template<
typename RESULT_TYPE>
14class AmazonWebServiceResult;
42 inline void SetPolicy(
const char* value) { m_policy.assign(value); }
55 inline void SetRevisionId(
const char* value) { m_revisionId.assign(value); }
66 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
const Aws::String & GetPolicy() const
GetResourcePolicyResult & WithPolicy(Aws::String &&value)
void SetRequestId(const char *value)
GetResourcePolicyResult & WithRevisionId(Aws::String &&value)
GetResourcePolicyResult & WithRevisionId(const char *value)
void SetPolicy(const Aws::String &value)
void SetPolicy(Aws::String &&value)
void SetPolicy(const char *value)
void SetRevisionId(const char *value)
const Aws::String & GetRequestId() const
void SetRequestId(Aws::String &&value)
GetResourcePolicyResult & WithRevisionId(const Aws::String &value)
GetResourcePolicyResult & WithRequestId(const char *value)
AWS_SCHEMAS_API GetResourcePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourcePolicyResult & WithPolicy(const Aws::String &value)
GetResourcePolicyResult & WithRequestId(Aws::String &&value)
void SetRevisionId(const Aws::String &value)
const Aws::String & GetRevisionId() const
void SetRequestId(const Aws::String &value)
void SetRevisionId(Aws::String &&value)
GetResourcePolicyResult & WithRequestId(const Aws::String &value)
AWS_SCHEMAS_API GetResourcePolicyResult()
AWS_SCHEMAS_API GetResourcePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourcePolicyResult & WithPolicy(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue