7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
44 inline int GetPort()
const{
return m_port; }
46 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
58 inline void SetAddress(
const char* value) { m_addressHasBeenSet =
true; m_address.assign(value); }
66 bool m_portHasBeenSet =
false;
69 bool m_addressHasBeenSet =
false;
void SetAddress(const char *value)
bool PortHasBeenSet() const
bool AddressHasBeenSet() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAddress() const
void SetAddress(Aws::String &&value)
AWS_LIGHTSAIL_API RelationalDatabaseEndpoint(Aws::Utils::Json::JsonView jsonValue)
void SetAddress(const Aws::String &value)
RelationalDatabaseEndpoint & WithAddress(const Aws::String &value)
AWS_LIGHTSAIL_API RelationalDatabaseEndpoint()
RelationalDatabaseEndpoint & WithPort(int value)
RelationalDatabaseEndpoint & WithAddress(const char *value)
RelationalDatabaseEndpoint & WithAddress(Aws::String &&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