AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SoftwareInformation.h
1
6#pragma once
7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SnowDeviceManagement
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SNOWDEVICEMANAGEMENT_API SoftwareInformation() = default;
35 AWS_SNOWDEVICEMANAGEMENT_API SoftwareInformation(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SNOWDEVICEMANAGEMENT_API SoftwareInformation& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetInstallState() const { return m_installState; }
46 inline bool InstallStateHasBeenSet() const { return m_installStateHasBeenSet; }
47 template<typename InstallStateT = Aws::String>
48 void SetInstallState(InstallStateT&& value) { m_installStateHasBeenSet = true; m_installState = std::forward<InstallStateT>(value); }
49 template<typename InstallStateT = Aws::String>
50 SoftwareInformation& WithInstallState(InstallStateT&& value) { SetInstallState(std::forward<InstallStateT>(value)); return *this;}
52
54
57 inline const Aws::String& GetInstalledVersion() const { return m_installedVersion; }
58 inline bool InstalledVersionHasBeenSet() const { return m_installedVersionHasBeenSet; }
59 template<typename InstalledVersionT = Aws::String>
60 void SetInstalledVersion(InstalledVersionT&& value) { m_installedVersionHasBeenSet = true; m_installedVersion = std::forward<InstalledVersionT>(value); }
61 template<typename InstalledVersionT = Aws::String>
62 SoftwareInformation& WithInstalledVersion(InstalledVersionT&& value) { SetInstalledVersion(std::forward<InstalledVersionT>(value)); return *this;}
64
66
69 inline const Aws::String& GetInstallingVersion() const { return m_installingVersion; }
70 inline bool InstallingVersionHasBeenSet() const { return m_installingVersionHasBeenSet; }
71 template<typename InstallingVersionT = Aws::String>
72 void SetInstallingVersion(InstallingVersionT&& value) { m_installingVersionHasBeenSet = true; m_installingVersion = std::forward<InstallingVersionT>(value); }
73 template<typename InstallingVersionT = Aws::String>
74 SoftwareInformation& WithInstallingVersion(InstallingVersionT&& value) { SetInstallingVersion(std::forward<InstallingVersionT>(value)); return *this;}
76 private:
77
78 Aws::String m_installState;
79 bool m_installStateHasBeenSet = false;
80
81 Aws::String m_installedVersion;
82 bool m_installedVersionHasBeenSet = false;
83
84 Aws::String m_installingVersion;
85 bool m_installingVersionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SnowDeviceManagement
90} // namespace Aws
AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const
SoftwareInformation & WithInstallState(InstallStateT &&value)
AWS_SNOWDEVICEMANAGEMENT_API SoftwareInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SNOWDEVICEMANAGEMENT_API SoftwareInformation()=default
SoftwareInformation & WithInstallingVersion(InstallingVersionT &&value)
SoftwareInformation & WithInstalledVersion(InstalledVersionT &&value)
AWS_SNOWDEVICEMANAGEMENT_API SoftwareInformation(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue