7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
38 inline int GetPort()
const {
return m_port; }
41 m_portHasBeenSet =
true;
56 template <
typename AddressT = Aws::String>
58 m_addressHasBeenSet =
true;
59 m_address = std::forward<AddressT>(value);
61 template <
typename AddressT = Aws::String>
71 bool m_portHasBeenSet =
false;
72 bool m_addressHasBeenSet =
false;
bool PortHasBeenSet() const
RelationalDatabaseEndpoint & WithAddress(AddressT &&value)
bool AddressHasBeenSet() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAddress() const
AWS_LIGHTSAIL_API RelationalDatabaseEndpoint()=default
AWS_LIGHTSAIL_API RelationalDatabaseEndpoint(Aws::Utils::Json::JsonView jsonValue)
void SetAddress(AddressT &&value)
RelationalDatabaseEndpoint & WithPort(int value)
AWS_LIGHTSAIL_API RelationalDatabaseEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue