/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SnowDeviceManagement { namespace Model { /** *

Information about the software on the device.

See Also:

AWS * API Reference

*/ class SoftwareInformation { public: AWS_SNOWDEVICEMANAGEMENT_API SoftwareInformation(); AWS_SNOWDEVICEMANAGEMENT_API SoftwareInformation(Aws::Utils::Json::JsonView jsonValue); AWS_SNOWDEVICEMANAGEMENT_API SoftwareInformation& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The state of the software that is installed or that is being installed on the * device.

*/ inline const Aws::String& GetInstallState() const{ return m_installState; } /** *

The state of the software that is installed or that is being installed on the * device.

*/ inline bool InstallStateHasBeenSet() const { return m_installStateHasBeenSet; } /** *

The state of the software that is installed or that is being installed on the * device.

*/ inline void SetInstallState(const Aws::String& value) { m_installStateHasBeenSet = true; m_installState = value; } /** *

The state of the software that is installed or that is being installed on the * device.

*/ inline void SetInstallState(Aws::String&& value) { m_installStateHasBeenSet = true; m_installState = std::move(value); } /** *

The state of the software that is installed or that is being installed on the * device.

*/ inline void SetInstallState(const char* value) { m_installStateHasBeenSet = true; m_installState.assign(value); } /** *

The state of the software that is installed or that is being installed on the * device.

*/ inline SoftwareInformation& WithInstallState(const Aws::String& value) { SetInstallState(value); return *this;} /** *

The state of the software that is installed or that is being installed on the * device.

*/ inline SoftwareInformation& WithInstallState(Aws::String&& value) { SetInstallState(std::move(value)); return *this;} /** *

The state of the software that is installed or that is being installed on the * device.

*/ inline SoftwareInformation& WithInstallState(const char* value) { SetInstallState(value); return *this;} /** *

The version of the software currently installed on the device.

*/ inline const Aws::String& GetInstalledVersion() const{ return m_installedVersion; } /** *

The version of the software currently installed on the device.

*/ inline bool InstalledVersionHasBeenSet() const { return m_installedVersionHasBeenSet; } /** *

The version of the software currently installed on the device.

*/ inline void SetInstalledVersion(const Aws::String& value) { m_installedVersionHasBeenSet = true; m_installedVersion = value; } /** *

The version of the software currently installed on the device.

*/ inline void SetInstalledVersion(Aws::String&& value) { m_installedVersionHasBeenSet = true; m_installedVersion = std::move(value); } /** *

The version of the software currently installed on the device.

*/ inline void SetInstalledVersion(const char* value) { m_installedVersionHasBeenSet = true; m_installedVersion.assign(value); } /** *

The version of the software currently installed on the device.

*/ inline SoftwareInformation& WithInstalledVersion(const Aws::String& value) { SetInstalledVersion(value); return *this;} /** *

The version of the software currently installed on the device.

*/ inline SoftwareInformation& WithInstalledVersion(Aws::String&& value) { SetInstalledVersion(std::move(value)); return *this;} /** *

The version of the software currently installed on the device.

*/ inline SoftwareInformation& WithInstalledVersion(const char* value) { SetInstalledVersion(value); return *this;} /** *

The version of the software being installed on the device.

*/ inline const Aws::String& GetInstallingVersion() const{ return m_installingVersion; } /** *

The version of the software being installed on the device.

*/ inline bool InstallingVersionHasBeenSet() const { return m_installingVersionHasBeenSet; } /** *

The version of the software being installed on the device.

*/ inline void SetInstallingVersion(const Aws::String& value) { m_installingVersionHasBeenSet = true; m_installingVersion = value; } /** *

The version of the software being installed on the device.

*/ inline void SetInstallingVersion(Aws::String&& value) { m_installingVersionHasBeenSet = true; m_installingVersion = std::move(value); } /** *

The version of the software being installed on the device.

*/ inline void SetInstallingVersion(const char* value) { m_installingVersionHasBeenSet = true; m_installingVersion.assign(value); } /** *

The version of the software being installed on the device.

*/ inline SoftwareInformation& WithInstallingVersion(const Aws::String& value) { SetInstallingVersion(value); return *this;} /** *

The version of the software being installed on the device.

*/ inline SoftwareInformation& WithInstallingVersion(Aws::String&& value) { SetInstallingVersion(std::move(value)); return *this;} /** *

The version of the software being installed on the device.

*/ inline SoftwareInformation& WithInstallingVersion(const char* value) { SetInstallingVersion(value); return *this;} private: Aws::String m_installState; bool m_installStateHasBeenSet = false; Aws::String m_installedVersion; bool m_installedVersionHasBeenSet = false; Aws::String m_installingVersion; bool m_installingVersionHasBeenSet = false; }; } // namespace Model } // namespace SnowDeviceManagement } // namespace Aws