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/IdentificationHints.h>
12#include <aws/drs/model/NetworkInterface.h>
13#include <aws/drs/model/OS.h>
14#include <aws/drs/model/RecoveryInstanceDisk.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<RecoveryInstanceDisk>>
72 m_disksHasBeenSet =
true;
73 m_disks = std::forward<DisksT>(value);
75 template <
typename DisksT = Aws::Vector<RecoveryInstanceDisk>>
77 SetDisks(std::forward<DisksT>(value));
80 template <
typename DisksT = RecoveryInstanceDisk>
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;
194 long long m_ramBytes{0};
195 bool m_cpusHasBeenSet =
false;
196 bool m_disksHasBeenSet =
false;
197 bool m_identificationHintsHasBeenSet =
false;
198 bool m_lastUpdatedDateTimeHasBeenSet =
false;
199 bool m_networkInterfacesHasBeenSet =
false;
200 bool m_osHasBeenSet =
false;
201 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