/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about a package version, including its status, version, and
* revision. The
* ListPackageVersions operation returns a list of
* PackageVersionSummary objects. See Also:
AWS
* API Reference
Information about a package version.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *Information about a package version.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *Information about a package version.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *Information about a package version.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *Information about a package version.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *Information about a package version.
*/ inline PackageVersionSummary& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *Information about a package version.
*/ inline PackageVersionSummary& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *Information about a package version.
*/ inline PackageVersionSummary& WithVersion(const char* value) { SetVersion(value); return *this;} /** *The revision associated with a package version.
*/ inline const Aws::String& GetRevision() const{ return m_revision; } /** *The revision associated with a package version.
*/ inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; } /** *The revision associated with a package version.
*/ inline void SetRevision(const Aws::String& value) { m_revisionHasBeenSet = true; m_revision = value; } /** *The revision associated with a package version.
*/ inline void SetRevision(Aws::String&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); } /** *The revision associated with a package version.
*/ inline void SetRevision(const char* value) { m_revisionHasBeenSet = true; m_revision.assign(value); } /** *The revision associated with a package version.
*/ inline PackageVersionSummary& WithRevision(const Aws::String& value) { SetRevision(value); return *this;} /** *The revision associated with a package version.
*/ inline PackageVersionSummary& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;} /** *The revision associated with a package version.
*/ inline PackageVersionSummary& WithRevision(const char* value) { SetRevision(value); return *this;} /** *A string that contains the status of the package version. It can be one of * the following:
Published
* Unfinished
Unlisted
Archived
Disposed
A string that contains the status of the package version. It can be one of * the following:
Published
* Unfinished
Unlisted
Archived
Disposed
A string that contains the status of the package version. It can be one of * the following:
Published
* Unfinished
Unlisted
Archived
Disposed
A string that contains the status of the package version. It can be one of * the following:
Published
* Unfinished
Unlisted
Archived
Disposed
A string that contains the status of the package version. It can be one of * the following:
Published
* Unfinished
Unlisted
Archived
Disposed
A string that contains the status of the package version. It can be one of * the following:
Published
* Unfinished
Unlisted
Archived
Disposed