AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SystemInfo.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/migrationhubstrategy/model/OSInfo.h>
11#include <aws/migrationhubstrategy/model/NetworkInfo.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MigrationHubStrategyRecommendations
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SystemInfo();
39 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SystemInfo(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SystemInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetCpuArchitecture() const{ return m_cpuArchitecture; }
49 inline bool CpuArchitectureHasBeenSet() const { return m_cpuArchitectureHasBeenSet; }
50 inline void SetCpuArchitecture(const Aws::String& value) { m_cpuArchitectureHasBeenSet = true; m_cpuArchitecture = value; }
51 inline void SetCpuArchitecture(Aws::String&& value) { m_cpuArchitectureHasBeenSet = true; m_cpuArchitecture = std::move(value); }
52 inline void SetCpuArchitecture(const char* value) { m_cpuArchitectureHasBeenSet = true; m_cpuArchitecture.assign(value); }
53 inline SystemInfo& WithCpuArchitecture(const Aws::String& value) { SetCpuArchitecture(value); return *this;}
54 inline SystemInfo& WithCpuArchitecture(Aws::String&& value) { SetCpuArchitecture(std::move(value)); return *this;}
55 inline SystemInfo& WithCpuArchitecture(const char* value) { SetCpuArchitecture(value); return *this;}
57
59
62 inline const Aws::String& GetFileSystemType() const{ return m_fileSystemType; }
63 inline bool FileSystemTypeHasBeenSet() const { return m_fileSystemTypeHasBeenSet; }
64 inline void SetFileSystemType(const Aws::String& value) { m_fileSystemTypeHasBeenSet = true; m_fileSystemType = value; }
65 inline void SetFileSystemType(Aws::String&& value) { m_fileSystemTypeHasBeenSet = true; m_fileSystemType = std::move(value); }
66 inline void SetFileSystemType(const char* value) { m_fileSystemTypeHasBeenSet = true; m_fileSystemType.assign(value); }
67 inline SystemInfo& WithFileSystemType(const Aws::String& value) { SetFileSystemType(value); return *this;}
68 inline SystemInfo& WithFileSystemType(Aws::String&& value) { SetFileSystemType(std::move(value)); return *this;}
69 inline SystemInfo& WithFileSystemType(const char* value) { SetFileSystemType(value); return *this;}
71
73
76 inline const Aws::Vector<NetworkInfo>& GetNetworkInfoList() const{ return m_networkInfoList; }
77 inline bool NetworkInfoListHasBeenSet() const { return m_networkInfoListHasBeenSet; }
78 inline void SetNetworkInfoList(const Aws::Vector<NetworkInfo>& value) { m_networkInfoListHasBeenSet = true; m_networkInfoList = value; }
79 inline void SetNetworkInfoList(Aws::Vector<NetworkInfo>&& value) { m_networkInfoListHasBeenSet = true; m_networkInfoList = std::move(value); }
80 inline SystemInfo& WithNetworkInfoList(const Aws::Vector<NetworkInfo>& value) { SetNetworkInfoList(value); return *this;}
81 inline SystemInfo& WithNetworkInfoList(Aws::Vector<NetworkInfo>&& value) { SetNetworkInfoList(std::move(value)); return *this;}
82 inline SystemInfo& AddNetworkInfoList(const NetworkInfo& value) { m_networkInfoListHasBeenSet = true; m_networkInfoList.push_back(value); return *this; }
83 inline SystemInfo& AddNetworkInfoList(NetworkInfo&& value) { m_networkInfoListHasBeenSet = true; m_networkInfoList.push_back(std::move(value)); return *this; }
85
87
90 inline const OSInfo& GetOsInfo() const{ return m_osInfo; }
91 inline bool OsInfoHasBeenSet() const { return m_osInfoHasBeenSet; }
92 inline void SetOsInfo(const OSInfo& value) { m_osInfoHasBeenSet = true; m_osInfo = value; }
93 inline void SetOsInfo(OSInfo&& value) { m_osInfoHasBeenSet = true; m_osInfo = std::move(value); }
94 inline SystemInfo& WithOsInfo(const OSInfo& value) { SetOsInfo(value); return *this;}
95 inline SystemInfo& WithOsInfo(OSInfo&& value) { SetOsInfo(std::move(value)); return *this;}
97 private:
98
99 Aws::String m_cpuArchitecture;
100 bool m_cpuArchitectureHasBeenSet = false;
101
102 Aws::String m_fileSystemType;
103 bool m_fileSystemTypeHasBeenSet = false;
104
105 Aws::Vector<NetworkInfo> m_networkInfoList;
106 bool m_networkInfoListHasBeenSet = false;
107
108 OSInfo m_osInfo;
109 bool m_osInfoHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace MigrationHubStrategyRecommendations
114} // namespace Aws
SystemInfo & WithFileSystemType(const Aws::String &value)
Definition SystemInfo.h:67
SystemInfo & WithNetworkInfoList(Aws::Vector< NetworkInfo > &&value)
Definition SystemInfo.h:81
void SetNetworkInfoList(Aws::Vector< NetworkInfo > &&value)
Definition SystemInfo.h:79
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
SystemInfo & AddNetworkInfoList(const NetworkInfo &value)
Definition SystemInfo.h:82
SystemInfo & WithCpuArchitecture(const Aws::String &value)
Definition SystemInfo.h:53
SystemInfo & WithCpuArchitecture(Aws::String &&value)
Definition SystemInfo.h:54
const Aws::Vector< NetworkInfo > & GetNetworkInfoList() const
Definition SystemInfo.h:76
void SetNetworkInfoList(const Aws::Vector< NetworkInfo > &value)
Definition SystemInfo.h:78
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SystemInfo()
SystemInfo & AddNetworkInfoList(NetworkInfo &&value)
Definition SystemInfo.h:83
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SystemInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
SystemInfo & WithNetworkInfoList(const Aws::Vector< NetworkInfo > &value)
Definition SystemInfo.h:80
SystemInfo & WithFileSystemType(Aws::String &&value)
Definition SystemInfo.h:68
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SystemInfo(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue