7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/model/PackageFormat.h>
9#include <aws/codeartifact/model/PackageGroupAssociationType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CodeArtifact {
43 m_formatHasBeenSet =
true;
65 template <
typename NamespaceT = Aws::String>
67 m_namespaceHasBeenSet =
true;
68 m_namespace = std::forward<NamespaceT>(value);
70 template <
typename NamespaceT = Aws::String>
83 template <
typename PackageT = Aws::String>
85 m_packageHasBeenSet =
true;
86 m_package = std::forward<PackageT>(value);
88 template <
typename PackageT = Aws::String>
109 m_associationTypeHasBeenSet =
true;
110 m_associationType = value;
125 bool m_formatHasBeenSet =
false;
126 bool m_namespaceHasBeenSet =
false;
127 bool m_packageHasBeenSet =
false;
128 bool m_associationTypeHasBeenSet =
false;
const Aws::String & GetNamespace() const
bool AssociationTypeHasBeenSet() const
void SetAssociationType(PackageGroupAssociationType value)
const Aws::String & GetPackage() const
AssociatedPackage & WithFormat(PackageFormat value)
AssociatedPackage & WithNamespace(NamespaceT &&value)
void SetNamespace(NamespaceT &&value)
AssociatedPackage & WithPackage(PackageT &&value)
AWS_CODEARTIFACT_API AssociatedPackage()=default
void SetFormat(PackageFormat value)
bool NamespaceHasBeenSet() const
AWS_CODEARTIFACT_API AssociatedPackage(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEARTIFACT_API AssociatedPackage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPackage(PackageT &&value)
bool FormatHasBeenSet() const
PackageFormat GetFormat() const
PackageGroupAssociationType GetAssociationType() const
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
bool PackageHasBeenSet() const
AssociatedPackage & WithAssociationType(PackageGroupAssociationType value)
PackageGroupAssociationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue