7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
55 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
69 inline void SetPackage(
const char* value) { m_packageHasBeenSet =
true; m_package.assign(value); }
93 inline void SetDependencyType(
const char* value) { m_dependencyTypeHasBeenSet =
true; m_dependencyType.assign(value); }
110 inline void SetVersionRequirement(
const char* value) { m_versionRequirementHasBeenSet =
true; m_versionRequirement.assign(value); }
118 bool m_namespaceHasBeenSet =
false;
121 bool m_packageHasBeenSet =
false;
124 bool m_dependencyTypeHasBeenSet =
false;
127 bool m_versionRequirementHasBeenSet =
false;
PackageDependency & WithDependencyType(const char *value)
PackageDependency & WithVersionRequirement(Aws::String &&value)
PackageDependency & WithDependencyType(Aws::String &&value)
PackageDependency & WithVersionRequirement(const Aws::String &value)
void SetDependencyType(const char *value)
void SetDependencyType(const Aws::String &value)
bool DependencyTypeHasBeenSet() const
const Aws::String & GetDependencyType() const
AWS_CODEARTIFACT_API PackageDependency()
PackageDependency & WithNamespace(const Aws::String &value)
const Aws::String & GetPackage() const
PackageDependency & WithPackage(const Aws::String &value)
const Aws::String & GetVersionRequirement() const
bool PackageHasBeenSet() const
void SetDependencyType(Aws::String &&value)
bool NamespaceHasBeenSet() const
void SetVersionRequirement(const char *value)
void SetVersionRequirement(const Aws::String &value)
PackageDependency & WithDependencyType(const Aws::String &value)
void SetPackage(const Aws::String &value)
void SetNamespace(const Aws::String &value)
PackageDependency & WithPackage(Aws::String &&value)
void SetNamespace(const char *value)
void SetVersionRequirement(Aws::String &&value)
AWS_CODEARTIFACT_API PackageDependency(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetNamespace() const
PackageDependency & WithNamespace(Aws::String &&value)
AWS_CODEARTIFACT_API PackageDependency & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNamespace(Aws::String &&value)
void SetPackage(const char *value)
PackageDependency & WithNamespace(const char *value)
bool VersionRequirementHasBeenSet() const
void SetPackage(Aws::String &&value)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
PackageDependency & WithVersionRequirement(const char *value)
PackageDependency & WithPackage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue