7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename HostAddressT = Aws::String>
47 void SetHostAddress(HostAddressT&& value) { m_hostAddressHasBeenSet =
true; m_hostAddress = std::forward<HostAddressT>(value); }
48 template<
typename HostAddressT = Aws::String>
58 template<
typename IdT = Aws::String>
59 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
60 template<
typename IdT = Aws::String>
70 template<
typename MetadataT = Aws::String>
71 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet =
true; m_metadata = std::forward<MetadataT>(value); }
72 template<
typename MetadataT = Aws::String>
82 inline void SetPortNumber(
int value) { m_portNumberHasBeenSet =
true; m_portNumber = value; }
88 bool m_hostAddressHasBeenSet =
false;
91 bool m_idHasBeenSet =
false;
94 bool m_metadataHasBeenSet =
false;
97 bool m_portNumberHasBeenSet =
false;
bool IdHasBeenSet() const
AWS_GREENGRASS_API ConnectivityInfo(Aws::Utils::Json::JsonView jsonValue)
int GetPortNumber() const
AWS_GREENGRASS_API ConnectivityInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHostAddress(HostAddressT &&value)
AWS_GREENGRASS_API ConnectivityInfo()=default
const Aws::String & GetHostAddress() const
const Aws::String & GetMetadata() const
ConnectivityInfo & WithHostAddress(HostAddressT &&value)
ConnectivityInfo & WithId(IdT &&value)
ConnectivityInfo & WithMetadata(MetadataT &&value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectivityInfo & WithPortNumber(int value)
bool PortNumberHasBeenSet() const
void SetMetadata(MetadataT &&value)
void SetPortNumber(int value)
const Aws::String & GetId() const
bool HostAddressHasBeenSet() const
bool MetadataHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue