7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mgn/Mgn_EXPORTS.h>
41 template <
typename MacAddressT = Aws::String>
43 m_macAddressHasBeenSet =
true;
44 m_macAddress = std::forward<MacAddressT>(value);
46 template <
typename MacAddressT = Aws::String>
59 template <
typename IpsT = Aws::Vector<Aws::String>>
61 m_ipsHasBeenSet =
true;
62 m_ips = std::forward<IpsT>(value);
64 template <
typename IpsT = Aws::Vector<Aws::String>>
66 SetIps(std::forward<IpsT>(value));
69 template <
typename IpsT = Aws::String>
71 m_ipsHasBeenSet =
true;
72 m_ips.emplace_back(std::forward<IpsT>(value));
84 m_isPrimaryHasBeenSet =
true;
97 bool m_isPrimary{
false};
98 bool m_macAddressHasBeenSet =
false;
99 bool m_ipsHasBeenSet =
false;
100 bool m_isPrimaryHasBeenSet =
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