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/RecoveryInstanceDisk.h>
14#include <aws/drs/model/NetworkInterface.h>
52 template<
typename CpusT = Aws::Vector<CPU>>
53 void SetCpus(CpusT&& value) { m_cpusHasBeenSet =
true; m_cpus = std::forward<CpusT>(value); }
54 template<
typename CpusT = Aws::Vector<CPU>>
56 template<
typename CpusT = CPU>
66 template<
typename DisksT = Aws::Vector<RecoveryInstanceDisk>>
67 void SetDisks(DisksT&& value) { m_disksHasBeenSet =
true; m_disks = std::forward<DisksT>(value); }
68 template<
typename DisksT = Aws::Vector<RecoveryInstanceDisk>>
70 template<
typename DisksT = RecoveryInstanceDisk>
80 template<
typename IdentificationH
intsT = IdentificationH
ints>
81 void SetIdentificationHints(IdentificationHintsT&& value) { m_identificationHintsHasBeenSet =
true; m_identificationHints = std::forward<IdentificationHintsT>(value); }
82 template<
typename IdentificationH
intsT = IdentificationH
ints>
92 template<
typename LastUpdatedDateTimeT = Aws::String>
93 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet =
true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
94 template<
typename LastUpdatedDateTimeT = Aws::String>
104 template<
typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
105 void SetNetworkInterfaces(NetworkInterfacesT&& value) { m_networkInterfacesHasBeenSet =
true; m_networkInterfaces = std::forward<NetworkInterfacesT>(value); }
106 template<
typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
108 template<
typename NetworkInterfacesT = NetworkInterface>
116 inline const OS&
GetOs()
const {
return m_os; }
118 template<
typename OsT = OS>
119 void SetOs(OsT&& value) { m_osHasBeenSet =
true; m_os = std::forward<OsT>(value); }
120 template<
typename OsT = OS>
130 inline void SetRamBytes(
long long value) { m_ramBytesHasBeenSet =
true; m_ramBytes = value; }
136 bool m_cpusHasBeenSet =
false;
139 bool m_disksHasBeenSet =
false;
142 bool m_identificationHintsHasBeenSet =
false;
145 bool m_lastUpdatedDateTimeHasBeenSet =
false;
148 bool m_networkInterfacesHasBeenSet =
false;
151 bool m_osHasBeenSet =
false;
153 long long m_ramBytes{0};
154 bool m_ramBytesHasBeenSet =
false;
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
const Aws::String & GetLastUpdatedDateTime() const
RecoveryInstanceProperties & WithCpus(CpusT &&value)
bool CpusHasBeenSet() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetDisks(DisksT &&value)
bool DisksHasBeenSet() const
const IdentificationHints & GetIdentificationHints() const
void SetRamBytes(long long value)
RecoveryInstanceProperties & AddDisks(DisksT &&value)
const Aws::Vector< RecoveryInstanceDisk > & GetDisks() const
void SetNetworkInterfaces(NetworkInterfacesT &&value)
bool OsHasBeenSet() const
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
RecoveryInstanceProperties & WithIdentificationHints(IdentificationHintsT &&value)
bool NetworkInterfacesHasBeenSet() const
RecoveryInstanceProperties & AddNetworkInterfaces(NetworkInterfacesT &&value)
AWS_DRS_API RecoveryInstanceProperties(Aws::Utils::Json::JsonView jsonValue)
bool IdentificationHintsHasBeenSet() const
const Aws::Vector< CPU > & GetCpus() const
bool LastUpdatedDateTimeHasBeenSet() const
RecoveryInstanceProperties & WithDisks(DisksT &&value)
bool RamBytesHasBeenSet() const
long long GetRamBytes() const
RecoveryInstanceProperties & WithOs(OsT &&value)
void SetCpus(CpusT &&value)
AWS_DRS_API RecoveryInstanceProperties()=default
RecoveryInstanceProperties & AddCpus(CpusT &&value)
void SetIdentificationHints(IdentificationHintsT &&value)
RecoveryInstanceProperties & WithRamBytes(long long value)
RecoveryInstanceProperties & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
RecoveryInstanceProperties & WithNetworkInterfaces(NetworkInterfacesT &&value)
AWS_DRS_API RecoveryInstanceProperties & operator=(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