7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/drs/model/IdentificationHints.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/drs/model/OS.h>
12#include <aws/drs/model/CPU.h>
13#include <aws/drs/model/Disk.h>
14#include <aws/drs/model/NetworkInterface.h>
94 inline void SetLastUpdatedDateTime(
const char* value) { m_lastUpdatedDateTimeHasBeenSet =
true; m_lastUpdatedDateTime.assign(value); }
118 inline const OS&
GetOs()
const{
return m_os; }
120 inline void SetOs(
const OS& value) { m_osHasBeenSet =
true; m_os = value; }
121 inline void SetOs(
OS&& value) { m_osHasBeenSet =
true; m_os = std::move(value); }
132 inline void SetRamBytes(
long long value) { m_ramBytesHasBeenSet =
true; m_ramBytes = value; }
145 inline void SetRecommendedInstanceType(
const char* value) { m_recommendedInstanceTypeHasBeenSet =
true; m_recommendedInstanceType.assign(value); }
163 bool m_cpusHasBeenSet =
false;
166 bool m_disksHasBeenSet =
false;
169 bool m_identificationHintsHasBeenSet =
false;
172 bool m_lastUpdatedDateTimeHasBeenSet =
false;
175 bool m_networkInterfacesHasBeenSet =
false;
178 bool m_osHasBeenSet =
false;
180 long long m_ramBytes;
181 bool m_ramBytesHasBeenSet =
false;
184 bool m_recommendedInstanceTypeHasBeenSet =
false;
186 bool m_supportsNitroInstances;
187 bool m_supportsNitroInstancesHasBeenSet =
false;
SourceProperties & WithDisks(Aws::Vector< Disk > &&value)
void SetRamBytes(long long value)
SourceProperties & WithLastUpdatedDateTime(const Aws::String &value)
void SetDisks(Aws::Vector< Disk > &&value)
bool CpusHasBeenSet() const
SourceProperties & WithLastUpdatedDateTime(Aws::String &&value)
void SetLastUpdatedDateTime(Aws::String &&value)
void SetNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
SourceProperties & WithRecommendedInstanceType(const char *value)
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
void SetCpus(const Aws::Vector< CPU > &value)
SourceProperties & WithLastUpdatedDateTime(const char *value)
void SetDisks(const Aws::Vector< Disk > &value)
const IdentificationHints & GetIdentificationHints() const
bool GetSupportsNitroInstances() const
SourceProperties & WithCpus(Aws::Vector< CPU > &&value)
void SetCpus(Aws::Vector< CPU > &&value)
void SetNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
const Aws::Vector< Disk > & GetDisks() const
AWS_DRS_API SourceProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceProperties & WithNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
bool SupportsNitroInstancesHasBeenSet() const
SourceProperties & WithIdentificationHints(IdentificationHints &&value)
void SetSupportsNitroInstances(bool value)
SourceProperties & WithDisks(const Aws::Vector< Disk > &value)
SourceProperties & AddNetworkInterfaces(const NetworkInterface &value)
SourceProperties & WithSupportsNitroInstances(bool value)
SourceProperties & WithNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
void SetOs(const OS &value)
long long GetRamBytes() const
SourceProperties & WithRecommendedInstanceType(Aws::String &&value)
bool NetworkInterfacesHasBeenSet() const
AWS_DRS_API SourceProperties(Aws::Utils::Json::JsonView jsonValue)
SourceProperties & WithCpus(const Aws::Vector< CPU > &value)
SourceProperties & AddDisks(Disk &&value)
SourceProperties & AddDisks(const Disk &value)
AWS_DRS_API SourceProperties()
const Aws::Vector< CPU > & GetCpus() const
void SetLastUpdatedDateTime(const char *value)
void SetIdentificationHints(const IdentificationHints &value)
SourceProperties & AddCpus(CPU &&value)
SourceProperties & WithOs(const OS &value)
const Aws::String & GetRecommendedInstanceType() const
SourceProperties & WithRecommendedInstanceType(const Aws::String &value)
SourceProperties & WithIdentificationHints(const IdentificationHints &value)
void SetIdentificationHints(IdentificationHints &&value)
SourceProperties & AddNetworkInterfaces(NetworkInterface &&value)
SourceProperties & AddCpus(const CPU &value)
SourceProperties & WithOs(OS &&value)
void SetLastUpdatedDateTime(const Aws::String &value)
SourceProperties & WithRamBytes(long long value)
void SetRecommendedInstanceType(Aws::String &&value)
void SetRecommendedInstanceType(const Aws::String &value)
bool LastUpdatedDateTimeHasBeenSet() const
bool IdentificationHintsHasBeenSet() const
void SetRecommendedInstanceType(const char *value)
bool RamBytesHasBeenSet() const
bool DisksHasBeenSet() const
bool OsHasBeenSet() const
bool RecommendedInstanceTypeHasBeenSet() const
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