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>
15#include <aws/drs/model/SourceServerArchitecture.h>
47 template <
typename LastUpdatedDateTimeT = Aws::String>
49 m_lastUpdatedDateTimeHasBeenSet =
true;
50 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
52 template <
typename LastUpdatedDateTimeT = Aws::String>
66 template <
typename RecommendedInstanceTypeT = Aws::String>
68 m_recommendedInstanceTypeHasBeenSet =
true;
69 m_recommendedInstanceType = std::forward<RecommendedInstanceTypeT>(value);
71 template <
typename RecommendedInstanceTypeT = Aws::String>
84 template <
typename IdentificationH
intsT = IdentificationH
ints>
86 m_identificationHintsHasBeenSet =
true;
87 m_identificationHints = std::forward<IdentificationHintsT>(value);
89 template <
typename IdentificationH
intsT = IdentificationH
ints>
102 template <
typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
104 m_networkInterfacesHasBeenSet =
true;
105 m_networkInterfaces = std::forward<NetworkInterfacesT>(value);
107 template <
typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
112 template <
typename NetworkInterfacesT = NetworkInterface>
114 m_networkInterfacesHasBeenSet =
true;
115 m_networkInterfaces.emplace_back(std::forward<NetworkInterfacesT>(value));
126 template <
typename DisksT = Aws::Vector<Disk>>
128 m_disksHasBeenSet =
true;
129 m_disks = std::forward<DisksT>(value);
131 template <
typename DisksT = Aws::Vector<Disk>>
133 SetDisks(std::forward<DisksT>(value));
136 template <
typename DisksT = Disk>
138 m_disksHasBeenSet =
true;
139 m_disks.emplace_back(std::forward<DisksT>(value));
150 template <
typename CpusT = Aws::Vector<CPU>>
152 m_cpusHasBeenSet =
true;
153 m_cpus = std::forward<CpusT>(value);
155 template <
typename CpusT = Aws::Vector<CPU>>
157 SetCpus(std::forward<CpusT>(value));
160 template <
typename CpusT = CPU>
162 m_cpusHasBeenSet =
true;
163 m_cpus.emplace_back(std::forward<CpusT>(value));
175 m_ramBytesHasBeenSet =
true;
188 inline const OS&
GetOs()
const {
return m_os; }
190 template <
typename OsT = OS>
192 m_osHasBeenSet =
true;
193 m_os = std::forward<OsT>(value);
195 template <
typename OsT = OS>
197 SetOs(std::forward<OsT>(value));
209 m_supportsNitroInstancesHasBeenSet =
true;
210 m_supportsNitroInstances = value;
225 m_architectureHasBeenSet =
true;
226 m_architecture = value;
246 long long m_ramBytes{0};
250 bool m_supportsNitroInstances{
false};
253 bool m_lastUpdatedDateTimeHasBeenSet =
false;
254 bool m_recommendedInstanceTypeHasBeenSet =
false;
255 bool m_identificationHintsHasBeenSet =
false;
256 bool m_networkInterfacesHasBeenSet =
false;
257 bool m_disksHasBeenSet =
false;
258 bool m_cpusHasBeenSet =
false;
259 bool m_ramBytesHasBeenSet =
false;
260 bool m_osHasBeenSet =
false;
261 bool m_supportsNitroInstancesHasBeenSet =
false;
262 bool m_architectureHasBeenSet =
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
SourceServerArchitecture GetArchitecture() 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)
void SetArchitecture(SourceServerArchitecture value)
SourceProperties & WithArchitecture(SourceServerArchitecture 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
bool ArchitectureHasBeenSet() 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