7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/model/PackageGroupOriginRestrictionMode.h>
9#include <aws/codeartifact/model/PackageGroupReference.h>
97 inline void SetRepositoriesCount(
long long value) { m_repositoriesCountHasBeenSet =
true; m_repositoriesCount = value; }
103 bool m_modeHasBeenSet =
false;
106 bool m_effectiveModeHasBeenSet =
false;
109 bool m_inheritedFromHasBeenSet =
false;
111 long long m_repositoriesCount;
112 bool m_repositoriesCountHasBeenSet =
false;
PackageGroupOriginRestriction & WithRepositoriesCount(long long value)
PackageGroupOriginRestriction & WithEffectiveMode(PackageGroupOriginRestrictionMode &&value)
const PackageGroupReference & GetInheritedFrom() const
bool EffectiveModeHasBeenSet() const
void SetInheritedFrom(const PackageGroupReference &value)
void SetRepositoriesCount(long long value)
PackageGroupOriginRestriction & WithInheritedFrom(const PackageGroupReference &value)
const PackageGroupOriginRestrictionMode & GetEffectiveMode() const
void SetInheritedFrom(PackageGroupReference &&value)
PackageGroupOriginRestriction & WithMode(PackageGroupOriginRestrictionMode &&value)
long long GetRepositoriesCount() const
void SetMode(PackageGroupOriginRestrictionMode &&value)
void SetEffectiveMode(PackageGroupOriginRestrictionMode &&value)
AWS_CODEARTIFACT_API PackageGroupOriginRestriction(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEARTIFACT_API PackageGroupOriginRestriction & operator=(Aws::Utils::Json::JsonView jsonValue)
PackageGroupOriginRestriction & WithInheritedFrom(PackageGroupReference &&value)
PackageGroupOriginRestriction & WithEffectiveMode(const PackageGroupOriginRestrictionMode &value)
bool RepositoriesCountHasBeenSet() const
const PackageGroupOriginRestrictionMode & GetMode() const
void SetEffectiveMode(const PackageGroupOriginRestrictionMode &value)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
PackageGroupOriginRestriction & WithMode(const PackageGroupOriginRestrictionMode &value)
AWS_CODEARTIFACT_API PackageGroupOriginRestriction()
bool InheritedFromHasBeenSet() const
void SetMode(const PackageGroupOriginRestrictionMode &value)
bool ModeHasBeenSet() const
PackageGroupOriginRestrictionMode
Aws::Utils::Json::JsonValue JsonValue