7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/model/PackageFormat.h>
9#include <aws/codeartifact/model/PackageOriginConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CodeArtifact {
44 m_formatHasBeenSet =
true;
66 template <
typename NamespaceT = Aws::String>
68 m_namespaceHasBeenSet =
true;
69 m_namespace = std::forward<NamespaceT>(value);
71 template <
typename NamespaceT = Aws::String>
84 template <
typename PackageT = Aws::String>
86 m_packageHasBeenSet =
true;
87 m_package = std::forward<PackageT>(value);
89 template <
typename PackageT = Aws::String>
107 template <
typename OriginConfigurationT = PackageOriginConfiguration>
109 m_originConfigurationHasBeenSet =
true;
110 m_originConfiguration = std::forward<OriginConfigurationT>(value);
112 template <
typename OriginConfigurationT = PackageOriginConfiguration>
125 PackageOriginConfiguration m_originConfiguration;
126 bool m_formatHasBeenSet =
false;
127 bool m_namespaceHasBeenSet =
false;
128 bool m_packageHasBeenSet =
false;
129 bool m_originConfigurationHasBeenSet =
false;
PackageSummary & WithPackage(PackageT &&value)
void SetNamespace(NamespaceT &&value)
bool PackageHasBeenSet() const
const Aws::String & GetNamespace() const
AWS_CODEARTIFACT_API PackageSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const PackageOriginConfiguration & GetOriginConfiguration() const
bool OriginConfigurationHasBeenSet() const
bool FormatHasBeenSet() const
const Aws::String & GetPackage() const
void SetFormat(PackageFormat value)
AWS_CODEARTIFACT_API PackageSummary(Aws::Utils::Json::JsonView jsonValue)
void SetPackage(PackageT &&value)
void SetOriginConfiguration(OriginConfigurationT &&value)
PackageSummary & WithOriginConfiguration(OriginConfigurationT &&value)
PackageFormat GetFormat() const
bool NamespaceHasBeenSet() const
AWS_CODEARTIFACT_API PackageSummary()=default
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
PackageSummary & WithNamespace(NamespaceT &&value)
PackageSummary & WithFormat(PackageFormat value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue