AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInstallState(const Aws::String& value) { m_installStateHasBeenSet = true; m_installState = value; }
48 inline void SetInstallState(Aws::String&& value) { m_installStateHasBeenSet = true; m_installState = std::move(value); }
49 inline void SetInstallState(const char* value) { m_installStateHasBeenSet = true; m_installState.assign(value); }
50 inline SoftwareInformation& WithInstallState(const Aws::String& value) { SetInstallState(value); return *this;}
51 inline SoftwareInformation& WithInstallState(Aws::String&& value) { SetInstallState(std::move(value)); return *this;}
52 inline SoftwareInformation& WithInstallState(const char* value) { SetInstallState(value); return *this;}
54
56
59 inline const Aws::String& GetInstalledVersion() const{ return m_installedVersion; }
60 inline bool InstalledVersionHasBeenSet() const { return m_installedVersionHasBeenSet; }
61 inline void SetInstalledVersion(const Aws::String& value) { m_installedVersionHasBeenSet = true; m_installedVersion = value; }
62 inline void SetInstalledVersion(Aws::String&& value) { m_installedVersionHasBeenSet = true; m_installedVersion = std::move(value); }
63 inline void SetInstalledVersion(const char* value) { m_installedVersionHasBeenSet = true; m_installedVersion.assign(value); }
64 inline SoftwareInformation& WithInstalledVersion(const Aws::String& value) { SetInstalledVersion(value); return *this;}
65 inline SoftwareInformation& WithInstalledVersion(Aws::String&& value) { SetInstalledVersion(std::move(value)); return *this;}
66 inline SoftwareInformation& WithInstalledVersion(const char* value) { SetInstalledVersion(value); return *this;}
68
70
73 inline const Aws::String& GetInstallingVersion() const{ return m_installingVersion; }
74 inline bool InstallingVersionHasBeenSet() const { return m_installingVersionHasBeenSet; }
75 inline void SetInstallingVersion(const Aws::String& value) { m_installingVersionHasBeenSet = true; m_installingVersion = value; }
76 inline void SetInstallingVersion(Aws::String&& value) { m_installingVersionHasBeenSet = true; m_installingVersion = std::move(value); }
77 inline void SetInstallingVersion(const char* value) { m_installingVersionHasBeenSet = true; m_installingVersion.assign(value); }
78 inline SoftwareInformation& WithInstallingVersion(const Aws::String& value) { SetInstallingVersion(value); return *this;}
79 inline SoftwareInformation& WithInstallingVersion(Aws::String&& value) { SetInstallingVersion(std::move(value)); return *this;}
80 inline SoftwareInformation& WithInstallingVersion(const char* value) { SetInstallingVersion(value); return *this;}
82 private:
83
84 Aws::String m_installState;
85 bool m_installStateHasBeenSet = false;
86
87 Aws::String m_installedVersion;
88 bool m_installedVersionHasBeenSet = false;
89
90 Aws::String m_installingVersion;
91 bool m_installingVersionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace SnowDeviceManagement
96} // namespace Aws
AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const
SoftwareInformation & WithInstallingVersion(const char *value)
SoftwareInformation & WithInstallState(const char *value)
SoftwareInformation & WithInstalledVersion(const char *value)
AWS_SNOWDEVICEMANAGEMENT_API SoftwareInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SNOWDEVICEMANAGEMENT_API SoftwareInformation()
SoftwareInformation & WithInstallingVersion(const Aws::String &value)
SoftwareInformation & WithInstallingVersion(Aws::String &&value)
SoftwareInformation & WithInstalledVersion(Aws::String &&value)
SoftwareInformation & WithInstalledVersion(const Aws::String &value)
SoftwareInformation & WithInstallState(Aws::String &&value)
AWS_SNOWDEVICEMANAGEMENT_API SoftwareInformation(Aws::Utils::Json::JsonView jsonValue)
SoftwareInformation & WithInstallState(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue