/**
* 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 software package.See Also:
* AWS
* API Reference
The name for the target package.
*/ inline const Aws::String& GetPackageName() const{ return m_packageName; } /** *The name for the target package.
*/ inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; } /** *The name for the target package.
*/ inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; } /** *The name for the target package.
*/ inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); } /** *The name for the target package.
*/ inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); } /** *The name for the target package.
*/ inline PackageSummary& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;} /** *The name for the target package.
*/ inline PackageSummary& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;} /** *The name for the target package.
*/ inline PackageSummary& WithPackageName(const char* value) { SetPackageName(value); return *this;} /** *The name of the default package version.
*/ inline const Aws::String& GetDefaultVersionName() const{ return m_defaultVersionName; } /** *The name of the default package version.
*/ inline bool DefaultVersionNameHasBeenSet() const { return m_defaultVersionNameHasBeenSet; } /** *The name of the default package version.
*/ inline void SetDefaultVersionName(const Aws::String& value) { m_defaultVersionNameHasBeenSet = true; m_defaultVersionName = value; } /** *The name of the default package version.
*/ inline void SetDefaultVersionName(Aws::String&& value) { m_defaultVersionNameHasBeenSet = true; m_defaultVersionName = std::move(value); } /** *The name of the default package version.
*/ inline void SetDefaultVersionName(const char* value) { m_defaultVersionNameHasBeenSet = true; m_defaultVersionName.assign(value); } /** *The name of the default package version.
*/ inline PackageSummary& WithDefaultVersionName(const Aws::String& value) { SetDefaultVersionName(value); return *this;} /** *The name of the default package version.
*/ inline PackageSummary& WithDefaultVersionName(Aws::String&& value) { SetDefaultVersionName(std::move(value)); return *this;} /** *The name of the default package version.
*/ inline PackageSummary& WithDefaultVersionName(const char* value) { SetDefaultVersionName(value); return *this;} /** *The date that the package was created.
*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *The date that the package was created.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The date that the package was created.
*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The date that the package was created.
*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The date that the package was created.
*/ inline PackageSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *The date that the package was created.
*/ inline PackageSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *The date that the package was last updated.
*/ inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; } /** *The date that the package was last updated.
*/ inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; } /** *The date that the package was last updated.
*/ inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; } /** *The date that the package was last updated.
*/ inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); } /** *The date that the package was last updated.
*/ inline PackageSummary& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;} /** *The date that the package was last updated.
*/ inline PackageSummary& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;} private: Aws::String m_packageName; bool m_packageNameHasBeenSet = false; Aws::String m_defaultVersionName; bool m_defaultVersionNameHasBeenSet = 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