/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A summary of information about a package version.See Also:
* AWS
* API Reference
The name of the associated software package.
*/ inline const Aws::String& GetPackageName() const{ return m_packageName; } /** *The name of the associated software package.
*/ inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; } /** *The name of the associated software package.
*/ inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; } /** *The name of the associated software package.
*/ inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); } /** *The name of the associated software package.
*/ inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); } /** *The name of the associated software package.
*/ inline PackageVersionSummary& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;} /** *The name of the associated software package.
*/ inline PackageVersionSummary& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;} /** *The name of the associated software package.
*/ inline PackageVersionSummary& WithPackageName(const char* value) { SetPackageName(value); return *this;} /** *The name of the target package version.
*/ inline const Aws::String& GetVersionName() const{ return m_versionName; } /** *The name of the target package version.
*/ inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; } /** *The name of the target package version.
*/ inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; } /** *The name of the target package version.
*/ inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); } /** *The name of the target package version.
*/ inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); } /** *The name of the target package version.
*/ inline PackageVersionSummary& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;} /** *The name of the target package version.
*/ inline PackageVersionSummary& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;} /** *The name of the target package version.
*/ inline PackageVersionSummary& WithVersionName(const char* value) { SetVersionName(value); return *this;} /** *The status of the package version. For more information, see Package * version lifecycle.
*/ inline const PackageVersionStatus& GetStatus() const{ return m_status; } /** *The status of the package version. For more information, see Package * version lifecycle.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the package version. For more information, see Package * version lifecycle.
*/ inline void SetStatus(const PackageVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the package version. For more information, see Package * version lifecycle.
*/ inline void SetStatus(PackageVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the package version. For more information, see Package * version lifecycle.
*/ inline PackageVersionSummary& WithStatus(const PackageVersionStatus& value) { SetStatus(value); return *this;} /** *The status of the package version. For more information, see Package * version lifecycle.
*/ inline PackageVersionSummary& WithStatus(PackageVersionStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The date that the package version was created.
*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *The date that the package version was created.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The date that the package version was created.
*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The date that the package version was created.
*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The date that the package version was created.
*/ inline PackageVersionSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *The date that the package version was created.
*/ inline PackageVersionSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *The date that the package version was last updated.
*/ inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; } /** *The date that the package version was last updated.
*/ inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; } /** *The date that the package version was last updated.
*/ inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; } /** *The date that the package version was last updated.
*/ inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); } /** *The date that the package version was last updated.
*/ inline PackageVersionSummary& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;} /** *The date that the package version was last updated.
*/ inline PackageVersionSummary& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;} private: Aws::String m_packageName; bool m_packageNameHasBeenSet = false; Aws::String m_versionName; bool m_versionNameHasBeenSet = false; PackageVersionStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedDate; bool m_lastModifiedDateHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws