7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/model/PackageFormat.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codeartifact/model/PackageOriginConfiguration.h>
66 template<
typename NamespaceT = Aws::String>
67 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
68 template<
typename NamespaceT = Aws::String>
78 template<
typename PackageT = Aws::String>
79 void SetPackage(PackageT&& value) { m_packageHasBeenSet =
true; m_package = std::forward<PackageT>(value); }
80 template<
typename PackageT = Aws::String>
95 template<
typename OriginConfigurationT = PackageOriginConfiguration>
96 void SetOriginConfiguration(OriginConfigurationT&& value) { m_originConfigurationHasBeenSet =
true; m_originConfiguration = std::forward<OriginConfigurationT>(value); }
97 template<
typename OriginConfigurationT = PackageOriginConfiguration>
103 bool m_formatHasBeenSet =
false;
106 bool m_namespaceHasBeenSet =
false;
109 bool m_packageHasBeenSet =
false;
111 PackageOriginConfiguration m_originConfiguration;
112 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