7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/drs/Drs_EXPORTS.h>
10#include <aws/drs/model/CPU.h>
11#include <aws/drs/model/Disk.h>
12#include <aws/drs/model/IdentificationHints.h>
13#include <aws/drs/model/NetworkInterface.h>
14#include <aws/drs/model/OS.h>
46 template <
typename CpusT = Aws::Vector<CPU>>
48 m_cpusHasBeenSet =
true;
49 m_cpus = std::forward<CpusT>(value);
51 template <
typename CpusT = Aws::Vector<CPU>>
53 SetCpus(std::forward<CpusT>(value));
56 template <
typename CpusT = CPU>
58 m_cpusHasBeenSet =
true;
59 m_cpus.emplace_back(std::forward<CpusT>(value));
70 template <
typename DisksT = Aws::Vector<Disk>>
72 m_disksHasBeenSet =
true;
73 m_disks = std::forward<DisksT>(value);
75 template <
typename DisksT = Aws::Vector<Disk>>
77 SetDisks(std::forward<DisksT>(value));
80 template <
typename DisksT = Disk>
82 m_disksHasBeenSet =
true;
83 m_disks.emplace_back(std::forward<DisksT>(value));
94 template <
typename IdentificationH
intsT = IdentificationH
ints>
96 m_identificationHintsHasBeenSet =
true;
97 m_identificationHints = std::forward<IdentificationHintsT>(value);
99 template <
typename IdentificationH
intsT = IdentificationH
ints>
112 template <
typename LastUpdatedDateTimeT = Aws::String>
114 m_lastUpdatedDateTimeHasBeenSet =
true;
115 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
117 template <
typename LastUpdatedDateTimeT = Aws::String>
130 template <
typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
132 m_networkInterfacesHasBeenSet =
true;
133 m_networkInterfaces = std::forward<NetworkInterfacesT>(value);
135 template <
typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
140 template <
typename NetworkInterfacesT = NetworkInterface>
142 m_networkInterfacesHasBeenSet =
true;
143 m_networkInterfaces.emplace_back(std::forward<NetworkInterfacesT>(value));
152 inline const OS&
GetOs()
const {
return m_os; }
154 template <
typename OsT = OS>
156 m_osHasBeenSet =
true;
157 m_os = std::forward<OsT>(value);
159 template <
typename OsT = OS>
161 SetOs(std::forward<OsT>(value));
173 m_ramBytesHasBeenSet =
true;
189 template <
typename RecommendedInstanceTypeT = Aws::String>
191 m_recommendedInstanceTypeHasBeenSet =
true;
192 m_recommendedInstanceType = std::forward<RecommendedInstanceTypeT>(value);
194 template <
typename RecommendedInstanceTypeT = Aws::String>
208 m_supportsNitroInstancesHasBeenSet =
true;
209 m_supportsNitroInstances = value;
229 long long m_ramBytes{0};
233 bool m_supportsNitroInstances{
false};
234 bool m_cpusHasBeenSet =
false;
235 bool m_disksHasBeenSet =
false;
236 bool m_identificationHintsHasBeenSet =
false;
237 bool m_lastUpdatedDateTimeHasBeenSet =
false;
238 bool m_networkInterfacesHasBeenSet =
false;
239 bool m_osHasBeenSet =
false;
240 bool m_ramBytesHasBeenSet =
false;
241 bool m_recommendedInstanceTypeHasBeenSet =
false;
242 bool m_supportsNitroInstancesHasBeenSet =
false;
SourceProperties & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetRamBytes(long long value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
bool CpusHasBeenSet() const
void SetDisks(DisksT &&value)
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
const IdentificationHints & GetIdentificationHints() const
bool GetSupportsNitroInstances() const
AWS_DRS_API SourceProperties()=default
const Aws::Vector< Disk > & GetDisks() const
AWS_DRS_API SourceProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SupportsNitroInstancesHasBeenSet() const
void SetSupportsNitroInstances(bool value)
SourceProperties & WithSupportsNitroInstances(bool value)
SourceProperties & AddNetworkInterfaces(NetworkInterfacesT &&value)
long long GetRamBytes() const
SourceProperties & AddDisks(DisksT &&value)
bool NetworkInterfacesHasBeenSet() const
AWS_DRS_API SourceProperties(Aws::Utils::Json::JsonView jsonValue)
void SetRecommendedInstanceType(RecommendedInstanceTypeT &&value)
SourceProperties & WithRecommendedInstanceType(RecommendedInstanceTypeT &&value)
const Aws::Vector< CPU > & GetCpus() const
const Aws::String & GetRecommendedInstanceType() const
void SetIdentificationHints(IdentificationHintsT &&value)
SourceProperties & WithNetworkInterfaces(NetworkInterfacesT &&value)
SourceProperties & WithCpus(CpusT &&value)
SourceProperties & WithRamBytes(long long value)
SourceProperties & AddCpus(CpusT &&value)
bool LastUpdatedDateTimeHasBeenSet() const
bool IdentificationHintsHasBeenSet() const
SourceProperties & WithDisks(DisksT &&value)
SourceProperties & WithOs(OsT &&value)
bool RamBytesHasBeenSet() const
void SetNetworkInterfaces(NetworkInterfacesT &&value)
bool DisksHasBeenSet() const
bool OsHasBeenSet() const
bool RecommendedInstanceTypeHasBeenSet() const
SourceProperties & WithIdentificationHints(IdentificationHintsT &&value)
void SetCpus(CpusT &&value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLastUpdatedDateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue