7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/model/AllowPublish.h>
9#include <aws/codeartifact/model/AllowUpstream.h>
72 bool m_publishHasBeenSet =
false;
75 bool m_upstreamHasBeenSet =
false;
void SetPublish(AllowPublish &&value)
const AllowUpstream & GetUpstream() const
PackageOriginRestrictions & WithPublish(const AllowPublish &value)
void SetUpstream(AllowUpstream &&value)
AWS_CODEARTIFACT_API PackageOriginRestrictions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpstream(const AllowUpstream &value)
const AllowPublish & GetPublish() const
PackageOriginRestrictions & WithUpstream(AllowUpstream &&value)
bool PublishHasBeenSet() const
AWS_CODEARTIFACT_API PackageOriginRestrictions()
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
PackageOriginRestrictions & WithUpstream(const AllowUpstream &value)
AWS_CODEARTIFACT_API PackageOriginRestrictions(Aws::Utils::Json::JsonView jsonValue)
PackageOriginRestrictions & WithPublish(AllowPublish &&value)
bool UpstreamHasBeenSet() const
void SetPublish(const AllowPublish &value)
Aws::Utils::Json::JsonValue JsonValue