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 {
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 NameT = Aws::String>
85 m_nameHasBeenSet =
true;
86 m_name = std::forward<NameT>(value);
88 template <
typename NameT = Aws::String>
90 SetName(std::forward<NameT>(value));
101 template <
typename OriginConfigurationT = PackageOriginConfiguration>
103 m_originConfigurationHasBeenSet =
true;
104 m_originConfiguration = std::forward<OriginConfigurationT>(value);
106 template <
typename OriginConfigurationT = PackageOriginConfiguration>
119 PackageOriginConfiguration m_originConfiguration;
120 bool m_formatHasBeenSet =
false;
121 bool m_namespaceHasBeenSet =
false;
122 bool m_nameHasBeenSet =
false;
123 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