7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/schemas/SchemasRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
52 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
66 inline void SetRegistryName(
const char* value) { m_registryNameHasBeenSet =
true; m_registryName.assign(value); }
80 inline void SetRevisionId(
const char* value) { m_revisionIdHasBeenSet =
true; m_revisionId.assign(value); }
88 bool m_policyHasBeenSet =
false;
91 bool m_registryNameHasBeenSet =
false;
94 bool m_revisionIdHasBeenSet =
false;
void SetRegistryName(const char *value)
PutResourcePolicyRequest & WithRevisionId(const Aws::String &value)
void SetRevisionId(Aws::String &&value)
void SetPolicy(const char *value)
AWS_SCHEMAS_API Aws::String SerializePayload() const override
void SetPolicy(Aws::String &&value)
const Aws::String & GetRegistryName() const
PutResourcePolicyRequest & WithRegistryName(const char *value)
PutResourcePolicyRequest & WithRevisionId(const char *value)
void SetRevisionId(const Aws::String &value)
void SetRegistryName(Aws::String &&value)
void SetRegistryName(const Aws::String &value)
bool RegistryNameHasBeenSet() const
bool RevisionIdHasBeenSet() const
PutResourcePolicyRequest & WithPolicy(const Aws::String &value)
PutResourcePolicyRequest & WithRegistryName(Aws::String &&value)
AWS_SCHEMAS_API PutResourcePolicyRequest()
void SetPolicy(const Aws::String &value)
bool PolicyHasBeenSet() const
void SetRevisionId(const char *value)
PutResourcePolicyRequest & WithPolicy(const char *value)
PutResourcePolicyRequest & WithRevisionId(Aws::String &&value)
const Aws::String & GetRevisionId() const
virtual const char * GetServiceRequestName() const override
PutResourcePolicyRequest & WithRegistryName(const Aws::String &value)
PutResourcePolicyRequest & WithPolicy(Aws::String &&value)
const Aws::String & GetPolicy() const
AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String