/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a software package.See Also:
AWS
* API Reference
The name of the software package.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the software package.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the software package.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the software package.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the software package.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the software package.
*/ inline SoftwarePackage& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the software package.
*/ inline SoftwarePackage& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the software package.
*/ inline SoftwarePackage& WithName(const char* value) { SetName(value); return *this;} /** *The version of the software package.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The version of the software package.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version of the software package.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The version of the software package.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The version of the software package.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The version of the software package.
*/ inline SoftwarePackage& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The version of the software package.
*/ inline SoftwarePackage& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The version of the software package.
*/ inline SoftwarePackage& WithVersion(const char* value) { SetVersion(value); return *this;} /** *The epoch of the software package.
*/ inline const Aws::String& GetEpoch() const{ return m_epoch; } /** *The epoch of the software package.
*/ inline bool EpochHasBeenSet() const { return m_epochHasBeenSet; } /** *The epoch of the software package.
*/ inline void SetEpoch(const Aws::String& value) { m_epochHasBeenSet = true; m_epoch = value; } /** *The epoch of the software package.
*/ inline void SetEpoch(Aws::String&& value) { m_epochHasBeenSet = true; m_epoch = std::move(value); } /** *The epoch of the software package.
*/ inline void SetEpoch(const char* value) { m_epochHasBeenSet = true; m_epoch.assign(value); } /** *The epoch of the software package.
*/ inline SoftwarePackage& WithEpoch(const Aws::String& value) { SetEpoch(value); return *this;} /** *The epoch of the software package.
*/ inline SoftwarePackage& WithEpoch(Aws::String&& value) { SetEpoch(std::move(value)); return *this;} /** *The epoch of the software package.
*/ inline SoftwarePackage& WithEpoch(const char* value) { SetEpoch(value); return *this;} /** *The release of the software package.
*/ inline const Aws::String& GetRelease() const{ return m_release; } /** *The release of the software package.
*/ inline bool ReleaseHasBeenSet() const { return m_releaseHasBeenSet; } /** *The release of the software package.
*/ inline void SetRelease(const Aws::String& value) { m_releaseHasBeenSet = true; m_release = value; } /** *The release of the software package.
*/ inline void SetRelease(Aws::String&& value) { m_releaseHasBeenSet = true; m_release = std::move(value); } /** *The release of the software package.
*/ inline void SetRelease(const char* value) { m_releaseHasBeenSet = true; m_release.assign(value); } /** *The release of the software package.
*/ inline SoftwarePackage& WithRelease(const Aws::String& value) { SetRelease(value); return *this;} /** *The release of the software package.
*/ inline SoftwarePackage& WithRelease(Aws::String&& value) { SetRelease(std::move(value)); return *this;} /** *The release of the software package.
*/ inline SoftwarePackage& WithRelease(const char* value) { SetRelease(value); return *this;} /** *The architecture used for the software package.
*/ inline const Aws::String& GetArchitecture() const{ return m_architecture; } /** *The architecture used for the software package.
*/ inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; } /** *The architecture used for the software package.
*/ inline void SetArchitecture(const Aws::String& value) { m_architectureHasBeenSet = true; m_architecture = value; } /** *The architecture used for the software package.
*/ inline void SetArchitecture(Aws::String&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); } /** *The architecture used for the software package.
*/ inline void SetArchitecture(const char* value) { m_architectureHasBeenSet = true; m_architecture.assign(value); } /** *The architecture used for the software package.
*/ inline SoftwarePackage& WithArchitecture(const Aws::String& value) { SetArchitecture(value); return *this;} /** *The architecture used for the software package.
*/ inline SoftwarePackage& WithArchitecture(Aws::String&& value) { SetArchitecture(std::move(value)); return *this;} /** *The architecture used for the software package.
*/ inline SoftwarePackage& WithArchitecture(const char* value) { SetArchitecture(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_version; bool m_versionHasBeenSet; Aws::String m_epoch; bool m_epochHasBeenSet; Aws::String m_release; bool m_releaseHasBeenSet; Aws::String m_architecture; bool m_architectureHasBeenSet; }; } // namespace Model } // namespace SecurityHub } // namespace Aws