7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename IpsT = Aws::Vector<Aws::String>>
48 void SetIps(IpsT&& value) { m_ipsHasBeenSet =
true; m_ips = std::forward<IpsT>(value); }
49 template<
typename IpsT = Aws::Vector<Aws::String>>
51 template<
typename IpsT = Aws::String>
52 NetworkInterface&
AddIps(IpsT&& value) { m_ipsHasBeenSet =
true; m_ips.emplace_back(std::forward<IpsT>(value));
return *
this; }
61 inline void SetIsPrimary(
bool value) { m_isPrimaryHasBeenSet =
true; m_isPrimary = value; }
71 template<
typename MacAddressT = Aws::String>
72 void SetMacAddress(MacAddressT&& value) { m_macAddressHasBeenSet =
true; m_macAddress = std::forward<MacAddressT>(value); }
73 template<
typename MacAddressT = Aws::String>
79 bool m_ipsHasBeenSet =
false;
81 bool m_isPrimary{
false};
82 bool m_isPrimaryHasBeenSet =
false;
85 bool m_macAddressHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetIps() const
AWS_MGN_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue)
NetworkInterface & WithIps(IpsT &&value)
NetworkInterface & WithMacAddress(MacAddressT &&value)
bool IsPrimaryHasBeenSet() const
bool GetIsPrimary() const
void SetMacAddress(MacAddressT &&value)
AWS_MGN_API NetworkInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MacAddressHasBeenSet() const
void SetIps(IpsT &&value)
const Aws::String & GetMacAddress() const
NetworkInterface & AddIps(IpsT &&value)
AWS_MGN_API NetworkInterface()=default
void SetIsPrimary(bool value)
NetworkInterface & WithIsPrimary(bool value)
bool IpsHasBeenSet() const
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() 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