7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
19namespace GreengrassV2 {
42 template <
typename IdT = Aws::String>
44 m_idHasBeenSet =
true;
45 m_id = std::forward<IdT>(value);
47 template <
typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
61 template <
typename HostAddressT = Aws::String>
63 m_hostAddressHasBeenSet =
true;
64 m_hostAddress = std::forward<HostAddressT>(value);
66 template <
typename HostAddressT = Aws::String>
82 m_portNumberHasBeenSet =
true;
98 template <
typename MetadataT = Aws::String>
100 m_metadataHasBeenSet =
true;
101 m_metadata = std::forward<MetadataT>(value);
103 template <
typename MetadataT = Aws::String>
117 bool m_idHasBeenSet =
false;
118 bool m_hostAddressHasBeenSet =
false;
119 bool m_portNumberHasBeenSet =
false;
120 bool m_metadataHasBeenSet =
false;
ConnectivityInfo & WithHostAddress(HostAddressT &&value)
void SetMetadata(MetadataT &&value)
AWS_GREENGRASSV2_API ConnectivityInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetHostAddress() const
AWS_GREENGRASSV2_API ConnectivityInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASSV2_API ConnectivityInfo()=default
ConnectivityInfo & WithId(IdT &&value)
void SetHostAddress(HostAddressT &&value)
void SetPortNumber(int value)
ConnectivityInfo & WithPortNumber(int value)
bool MetadataHasBeenSet() const
int GetPortNumber() const
ConnectivityInfo & WithMetadata(MetadataT &&value)
bool PortNumberHasBeenSet() const
const Aws::String & GetMetadata() const
bool IdHasBeenSet() const
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetId() const
bool HostAddressHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue