AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CpuArchitectureT = Aws::String>
51 void SetCpuArchitecture(CpuArchitectureT&& value) { m_cpuArchitectureHasBeenSet = true; m_cpuArchitecture = std::forward<CpuArchitectureT>(value); }
52 template<typename CpuArchitectureT = Aws::String>
53 SystemInfo& WithCpuArchitecture(CpuArchitectureT&& value) { SetCpuArchitecture(std::forward<CpuArchitectureT>(value)); return *this;}
55
57
60 inline const Aws::String& GetFileSystemType() const { return m_fileSystemType; }
61 inline bool FileSystemTypeHasBeenSet() const { return m_fileSystemTypeHasBeenSet; }
62 template<typename FileSystemTypeT = Aws::String>
63 void SetFileSystemType(FileSystemTypeT&& value) { m_fileSystemTypeHasBeenSet = true; m_fileSystemType = std::forward<FileSystemTypeT>(value); }
64 template<typename FileSystemTypeT = Aws::String>
65 SystemInfo& WithFileSystemType(FileSystemTypeT&& value) { SetFileSystemType(std::forward<FileSystemTypeT>(value)); return *this;}
67
69
72 inline const Aws::Vector<NetworkInfo>& GetNetworkInfoList() const { return m_networkInfoList; }
73 inline bool NetworkInfoListHasBeenSet() const { return m_networkInfoListHasBeenSet; }
74 template<typename NetworkInfoListT = Aws::Vector<NetworkInfo>>
75 void SetNetworkInfoList(NetworkInfoListT&& value) { m_networkInfoListHasBeenSet = true; m_networkInfoList = std::forward<NetworkInfoListT>(value); }
76 template<typename NetworkInfoListT = Aws::Vector<NetworkInfo>>
77 SystemInfo& WithNetworkInfoList(NetworkInfoListT&& value) { SetNetworkInfoList(std::forward<NetworkInfoListT>(value)); return *this;}
78 template<typename NetworkInfoListT = NetworkInfo>
79 SystemInfo& AddNetworkInfoList(NetworkInfoListT&& value) { m_networkInfoListHasBeenSet = true; m_networkInfoList.emplace_back(std::forward<NetworkInfoListT>(value)); return *this; }
81
83
86 inline const OSInfo& GetOsInfo() const { return m_osInfo; }
87 inline bool OsInfoHasBeenSet() const { return m_osInfoHasBeenSet; }
88 template<typename OsInfoT = OSInfo>
89 void SetOsInfo(OsInfoT&& value) { m_osInfoHasBeenSet = true; m_osInfo = std::forward<OsInfoT>(value); }
90 template<typename OsInfoT = OSInfo>
91 SystemInfo& WithOsInfo(OsInfoT&& value) { SetOsInfo(std::forward<OsInfoT>(value)); return *this;}
93 private:
94
95 Aws::String m_cpuArchitecture;
96 bool m_cpuArchitectureHasBeenSet = false;
97
98 Aws::String m_fileSystemType;
99 bool m_fileSystemTypeHasBeenSet = false;
100
101 Aws::Vector<NetworkInfo> m_networkInfoList;
102 bool m_networkInfoListHasBeenSet = false;
103
104 OSInfo m_osInfo;
105 bool m_osInfoHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace MigrationHubStrategyRecommendations
110} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SystemInfo()=default
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< NetworkInfo > & GetNetworkInfoList() const
Definition SystemInfo.h:72
SystemInfo & WithCpuArchitecture(CpuArchitectureT &&value)
Definition SystemInfo.h:53
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SystemInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
SystemInfo & WithFileSystemType(FileSystemTypeT &&value)
Definition SystemInfo.h:65
SystemInfo & WithNetworkInfoList(NetworkInfoListT &&value)
Definition SystemInfo.h:77
SystemInfo & AddNetworkInfoList(NetworkInfoListT &&value)
Definition SystemInfo.h:79
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