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>
65 template<
typename NamespaceT = Aws::String>
66 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
67 template<
typename NamespaceT = Aws::String>
77 template<
typename NameT = Aws::String>
78 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
79 template<
typename NameT = Aws::String>
89 template<
typename OriginConfigurationT = PackageOriginConfiguration>
90 void SetOriginConfiguration(OriginConfigurationT&& value) { m_originConfigurationHasBeenSet =
true; m_originConfiguration = std::forward<OriginConfigurationT>(value); }
91 template<
typename OriginConfigurationT = PackageOriginConfiguration>
97 bool m_formatHasBeenSet =
false;
100 bool m_namespaceHasBeenSet =
false;
103 bool m_nameHasBeenSet =
false;
105 PackageOriginConfiguration m_originConfiguration;
106 bool m_originConfigurationHasBeenSet =
false;
AWS_CODEARTIFACT_API PackageDescription(Aws::Utils::Json::JsonView jsonValue)
void SetOriginConfiguration(OriginConfigurationT &&value)
const Aws::String & GetNamespace() const
bool FormatHasBeenSet() const
void SetFormat(PackageFormat value)
bool OriginConfigurationHasBeenSet() const
bool NamespaceHasBeenSet() const
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEARTIFACT_API PackageDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
const PackageOriginConfiguration & GetOriginConfiguration() const
void SetName(NameT &&value)
PackageFormat GetFormat() const
PackageDescription & WithNamespace(NamespaceT &&value)
void SetNamespace(NamespaceT &&value)
PackageDescription & WithOriginConfiguration(OriginConfigurationT &&value)
const Aws::String & GetName() const
PackageDescription & WithFormat(PackageFormat value)
bool NameHasBeenSet() const
PackageDescription & WithName(NameT &&value)
AWS_CODEARTIFACT_API PackageDescription()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue