7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/model/LicenseInfo.h>
9#include <aws/codeartifact/model/PackageFormat.h>
10#include <aws/codeartifact/model/PackageVersionOrigin.h>
11#include <aws/codeartifact/model/PackageVersionStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
25namespace CodeArtifact {
47 m_formatHasBeenSet =
true;
69 template <
typename NamespaceT = Aws::String>
71 m_namespaceHasBeenSet =
true;
72 m_namespace = std::forward<NamespaceT>(value);
74 template <
typename NamespaceT = Aws::String>
87 template <
typename PackageNameT = Aws::String>
89 m_packageNameHasBeenSet =
true;
90 m_packageName = std::forward<PackageNameT>(value);
92 template <
typename PackageNameT = Aws::String>
109 template <
typename DisplayNameT = Aws::String>
111 m_displayNameHasBeenSet =
true;
112 m_displayName = std::forward<DisplayNameT>(value);
114 template <
typename DisplayNameT = Aws::String>
127 template <
typename VersionT = Aws::String>
129 m_versionHasBeenSet =
true;
130 m_version = std::forward<VersionT>(value);
132 template <
typename VersionT = Aws::String>
147 template <
typename SummaryT = Aws::String>
149 m_summaryHasBeenSet =
true;
150 m_summary = std::forward<SummaryT>(value);
152 template <
typename SummaryT = Aws::String>
165 template <
typename HomePageT = Aws::String>
167 m_homePageHasBeenSet =
true;
168 m_homePage = std::forward<HomePageT>(value);
170 template <
typename HomePageT = Aws::String>
184 template <
typename SourceCodeRepositoryT = Aws::String>
186 m_sourceCodeRepositoryHasBeenSet =
true;
187 m_sourceCodeRepository = std::forward<SourceCodeRepositoryT>(value);
189 template <
typename SourceCodeRepositoryT = Aws::String>
203 template <
typename PublishedTimeT = Aws::Utils::DateTime>
205 m_publishedTimeHasBeenSet =
true;
206 m_publishedTime = std::forward<PublishedTimeT>(value);
208 template <
typename PublishedTimeT = Aws::Utils::DateTime>
221 template <
typename LicensesT = Aws::Vector<LicenseInfo>>
223 m_licensesHasBeenSet =
true;
224 m_licenses = std::forward<LicensesT>(value);
226 template <
typename LicensesT = Aws::Vector<LicenseInfo>>
231 template <
typename LicensesT = LicenseInfo>
233 m_licensesHasBeenSet =
true;
234 m_licenses.emplace_back(std::forward<LicensesT>(value));
245 template <
typename RevisionT = Aws::String>
247 m_revisionHasBeenSet =
true;
248 m_revision = std::forward<RevisionT>(value);
250 template <
typename RevisionT = Aws::String>
264 m_statusHasBeenSet =
true;
282 template <
typename OriginT = PackageVersionOrigin>
284 m_originHasBeenSet =
true;
285 m_origin = std::forward<OriginT>(value);
287 template <
typename OriginT = PackageVersionOrigin>
318 PackageVersionOrigin m_origin;
319 bool m_formatHasBeenSet =
false;
320 bool m_namespaceHasBeenSet =
false;
321 bool m_packageNameHasBeenSet =
false;
322 bool m_displayNameHasBeenSet =
false;
323 bool m_versionHasBeenSet =
false;
324 bool m_summaryHasBeenSet =
false;
325 bool m_homePageHasBeenSet =
false;
326 bool m_sourceCodeRepositoryHasBeenSet =
false;
327 bool m_publishedTimeHasBeenSet =
false;
328 bool m_licensesHasBeenSet =
false;
329 bool m_revisionHasBeenSet =
false;
330 bool m_statusHasBeenSet =
false;
331 bool m_originHasBeenSet =
false;
bool RevisionHasBeenSet() const
PackageVersionDescription & WithPackageName(PackageNameT &&value)
void SetPublishedTime(PublishedTimeT &&value)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
const Aws::String & GetVersion() const
void SetLicenses(LicensesT &&value)
bool PackageNameHasBeenSet() const
PackageVersionDescription & WithHomePage(HomePageT &&value)
const Aws::String & GetDisplayName() const
PackageVersionDescription & WithDisplayName(DisplayNameT &&value)
void SetPackageName(PackageNameT &&value)
PackageVersionDescription & WithRevision(RevisionT &&value)
PackageFormat GetFormat() const
AWS_CODEARTIFACT_API PackageVersionDescription(Aws::Utils::Json::JsonView jsonValue)
bool SummaryHasBeenSet() const
void SetSourceCodeRepository(SourceCodeRepositoryT &&value)
PackageVersionDescription & WithLicenses(LicensesT &&value)
void SetVersion(VersionT &&value)
void SetNamespace(NamespaceT &&value)
PackageVersionDescription & WithStatus(PackageVersionStatus value)
void SetFormat(PackageFormat value)
bool PublishedTimeHasBeenSet() const
void SetOrigin(OriginT &&value)
const Aws::String & GetHomePage() const
bool DisplayNameHasBeenSet() const
void SetHomePage(HomePageT &&value)
const Aws::Vector< LicenseInfo > & GetLicenses() const
const Aws::String & GetPackageName() const
AWS_CODEARTIFACT_API PackageVersionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NamespaceHasBeenSet() const
bool VersionHasBeenSet() const
const Aws::String & GetRevision() const
bool OriginHasBeenSet() const
void SetRevision(RevisionT &&value)
bool LicensesHasBeenSet() const
bool FormatHasBeenSet() const
PackageVersionDescription & WithVersion(VersionT &&value)
PackageVersionDescription & WithFormat(PackageFormat value)
bool HomePageHasBeenSet() const
const Aws::String & GetSourceCodeRepository() const
void SetDisplayName(DisplayNameT &&value)
PackageVersionStatus GetStatus() const
void SetSummary(SummaryT &&value)
const Aws::Utils::DateTime & GetPublishedTime() const
PackageVersionDescription & AddLicenses(LicensesT &&value)
const Aws::String & GetSummary() const
bool SourceCodeRepositoryHasBeenSet() const
PackageVersionDescription & WithOrigin(OriginT &&value)
PackageVersionDescription & WithSourceCodeRepository(SourceCodeRepositoryT &&value)
PackageVersionDescription & WithNamespace(NamespaceT &&value)
PackageVersionDescription & WithPublishedTime(PublishedTimeT &&value)
AWS_CODEARTIFACT_API PackageVersionDescription()=default
const Aws::String & GetNamespace() const
PackageVersionDescription & WithSummary(SummaryT &&value)
const PackageVersionOrigin & GetOrigin() const
void SetStatus(PackageVersionStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue