7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codeartifact/model/PackageVersionStatus.h>
10#include <aws/codeartifact/model/PackageVersionOrigin.h>
54 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
68 inline void SetRevision(
const char* value) { m_revisionHasBeenSet =
true; m_revision.assign(value); }
104 bool m_versionHasBeenSet =
false;
107 bool m_revisionHasBeenSet =
false;
110 bool m_statusHasBeenSet =
false;
113 bool m_originHasBeenSet =
false;
PackageVersionSummary & WithStatus(const PackageVersionStatus &value)
AWS_CODEARTIFACT_API PackageVersionSummary()
PackageVersionSummary & WithOrigin(PackageVersionOrigin &&value)
bool RevisionHasBeenSet() const
PackageVersionSummary & WithVersion(const Aws::String &value)
PackageVersionSummary & WithOrigin(const PackageVersionOrigin &value)
PackageVersionSummary & WithVersion(Aws::String &&value)
void SetRevision(Aws::String &&value)
void SetVersion(Aws::String &&value)
void SetRevision(const Aws::String &value)
const PackageVersionOrigin & GetOrigin() const
PackageVersionSummary & WithRevision(const char *value)
void SetOrigin(const PackageVersionOrigin &value)
void SetStatus(const PackageVersionStatus &value)
PackageVersionSummary & WithVersion(const char *value)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
PackageVersionSummary & WithStatus(PackageVersionStatus &&value)
bool StatusHasBeenSet() const
void SetRevision(const char *value)
void SetStatus(PackageVersionStatus &&value)
AWS_CODEARTIFACT_API PackageVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVersion(const char *value)
const PackageVersionStatus & GetStatus() const
const Aws::String & GetRevision() const
void SetOrigin(PackageVersionOrigin &&value)
PackageVersionSummary & WithRevision(Aws::String &&value)
bool VersionHasBeenSet() const
bool OriginHasBeenSet() const
AWS_CODEARTIFACT_API PackageVersionSummary(Aws::Utils::Json::JsonView jsonValue)
PackageVersionSummary & WithRevision(const Aws::String &value)
const Aws::String & GetVersion() const
void SetVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue