7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mgn/model/IdentificationHints.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/mgn/model/OS.h>
12#include <aws/mgn/model/CPU.h>
13#include <aws/mgn/model/Disk.h>
14#include <aws/mgn/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; }
144 inline void SetRecommendedInstanceType(
const char* value) { m_recommendedInstanceTypeHasBeenSet =
true; m_recommendedInstanceType.assign(value); }
152 bool m_cpusHasBeenSet =
false;
155 bool m_disksHasBeenSet =
false;
158 bool m_identificationHintsHasBeenSet =
false;
161 bool m_lastUpdatedDateTimeHasBeenSet =
false;
164 bool m_networkInterfacesHasBeenSet =
false;
167 bool m_osHasBeenSet =
false;
169 long long m_ramBytes;
170 bool m_ramBytesHasBeenSet =
false;
173 bool m_recommendedInstanceTypeHasBeenSet =
false;
SourceProperties & WithRecommendedInstanceType(const char *value)
void SetRamBytes(long long value)
void SetLastUpdatedDateTime(Aws::String &&value)
SourceProperties & WithCpus(Aws::Vector< CPU > &&value)
void SetNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
SourceProperties & WithOs(const OS &value)
void SetCpus(const Aws::Vector< CPU > &value)
SourceProperties & AddNetworkInterfaces(const NetworkInterface &value)
bool RamBytesHasBeenSet() const
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
void SetDisks(Aws::Vector< Disk > &&value)
bool DisksHasBeenSet() const
bool RecommendedInstanceTypeHasBeenSet() const
SourceProperties & WithLastUpdatedDateTime(const char *value)
const Aws::String & GetRecommendedInstanceType() const
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
SourceProperties & AddCpus(CPU &&value)
SourceProperties & WithNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
SourceProperties & WithRamBytes(long long value)
void SetDisks(const Aws::Vector< Disk > &value)
SourceProperties & WithLastUpdatedDateTime(const Aws::String &value)
void SetIdentificationHints(const IdentificationHints &value)
const IdentificationHints & GetIdentificationHints() const
void SetRecommendedInstanceType(const char *value)
bool NetworkInterfacesHasBeenSet() const
AWS_MGN_API SourceProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_MGN_API SourceProperties()
void SetNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
const Aws::Vector< Disk > & GetDisks() const
SourceProperties & WithOs(OS &&value)
SourceProperties & WithDisks(const Aws::Vector< Disk > &value)
SourceProperties & WithCpus(const Aws::Vector< CPU > &value)
SourceProperties & WithIdentificationHints(const IdentificationHints &value)
SourceProperties & AddDisks(Disk &&value)
SourceProperties & WithNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
SourceProperties & WithRecommendedInstanceType(const Aws::String &value)
bool IdentificationHintsHasBeenSet() const
bool LastUpdatedDateTimeHasBeenSet() const
void SetLastUpdatedDateTime(const char *value)
void SetCpus(Aws::Vector< CPU > &&value)
long long GetRamBytes() const
const Aws::String & GetLastUpdatedDateTime() const
SourceProperties & WithDisks(Aws::Vector< Disk > &&value)
SourceProperties & WithIdentificationHints(IdentificationHints &&value)
void SetRecommendedInstanceType(Aws::String &&value)
AWS_MGN_API SourceProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< CPU > & GetCpus() const
SourceProperties & AddCpus(const CPU &value)
void SetLastUpdatedDateTime(const Aws::String &value)
SourceProperties & AddNetworkInterfaces(NetworkInterface &&value)
bool CpusHasBeenSet() const
void SetIdentificationHints(IdentificationHints &&value)
SourceProperties & AddDisks(const Disk &value)
SourceProperties & WithRecommendedInstanceType(Aws::String &&value)
void SetOs(const OS &value)
bool OsHasBeenSet() const
SourceProperties & WithLastUpdatedDateTime(Aws::String &&value)
void SetRecommendedInstanceType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue