7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
63 inline void SetRevision(
const char* value) { m_revisionHasBeenSet =
true; m_revision.assign(value); }
77 inline void SetDocument(
const char* value) { m_documentHasBeenSet =
true; m_document.assign(value); }
85 bool m_resourceArnHasBeenSet =
false;
88 bool m_revisionHasBeenSet =
false;
91 bool m_documentHasBeenSet =
false;
void SetRevision(Aws::String &&value)
const Aws::String & GetResourceArn() const
ResourcePolicy & WithRevision(Aws::String &&value)
AWS_CODEARTIFACT_API ResourcePolicy(Aws::Utils::Json::JsonView jsonValue)
void SetDocument(const char *value)
void SetResourceArn(Aws::String &&value)
bool RevisionHasBeenSet() const
const Aws::String & GetDocument() const
void SetDocument(Aws::String &&value)
const Aws::String & GetRevision() const
ResourcePolicy & WithDocument(const Aws::String &value)
ResourcePolicy & WithDocument(const char *value)
void SetDocument(const Aws::String &value)
void SetResourceArn(const Aws::String &value)
void SetResourceArn(const char *value)
AWS_CODEARTIFACT_API ResourcePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResourceArnHasBeenSet() const
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
ResourcePolicy & WithRevision(const Aws::String &value)
bool DocumentHasBeenSet() const
AWS_CODEARTIFACT_API ResourcePolicy()
void SetRevision(const Aws::String &value)
void SetRevision(const char *value)
ResourcePolicy & WithResourceArn(const char *value)
ResourcePolicy & WithRevision(const char *value)
ResourcePolicy & WithResourceArn(const Aws::String &value)
ResourcePolicy & WithDocument(Aws::String &&value)
ResourcePolicy & WithResourceArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue