7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mgn/Mgn_EXPORTS.h>
10#include <aws/mgn/model/CPU.h>
11#include <aws/mgn/model/Disk.h>
12#include <aws/mgn/model/IdentificationHints.h>
13#include <aws/mgn/model/NetworkInterface.h>
14#include <aws/mgn/model/OS.h>
46 template <
typename LastUpdatedDateTimeT = Aws::String>
48 m_lastUpdatedDateTimeHasBeenSet =
true;
49 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
51 template <
typename LastUpdatedDateTimeT = Aws::String>
64 template <
typename RecommendedInstanceTypeT = Aws::String>
66 m_recommendedInstanceTypeHasBeenSet =
true;
67 m_recommendedInstanceType = std::forward<RecommendedInstanceTypeT>(value);
69 template <
typename RecommendedInstanceTypeT = Aws::String>
82 template <
typename IdentificationH
intsT = IdentificationH
ints>
84 m_identificationHintsHasBeenSet =
true;
85 m_identificationHints = std::forward<IdentificationHintsT>(value);
87 template <
typename IdentificationH
intsT = IdentificationH
ints>
100 template <
typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
102 m_networkInterfacesHasBeenSet =
true;
103 m_networkInterfaces = std::forward<NetworkInterfacesT>(value);
105 template <
typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
110 template <
typename NetworkInterfacesT = NetworkInterface>
112 m_networkInterfacesHasBeenSet =
true;
113 m_networkInterfaces.emplace_back(std::forward<NetworkInterfacesT>(value));
124 template <
typename DisksT = Aws::Vector<Disk>>
126 m_disksHasBeenSet =
true;
127 m_disks = std::forward<DisksT>(value);
129 template <
typename DisksT = Aws::Vector<Disk>>
131 SetDisks(std::forward<DisksT>(value));
134 template <
typename DisksT = Disk>
136 m_disksHasBeenSet =
true;
137 m_disks.emplace_back(std::forward<DisksT>(value));
148 template <
typename CpusT = Aws::Vector<CPU>>
150 m_cpusHasBeenSet =
true;
151 m_cpus = std::forward<CpusT>(value);
153 template <
typename CpusT = Aws::Vector<CPU>>
155 SetCpus(std::forward<CpusT>(value));
158 template <
typename CpusT = CPU>
160 m_cpusHasBeenSet =
true;
161 m_cpus.emplace_back(std::forward<CpusT>(value));
173 m_ramBytesHasBeenSet =
true;
186 inline const OS&
GetOs()
const {
return m_os; }
188 template <
typename OsT = OS>
190 m_osHasBeenSet =
true;
191 m_os = std::forward<OsT>(value);
193 template <
typename OsT = OS>
195 SetOs(std::forward<OsT>(value));
212 long long m_ramBytes{0};
215 bool m_lastUpdatedDateTimeHasBeenSet =
false;
216 bool m_recommendedInstanceTypeHasBeenSet =
false;
217 bool m_identificationHintsHasBeenSet =
false;
218 bool m_networkInterfacesHasBeenSet =
false;
219 bool m_disksHasBeenSet =
false;
220 bool m_cpusHasBeenSet =
false;
221 bool m_ramBytesHasBeenSet =
false;
222 bool m_osHasBeenSet =
false;
void SetRamBytes(long long value)
bool RamBytesHasBeenSet() const
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
bool DisksHasBeenSet() const
bool RecommendedInstanceTypeHasBeenSet() const
SourceProperties & WithOs(OsT &&value)
const Aws::String & GetRecommendedInstanceType() const
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
SourceProperties & WithRamBytes(long long value)
void SetIdentificationHints(IdentificationHintsT &&value)
SourceProperties & WithRecommendedInstanceType(RecommendedInstanceTypeT &&value)
SourceProperties & WithDisks(DisksT &&value)
const IdentificationHints & GetIdentificationHints() const
SourceProperties & WithNetworkInterfaces(NetworkInterfacesT &&value)
void SetDisks(DisksT &&value)
bool NetworkInterfacesHasBeenSet() const
void SetNetworkInterfaces(NetworkInterfacesT &&value)
AWS_MGN_API SourceProperties(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Disk > & GetDisks() const
SourceProperties & AddDisks(DisksT &&value)
void SetCpus(CpusT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
bool IdentificationHintsHasBeenSet() const
bool LastUpdatedDateTimeHasBeenSet() const
SourceProperties & WithCpus(CpusT &&value)
AWS_MGN_API SourceProperties()=default
long long GetRamBytes() const
const Aws::String & GetLastUpdatedDateTime() const
SourceProperties & WithIdentificationHints(IdentificationHintsT &&value)
AWS_MGN_API SourceProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< CPU > & GetCpus() const
bool CpusHasBeenSet() const
SourceProperties & AddCpus(CpusT &&value)
void SetRecommendedInstanceType(RecommendedInstanceTypeT &&value)
bool OsHasBeenSet() const
SourceProperties & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
SourceProperties & AddNetworkInterfaces(NetworkInterfacesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue