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>
41 template <
typename IpsT = Aws::Vector<Aws::String>>
43 m_ipsHasBeenSet =
true;
44 m_ips = std::forward<IpsT>(value);
46 template <
typename IpsT = Aws::Vector<Aws::String>>
48 SetIps(std::forward<IpsT>(value));
51 template <
typename IpsT = Aws::String>
53 m_ipsHasBeenSet =
true;
54 m_ips.emplace_back(std::forward<IpsT>(value));
66 m_isPrimaryHasBeenSet =
true;
81 template <
typename MacAddressT = Aws::String>
83 m_macAddressHasBeenSet =
true;
84 m_macAddress = std::forward<MacAddressT>(value);
86 template <
typename MacAddressT = Aws::String>
95 bool m_isPrimary{
false};
98 bool m_ipsHasBeenSet =
false;
99 bool m_isPrimaryHasBeenSet =
false;
100 bool m_macAddressHasBeenSet =
false;
void SetIsPrimary(bool value)
void SetIps(IpsT &&value)
NetworkInterface & AddIps(IpsT &&value)
void SetMacAddress(MacAddressT &&value)
AWS_DRS_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue)
bool MacAddressHasBeenSet() const
NetworkInterface & WithMacAddress(MacAddressT &&value)
bool GetIsPrimary() const
AWS_DRS_API NetworkInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetIps() const
NetworkInterface & WithIsPrimary(bool value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
bool IsPrimaryHasBeenSet() const
NetworkInterface & WithIps(IpsT &&value)
const Aws::String & GetMacAddress() const
AWS_DRS_API NetworkInterface()=default
bool IpsHasBeenSet() 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