AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SoftwareInformation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SnowDeviceManagement {
20namespace Model {
21
28 public:
29 AWS_SNOWDEVICEMANAGEMENT_API SoftwareInformation() = default;
30 AWS_SNOWDEVICEMANAGEMENT_API SoftwareInformation(Aws::Utils::Json::JsonView jsonValue);
31 AWS_SNOWDEVICEMANAGEMENT_API SoftwareInformation& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline const Aws::String& GetInstallState() const { return m_installState; }
40 inline bool InstallStateHasBeenSet() const { return m_installStateHasBeenSet; }
41 template <typename InstallStateT = Aws::String>
42 void SetInstallState(InstallStateT&& value) {
43 m_installStateHasBeenSet = true;
44 m_installState = std::forward<InstallStateT>(value);
45 }
46 template <typename InstallStateT = Aws::String>
47 SoftwareInformation& WithInstallState(InstallStateT&& value) {
48 SetInstallState(std::forward<InstallStateT>(value));
49 return *this;
50 }
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) {
61 m_installedVersionHasBeenSet = true;
62 m_installedVersion = std::forward<InstalledVersionT>(value);
63 }
64 template <typename InstalledVersionT = Aws::String>
65 SoftwareInformation& WithInstalledVersion(InstalledVersionT&& value) {
66 SetInstalledVersion(std::forward<InstalledVersionT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetInstallingVersion() const { return m_installingVersion; }
76 inline bool InstallingVersionHasBeenSet() const { return m_installingVersionHasBeenSet; }
77 template <typename InstallingVersionT = Aws::String>
78 void SetInstallingVersion(InstallingVersionT&& value) {
79 m_installingVersionHasBeenSet = true;
80 m_installingVersion = std::forward<InstallingVersionT>(value);
81 }
82 template <typename InstallingVersionT = Aws::String>
83 SoftwareInformation& WithInstallingVersion(InstallingVersionT&& value) {
84 SetInstallingVersion(std::forward<InstallingVersionT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_installState;
90
91 Aws::String m_installedVersion;
92
93 Aws::String m_installingVersion;
94 bool m_installStateHasBeenSet = false;
95 bool m_installedVersionHasBeenSet = false;
96 bool m_installingVersionHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SnowDeviceManagement
101} // 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